creating default exports

This commit is contained in:
Isaiah Becker-Mayer 2022-06-30 21:36:00 -04:00
parent d7657dcc4d
commit ad0bd82bda
2 changed files with 6 additions and 5 deletions

View File

@ -21,11 +21,7 @@ import {StartSSOLoginViewModel} from "./StartSSOLoginViewModel.js";
import {CompleteSSOLoginViewModel} from "./CompleteSSOLoginViewModel.js"; import {CompleteSSOLoginViewModel} from "./CompleteSSOLoginViewModel.js";
import {LoadStatus} from "../../matrix/Client.js"; import {LoadStatus} from "../../matrix/Client.js";
import {SessionLoadViewModel} from "../SessionLoadViewModel.js"; import {SessionLoadViewModel} from "../SessionLoadViewModel.js";
import {PasswordLoginMethod, SSOLoginHelper, TokenLoginMethod} from "../../matrix/login";
// TODO(isaiah): make these default exported
import {PasswordLoginMethod} from "../../matrix/login/PasswordLoginMethod";
import {SSOLoginHelper} from "../../matrix/login/SSOLoginHelper";
import {TokenLoginMethod} from "../../matrix/login/TokenLoginMethod";
type Options = { type Options = {
defaultHomeserver: string; defaultHomeserver: string;

View File

@ -0,0 +1,5 @@
import {PasswordLoginMethod} from "./PasswordLoginMethod";
import {SSOLoginHelper} from "./SSOLoginHelper";
import {TokenLoginMethod} from "./TokenLoginMethod";
export {PasswordLoginMethod, SSOLoginHelper, TokenLoginMethod};