export interface Contact { did: string; name?: string; publicKeyBase64?: string; seesMe?: boolean; registered?: boolean; } export const ContactSchema = { contacts: "&did, name", // no need to key by publicKeyBase64, registered, seesMe };