2021-05-08 01:45:35 +01:00
|
|
|
import { HomePage } from "./pages/Home";
|
2021-05-07 11:07:03 +01:00
|
|
|
import { KeyValueDeletePage } from "./pages/KeyValue/KeyValueDelete.js";
|
|
|
|
import { KeyValueNewPage } from "./pages/KeyValue/KeyValueNew.js";
|
|
|
|
import { KeyValueSecretEditPage } from "./pages/KeyValue/KeyValueSecretsEdit.js";
|
|
|
|
import { KeyValueSecretPage } from "./pages/KeyValue/KeyValueSecret.js";
|
2021-05-08 02:58:04 +01:00
|
|
|
import { KeyValueVersionsPage } from "./pages/KeyValue/KeyValueVersions";
|
2021-05-08 03:00:28 +01:00
|
|
|
import { KeyValueViewPage } from "./pages/KeyValue/KeyValueView";
|
2021-05-08 01:45:35 +01:00
|
|
|
import { LoginPage } from "./pages/Login";
|
|
|
|
import { MePage } from "./pages/Me";
|
2021-05-08 02:56:08 +01:00
|
|
|
import { NewTOTPPage } from "./pages/TOTP/NewTOTP";
|
2021-05-07 23:33:58 +01:00
|
|
|
import { Page } from "./types/Page";
|
2021-05-08 01:45:35 +01:00
|
|
|
import { PwGenPage } from "./pages/PwGen";
|
2021-05-08 01:54:38 +01:00
|
|
|
import { SetLanguagePage } from "./pages/SetLanguage";
|
2021-05-08 01:57:08 +01:00
|
|
|
import { SetVaultURLPage } from "./pages/SetVaultURL";
|
2021-05-08 02:48:20 +01:00
|
|
|
import { TOTPViewPage } from "./pages/TOTP/TOTPView";
|
2021-05-07 11:07:03 +01:00
|
|
|
import { TransitDecryptPage } from "./pages/Transit/TransitDecrypt.js";
|
|
|
|
import { TransitEncryptPage } from "./pages/Transit/TransitEncrypt.js";
|
|
|
|
import { TransitViewPage } from "./pages/Transit/TransitView.js";
|
|
|
|
import { TransitViewSecretPage } from "./pages/Transit/TransitViewSecret.js";
|
2021-05-08 02:09:08 +01:00
|
|
|
import { UnsealPage } from "./pages/Unseal";
|
2021-05-07 11:07:03 +01:00
|
|
|
|
2021-05-07 23:28:49 +01:00
|
|
|
type pagesList = {
|
|
|
|
[key: string]: Page
|
|
|
|
}
|
|
|
|
|
|
|
|
export const allPages: pagesList = {
|
2021-05-07 11:07:03 +01:00
|
|
|
HOME: new HomePage(),
|
|
|
|
ME: new MePage(),
|
|
|
|
TOTP: new TOTPViewPage(),
|
|
|
|
NEW_TOTP: new NewTOTPPage(),
|
|
|
|
LOGIN: new LoginPage(),
|
|
|
|
SET_VAULT_URL: new SetVaultURLPage(),
|
|
|
|
UNSEAL: new UnsealPage(),
|
|
|
|
SET_LANGUAGE: new SetLanguagePage(),
|
|
|
|
TRANSIT_VIEW: new TransitViewPage(),
|
|
|
|
TRANSIT_VIEW_SECRET: new TransitViewSecretPage(),
|
|
|
|
TRANSIT_ENCRYPT: new TransitEncryptPage(),
|
|
|
|
TRANSIT_DECRYPT: new TransitDecryptPage(),
|
|
|
|
KEY_VALUE_VIEW: new KeyValueViewPage(),
|
|
|
|
KEY_VALUE_SECRET: new KeyValueSecretPage(),
|
|
|
|
KEY_VALUE_VERSIONS: new KeyValueVersionsPage(),
|
|
|
|
KEY_VALUE_NEW_SECRET: new KeyValueNewPage(),
|
|
|
|
KEY_VALUE_DELETE: new KeyValueDeletePage(),
|
|
|
|
KEY_VALUE_SECRET_EDIT: new KeyValueSecretEditPage(),
|
|
|
|
PW_GEN: new PwGenPage(),
|
|
|
|
};
|