mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 05:45:32 +00:00
8905e3c211
* feat: support tencent cos
* feat: normalize
* chore: update env example
* test: add cos
* Revert "feat: normalize"
This reverts commit 371880013c
.
* feat: normalize
* feat: tengxun to tencent
* chore: fix missing deps
* fix: locale
* fix: locale cos
9 lines
297 B
TypeScript
9 lines
297 B
TypeScript
export const FILE_FIELD_NAME = 'file';
|
|
export const LIMIT_FILES = 1;
|
|
export const LIMIT_MAX_FILE_SIZE = 1024 * 1024 * 1024;
|
|
|
|
export const STORAGE_TYPE_LOCAL = 'local';
|
|
export const STORAGE_TYPE_ALI_OSS = 'ali-oss';
|
|
export const STORAGE_TYPE_S3 = 's3';
|
|
export const STORAGE_TYPE_TX_COS = 'tx-cos';
|