AddMethod
AddMethod<
S,Name,CReq,CRes,RT> =object
Defined in: packages/core/src/schema-types.ts:22
Add a method to schema with dual codecs (full 4-type control).
Used internally by Module.method() when requestCodec + responseCodec are provided.
Type Parameters
Section titled “Type Parameters”S extends Schema
Name extends string
CReq extends Schema
CRes extends Schema
RT extends ResponseType
Properties
Section titled “Properties”events
Section titled “events”events:
S["events"]
Defined in: packages/core/src/schema-types.ts:40
methods
Section titled “methods”methods:
Omit<S["methods"],Name> &Record<Name, {reqIn:Schema<CReq>;reqOut:Schema<CReq>;resIn:Schema<CRes>;resOut:Schema<CRes>;responseType:RT; }>
Defined in: packages/core/src/schema-types.ts:29