/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */

export const FILE_FIELD_NAME = 'file';
export const LIMIT_FILES = 1;
export const FILE_SIZE_LIMIT_MIN = 1;
export const FILE_SIZE_LIMIT_MAX = 1024 * 1024 * 1024;
export const FILE_SIZE_LIMIT_DEFAULT = 1024 * 1024 * 20;

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';
