1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

Wire the new importer into the clients

This commit is contained in:
Daniel James Smith 2024-05-30 21:45:33 +02:00
parent 4982b673f5
commit 68c41a8811
No known key found for this signature in database
GPG Key ID: DA2E2EC600E1289B
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,7 @@ export const regularImportOptions = [
{ id: "nordpasscsv", name: "Nordpass (csv)" },
{ id: "psonojson", name: "Psono (json)" },
{ id: "passkyjson", name: "Passky (json)" },
{ id: "netwrixpasswordsecure", name: "Netwrix Password Secure (csv)" },
] as const;
export type ImportType =

View File

@ -48,6 +48,7 @@ import {
MSecureCsvImporter,
MeldiumCsvImporter,
MykiCsvImporter,
NetwrixPasswordSecureCsvImporter,
NordPassCsvImporter,
OnePassword1PifImporter,
OnePassword1PuxImporter,
@ -325,6 +326,8 @@ export class ImportService implements ImportServiceAbstraction {
return new PasskyJsonImporter();
case "protonpass":
return new ProtonPassJsonImporter(this.i18nService);
case "netwrixpasswordsecure":
return new NetwrixPasswordSecureCsvImporter();
default:
return null;
}