Updat api doc

This commit is contained in:
R Midhun Suresh
2025-10-24 00:08:45 +05:30
parent 200d52a162
commit 97e1462474
@@ -54,6 +54,7 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
readonly i18n: I18nApi;
readonly navigation: NavigationApi;
readonly rootNode: HTMLElement;
readonly stores: StoresApi;
}
// @alpha
@@ -337,6 +338,12 @@ export interface RoomListCustomisations<Room> {
isRoomVisible?(room: Room): boolean;
}
// @public
export interface RoomListStoreApi {
getRooms(): Room[];
waitForReady(): Promise<void>;
}
// @alpha
export interface RoomViewProps {
roomId?: string;
@@ -355,6 +362,11 @@ export interface SpacePanelItemProps {
tooltip?: string;
}
// @public
export interface StoresApi {
getRoomListStore(): RoomListStoreApi;
}
// @public
export type Translations = Record<string, {
[ietfLanguageTag: string]: string;