mirror of
https://github.com/elastic/kibana.git
synced 2025-04-18 23:21:39 -04:00
## Summary The intent is to have a centralised place to store the list of Kibana solutions and serverless project types. To that end, this PR creates a `@kbn/projects-solutions-groups` package. It also adds the new solution type `'chat'`. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
19 lines
745 B
TypeScript
19 lines
745 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
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import type { PluginInitializerContext } from '@kbn/core/server';
|
|
export { config } from './config';
|
|
|
|
// This exports static code and TypeScript types,
|
|
// as well as, Kibana Platform `plugin()` initializer.
|
|
|
|
export async function plugin(initializerContext: PluginInitializerContext) {
|
|
const { ServerlessChatPlugin } = await import('./plugin');
|
|
return new ServerlessChatPlugin(initializerContext);
|
|
}
|
|
|
|
export type { ServerlessChatPluginSetup, ServerlessChatPluginStart } from './types';
|