chore: export NotifyTypes from src/domain/notifyTypes
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/** Business notify_type strings — kept in app layer (not @authcore/commons). Align with huike-back raw_notify handlers. */
|
||||
|
||||
export enum NotifyTypes {
|
||||
TeacherRegister = 'teacher_register',
|
||||
StudentRegister = 'student_register',
|
||||
RejectRegister = 'reject_register',
|
||||
StudentRegisterApproved = 'student_register_success',
|
||||
TeacherRegisterApproved = 'teacher_register_success',
|
||||
TeacherCommentPiyue = 'teacher_comment_piyue',
|
||||
StudentCommentPiyue = 'student_comment_piyue',
|
||||
JihuaCreate = 'create_jihua',
|
||||
JihuaUpdate = 'update_jihua',
|
||||
JihuaDelete = 'delete_jihua',
|
||||
LianxiCreate = 'create_lianxi',
|
||||
LianxiDelete = 'delete_lianxi',
|
||||
PiyueCreate = 'create_piyue',
|
||||
TeacherCommentJihua = 'teacher_comment_jihua',
|
||||
StudentCommentJihua = 'student_comment_jihua',
|
||||
TeacherCommentDaka = 'teacher_comment_daka',
|
||||
StudentCommentDaka = 'student_comment_daka',
|
||||
DakaCreate = 'create_daka',
|
||||
DakaUpdate = 'update_daka',
|
||||
DakaDelete = 'delete_daka',
|
||||
ResourceNoteGroupCreate = 'create_resource_note_group',
|
||||
ClazzCreateOrUpdate = 'create_or_update_clazz',
|
||||
ClazzDelete = 'delete_clazz',
|
||||
TeacherCommentClazz = 'teacher_comment_clazz',
|
||||
}
|
||||
+2
-1
@@ -37,13 +37,14 @@ export {
|
||||
HtyBaseRoles,
|
||||
HtySuperRoles,
|
||||
TongzhiStatuses,
|
||||
NotifyTypes,
|
||||
TaskFrom,
|
||||
TaskStatuses,
|
||||
TaskTypes,
|
||||
GroupTypes,
|
||||
} from '@authcore/commons';
|
||||
|
||||
export { NotifyTypes } from './domain/notifyTypes';
|
||||
|
||||
export type { TeacherInfo, StudentInfo } from '@authcore/commons';
|
||||
|
||||
export interface HtyUser extends CommonsHtyUser {
|
||||
|
||||
Reference in New Issue
Block a user