Skip to content
Français

TriggerOutcome

import type { TriggerOutcome } from "@elie-laloum/outpost";

Outcome of a verified webhook delivery, passed to TriggerSource.reply(). Values: “accepted” (the route published a queue job; default reply 202 with { job }), “ignored” (the route returned no job; default reply 204).

Complete example and detailed rules.

export type TriggerOutcome = "accepted" | "ignored";