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

[data.search] Allow search response to follow new hits format #88115

Merged
merged 16 commits into from
Feb 2, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Remove declare module
  • Loading branch information
lukasolson committed Jan 26, 2021
commit a86696aa06db9e4b0e36a476f269eb62e691c69a
9 changes: 0 additions & 9 deletions src/plugins/vis_type_timelion/server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,4 @@
* Public License, v 1.
*/

import { ISearchClient } from '../../data/common';
import { IScopedSessionService } from '../../data/server';

export { TimelionFunctionInterface, TimelionFunctionConfig } from './lib/classes/timelion_function';

declare module 'src/core/server' {
interface RequestHandlerContext {
search?: ISearchClient & { session: IScopedSessionService };
}
}
8 changes: 0 additions & 8 deletions src/plugins/vis_type_timeseries/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
import { PluginInitializerContext, PluginConfigDescriptor } from 'src/core/server';
import { VisTypeTimeseriesConfig, config as configSchema } from './config';
import { VisTypeTimeseriesPlugin } from './plugin';
import { ISearchClient } from '../../data/common';
import { IScopedSessionService } from '../../data/server';

declare module 'src/core/server' {
interface RequestHandlerContext {
search?: ISearchClient & { session: IScopedSessionService };
}
}

export { VisTypeTimeseriesSetup } from './plugin';

Expand Down