Update lib.ts expose views

lib.ts: Expose differents views to be able to override chat display without need hydrogen-web.
This commit is contained in:
leccyril 2023-07-04 10:43:47 +04:00 committed by GitHub
parent 512a7135c1
commit 5d3516d94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,13 @@ export {SessionViewModel} from "./domain/session/SessionViewModel.js";
export {SessionView} from "./platform/web/ui/session/SessionView.js"; export {SessionView} from "./platform/web/ui/session/SessionView.js";
export {RoomViewModel} from "./domain/session/room/RoomViewModel.js"; export {RoomViewModel} from "./domain/session/room/RoomViewModel.js";
export {RoomView} from "./platform/web/ui/session/room/RoomView.js"; export {RoomView} from "./platform/web/ui/session/room/RoomView.js";
export {StaticView} from "./platform/web/ui/general/StaticView.js";
export {RightPanelView} from "./platform/web/ui/session/rightpanel/RightPanelView.js";
export {LightboxView} from "./platform/web/ui/session/room/LightboxView.js";
export {ListView} from "./platform/web/ui/general/ListView";
export {RoomBeingCreatedView} from "./platform/web/ui/session/room/RoomBeingCreatedView.js";
export {UnknownRoomView} from "./platform/web/ui/session/room/UnknownRoomView.js";
export {SessionStatusView} from "./platform/web/ui/session/SessionStatusView.js";
export {TimelineViewModel} from "./domain/session/room/timeline/TimelineViewModel.js"; export {TimelineViewModel} from "./domain/session/room/timeline/TimelineViewModel.js";
export {tileClassForEntry} from "./domain/session/room/timeline/tiles/index"; export {tileClassForEntry} from "./domain/session/room/timeline/tiles/index";
export type {TimelineEntry, TileClassForEntryFn, Options, TileConstructor} from "./domain/session/room/timeline/tiles/index"; export type {TimelineEntry, TileClassForEntryFn, Options, TileConstructor} from "./domain/session/room/timeline/tiles/index";
@ -85,6 +92,8 @@ export {RoomType} from "./matrix/room/common";
export {EventEmitter} from "./utils/EventEmitter"; export {EventEmitter} from "./utils/EventEmitter";
export {Disposables} from "./utils/Disposables"; export {Disposables} from "./utils/Disposables";
export {LocalMedia} from "./matrix/calls/LocalMedia"; export {LocalMedia} from "./matrix/calls/LocalMedia";
export {spinner} from "./platform/web/ui/common";
// these should eventually be moved to another library // these should eventually be moved to another library
export { export {
ObservableArray, ObservableArray,