kibana/x-pack/plugins/file_upload/common/constants/file_import.ts
Aaron Caldwell c4458ca1b4
[File upload] Move File Upload to New Platform (#58550)
* Move file upload to np. Some additional mods & removals

* Consume file upload from NP in maps and pass to kibana services

* Register telemetry mappings

* Init indexPatternService in start method

* Fix type check issues. Add missing prop to telemetry

* Update i18n path

* Review feedback
2020-03-04 06:44:44 -07:00

21 lines
659 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;
* you may not use this file except in compliance with the Elastic License.
*/
export const MAX_BYTES = 31457280;
export const MAX_FILE_SIZE = 52428800;
// Value to use in the Elasticsearch index mapping metadata to identify the
// index as having been created by the File Upload Plugin.
export const INDEX_META_DATA_CREATED_BY = 'file-upload-plugin';
export const ES_GEO_FIELD_TYPE = {
GEO_POINT: 'geo_point',
GEO_SHAPE: 'geo_shape',
};
export const DEFAULT_KBN_VERSION = 'kbnVersion';