Skip to content

ui-router-server / redirects / CompiledRoute

Interface: CompiledRoute ​

Defined in: redirects.ts:127

One url-addressable state, compiled by compileRoutes.

Properties ​

PropertyTypeDescriptionDefined in
matcherCompiledMatcherThe compiled pattern, for !exec | exec and !format | format.redirects.ts:133
namestringThe state name the pattern came from.redirects.ts:129
patternstringThe full pattern: this state's url appended to its ancestors'.redirects.ts:131
redirectStatusCode?RedirectStatusCodeThe state's declared redirect status (see RouteDeclaration.redirectStatusCode).redirects.ts:137
redirectTo?string | RedirectTargetThe state's declared redirect, carried through unresolved (see RouteDeclaration.redirectTo).redirects.ts:135