Parameter inference
Paramstype-alias
Combines decoded path and query parameter fields for a route string.
PathParamstype-alias
Extracts decoded path-parameter fields from a route string.
QueryParamstype-alias
Extracts decoded query-parameter fields from a route string.
Parameter schemas
OptionalSchemaFieldtype-alias
An optional schema record key paired with its Effect Schema.
SchemaFieldtype-alias
A required decoded field name paired with its Effect Schema.
SchemaFieldstype-alias
The required, optional, and per-query schema fields derived from Path AST nodes.
getSchemaFieldsfunction
Collects route schema fields from ordered Path AST nodes.
getSchemasfunction
Builds combined, path-only, and query-only schemas from Path AST nodes.
schemaForQueryValuefunction
Builds the decoder for one declared query value AST.
schemaFromFieldsfunction
Builds an Effect Schema record from required and optional route fields.
Path formatting
Path parsing
ParseAststype-alias
Parses a route string literal into its ordered Path AST tuple.
PathParsertype-alias
The type-level parser for one route path atom after optional slashes.
RuntimeParseResulttype-alias
A runtime AST list paired with the unconsumed route suffix.
parsefunction
Parses a complete route string into Path AST nodes.
parseWithRestfunction
Parses route atoms and returns both AST nodes and unconsumed input.
Query decoding
QueryInputParametertype-alias
Describes one query key expected by matcher input decoding.
getQueryInputParametersfunction
Collects matcher-facing query parameter declarations from a Route AST.
getQueryInputSchemafunction
Builds the Effect Schema used to normalize matcher query input.
Route structure validation
assertUniqueDecodedRouteParamNamesfunction
Throws when a Route AST decodes the same parameter name more than once.
flattenRouteAstfunction
Flattens joined and transformed Route AST nodes to their path atoms.
getDecodedParamNamesfunction
Returns the decoded field names contributed by one Path AST node.