"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FIELD_TYPES_BY_LANG = exports.DEFAULT_FIELD_TYPES = void 0; var _fieldTypes = require("@kbn/field-types"); /* * 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 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ const FIELD_TYPES_BY_LANG = { painless: ['number', 'string', 'date', 'boolean'], expression: ['number'] }; exports.FIELD_TYPES_BY_LANG = FIELD_TYPES_BY_LANG; const DEFAULT_FIELD_TYPES = (0, _fieldTypes.getKbnTypeNames)(); exports.DEFAULT_FIELD_TYPES = DEFAULT_FIELD_TYPES;