@contextjs/routing
Version:
Declarative, fast, and extensible route matching for ContextJS applications.
8 lines (7 loc) • 325 B
JavaScript
export var SegmentKind;
(function (SegmentKind) {
SegmentKind[SegmentKind["Literal"] = 0] = "Literal";
SegmentKind[SegmentKind["Parameter"] = 1] = "Parameter";
SegmentKind[SegmentKind["Optional"] = 2] = "Optional";
SegmentKind[SegmentKind["CatchAll"] = 3] = "CatchAll";
})(SegmentKind || (SegmentKind = {}));