Skip to content

XtandardWebhooksSinkOptions

Defined in: src/sinks/xtandard-webhooks.ts:33

Options for xtandardWebhooksSink.

Property Type Description Defined in
applicationKey? (tenant) => string | Promise<string | null> | null The webhooks application that receives a tenant’s items, or null to skip the tenant (e.g. it has not enabled streaming). Default: the tenant key itself. The application must exist — publish into a missing one throws and the stream backs off. src/sinks/xtandard-webhooks.ts:40
eventType? (item) => string Event type per item. Default audit.<action> for events, audit.checkpoint for checkpoints. src/sinks/xtandard-webhooks.ts:42
payload? (item) => JsonValue Message payload per item. Default: the full event / checkpoint (with its integrity block). src/sinks/xtandard-webhooks.ts:44