Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

418 B
Raw Blame
type AnyActionResult =
  | ActionResultForCreate
  | ActionResultForUpdate
  | ActionResultForDelete
  | ActionResultForSql;

Union of every possible response body. Used as the result default when TKind is omitted, so authors who don't know the action's kind upfront still get TS-narrowable shapes (via "<key>" in result) instead of a permissive Record<string, unknown> that swallows mistyped reads.