Type Alias AssemblyRoute
AssemblyRoute: RouteCommon & {
strategy: "assembly";
load(ctx: RouteContext): AssemblyBody | Promise<AssemblyBody>;
}
strategy: "assembly";
load(ctx: RouteContext): AssemblyBody | Promise<AssemblyBody>;
}
Type Declaration
-
strategy: "assembly"
fills placeholders in a stored shell
-
load: function
-
returns the body that fills the shell's placeholders
Parameters
- ctx: RouteContext
Returns AssemblyBody | Promise<AssemblyBody>
-
a route answered by filling placeholders in a stored shell