feat(modules): update layout, notifications, questions, rbac, files
- layout: update site-header.tsx - notifications: update use-desktop-notifications.ts - questions: update question-actions.tsx, question-columns.tsx - rbac: update permission-catalog.ts - files: update types.ts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// 文件关联的目标资源类型(多态关联)
|
||||
// P1-5 新增 "user_avatar":用于用户头像上传场景的 targetType 字段对齐
|
||||
// P2-3 新增 "message":用于私信附件上传场景的 targetType 字段对齐
|
||||
// V5-5 新增 "lesson_plan":用于备课模块附件上传场景的 targetType 字段对齐
|
||||
export type FileTargetType =
|
||||
| "exam"
|
||||
| "textbook"
|
||||
@@ -9,6 +10,7 @@ export type FileTargetType =
|
||||
| "homework"
|
||||
| "user_avatar"
|
||||
| "message"
|
||||
| "lesson_plan"
|
||||
|
||||
// 文件附件记录(DB 行的 TypeScript 表示)
|
||||
export interface FileAttachment {
|
||||
|
||||
Reference in New Issue
Block a user