@selfcommunity/react-core
Version:
React Core Components useful for integrating UI Community components (react-ui).
92 lines (91 loc) • 5.71 kB
TypeScript
/**
* Cache prefixes
*/
/** FEED OBJECT **/
export declare const FEED_OBJECT_CACHE_PREFIX_KEY = "_fo_";
export declare const getFeedObjectCacheKey: (id: any, type: any) => string;
/** COMMMENT OBJECT **/
export declare const COMMENT_OBJECT_CACHE_PREFIX_KEY = "_co_";
export declare const getCommentObjectCacheKey: (id: any) => string;
/** COMMMENT OBJECTS **/
export declare const COMMENT_OBJECTS_CACHE_PREFIX_KEY = "_cos_";
export declare const getCommentObjectsCacheKey: (id: any, type: any, next: any) => string;
export declare const getCommentObjectsCachePrefixKeys: (id: any, type: any) => string;
/** CATEGORIES OBJECT **/
export declare const CATEGORIES_OBJECT_CACHE_PREFIX_KEY = "_cas_";
export declare const getCategoriesObjectCacheKey: () => string;
/** CATEGORY OBJECT **/
export declare const CATEGORY_OBJECT_CACHE_PREFIX_KEY = "_ca_";
export declare const getCategoryObjectCacheKey: (id: any) => string;
/** EVENT OBJECT **/
export declare const EVENT_OBJECT_CACHE_PREFIX_KEY = "_evt_";
export declare const getEventObjectCacheKey: (id: any) => string;
/** EVENTS OBJECT **/
export declare const EVENTS_OBJECT_CACHE_PREFIX_KEY = "_evts_";
export declare const getEventsObjectCacheKey: () => string;
/** EVENT OBJECT **/
export declare const LIVESTREAM_OBJECT_CACHE_PREFIX_KEY = "_liveStream_";
export declare const getLiveStreamObjectCacheKey: (id: any) => string;
/** GROUP OBJECT **/
export declare const GROUP_OBJECT_CACHE_PREFIX_KEY = "_grp_";
export declare const getGroupObjectCacheKey: (id: any) => string;
/** GROUPS OBJECT **/
export declare const GROUPS_OBJECT_CACHE_PREFIX_KEY = "_grps_";
export declare const getGroupsObjectCacheKey: () => string;
/** INCUBATOR OBJECT **/
export declare const INCUBATOR_OBJECT_CACHE_PREFIX_KEY = "_inc_";
export declare const getIncubatorObjectCacheKey: (id: any) => string;
/** CONTRIBUTORS **/
export declare const CONTRIBUTORS_CACHE_PREFIX_KEY = "_contr_";
export declare const getContributorsCacheKey: (id: any, type: any, next: any) => string;
export declare const getContributorsCachePrefixKeys: (id: any, type: any) => string;
/** BROADCAST MESSAGES OBJECT **/
export declare const BROADCAST_MESSAGES_OBJECT_CACHE_PREFIX_KEY = "_bcms_";
export declare const getBroadcastMessagesObjectCacheKey: () => string;
/** FEED **/
export declare const FEED_CACHE_PREFIX_KEY = "_feed_";
export declare const getFeedCacheKey: (id: any, next: any) => string;
export declare const FEED_STATE_CACHE_PREFIX_KEY = "_feed_st_";
export declare const getStateFeedCacheKey: (id: any) => string;
export declare const VIRTUALIZED_SCROLL_STATE_CACHE_PREFIX_KEY = "_virtualized_scroll_st_";
export declare const getVirtualizedScrollStateCacheKey: (id: any) => string;
export declare const FEED_CACHE_SP_KEY = "_feed_spos_";
export declare const getFeedSPCacheKey: (id: any) => string;
/** CUSTOM ADVERTISING **/
export declare const ADV_OBJECT_CACHE_PREFIX_KEY = "_adv_";
export declare const getAdvObjectCacheKey: (id: any) => string;
/** PRIVATE MESSAGE SNIPPETS OBJECT **/
export declare const PM_SNIPPETS_OBJECT_CACHE_PREFIX_KEY = "_pmss_";
export declare const getPmSnippetsObjectCacheKey: () => string;
/** PRIVATE MESSAGE SNIPPET OBJECT **/
export declare const PM_SNIPPET_OBJECT_CACHE_PREFIX_KEY = "_pms_";
export declare const getPmSnippetObjectCacheKey: (id: any) => string;
/** TOOLS */
export declare const CATEGORIES_LIST_TOOLS_STATE_CACHE_PREFIX_KEY = "_cListWidget_";
export declare const CATEGORIES_FOLLOWED_TOOLS_STATE_CACHE_PREFIX_KEY = "_cFolWidget_";
export declare const CATEGORIES_SUGGESTION_TOOLS_STATE_CACHE_PREFIX_KEY = "_cSugWidget_";
export declare const CATEGORIES_POPULAR_TOOLS_STATE_CACHE_PREFIX_KEY = "_cPopWidget_";
export declare const USER_FOLLOWERS_TOOLS_STATE_CACHE_PREFIX_KEY = "_uFolWidget_";
export declare const USER_FOLLOWED_TOOLS_STATE_CACHE_PREFIX_KEY = "_uFoldWidget_";
export declare const USER_EVENTS_STATE_CACHE_PREFIX_KEY = "_uEvents_";
export declare const USER_OTHER_EVENTS_STATE_CACHE_PREFIX_KEY = "_uOtherEvents_";
export declare const USER_PARTECIPANTS_EVENTS_STATE_CACHE_PREFIX_KEY = "_uPartecipantsEvents_";
export declare const USER_INVITED_EVENTS_STATE_CACHE_PREFIX_KEY = "_uInvitedEvents_";
export declare const USER_REQUESTS_EVENTS_STATE_CACHE_PREFIX_KEY = "_uRequestsEvents_";
export declare const USER_LIVE_STREAM_CACHE_PREFIX_KEY = "_uUserLives_";
export declare const EVENT_MEDIA_STATE_CACHE_PREFIX_KEY = "_eMedia_";
export declare const USER_CONNECTIONS_TOOLS_STATE_CACHE_PREFIX_KEY = "_uConWidget_";
export declare const USER_CONNECTIONS_REQUESTS_TOOLS_STATE_CACHE_PREFIX_KEY = "_uConReqWidget_";
export declare const USER_CONNECTIONS_REQUESTS_SENT_TOOLS_STATE_CACHE_PREFIX_KEY = "_uConReqSentWidget_";
export declare const TRENDING_FEED_TOOLS_STATE_CACHE_PREFIX_KEY = "_fTrendWidget_";
export declare const RELATED_FEED_TOOLS_STATE_CACHE_PREFIX_KEY = "_rFeedWidget_";
export declare const TRENDING_PEOPLE_TOOLS_STATE_CACHE_PREFIX_KEY = "_pTrendWidget_";
export declare const PEOPLE_SUGGESTION_TOOLS_STATE_CACHE_PREFIX_KEY = "_pSugWidget_";
export declare const INCUBATOR_LIST_TOOLS_STATE_CACHE_PREFIX_KEY = "_iListWidget_";
export declare const INCUBATOR_SUGGESTION_TOOLS_STATE_CACHE_PREFIX_KEY = "_iSugWidget_";
export declare const POLL_SUGGESTION_TOOLS_STATE_CACHE_PREFIX_KEY = "_pSugWidget_";
export declare const GROUP_MEMBERS_TOOLS_STATE_CACHE_PREFIX_KEY = "_gMemWidget_";
export declare const GROUP_REQUESTS_TOOLS_STATE_CACHE_PREFIX_KEY = "_gReqWidget_";
export declare const GROUPS_LIST_TOOLS_STATE_CACHE_PREFIX_KEY = "_glIST_";
export declare const GROUPS_SUBSCRIBED_TOOLS_STATE_CACHE_PREFIX_KEY = "_gSubWidget_";
export declare const getWidgetStateCacheKey: (p: any, id?: any) => string;