diff --git a/src/interfaces/claims.ts b/src/interfaces/claims.ts index 28322a3..2b14c73 100644 --- a/src/interfaces/claims.ts +++ b/src/interfaces/claims.ts @@ -30,7 +30,12 @@ export interface OfferVerifiableCredential extends GenericVerifiableCredential { includesObject?: { amountOfThisGood: number; unitCode: string }; itemOffered?: { description?: string; - isPartOf?: { identifier?: string; lastClaimId?: string; "@type"?: string }; + isPartOf?: { + identifier?: string; + lastClaimId?: string; + "@type"?: string; + name?: string; + }; }; offeredBy?: { identifier: string }; recipient?: { identifier: string }; diff --git a/src/interfaces/records.ts b/src/interfaces/records.ts index 63422f8..0e253be 100644 --- a/src/interfaces/records.ts +++ b/src/interfaces/records.ts @@ -2,6 +2,7 @@ import { GiveVerifiableCredential, OfferVerifiableCredential } from "./claims"; // a summary record; the VC is found the fullClaim field export interface GiveSummaryRecord { + type?: string; agentDid: string; amount: number; amountConfirmed: number; diff --git a/src/views/ClaimAddRawView.vue b/src/views/ClaimAddRawView.vue index a33caab..f7d36ac 100644 --- a/src/views/ClaimAddRawView.vue +++ b/src/views/ClaimAddRawView.vue @@ -30,7 +30,6 @@