1
0
Fork 0

Run linter.

This commit is contained in:
Kitteh 2021-05-07 11:54:44 +01:00
parent 193fc4d5d6
commit 38341f3475
11 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,5 @@
import { removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { removeDoubleSlash } from "../utils.js";
export async function addNewTOTP(baseMount, parms) {

View file

@ -1,5 +1,5 @@
import { removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { removeDoubleSlash } from "../utils.js";
export async function createOrUpdateSecret(baseMount, mountType, secretPath, name, data) {

View file

@ -1,5 +1,5 @@
import { removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { removeDoubleSlash } from "../utils.js";
export async function deleteSecret(baseMount, mountType, secretPath, name, version = null) {

View file

@ -1,5 +1,5 @@
import { removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { removeDoubleSlash } from "../utils.js";
export async function getCapabilitiesPath(path) {

View file

@ -1,5 +1,5 @@
import { removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { removeDoubleSlash } from "../utils.js";
export async function transitDecrypt(baseMount, name, data) {

View file

@ -1,5 +1,5 @@
import { removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { removeDoubleSlash } from "../utils.js";
export async function transitEncrypt(baseMount, name, data) {

View file

@ -1,5 +1,5 @@
import { getObjectKeys, removeDoubleSlash } from "../utils.js";
import { appendAPIURL, getHeaders } from "./apiUtils.js";
import { getObjectKeys, removeDoubleSlash } from "../utils.js";
import { getSecretMetadata } from "./getSecretMetadata";

View file

@ -1,11 +1,11 @@
import { CopyableInputBox } from "../../elements/CopyableInputBox.js";
import { Page } from "../../types/Page.js";
import { changePage, setPageContent, setTitleElement } from "../../pageUtils.js";
import { getSecret } from "../../api/getSecret";
import { undeleteSecret } from "../../api/undeleteSecret";
import { getCapabilities } from "../../api/getCapabilities";
import { getSecret } from "../../api/getSecret";
import { makeElement } from "../../htmlUtils.js";
import { pageState } from "../../globalPageState.js";
import { undeleteSecret } from "../../api/undeleteSecret";
import Prism from "prismjs";
import i18next from 'i18next';

View file

@ -2,10 +2,10 @@ import { Margin } from "../elements/Margin.js";
import { MarginInline } from "../elements/MarginInline.js";
import { Page } from "../types/Page.js";
import { changePage, setErrorText, setPageContent } from "../pageUtils.js";
import { usernameLogin } from "../api/usernameLogin";
import { lookupSelf } from "../api/lookupSelf";
import { makeElement } from "../htmlUtils.js";
import { pageState } from "../globalPageState.js";
import { usernameLogin } from "../api/usernameLogin";
import i18next from 'i18next';
export class LoginPage extends Page {

View file

@ -1,10 +1,10 @@
import { Page } from "../types/Page.js";
import { addClipboardNotifications, changePage, prePageChecks, setErrorText, setPageContent } from "../pageUtils.js";
import { getCapabilitiesPath } from "../api/getCapabilities.js";
import { renewSelf } from "../api/renewSelf.js";
import { sealVault } from "../api/sealVault.js";
import { makeElement } from "../htmlUtils.js";
import { pageState } from "../globalPageState.js";
import { renewSelf } from "../api/renewSelf.js";
import { sealVault } from "../api/sealVault.js";
import ClipboardJS from "clipboard";
import i18next from 'i18next';

View file

@ -3,8 +3,8 @@ import { Page } from "../types/Page.js";
import { QRScanner } from "../elements/QRScanner.js";
import { changePage, setErrorText, setPageContent } from "../pageUtils.js";
import { getSealStatus } from "../api/getSealStatus.js";
import { submitUnsealKey } from "../api/submitUnsealKey.js";
import { makeElement } from "../htmlUtils.js";
import { submitUnsealKey } from "../api/submitUnsealKey.js";
import i18next from 'i18next';