2020-02-18 08:57:00 +01:00
|
|
|
import { EventRouteName } from "./event";
|
|
|
|
import { ActorRouteName } from "./actor";
|
|
|
|
import { ErrorRouteName } from "./error";
|
|
|
|
import { SettingsRouteName } from "./settings";
|
|
|
|
import { GroupsRouteName } from "./groups";
|
|
|
|
import { ConversationRouteName } from "./conversation";
|
|
|
|
import { UserRouteName } from "./user";
|
|
|
|
|
|
|
|
enum GlobalRouteName {
|
|
|
|
HOME = "Home",
|
|
|
|
ABOUT = "About",
|
|
|
|
PAGE_NOT_FOUND = "PageNotFound",
|
|
|
|
SEARCH = "Search",
|
|
|
|
TERMS = "TERMS",
|
|
|
|
INTERACT = "INTERACT",
|
2020-06-15 11:01:49 +02:00
|
|
|
RULES = "RULES",
|
2020-02-18 08:57:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Hack to merge enums
|
|
|
|
// tslint:disable:variable-name
|
|
|
|
export default {
|
|
|
|
...GlobalRouteName,
|
|
|
|
...UserRouteName,
|
|
|
|
...EventRouteName,
|
|
|
|
...ActorRouteName,
|
|
|
|
...SettingsRouteName,
|
|
|
|
...GroupsRouteName,
|
|
|
|
...ConversationRouteName,
|
|
|
|
...ErrorRouteName,
|
|
|
|
};
|