Webhooks
TYPE
@skmtc/core 0.63.4WebhookProjectionBaseClass
The class that toWebhookProjectionBase returns: its statics, and a constructor that gives a WebhookProjectionInstance.
Signature
import type { WebhookProjectionBaseClass } from '@skmtc/core'
interface WebhookProjectionBaseClass<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined>Properties
new, (args: WebhookProjectionConstructorArgs<EnrichmentType, ProjectionOptions>) => WebhookProjectionInstance<EnrichmentType, ProjectionOptions> required
The language of the base class. See LangSnippetConstructor.
id, string required
The generator's id.
type, 'webhook' required
toIdentifierName, (args: ToWebhookIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string required
The config's toIdentifierName.
The config's toIdentifierType.
toExportPath, (args: ToWebhookExportPathArgs<EnrichmentType, ProjectionOptions>) => string required
The config's toExportPath.
toEnrichmentDefaults, (args: ToWebhookEnrichmentsArgs) => EnrichmentType | undefined required
Calls the config's toEnrichmentDefaults; returns undefined when it has none.