Skip to content

Commit

Permalink
remove server_extensions mixin (#76606) (#76622)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov authored Sep 3, 2020
1 parent 4bc78b4 commit 64df577
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 252 deletions.
4 changes: 0 additions & 4 deletions src/legacy/server/kbn_server.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ declare module 'hapi' {
) => void;
getInjectedUiAppVars: (pluginName: string) => { [key: string]: any };
getUiNavLinks(): Array<{ _id: string }>;
addMemoizedFactoryToRequest: (
name: string,
factoryFn: (request: Request) => Record<string, any>
) => void;
logWithMetadata: (tags: string[], message: string, meta: Record<string, any>) => void;
newPlatform: KbnServer['newPlatform'];
}
Expand Down
3 changes: 0 additions & 3 deletions src/legacy/server/kbn_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import configCompleteMixin from './config/complete';
import { optimizeMixin } from '../../optimize';
import * as Plugins from './plugins';
import { savedObjectsMixin } from './saved_objects/saved_objects_mixin';
import { serverExtensionsMixin } from './server_extensions';
import { uiMixin } from '../ui';
import { i18nMixin } from './i18n';

Expand Down Expand Up @@ -91,8 +90,6 @@ export default class KbnServer {

coreMixin,

// adds methods for extending this.server
serverExtensionsMixin,
loggingMixin,
warningsMixin,
statusMixin,
Expand Down

This file was deleted.

20 changes: 0 additions & 20 deletions src/legacy/server/server_extensions/index.js

This file was deleted.

64 changes: 0 additions & 64 deletions src/legacy/server/server_extensions/server_extensions_mixin.js

This file was deleted.

0 comments on commit 64df577

Please sign in to comment.