mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +01:00
a5a12a6723
* Create and register new libs/importer Create package.json Create tsconfig Create jest.config Extend shared and root tsconfig and jest.configs Register with eslint * Move importer-related files to libs/importer * Move importer-spec-related files to libs/importer Move import.service.spec * Update package-lock.json * Set CODEOWNERS for new libs/importer * Register libs/importer with cli and fix imports * Register libs/importer with web and fix imports * Move importOption into models Rename importOptions to import-options * Fix linting issues after updating prettier * Only expose necessary files from libs/importer Fix tsconfig files - Removes the trailing /index on imports in web/cli As the spec-files no longer can access the internals via @bitwarden/importer they import by path (../src/importers) * Add barrel files to vendors with more than one importer
80 lines
2.0 KiB
TypeScript
80 lines
2.0 KiB
TypeScript
import { EnpassJsonFile } from "../../../src/importers/enpass/types/enpass-json-type";
|
|
|
|
import { login } from "./login";
|
|
|
|
export const loginAndroidUrl: EnpassJsonFile = {
|
|
folders: [],
|
|
items: [
|
|
{
|
|
archived: 0,
|
|
auto_submit: 1,
|
|
category: "login",
|
|
createdAt: 1666449561,
|
|
favorite: 1,
|
|
fields: [
|
|
...login.items[0].fields,
|
|
{
|
|
deleted: 0,
|
|
label: "Autofill Info",
|
|
order: 9,
|
|
sensitive: 0,
|
|
type: ".Android#",
|
|
uid: 7696,
|
|
updated_at: 1666551057,
|
|
value: "com.amazon.0",
|
|
value_updated_at: 1666551057,
|
|
},
|
|
{
|
|
deleted: 0,
|
|
label: "Autofill Info 1",
|
|
order: 9,
|
|
sensitive: 0,
|
|
type: ".Android#",
|
|
uid: 7696,
|
|
updated_at: 1666551057,
|
|
value:
|
|
"android://pMUhLBalOhcc3yK-84sMiGc2U856FVVUhm8PZveoRfNFT3ocT1KWZlciAkF2ED--B5i_fMuNlC6JfPxcHk1AQg==@com.amazon.1",
|
|
value_updated_at: 1666551057,
|
|
},
|
|
{
|
|
deleted: 0,
|
|
label: "Autofill Info2 ",
|
|
order: 9,
|
|
sensitive: 0,
|
|
type: ".Android#",
|
|
uid: 7696,
|
|
updated_at: 1666551057,
|
|
value: "android://com.amazon.2",
|
|
value_updated_at: 1666551057,
|
|
},
|
|
{
|
|
deleted: 0,
|
|
label: "Autofill Info 3",
|
|
order: 9,
|
|
sensitive: 0,
|
|
type: ".Android#",
|
|
uid: 7696,
|
|
updated_at: 1666551057,
|
|
value: "androidapp://com.amazon.3",
|
|
value_updated_at: 1666551057,
|
|
},
|
|
],
|
|
icon: {
|
|
fav: "www.amazon.com",
|
|
image: {
|
|
file: "web/amazon.com",
|
|
},
|
|
type: 1,
|
|
uuid: "",
|
|
},
|
|
note: "some notes on the login item",
|
|
subtitle: "emily@enpass.io",
|
|
template_type: "login.default",
|
|
title: "Amazon",
|
|
trashed: 0,
|
|
updated_at: 1666449561,
|
|
uuid: "f717cb7c-6cce-4b24-b023-ec8a429cc992",
|
|
},
|
|
],
|
|
};
|