Skip to main content

Class: RouteData

api/src.RouteData

Constructors

constructor

new RouteData(path)

Parameters

NameType
pathstring

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:25

Properties

parts

Private Readonly parts: readonly ParsedPart[]

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:23


path

Readonly path: string

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:21


static

Private Readonly static: boolean

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:22

Methods

match

match(split): MatchData

Parameters

NameType
splitreadonly string[]

Returns

MatchData

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:31


parsePart

Static Private parsePart(value): ParsedPart

Parameters

NameType
valuestring

Returns

ParsedPart

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:54


split

Static Private split(url): string[]

Parameters

NameType
urlstring

Returns

string[]

Defined in

projects/plugins/packages/api/src/lib/utils/RouteData.ts:63