Framework
RouteDefinitionConfig
Serialized route configuration for the manifest.
Contains only serializable parts of RouteConfig.
| Property | Type | Description |
|---|
description? | string | Human-readable description |
exports? | { config: "required" | "optional" | "forbidden"; default: "required" | "optional" | "forbidden"; named: string[]; } | Export requirements |
exports.config? | "required" | "optional" | "forbidden" | - |
exports.default? | "required" | "optional" | "forbidden" | - |
exports.named? | string[] | - |
filter? | string | File filter pattern (string form of regex) |
key | { nested: "camelCase" | "dotNotation"; separator: string; style: "filename" | "filepath" | "parentOrFilename"; } | Key generation configuration |
key.nested? | "camelCase" | "dotNotation" | - |
key.separator? | string | - |
key.style | "filename" | "filepath" | "parentOrFilename" | - |
multiple? | boolean | Whether multiple handlers per key are allowed |
nesting? | { allowIndex: boolean; catchAllSegment: string; dynamicSegment: string; maxDepth: number; optionalCatchAll: string; } | Nesting configuration |
nesting.allowIndex? | boolean | - |
nesting.catchAllSegment? | string | Catch-all pattern (string form of regex) |
nesting.dynamicSegment? | string | Dynamic segment pattern (string form of regex) |
nesting.maxDepth? | number | - |
nesting.optionalCatchAll? | string | Optional catch-all pattern (string form of regex) |