Skip to content

Commit

Permalink
Remove unused plugin contracts
Browse files Browse the repository at this point in the history
These are only needed when we're actually using them in our codebase.
For request handler contexts, we only need our kibana.json declaration.
  • Loading branch information
rylnd committed Apr 29, 2020
1 parent 809382a commit b0da9f9
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions x-pack/plugins/siem/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ import {
PluginInitializerContext,
Logger,
} from '../../../../src/core/server';
import {
PluginStartContract as AlertingStart,
PluginSetupContract as AlertingSetup,
} from '../../alerting/server';
import { PluginSetupContract as AlertingSetup } from '../../alerting/server';
import { SecurityPluginSetup as SecuritySetup } from '../../security/server';
import { PluginSetupContract as FeaturesSetup } from '../../features/server';
import { MlPluginSetup as MlSetup } from '../../ml/server';
import { EncryptedSavedObjectsPluginSetup as EncryptedSavedObjectsSetup } from '../../encrypted_saved_objects/server';
import { SpacesPluginSetup as SpacesSetup } from '../../spaces/server';
import { PluginStartContract as ActionsStart } from '../../actions/server';
import { LicensingPluginSetup } from '../../licensing/server';
import { initServer } from './init_server';
import { compose } from './lib/compose/kibana';
Expand Down Expand Up @@ -52,10 +48,8 @@ export interface SetupPlugins {
ml?: MlSetup;
}

export interface StartPlugins {
actions: ActionsStart;
alerting: AlertingStart;
}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface StartPlugins {}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface PluginSetup {}
Expand Down

0 comments on commit b0da9f9

Please sign in to comment.