Parameter codecs
Intvariable
Constructs an integer path parameter decoded from a string.
Numbervariable
Constructs a finite-number path parameter decoded from a string.
ParamWithSchemavariable
Constructs a named path parameter decoded by an Effect Schema Codec.
Route composition
Jointype-alias
Infers the normalized path, intersected decoded parameters, and codec services of joined Routes.
Route construction
Paramvariable
Constructs a named string path-parameter Route.
Parsevariable
Parses a route-pattern string into a typed Route.
Slashvariable
The root slash Route.
Wildcardvariable
A Route that captures an unconstrained remainder.
makefunction
Constructs a Route from a Route AST and lazily memoizes its path and schemas.
Route contracts
Routeinterface
A pipeable route value containing syntax, normalized path, and Effect Schemas.
Route type inference
Anytype-alias
A Route with intentionally widened path and schema parameters.
Paramstype-alias
Combines decoded path and query parameter fields for a route string.
PathTypetype-alias
Extracts the decoded path-only parameter record from a Route.
QueryTypetype-alias
Extracts the decoded query-only parameter record from a Route.
Route.Anytype-alias
A Route with intentionally widened path and schema parameters.
Route.DecodingServicestype-alias
Extracts services required to decode a Route’s parameters.
Route.EncodingServicestype-alias
Extracts services required to encode a Route’s parameters.
Route.Paramstype-alias
Combines decoded path and query parameter fields for a route string.
Route.Pathtype-alias
Extracts the literal path string type from a Route.
Route.PathTypetype-alias
Extracts the decoded path-only parameter record from a Route.
Route.QueryTypetype-alias
Extracts the decoded query-only parameter record from a Route.
Route.Schematype-alias
Extracts the combined parameter Codec from a Route.
Route.Typetype-alias
Extracts the decoded parameter type from a Route.
Typetype-alias
Extracts the decoded parameter type from a Route.