Merge pull request #695 from vector-im/ajbura-patch-1

Export some more symbols from the SDK
This commit is contained in:
Bruno Windels 2022-03-01 15:44:51 +01:00 committed by GitHub
commit 1087d62705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View file

@ -34,3 +34,21 @@ export {TemplateView} from "./platform/web/ui/general/TemplateView";
export {ViewModel} from "./domain/ViewModel"; export {ViewModel} from "./domain/ViewModel";
export {LoadingView} from "./platform/web/ui/general/LoadingView.js"; export {LoadingView} from "./platform/web/ui/general/LoadingView.js";
export {AvatarView} from "./platform/web/ui/AvatarView.js"; export {AvatarView} from "./platform/web/ui/AvatarView.js";
export {RoomType} from "./matrix/room/common";
export {EventEmitter} from "./utils/EventEmitter";
export {Disposables} from "./utils/Disposables";
// these should eventually be moved to another library
export {
ObservableArray,
SortedArray,
MappedList,
AsyncMappedList,
ConcatList,
ObservableMap
} from "./observable/index";
export {
BaseObservableValue,
IWaitHandle,
ObservableValue,
RetainedObservableValue
} from "./observable/ObservableValue";

View file

@ -41,7 +41,7 @@ export abstract class BaseObservableValue<T> extends BaseObservable<(value: T) =
} }
} }
interface IWaitHandle<T> { export interface IWaitHandle<T> {
promise: Promise<T>; promise: Promise<T>;
dispose(): void; dispose(): void;
} }