LogoRobo.js
Framework

RouteDefinitionConfig

Interface: RouteDefinitionConfig

Serialized route configuration for the manifest. Contains only serializable parts of RouteConfig.

Properties

PropertyTypeDescription
description?stringHuman-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?stringFile 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?booleanWhether multiple handlers per key are allowed
nesting?{ allowIndex: boolean; catchAllSegment: string; dynamicSegment: string; maxDepth: number; optionalCatchAll: string; }Nesting configuration
nesting.allowIndex?boolean-
nesting.catchAllSegment?stringCatch-all pattern (string form of regex)
nesting.dynamicSegment?stringDynamic segment pattern (string form of regex)
nesting.maxDepth?number-
nesting.optionalCatchAll?stringOptional catch-all pattern (string form of regex)

On this page