cartodb-4.42/lib/assets/javascripts/builder/config/upload-config.js

41 lines
509 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
/**
* Default upload config
*/
module.exports = {
uploadStates: [
'pending',
'enqueued',
'uploading',
'unpacking',
'importing',
'guessing',
'complete'
],
fileExtensions: [
'bz2',
'csv',
'gpkg',
'geojson',
'gz',
'json',
'kml',
'kmz',
'gpx',
'ods',
'osm',
'rar',
'tar',
'tgz',
'tif',
'tiff',
'tsv',
'txt',
'xls',
'xlsx',
'zip'
],
// How big should the file be?
fileTimesBigger: 3
};