finish contact selection for gives

This commit is contained in:
2023-07-01 15:45:30 -06:00
parent 643f777d10
commit a2b3cebdb3
4 changed files with 57 additions and 25 deletions

View File

@@ -15,6 +15,11 @@ export interface AgreeVerifiableCredential {
object: Record<any, any>;
}
export interface GiverInputInfo {
did?: string;
name?: string;
}
export interface ClaimResult {
success: { claimId: string; handleId: string };
error: { code: string; message: string };
@@ -111,7 +116,7 @@ export async function createAndSubmitGive(
toDid: string,
description: string,
hours: number,
fulfillsProjectHandleId: string
fulfillsProjectHandleId?: string
): Promise<AxiosResponse<ClaimResult> | InternalError> {
// Make a claim
const vcClaim: GiveVerifiableCredential = {