9c9f1385fb
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
35 lines
868 B
TypeScript
35 lines
868 B
TypeScript
import { EventRouteName } from "./event";
|
|
import { ActorRouteName } from "./actor";
|
|
import { ErrorRouteName } from "./error";
|
|
import { SettingsRouteName } from "./settings";
|
|
import { GroupsRouteName } from "./groups";
|
|
import { DiscussionRouteName } from "./discussion";
|
|
import { UserRouteName } from "./user";
|
|
|
|
enum GlobalRouteName {
|
|
HOME = "Home",
|
|
ABOUT = "About",
|
|
ABOUT_MOBILIZON = "ABOUT_MOBILIZON",
|
|
ABOUT_INSTANCE = "ABOUT_INSTANCE",
|
|
PAGE_NOT_FOUND = "PageNotFound",
|
|
SEARCH = "Search",
|
|
TERMS = "TERMS",
|
|
PRIVACY = "PRIVACY",
|
|
GLOSSARY = "GLOSSARY",
|
|
INTERACT = "INTERACT",
|
|
RULES = "RULES",
|
|
}
|
|
|
|
// Hack to merge enums
|
|
// tslint:disable:variable-name
|
|
export default {
|
|
...GlobalRouteName,
|
|
...UserRouteName,
|
|
...EventRouteName,
|
|
...ActorRouteName,
|
|
...SettingsRouteName,
|
|
...GroupsRouteName,
|
|
...DiscussionRouteName,
|
|
...ErrorRouteName,
|
|
};
|