feat: エクスポート完了時に通知を発行するように (#14484)

* feat: エクスポート完了時に通知を発行するように

* Update Changelog

* entitity -> entity

* fix: ペイロードを含むように

* fix icon

* exportableEntities -> userExportableEntities
This commit is contained in:
かっこかり
2024-09-26 14:15:03 +09:00
committed by GitHub
parent 89841e4c9a
commit d8a2eeb7ed
21 changed files with 199 additions and 7 deletions

View File

@@ -162,6 +162,10 @@ export class NotificationEntityService implements OnModuleInit {
...(notification.type === 'achievementEarned' ? {
achievement: notification.achievement,
} : {}),
...(notification.type === 'exportCompleted' ? {
exportedEntity: notification.exportedEntity,
fileId: notification.fileId,
} : {}),
...(notification.type === 'app' ? {
body: notification.customBody,
header: notification.customHeader,