Skip to main content
Module

x/endofunctor/src/morphism.ts>Morphism

🌐 Vixeny: At the forefront of modern web development, Vixeny stands as a runtime-independent, efficiency-driven library dedicated to upholding the principles of functional purity. It's crafted to empower developers with a robust foundation for creating scalable, maintainable, and high-performance web applications.
Latest
type alias Morphism
import { type Morphism } from "https://deno.land/x/endofunctor@v0.1.43/src/morphism.ts";

Type Parameters

optional
MO extends MapOptions = MapOptions
optional
RM extends ResolveMap<any> = any
optional
BM extends BranchMap<any> = any
optional
QO extends QueryOptions = QueryOptions
optional
PO extends ParamOptions = ParamOptions
optional
RO extends FunRouterOptions<any> = FunRouterOptions<any>
optional
CO extends CryptoOptions = CryptoOptions
optional
AT = any
optional
R = any
definition: { readonly active?: MO["isAPetition"] extends true ? boolean : never; readonly isUsing?: MO["isAPetition"] extends true ? string[] : never; readonly resolve?: RM; readonly branch?: BM; readonly method?: ParamsMethod; readonly crypto?: CO; readonly args?: MO extends { type: "morphism"; } ? AT : never; readonly query?: QO; readonly cookie?: CookieOptions; readonly param?: PO; readonly plugins?: ExtractPluginTypes<RO>; readonly headings?: PetitionHeader; readonly isAsync?: MO["isAPetition"] extends true | false ? boolean : MO["type"] extends { type: "morphism"; } ? boolean : never; readonly o?: MO["isAPetition"] extends boolean ? FunRouterOptions<any> : MO["type"] extends { type: "morphism"; } ? FunRouterOptions<any> : never; readonly mutable?: MO extends { mutable: true; } ? true : never; readonly options?: PetitionOptions<[Extract<keyof RO["cyclePlugin"], string>], CO>; readonly r?: MO["type"] extends "response" ? (r: Request) => Promise<Response> | Response : never; readonly f: { (ctx: WithPlugins<RM, BM, QO, PO, RO, CO, { }, PetitionOptions<[Extract<keyof RO["cyclePlugin"], string>], CO>, AT>): MO["specificReturnType"] extends true ? MO["returnType"] : MO["type"] extends "response" ? Response | Promise<Response> : MO["type"] extends "request" ? Response | Promise<Response> : MO["type"] extends "base" ? BodyInit | Promise<BodyInit> | null : R; }; } & ExtraKeys<MO>