Files
crowd-funder-for-time-pwa/src/db/tables/contacts.ts

13 lines
307 B
TypeScript

export interface Contact {
did: string;
name?: string;
nextPubKeyHashB64?: string; // base64-encoded SHA256 hash of next public key
publicKeyBase64?: string;
seesMe?: boolean;
registered?: boolean;
}
export const ContactSchema = {
contacts: "&did, name", // no need to key by other things
};