toip.tools

type · Browser and Node

SubmitResult

@toip-tools/eventlogView source
TypeScriptImport
import { type SubmitResult } from "@toip-tools/eventlog";

Declaration

TypeScripttype
type SubmitResult =
  | { ok: true; receipts: string }
  /** `receipts` holds receipts for messages before the refused one. (Additive.) */
  | { ok: false; refusal: Refusal; problems: Problem[]; firstSeen?: string; receipts?: string };