Skip to content

Commit

Permalink
fix(core): expose record metadata types
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Dec 1, 2021
1 parent ba3f17e commit aa06d3e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -76,3 +77,12 @@ export interface OutboundPackage {
endpoint?: string
connectionId?: string
}

// Metadata type for `_internal/indyCredential`
export interface indyCredential {
schemaId?: string
credentialDefinitionId?: string
}

// Metadata type for `_internal/indyRequest`
export type indyCredentialRequest = CredReqMetadata

0 comments on commit aa06d3e

Please sign in to comment.