forked from mystiq/hydrogen-web
Merge pull request #695 from vector-im/ajbura-patch-1
Export some more symbols from the SDK
This commit is contained in:
commit
1087d62705
2 changed files with 19 additions and 1 deletions
18
src/lib.ts
18
src/lib.ts
|
@ -34,3 +34,21 @@ export {TemplateView} from "./platform/web/ui/general/TemplateView";
|
|||
export {ViewModel} from "./domain/ViewModel";
|
||||
export {LoadingView} from "./platform/web/ui/general/LoadingView.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";
|
||||
|
|
|
@ -41,7 +41,7 @@ export abstract class BaseObservableValue<T> extends BaseObservable<(value: T) =
|
|||
}
|
||||
}
|
||||
|
||||
interface IWaitHandle<T> {
|
||||
export interface IWaitHandle<T> {
|
||||
promise: Promise<T>;
|
||||
dispose(): void;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue