You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
402 B
15 lines
402 B
import {AppClass} from "../../lifecycle/AppClass";
|
|
|
|
export class RouteGroup extends AppClass {
|
|
private static currentGroupNesting: RouteGroup[] = []
|
|
|
|
public static getCurrentGroupHierarchy(): RouteGroup[] {
|
|
return [...this.currentGroupNesting]
|
|
}
|
|
|
|
constructor(
|
|
public readonly group: () => void | Promise<void>,
|
|
public readonly prefix: string
|
|
) { super() }
|
|
}
|