diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2024-09-26 14:15:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-26 14:15:03 +0900 |
| commit | d8a2eeb7ed44a4e25426ca9b7c6c85b8c62d3106 (patch) | |
| tree | 188c69f292567d61a83ef7f1c19fac654586d1d3 /packages/backend/src/core | |
| parent | enhance(frontend): 絵文字ピッカーをドロワー表示するか自由... (diff) | |
| download | misskey-d8a2eeb7ed44a4e25426ca9b7c6c85b8c62d3106.tar.gz misskey-d8a2eeb7ed44a4e25426ca9b7c6c85b8c62d3106.tar.bz2 misskey-d8a2eeb7ed44a4e25426ca9b7c6c85b8c62d3106.zip | |
feat: エクスポート完了時に通知を発行するように (#14484)
* feat: エクスポート完了時に通知を発行するように
* Update Changelog
* entitity -> entity
* fix: ペイロードを含むように
* fix icon
* exportableEntities -> userExportableEntities
Diffstat (limited to 'packages/backend/src/core')
| -rw-r--r-- | packages/backend/src/core/entities/NotificationEntityService.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/backend/src/core/entities/NotificationEntityService.ts b/packages/backend/src/core/entities/NotificationEntityService.ts index f393513510..1b61a6195d 100644 --- a/packages/backend/src/core/entities/NotificationEntityService.ts +++ b/packages/backend/src/core/entities/NotificationEntityService.ts @@ -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, |