diff --git a/packages/backend/src/server/api/stream/types.ts b/packages/backend/src/server/api/stream/types.ts index 10195e1996..657a274e66 100644 --- a/packages/backend/src/server/api/stream/types.ts +++ b/packages/backend/src/server/api/stream/types.ts @@ -177,6 +177,8 @@ export interface GroupMessagingStreamTypes { export interface MessagingIndexStreamTypes { read: MessagingMessage['id'][]; message: Packed<'MessagingMessage'>; +} + export interface RoleTimelineStreamTypes { note: Packed<'Note'>; } diff --git a/packages/sw/src/scripts/create-notification.ts b/packages/sw/src/scripts/create-notification.ts index 1d2a99c389..adacd4db68 100644 --- a/packages/sw/src/scripts/create-notification.ts +++ b/packages/sw/src/scripts/create-notification.ts @@ -206,6 +206,7 @@ async function composeNotification(data: PushNotificationDataMap[keyof PushNotif title: t('reject'), }, ], + }]; case 'achievementEarned': return [t('_notification.achievementEarned'), {