UNPKG

@withjoy/sdk-js

Version:
27 lines (26 loc) 956 B
/*** * For use by people.js * * Utility functions to operate on the values of the _people set. */ export declare const create: () => { invitees: {}; userProfiles: {}; cache: {}; }; /** * Check if a personObj represents a empty person * @param p * @returns {boolean} * @private */ export declare const isEmpty: (p: any) => boolean; export declare const linkInviteeKey: (p: any, k: any) => void; export declare const unlinkInviteeKey: (p: any, k: any) => void; export declare const getInviteeKeys: (p: any) => string[]; export declare const linkUserProfileKey: (p: any, k: any) => void; export declare const unlinkUserProfileKey: (p: any, k: any) => void; export declare const getUserProfileKeys: (p: any) => string[]; export declare const getCachedValue: (p: any, key: any) => any; export declare const setCachedValue: (p: any, key: any, value: any) => void; export declare const clearCache: (p: any) => void;