You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/shared/utils/consts.ts

27 lines
609 B
TypeScript

import type { GlobalConfig } from '../model/config';
/**
*
* 16
*
*/
export const NAME_REGEXP =
/^([0-9a-zA-Z]{1,2}|[\u4e00-\u9eff]|[\u3040-\u309Fー]|[\u30A0-\u30FF]){1,8}$/;
/**
*
*/
export const LANGUAGE_KEY = 'i18n:language';
/**
* id
*/
export const SYSTEM_USERID = '000000000000000000000000';
export const defaultGlobalConfig: GlobalConfig = {
uploadFileLimit: 1 * 1024 * 1024,
emailVerification: false,
disableUserRegister: false,
disableGuestLogin: false,
};