basalt / drives/src / HandleNotificationOptions
Interface: HandleNotificationOptions
Defined in: drives/src/notifications.ts:114
Properties
connections
> connections: DriveConnectionCandidates
Defined in: drives/src/notifications.ts:128
Candidate connections to match the notification against.
Required and explicit, because the alternative — scanning every tenant's connections from an unauthenticated endpoint — is precisely the cross-tenant read this design refuses to have. An app with a per-tenant callback URL passes that tenant's connections; an app with one global callback passes a resolver (see DriveConnectionCandidates).
provider
> provider: string
Defined in: drives/src/notifications.ts:116
The provider the route is mounted for.
replayGuard?
> optional replayGuard?: NotificationReplayGuard
Defined in: drives/src/notifications.ts:129
replayTtlMs?
> optional replayTtlMs?: number
Defined in: drives/src/notifications.ts:131
Replay window. Default 5 minutes.
tenantId?
> optional tenantId?: string
Defined in: drives/src/notifications.ts:118
Tenant to search when the app is multi-tenant and the route is per-tenant. Omit for a global route.