From 950ef83d4c345d467d6ca647dfea8f8a73578c49 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Thu, 29 Aug 2024 10:36:58 +0200 Subject: [PATCH] Create new types for SSH_Key within 1pux --- .../types/onepassword-1pux-importer-types.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libs/importer/src/importers/onepassword/types/onepassword-1pux-importer-types.ts b/libs/importer/src/importers/onepassword/types/onepassword-1pux-importer-types.ts index ebb52386545..697ce779790 100644 --- a/libs/importer/src/importers/onepassword/types/onepassword-1pux-importer-types.ts +++ b/libs/importer/src/importers/onepassword/types/onepassword-1pux-importer-types.ts @@ -46,6 +46,7 @@ export enum CategoryEnum { EmailAccount = "111", API_Credential = "112", MedicalRecord = "113", + SSH_Key = "114", } export interface Item { @@ -116,6 +117,7 @@ export interface Value { creditCardType?: string | null; creditCardNumber?: string | null; reference?: string | null; + sshKey?: SSHKey | null; } export interface Email { @@ -130,6 +132,19 @@ export interface Address { zip: string; state: string; } + +export interface SSHKey { + privateKey: string; + metadata: SSHKeyMetadata; +} + +export interface SSHKeyMetadata { + privateKey: string; + publicKey: string; + fingerprint: string; + keyType: string; +} + export interface InputTraits { keyboard: string; correction: string;