feat(notification): improve notification system with team settings and project-level toggles

This commit is contained in:
yiling
2026-05-29 20:40:13 +08:00
parent 748363d8f8
commit ff66d4af14
12 changed files with 627 additions and 9 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ export class ProjectService {
data: {
name: req.name,
teamId: req.teamId,
enableNotification: req.enableNotification || false,
enableNotification: req.enableNotification ?? true,
coverImageKey: req.coverImageKey,
},
})
@@ -304,7 +304,7 @@ export class ProjectService {
const pi: ProjectInfo = {
id: p.id,
name: p.name,
enableNotification: p.enableNotification || false,
enableNotification: p.enableNotification ?? true,
coverImageKey: p.coverImageKey || undefined,
updatedAt: p.updatedAt,
}