diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index c2c09faf05..25e6581336 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -5,6 +5,7 @@ import type { AutoAcceptCredential } from './modules/credentials/CredentialAutoA import type { IndyPoolConfig } from './modules/ledger/IndyPool' import type { AutoAcceptProof } from './modules/proofs' import type { MediatorPickupStrategy } from './modules/routing' +import type { CredReqMetadata } from 'indy-sdk' export interface WalletConfig { id: string @@ -76,3 +77,12 @@ export interface OutboundPackage { endpoint?: string connectionId?: string } + +// Metadata type for `_internal/indyCredential` +export interface IndyCredentialMetadata { + schemaId?: string + credentialDefinitionId?: string +} + +// Metadata type for `_internal/indyRequest` +export type IndyCredentialRequestMetadata = CredReqMetadata