Pular para o conteúdo principal

ReadNotificationsRequest

@raizfc/contracts


@raizfc/contracts / ReadNotificationsRequest

Type Alias: ReadNotificationsRequest

ReadNotificationsRequest = Readonly<{ ids?: readonly ID[]; scope?: NotificationScope; }>

Defined in: engagement/notifications.dto.ts:78

Covers per-id read, batch read and "ler todas no escopo" (SPEC-DOMAIN-NOTIFICATION-001's three separate read affordances) with the one endpoint SPEC-API-ENGAGEMENT-001 actually lists (POST /notifications/read, "Batch"): ids omitted marks every notification in scope (default both scopes) as read; ids present marks exactly those (one id is simply a batch of one).