mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
[PS-2096] BEEEEP: Add Psono importer (#4286)
* Add psono json importer Create types for psono export format Add test files Write tests for psono-json-importer Write importer for psono export Register 'psonojson' with `importOptions` Import/register psono-json-importer with import.service Add instructions on how to export from Psono * Retain all imported data Ensure all data is retained by adding unmapped properties into custom fields Each item type has a set of mapped properties, anything not matching will be created as a custom field Write extensive tests to ensure data is present * Skipping GPG We currently cannot import GPG Keys into notes or custom fields * Add organizational test Verify that folders get converted to collections when imported by an org * Remove combined test-file (whole export) * Remove redundant null type
This commit is contained in:
committed by
GitHub
parent
651968ca9c
commit
b1a1068906
@@ -0,0 +1,22 @@
|
||||
import { PsonoJsonExport } from "@bitwarden/common/importers/psono/psono-json-types";
|
||||
|
||||
export const EnvVariablesData: PsonoJsonExport = {
|
||||
folders: [],
|
||||
items: [
|
||||
{
|
||||
type: "environment_variables",
|
||||
name: "My Environment Variables",
|
||||
environment_variables_title: "My Environment Variables",
|
||||
environment_variables_variables: [
|
||||
{ key: "Key1", value: "Value1" },
|
||||
{ key: "Key2", value: "Value2" },
|
||||
],
|
||||
environment_variables_notes: "Notes for environment variables",
|
||||
create_date: "2022-12-13T19:41:02.028884Z",
|
||||
write_date: "2022-12-13T19:41:02.028909Z",
|
||||
callback_url: "",
|
||||
callback_user: "",
|
||||
callback_pass: "",
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user