Skip to main content

SingleFunctionRenderType

@the-codegen-project/cliDocs


Home / SingleFunctionRenderType

Interface: SingleFunctionRenderType

Properties

PropertyTypeDescriptionDefined in
codestring-src/codegen/types.ts:198
dependenciesstring[]-src/codegen/types.ts:199
functionNamestring-src/codegen/types.ts:197
functionTypeChannelFunctionTypes-src/codegen/types.ts:200
headerType?stringThe header type used in the channel function's callback, when the channel has headers. Consumed by the client generator so its wrapper subscribe methods declare the same callback signature as the channel function they delegate to.src/codegen/types.ts:215
messageTypestring-src/codegen/types.ts:201
messageUnionType?stringThe user-facing input type for the message at publish/request sites. For object payloads this is the `InterfaceClassunion; otherwise it equalsmessageType`. Consumed by the client generator so its wrapper publish methods accept the same ergonomic plain object the channel functions do.
method?string-src/codegen/types.ts:223
pathSegments?string[]-src/codegen/types.ts:222
replyType?string-src/codegen/types.ts:216
tags?string[]Grouping metadata used by the channels generator's organization option. Populated at the render call sites and consumed only in finalizeGeneration.src/codegen/types.ts:221