22 lines
508 B
TypeScript
22 lines
508 B
TypeScript
export class Links {
|
|
public static HOME = "/";
|
|
public static PRODUCTS = "/products";
|
|
public static CHILDREN = {
|
|
LIST: "list",
|
|
};
|
|
|
|
public static USERS = {
|
|
parent: "/users",
|
|
get children() {
|
|
return {
|
|
LIST: `${Links.USERS.parent}/${Links.CHILDREN.LIST}`,
|
|
ROLES: `${Links.USERS.parent}/roles`,
|
|
RESOURCES: `${Links.USERS.parent}/resources`,
|
|
ALLOWS_SYSTEM: `${Links.USERS.parent}/allows-system`,
|
|
};
|
|
},
|
|
};
|
|
|
|
public static LOGIN = "/login";
|
|
}
|