feat: add notifications and invites routes to the router and update path utilities
This commit is contained in:
@@ -3,6 +3,8 @@ import {
|
||||
DIRECT_CREATE_PATH,
|
||||
DIRECT_PATH,
|
||||
DIRECT_ROOM_PATH,
|
||||
DIRECT_NOTIFICATIONS_PATH,
|
||||
DIRECT_INVITES_PATH,
|
||||
EXPLORE_FEATURED_PATH,
|
||||
EXPLORE_PATH,
|
||||
EXPLORE_SERVER_PATH,
|
||||
@@ -110,6 +112,8 @@ export const getDirectRoomPath = (roomIdOrAlias: string, eventId?: string): stri
|
||||
|
||||
return generatePath(DIRECT_ROOM_PATH, params);
|
||||
};
|
||||
export const getDirectNotificationsPath = (): string => DIRECT_NOTIFICATIONS_PATH;
|
||||
export const getDirectInvitesPath = (): string => DIRECT_INVITES_PATH;
|
||||
|
||||
export const getSpacePath = (spaceIdOrAlias: string): string => {
|
||||
const params = {
|
||||
|
||||
Reference in New Issue
Block a user