Kind: Type
Source: atloria-monorepo/libs/parser-core/src/parsers/backend/go.parser.ts
What a handler writes, as EVIDENCE rather than a conclusion.
type is a name read straight out of the source; producer is a call whose return type is
declared elsewhere and is resolved once the whole parse is visible; envelope is a literal
map with constant keys. Anything else is absent — a handler whose payload cannot be named
records nothing at all.
Definition
ts| { kind: 'type'; name: string; isList?: boolean }
| { kind: 'producer'; key: string; isList?: boolean }
| { kind: 'scalar'; type: string }
| { kind: 'envelope'; entries: Array<{ key: string; value: GoResponseValue }> }
Was this page helpful?