mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
starred content
This commit is contained in:
parent
a920217959
commit
baa41f707d
19 changed files with 159 additions and 22 deletions
|
@ -10,4 +10,5 @@ export const API: { [x: string]: string } = {
|
|||
|
||||
DROP_ROUTE: `${CLIENT.API_ADDR}/route`,
|
||||
MODIFY_ROUTE: `${CLIENT.API_ADDR}/route/modify`,
|
||||
SET_STARRED: `${CLIENT.API_ADDR}/route/star`,
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
export interface IRoles {
|
||||
guest: string,
|
||||
vk: string,
|
||||
admin: string,
|
||||
}
|
||||
|
||||
export interface IUser {
|
||||
|
@ -24,6 +25,7 @@ export interface IUser {
|
|||
export const ROLES: IRoles = {
|
||||
guest: 'guest',
|
||||
vk: 'vk',
|
||||
admin: 'admin',
|
||||
};
|
||||
|
||||
export const DEFAULT_USER: IUser = {
|
||||
|
|
|
@ -7,6 +7,7 @@ export interface IDialogs {
|
|||
export interface IMapTabs {
|
||||
mine: string,
|
||||
all: string,
|
||||
starred: string,
|
||||
}
|
||||
|
||||
export const DIALOGS: IDialogs = ({
|
||||
|
@ -17,5 +18,6 @@ export const DIALOGS: IDialogs = ({
|
|||
|
||||
export const TABS: IMapTabs = ({
|
||||
mine: 'Мои',
|
||||
all: 'Общие',
|
||||
starred: 'Общие',
|
||||
all: 'ВСЕ',
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue