Functiongatewayv0.1.0-next.3Decorator
WebhookUrl
Declares the environment variable a WebhookLogWebhookLog reporter reads its webhook url from.
An unset variable disables the reporter with a boot warning. A set but malformed value throws at boot.
WebhookUrl(
envKey: string
): <HandlerCtor extends Constructor<WebhookLog<SubscriptionKey>>>(
constructor: HandlerCtor
) => voidWebhookUrl(
envKey: string
): <HandlerCtor extends Constructor<WebhookLog<SubscriptionKey>>>(
constructor: HandlerCtor
) => void