import { schema , TypeOf } from '@kbn/config-schema' ; export interface MapsConfigType { showMapsInspectorAdapter : boolean ; preserveDrawingBuffer : boolean ; } export const configSchema = schema . object ( { showMapsInspectorAdapter : schema . boolean ( { defaultValue : false } ) , preserveDrawingBuffer : schema . boolean ( { defaultValue : false } ) , } ) ; export type MapsXPackConfig = TypeOf < typeof configSchema > ;