Updat api doc

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