"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.configSchema = exports.config = void 0; var _configSchema = require("@kbn/config-schema"); var _config = require("../common/config"); /* * 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. */ const configSchema = _configSchema.schema.object({ enabled: _configSchema.schema.boolean({ defaultValue: false }), developer: _config.developerConfigSchema, productTypes: _config.productTypes }); exports.configSchema = configSchema; const config = { exposeToBrowser: { productTypes: true, developer: true }, schema: configSchema, deprecations: ({ renameFromRoot }) => [renameFromRoot('xpack.serverless.security.productTypes', 'xpack.securitySolutionServerless.productTypes', { silent: true, level: 'warning' })] }; exports.config = config;