mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Export more things
This commit is contained in:
parent
5e0e3396c4
commit
52105f379d
@ -21,8 +21,10 @@ export {ConsoleReporter} from "./logging/ConsoleReporter";
|
|||||||
export {Platform} from "./platform/web/Platform.js";
|
export {Platform} from "./platform/web/Platform.js";
|
||||||
export {BlobHandle} from "./platform/web/dom/BlobHandle";
|
export {BlobHandle} from "./platform/web/dom/BlobHandle";
|
||||||
export {Client, LoadStatus} from "./matrix/Client.js";
|
export {Client, LoadStatus} from "./matrix/Client.js";
|
||||||
|
export {PasswordLoginMethod} from "./matrix/login/PasswordLoginMethod";
|
||||||
export {RoomStatus} from "./matrix/room/common";
|
export {RoomStatus} from "./matrix/room/common";
|
||||||
export {FeatureSet, FeatureFlag} from "./features";
|
export {FeatureSet, FeatureFlag} from "./features";
|
||||||
|
export {KeyType} from "./matrix/ssss";
|
||||||
// export everything needed to observe state events on all rooms using session.observeRoomState
|
// export everything needed to observe state events on all rooms using session.observeRoomState
|
||||||
export type {RoomStateHandler} from "./matrix/room/state/types";
|
export type {RoomStateHandler} from "./matrix/room/state/types";
|
||||||
export type {MemberChange} from "./matrix/room/members/RoomMember";
|
export type {MemberChange} from "./matrix/room/members/RoomMember";
|
||||||
@ -78,6 +80,7 @@ export {Navigation} from "./domain/navigation/Navigation.js";
|
|||||||
export {ComposerViewModel} from "./domain/session/room/ComposerViewModel.js";
|
export {ComposerViewModel} from "./domain/session/room/ComposerViewModel.js";
|
||||||
export {MessageComposer} from "./platform/web/ui/session/room/MessageComposer.js";
|
export {MessageComposer} from "./platform/web/ui/session/room/MessageComposer.js";
|
||||||
export {TemplateView} from "./platform/web/ui/general/TemplateView";
|
export {TemplateView} from "./platform/web/ui/general/TemplateView";
|
||||||
|
export type {Builder} 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";
|
||||||
|
@ -261,7 +261,7 @@ export class Session {
|
|||||||
* Enable secret storage by providing the secret storage credential.
|
* Enable secret storage by providing the secret storage credential.
|
||||||
* This will also see if there is a megolm key backup and try to enable that if so.
|
* This will also see if there is a megolm key backup and try to enable that if so.
|
||||||
*
|
*
|
||||||
* @param {string} type either "passphrase" or "recoverykey"
|
* @param {KeyType} type either KeyType.RecoveryKey (0) or KeyType.Passphrase (1)
|
||||||
* @param {string} credential either the passphrase or the recovery key, depending on the type
|
* @param {string} credential either the passphrase or the recovery key, depending on the type
|
||||||
* @return {Promise} resolves or rejects after having tried to enable secret storage
|
* @return {Promise} resolves or rejects after having tried to enable secret storage
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user