* feat: support tencent cos * feat: normalize * chore: update env example * test: add cos * Revert "feat: normalize" This reverts commit 371880013c20b4cb4174ffaa15e0157acc5306c3. * 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';
|