mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-13 10:24:20 +01:00
8e112a1c33
* Initial commit * Refactor the 1pux types * Add test data * 1Pux importer and tests * Fixed a typo in the 1Pux types * Make the linter happy * Register and instantiate importer * Fix adding secure notes * Add missing placeholder property to types * Test for existance of TOTP seed * Add more test data * Move processFullName into BaseImporter * Add categoryEnum for easier mapping * Refactoring of the importer and add support for different item types * Make linter happy * Modified some test data * Fix linting issues * Remove fieldvalue references comment * Remove commented mapping use during tests
61 lines
1.8 KiB
TypeScript
61 lines
1.8 KiB
TypeScript
import { ExportData } from "jslib-common/importers/onepasswordImporters/types/onepassword1PuxImporterTypes";
|
|
|
|
export const PasswordData: ExportData = {
|
|
accounts: [
|
|
{
|
|
attrs: {
|
|
accountName: "1Password Customer",
|
|
name: "1Password Customer",
|
|
avatar: "",
|
|
email: "username123123123@gmail.com",
|
|
uuid: "TRIZ3XV4JJFRXJ3BARILLTUA6E",
|
|
domain: "https://my.1password.com/",
|
|
},
|
|
vaults: [
|
|
{
|
|
attrs: {
|
|
uuid: "pqcgbqjxr4tng2hsqt5ffrgwju",
|
|
desc: "Just test entries",
|
|
avatar: "ke7i5rxnjrh3tj6uesstcosspu.png",
|
|
name: "T's Test Vault",
|
|
type: "U",
|
|
},
|
|
items: [
|
|
{
|
|
item: {
|
|
uuid: "qpdsrgpngzud3x3rbfvyrz3ane",
|
|
favIndex: 0,
|
|
createdAt: 1619465796,
|
|
updatedAt: 1619465869,
|
|
trashed: false,
|
|
categoryUuid: "005",
|
|
details: {
|
|
loginFields: [],
|
|
notesPlain: "SuperSecret Password Notes",
|
|
sections: [],
|
|
passwordHistory: [],
|
|
password: "GBq[AGb]4*Si3tjwuab^",
|
|
},
|
|
overview: {
|
|
subtitle: "April 26, 2021 2:36 PM",
|
|
urls: [
|
|
{
|
|
label: "website",
|
|
url: "https://n0t.y0ur.n0rm4l.w3bs1t3",
|
|
},
|
|
],
|
|
title: "SuperSecret Password",
|
|
url: "https://n0t.y0ur.n0rm4l.w3bs1t3",
|
|
ps: 100,
|
|
pbe: 127.500786,
|
|
pgrng: true,
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|