mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Move @kbn/config-schema
to server] maps_ems
(#191783)
This commit is contained in:
parent
2604f352fc
commit
e4eb55b9cb
7 changed files with 8 additions and 8 deletions
|
@ -9,14 +9,14 @@
|
|||
import type { PluginInitializerContext } from '@kbn/core/public';
|
||||
import type { EMSClient } from '@elastic/ems-client';
|
||||
import { MapsEmsPlugin } from './plugin';
|
||||
import type { MapConfig } from '../config';
|
||||
import type { MapConfig } from '../server/config';
|
||||
import type { EMSSettings } from '../common';
|
||||
|
||||
export function plugin(initializerContext: PluginInitializerContext) {
|
||||
return new MapsEmsPlugin(initializerContext);
|
||||
}
|
||||
|
||||
export type { MapConfig, TileMapConfig } from '../config';
|
||||
export type { MapConfig, TileMapConfig } from '../server/config';
|
||||
export type { EMSConfig } from '../common';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import { LicensingPluginStart } from '@kbn/licensing-plugin/public';
|
||||
import { ILicense } from '@kbn/licensing-plugin/common/types';
|
||||
import type { MapConfig } from '../config';
|
||||
import type { MapConfig } from '../server/config';
|
||||
import { LICENSE_CHECK_ID } from '../common';
|
||||
|
||||
let kibanaVersion: string;
|
||||
|
|
|
@ -15,7 +15,7 @@ import {
|
|||
getIsEnterprisePlus,
|
||||
} from './kibana_services';
|
||||
import type { MapsEmsPluginPublicSetup, MapsEmsPluginPublicStart } from '.';
|
||||
import type { MapConfig } from '../config';
|
||||
import type { MapConfig } from '../server/config';
|
||||
import { createEMSSettings } from '../common/ems_settings';
|
||||
import { createEMSClientLazy } from './lazy_load_bundle';
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
DEFAULT_EMS_ROADMAP_ID,
|
||||
DEFAULT_EMS_ROADMAP_DESATURATED_ID,
|
||||
DEFAULT_EMS_DARKMAP_ID,
|
||||
} from './common';
|
||||
} from '../common';
|
||||
|
||||
const tileMapConfigOptionsSchema = schema.object({
|
||||
attribution: schema.string({ defaultValue: '' }),
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
import { PluginInitializerContext, PluginConfigDescriptor } from '@kbn/core/server';
|
||||
import { MapConfig, mapConfigSchema } from '../config';
|
||||
import { MapConfig, mapConfigSchema } from './config';
|
||||
export type { EMSSettings } from '../common';
|
||||
export type { MapsEmsPluginServerSetup } from './plugin';
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import { ILicense, LicensingPluginSetup } from '@kbn/licensing-plugin/server';
|
||||
import { Plugin, PluginInitializerContext } from '@kbn/core-plugins-server';
|
||||
import { CoreSetup } from '@kbn/core-lifecycle-server';
|
||||
import { MapConfig } from '../config';
|
||||
import { MapConfig } from './config';
|
||||
import { LICENSE_CHECK_ID, EMSSettings } from '../common';
|
||||
|
||||
export interface MapsEmsPluginServerSetup {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
},
|
||||
"include": ["common/**/*", "public/**/*", "server/**/*", "./config.ts"],
|
||||
"include": ["common/**/*", "public/**/*", "server/**/*"],
|
||||
"kbn_references": [
|
||||
"@kbn/core",
|
||||
"@kbn/licensing-plugin",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue