import { schema , TypeOf } from '@kbn/config-schema' ; import { PluginConfigDescriptor } from '../../../../src/core/server' ; export const configSchema = schema . object ( { actions : schema . object ( { exploreDataInChart : schema . object ( { enabled : schema . boolean ( { defaultValue : false } ) , } ) , exploreDataInContextMenu : schema . object ( { enabled : schema . boolean ( { defaultValue : false } ) , } ) , } ) , } ) ; export type ConfigSchema = TypeOf < typeof configSchema > ; export const config = { schema : configSchema , exposeToBrowser : { actions : true , } , } ;