Docs@skmtc/core

Webhooks

TYPE

WebhookProjectionConstructorArgs

@skmtc/core 0.63.4

External constructor signature for a webhook projection class.

The pipeline calls new SomeProjection(args) with this shape; the runtime base class injects generatorKey before calling super().

Mirrors OasOperationProjectionConstructorArgs with webhook for operation - webhooks are a distinct subject (OasWebhook), so the field name and type differ even though the shape matches.

Signature

import type { WebhookProjectionConstructorArgs } from '@skmtc/core'

type WebhookProjectionConstructorArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = { ... } & ProjectionOptionsArg<ProjectionOptions>

Properties

context, GenerateContextType required
settings, ContentSettings<EnrichmentType> required
webhook, OasWebhook required