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>
23 lines
687 B
TypeScript
23 lines
687 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 { schema, TypeOf } from '@kbn/config-schema';
|
|
import { PluginConfigDescriptor } from '@kbn/core/server';
|
|
|
|
export * from './types';
|
|
|
|
const configSchema = schema.object({
|
|
enabled: schema.boolean({ defaultValue: false }),
|
|
});
|
|
|
|
type ConfigType = TypeOf<typeof configSchema>;
|
|
|
|
export const config: PluginConfigDescriptor<ConfigType> = {
|
|
schema: configSchema,
|
|
};
|
|
|
|
export type ServerlessChatConfig = TypeOf<typeof configSchema>;
|