effx
API reference@effx/compilerextensions

problem-contract

API reference for @effx/compiler/extensions/problem-contract

problem-contract.ts overview


Exports Grouped by Category


utils

ProblemContractData

JSON-only payload attached to an operation; no application module is evaluated.

Signature

declare const ProblemContractData: Schema.Struct<{
  readonly registry: Schema.Struct<{
    readonly module: Schema.String
    readonly export: Schema.String
    readonly member: Schema.optionalKey<Schema.String>
  }>
  readonly codes: Schema.$Array<Schema.NonEmptyString>
  readonly identifier: Schema.optionalKey<Schema.String>
  readonly map: Schema.optionalKey<Schema.$Record<Schema.String, Schema.NonEmptyString>>
  readonly errorTags: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>
  readonly statusAnnotated: Schema.optionalKey<Schema.$Array<Schema.String>>
}>

ProblemContractData (type alias)

Signature

type ProblemContractData = typeof ProblemContractData.Type

problemContract

Signature

declare const problemContract: Extension

On this page