defineEndpointManifest
defineEndpointManifest<
Contracts,Endpoints>(manifest):EndpointManifestDefinition<Contracts,Endpoints>
Defined in: wp-typia-block-runtime/src/metadata-core.ts:193
Preserve literal TypeScript inference for backend-neutral endpoint manifests.
Type Parameters
Section titled “Type Parameters”Contracts
Section titled “Contracts”Contracts extends Readonly<Record<string, EndpointManifestContractDefinition>>
Endpoints
Section titled “Endpoints”Endpoints extends readonly EndpointOpenApiEndpointDefinition[]
Parameters
Section titled “Parameters”manifest
Section titled “manifest”EndpointManifestDefinition<Contracts, Endpoints>
Canonical REST surface metadata authored in TypeScript.
Returns
Section titled “Returns”EndpointManifestDefinition<Contracts, Endpoints>
The same manifest object with literal contract and endpoint metadata preserved.