Variable: FILE_CONSTANTS
const FILE_CONSTANTS: {
DEFAULT_EXPORT_FORMAT: "gpx";
EXPORT_FORMATS: {
CSV: "csv";
GPX: "gpx";
JSON: "json";
};
IFRAME_PATHS: {
ALT_FIT: "ffv/index.html";
};
MAX_FILE_SIZE: number;
SUPPORTED_EXTENSIONS: readonly [".fit"];
SUPPORTED_MIME_TYPES: readonly ["application/octet-stream"];
};
Defined in: utils/config/constants.ts:119
File handling constants.
Type Declarationβ
DEFAULT_EXPORT_FORMATβ
readonly DEFAULT_EXPORT_FORMAT: "gpx" = "gpx";
EXPORT_FORMATSβ
readonly EXPORT_FORMATS: {
CSV: "csv";
GPX: "gpx";
JSON: "json";
};
EXPORT_FORMATS.CSVβ
readonly CSV: "csv" = "csv";
EXPORT_FORMATS.GPXβ
readonly GPX: "gpx" = "gpx";
EXPORT_FORMATS.JSONβ
readonly JSON: "json" = "json";
IFRAME_PATHSβ
readonly IFRAME_PATHS: {
ALT_FIT: "ffv/index.html";
};
IFRAME_PATHS.ALT_FITβ
readonly ALT_FIT: "ffv/index.html" = "ffv/index.html";
MAX_FILE_SIZEβ
readonly MAX_FILE_SIZE: number;
SUPPORTED_EXTENSIONSβ
readonly SUPPORTED_EXTENSIONS: readonly [".fit"];
SUPPORTED_MIME_TYPESβ
readonly SUPPORTED_MIME_TYPES: readonly ["application/octet-stream"];