kibana/x-pack/plugins/vis_type_timeseries_enhanced/server/index.ts
Alexey Antonov 98354d1f8f
[TSVB] use new Search API for rollup search (#83275) (#83639)
* [TSVB] use new Search API for rollup search

Closes: #82710

* remove unused code

* rollup_search_strategy.test.js -> rollup_search_strategy.test.ts

* default_search_capabilities.test.js -> default_search_capabilities.test.ts

* remove getRollupService

* fix CI

* fix some types

* update types

* update codeowners

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	x-pack/plugins/vis_type_timeseries_enhanced/server/search_strategies/rollup_search_capabilities.test.ts
2020-11-18 23:09:17 +03:00

11 lines
483 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { PluginInitializerContext } from 'src/core/server';
import { VisTypeTimeseriesEnhanced } from './plugin';
export const plugin = (initializerContext: PluginInitializerContext) =>
new VisTypeTimeseriesEnhanced(initializerContext);