function withCurrentRefs
withCurrentRefs(data: NotificationData): NotificationData

Returns data with what may have changed since it was stored joined from the database: each user's current name, and the slug and owner of its dump and playlist, which the client builds their paths from. A user since deleted keeps their stored name; a deleted dump or playlist gets no ref, and so no link. Every notification the server sends goes through it, and so do the digests.

Parameters

Return Type

Usage

import { withCurrentRefs } from "api/services/notification-service.ts";