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:
parent
f2289f4530
commit
c4f60f3d81
31 changed files with 552 additions and 75 deletions
|
@ -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`,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -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}`,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue