メインコンテンツまでスキップ
バージョン: 🚧 Canary

🚀 Notification features

Notification features are SDK composers, not Express middleware; notificationService mounts all three in source order.

Inventory

FeatureComposed schema(s)Composed route(s)Purpose
updateNotificationToReadFeatureupdateNotificationToReadSchemaupdateNotificationToReadRouteMark one owned notification read.
findNotificationsFeaturefindNotificationsSchemafindNotificationsRouteList one identity's notifications.
updateNotificationToReadBatchFeatureupdateNotificationToReadBatchSchemaupdateNotificationToReadBatchRouteMark unread notifications through an anchor.

Details

Each feature is mounted by notificationService. The source definitions below show the exact schema-to-route composition.

updateNotificationToReadFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by notificationService or a compatible custom service context.

View complete source
export const updateNotificationToReadFeature = compose(updateNotificationToReadSchema, updateNotificationToReadRoute);

findNotificationsFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by notificationService or a compatible custom service context.

View complete source
export const findNotificationsFeature = compose(findNotificationsSchema, findNotificationsRoute);

updateNotificationToReadBatchFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by notificationService or a compatible custom service context.

View complete source
export const updateNotificationToReadBatchFeature = compose(
updateNotificationToReadBatchSchema,
updateNotificationToReadBatchRoute,
);