add link to project from gives on front page

This commit is contained in:
2024-01-16 19:48:47 -07:00
parent 3ebe7bc156
commit 31a7752168
4 changed files with 52 additions and 26 deletions

View File

@@ -66,6 +66,7 @@ export interface GiveServerRecord {
amountConfirmed: number;
description: string;
fullClaim: GiveVerifiableCredential;
fulfillsPlanHandleId: string;
handleId: string;
issuedAt: string;
jwtId: string;
@@ -77,6 +78,7 @@ export interface OfferServerRecord {
amount: number;
amountGiven: number;
fullClaim: OfferVerifiableCredential;
fulfillsPlanHandleId: string;
handleId: string;
offeredByDid: string;
recipientDid: string;
@@ -85,6 +87,19 @@ export interface OfferServerRecord {
validThrough: string;
}
export interface PlanServerRecord {
agentDid?: string; // optional, if the issuer wants someone else to manage as well
description: string;
endTime?: string;
fulfillsPlanHandleId: string;
issuerDid: string;
handleId: string;
locLat?: number;
locLon?: number;
startTime?: string;
url?: string;
}
// Note that previous VCs may have additional fields.
// https://endorser.ch/doc/html/transactions.html#id4
export interface GiveVerifiableCredential {
@@ -127,18 +142,6 @@ export interface PlanVerifiableCredential {
};
}
export interface PlanServerRecord {
agentDid?: string; // optional, if the issuer wants someone else to manage as well
description: string;
endTime?: string;
issuerDid: string;
handleId: string;
locLat?: number;
locLon?: number;
startTime?: string;
url?: string;
}
export interface RegisterVerifiableCredential {
"@context": string;
"@type": string;