UNPKG

react-native-mosquito-transport

Version:

React native javascript sdk for mosquito-transport (https://github.com/brainbehindx/mosquito-transport)

59 lines (57 loc) 1.44 kB
export const Scoped = { serverTimeOffset: undefined, PendingIte: 0, AnyProcessIte: 0, IS_CONNECTED: {}, AreYouOkPromise: {}, InitializedProject: {}, ReleaseCacheData: undefined, AuthJWTToken: {}, IsStoreReady: false, TokenRefreshTimer: {}, TokenRefreshProcess: {}, TokenTimestamping: {}, StorageProcessID: 0, InitiatedForcedToken: {}, PendingFetchCollective: {}, PendingDbReadCollective: {}, ActiveDatabaseListeners: {}, OutgoingWrites: {}, /** * @type {Promise<any> | undefined} */ dispatchingWritesPromise: {}, linearFsProcess: { database: {}, dbQueryCount: {}, httpFetch: {} } }; export const CacheStore = { DatabaseStore: {}, DatabaseCountResult: {}, DatabaseStats: { /** * @type {{[projectUrl: string]: {[dbUrl: string]: {[dbName: string]: {[path: string]: number}}}}} */ database: {}, /** * @type {{[projectUrl: string]: {[dbUrl: string]: {[dbName: string]: {[path: string]: boolean}}}}} */ counters: {}, /** * @type {{[projectUrl: string]: number}} */ fetchers: {}, _db_size: 0, _fetcher_size: 0 }, AuthStore: {}, PendingAuthPurge: {}, /** * [the instance url]: the url been emulated */ EmulatedAuth: {}, PendingWrites: {}, FetchedStore: {} };