mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00

* feat: Bind Notification Pipe (#2229) * chore: account page add bind notification modal * feat: timerlock schema and type * feat(fe): bind notification method modal * chore: fe adjust * feat: clean useless code * fix: cron lock * chore: adjust the code * chore: rename api * chore: remove unused code * chore: fe adjust * perf: bind inform ux * fix: time ts * chore: notification (#2251) * perf: send message code * perf: sub schema index * fix: timezone plugin * fix: format --------- Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
29 lines
607 B
TypeScript
29 lines
607 B
TypeScript
export enum InformLevelEnum {
|
|
'common' = 'common',
|
|
'important' = 'important',
|
|
'emergency' = 'emergency'
|
|
}
|
|
|
|
export const InformLevelMap = {
|
|
[InformLevelEnum.common]: {
|
|
label: '普通'
|
|
},
|
|
[InformLevelEnum.important]: {
|
|
label: '重要'
|
|
},
|
|
[InformLevelEnum.emergency]: {
|
|
label: '紧急'
|
|
}
|
|
};
|
|
|
|
export enum SendInformTemplateCodeEnum {
|
|
EXPIRE_SOON = 'EXPIRE_SOON',
|
|
EXPIRED = 'EXPIRED',
|
|
FREE_CLEAN = 'FREE_CLEAN',
|
|
REGISTER = 'REGISTER',
|
|
RESET_PASSWORD = 'RESET_PASSWORD',
|
|
BIND_NOTIFICATION = 'BIND_NOTIFICATION',
|
|
LACK_OF_POINTS = 'LACK_OF_POINTS',
|
|
CUSTOM = 'CUSTOM'
|
|
}
|