🆙 Update the navigator

This commit is contained in:
duckietm
2026-02-26 10:25:04 +01:00
parent faadd0cf31
commit 7ab3b24331
49 changed files with 716 additions and 282 deletions
+11
View File
@@ -0,0 +1,11 @@
import { AddFavouriteRoomMessageComposer, DeleteFavouriteRoomMessageComposer } from '@nitrots/nitro-renderer';
import { SendMessageComposer } from '..';
export const ToggleFavoriteRoom = (roomId: number, isFavorite: boolean): void =>
{
if(roomId <= 0) return;
SendMessageComposer(isFavorite
? new DeleteFavouriteRoomMessageComposer(roomId)
: new AddFavouriteRoomMessageComposer(roomId));
};
+1
View File
@@ -9,4 +9,5 @@ export * from './NavigatorSearchResultViewDisplayMode';
export * from './RoomInfoData';
export * from './RoomSettingsUtils';
export * from './SearchFilterOptions';
export * from './ToggleFavoriteRoom';
export * from './TryVisitRoom';
+1
View File
@@ -0,0 +1 @@
export { CreateLinkEvent } from '@nitrots/nitro-renderer';
+1
View File
@@ -1,3 +1,4 @@
export * from './CreateLinkEvent';
export * from './GetConfigurationValue';
export * from './OpenUrl';
export * from './SendMessageComposer';
@@ -0,0 +1 @@
export { GetSessionDataManager } from '@nitrots/nitro-renderer';
+1
View File
@@ -1,4 +1,5 @@
export * from './CanManipulateFurniture';
export * from './GetSessionDataManager';
export * from './CreateRoomSession';
export * from './GetCanStandUp';
export * from './GetCanUseExpression';