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>
25 lines
796 B
TypeScript
25 lines
796 B
TypeScript
export enum TimerIdEnum {
|
|
checkInValidDatasetFiles = 'checkInValidDatasetFiles',
|
|
checkInvalidDatasetData = 'checkInvalidDatasetData',
|
|
checkInvalidVector = 'checkInvalidVector',
|
|
clearExpiredSubPlan = 'clearExpiredSubPlan',
|
|
updateStandardPlan = 'updateStandardPlan',
|
|
scheduleTriggerApp = 'scheduleTriggerApp',
|
|
notification = 'notification'
|
|
}
|
|
|
|
export enum LockNotificationEnum {
|
|
NotificationExpire = 'notification_expire',
|
|
NotificationFreeClean = 'notification_free_clean',
|
|
NotificationLackOfPoints = 'notification_lack_of_points'
|
|
}
|
|
|
|
export type LockType = `${LockNotificationEnum}`;
|
|
|
|
// add a new type enum example:
|
|
// export enum ExampleLockEnum {
|
|
// ExampleLockType1 = 'example_lock_type1'
|
|
// }
|
|
//
|
|
// export type LockType = `${NotificationLockEnum}` | `${ExampleLockEnum}`
|