2020-02-18 07:57:00 +00: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",
|
2020-06-19 17:27:10 +00:00
|
|
|
ABOUT_MOBILIZON = "ABOUT_MOBILIZON",
|
|
|
|
ABOUT_INSTANCE = "ABOUT_INSTANCE",
|
2020-02-18 07:57:00 +00:00
|
|
|
PAGE_NOT_FOUND = "PageNotFound",
|
|
|
|
SEARCH = "Search",
|
|
|
|
TERMS = "TERMS",
|
2020-06-19 17:27:10 +00:00
|
|
|
PRIVACY = "PRIVACY",
|
|
|
|
GLOSSARY = "GLOSSARY",
|
2020-02-18 07:57:00 +00:00
|
|
|
INTERACT = "INTERACT",
|
2020-06-15 09:01:49 +00:00
|
|
|
RULES = "RULES",
|
2020-02-18 07:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Hack to merge enums
|
|
|
|
// tslint:disable:variable-name
|
|
|
|
export default {
|
|
|
|
...GlobalRouteName,
|
|
|
|
...UserRouteName,
|
|
|
|
...EventRouteName,
|
|
|
|
...ActorRouteName,
|
|
|
|
...SettingsRouteName,
|
|
|
|
...GroupsRouteName,
|
|
|
|
...ConversationRouteName,
|
|
|
|
...ErrorRouteName,
|
|
|
|
};
|