Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove server_extensions mixin #76606

Merged
merged 1 commit into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.