[Move @kbn/config-schema to server] maps_ems (#191783)

This commit is contained in:
Alejandro Fernández Haro 2024-08-30 01:40:13 +02:00 committed by GitHub
parent 2604f352fc
commit e4eb55b9cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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;

View file

@ -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';

View file

@ -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: '' }),

View file

@ -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';

View file

@ -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 {

View file

@ -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",