feat: get the emojis to work with additions, removals, and multiple people

This commit is contained in:
2025-10-19 15:22:34 -06:00
parent 9ac9f1d4a3
commit a4a9293bc2
9 changed files with 205 additions and 141 deletions

View File

@@ -1,9 +1,20 @@
import { GiveActionClaim, OfferClaim, PlanActionClaim } from "./claims";
import { GenericCredWrapper } from "./common";
export interface EmojiSummaryRecord {
issuerDid: string;
jwtId: string;
text: string;
parentHandleId: string;
}
// a summary record; the VC is found the fullClaim field
export interface GiveSummaryRecord {
[x: string]: PropertyKey | undefined | GiveActionClaim;
[x: string]:
| PropertyKey
| undefined
| GiveActionClaim
| Record<string, number>;
type?: string;
agentDid: string;
amount: number;