starred content

This commit is contained in:
muerwre 2019-03-21 17:58:38 +07:00
parent a920217959
commit baa41f707d
19 changed files with 159 additions and 22 deletions

View file

@ -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`,
};

View file

@ -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 = {

View file

@ -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: 'ВСЕ',
});