From 8de6d8d199b197628db912c9ee8cfa9d51aef673 Mon Sep 17 00:00:00 2001 From: Burnt Val Date: Wed, 21 Aug 2024 11:05:20 -0400 Subject: [PATCH] remove unused types --- src/interfaces/index.ts | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/src/interfaces/index.ts b/src/interfaces/index.ts index 53db181..02c5874 100644 --- a/src/interfaces/index.ts +++ b/src/interfaces/index.ts @@ -42,42 +42,6 @@ export type ICoin = { amount: string; }; -enum AuthenticatorTransport { - USB = "usb", - NFC = "nfc", - BLE = "ble", - Hybrid = "hybrid", - Internal = "internal", -} - -interface CredentialFlags { - UserPresent: boolean; - UserVerified: boolean; - BackupEligible: boolean; - BackupState: boolean; -} - -enum AuthenticatorAttachment { - Platform = "platform", - CrossPlatform = "cross-platform" -} - -interface Authenticator { - AAGUID: string; - SignCount: number; - CloneWarning: boolean; - Attachment: AuthenticatorAttachment -} - -export type ICredential = { - ID: string; - PublicKey: string; - AttestationType: string - Transport: AuthenticatorTransport[]; - Flags: CredentialFlags - Authenticator: Authenticator -} - export type IAuthenticator = { Secp256K1?: { pubkey: string }; Ed25519?: { pubkey: string };