Skip to content

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.

Contracts extends Readonly<Record<string, EndpointManifestContractDefinition>>

Endpoints extends readonly EndpointOpenApiEndpointDefinition[]

EndpointManifestDefinition<Contracts, Endpoints>

Canonical REST surface metadata authored in TypeScript.

EndpointManifestDefinition<Contracts, Endpoints>

The same manifest object with literal contract and endpoint metadata preserved.