add contact-methods to a contact

This commit is contained in:
2025-01-04 20:34:05 -07:00
parent 6cf28776b7
commit 3c1731acdf
6 changed files with 132 additions and 13 deletions

View File

@@ -1,5 +1,12 @@
export interface ContactMethod {
label: string;
type: string; // eg. "EMAIL", "SMS", "WHATSAPP"
value: string;
}
export interface Contact {
did: string;
contactMethods?: Array<ContactMethod>;
name?: string;
nextPubKeyHashB64?: string; // base64-encoded SHA256 hash of next public key
notes?: string;