Skip to main content

CheckResult

@rotorsoft/act-root


@rotorsoft/act-root / act-http/src/receiver / CheckResult

Type Alias: CheckResult

CheckResult = { ok: false; reason: CheckFailureReason; status: 400 | 401; } | { deduped: boolean; key: string; ok: true; }

Defined in: libs/act-http/src/receiver/check.ts:25

Outcome of checkWebhook. Either the request passed every configured check and carries a usable idempotency key, or it failed one of them and the framework adapter should reply with the corresponding HTTP status.