1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

made tags panel

This commit is contained in:
Fedor Katurov 2020-10-31 15:06:08 +07:00
parent f2289f4530
commit c4f60f3d81
31 changed files with 552 additions and 75 deletions

View file

@ -1,4 +1,4 @@
import { INode, IComment } from '~/redux/types';
import { IComment, INode } from '~/redux/types';
import { ISocialProvider } from '~/redux/auth/types';
export const API = {
@ -46,4 +46,7 @@ export const API = {
BORIS: {
GET_BACKEND_STATS: '/stats/',
},
TAG: {
NODES: `/tag/nodes`,
},
};

View file

@ -13,6 +13,7 @@ export const URLS = {
BACKEND_DOWN: '/oopsie',
},
NODE_URL: (id: number | string) => `/post${id}`,
NODE_TAG_URL: (id: number, tagName: string) => `/post${id}/tag/${tagName}`,
PROFILE: (username: string) => `/~${username}`,
PROFILE_PAGE: (username: string) => `/profile/${username}`,
};