MCPcopy Create free account

hub / github.com/apollographql/apollo-cache-persist / functions

Functions105 in github.com/apollographql/apollo-cache-persist

↓ 11 callersMethodgetItem
(key: string)
src/storageWrappers/MMKVStorageWrapper.ts:48
↓ 10 callersMethodextract
()
src/__mocks__/MockCache.ts:16
↓ 7 callersMethodwrite
(level: LogLevel, message: any[])
src/Log.ts:32
↓ 5 callersMethodread
()
src/Storage.ts:18
↓ 5 callersFunctionsimulateWrite
({ result, operation, persistOptions = {}, }: { result: T; operation: DocumentNode; persistOptions
src/__mocks__/simulate.ts:43
↓ 4 callersMethodinfo
(...message: any[])
src/Log.ts:42
↓ 4 callersMethodpersist
()
src/Persistor.ts:41
↓ 4 callersMethodset
(key: string, value: string | null)
src/storageWrappers/IonicStorageWrapper.ts:26
↓ 4 callersFunctionsimulateApp
({ result, operation, persistOptions = {}, }: { result: T; operation: DocumentNode; persistOptions
src/__mocks__/simulate.ts:13
↓ 3 callersMethoderror
(...message: any[])
src/Log.ts:50
↓ 3 callersMethodget
(key: string)
src/storageWrappers/IonicStorageWrapper.ts:25
↓ 3 callersMethodremove
(key: string)
src/storageWrappers/IonicStorageWrapper.ts:27
↓ 3 callersMethodwarn
(...message: any[])
src/Log.ts:46
↓ 2 callersMethodemit
(level: LogLevel, message: any[])
src/Log.ts:17
↓ 2 callersMethodpurge
()
src/Storage.ts:26
↓ 2 callersMethodremoveItem
(key: string)
src/storageWrappers/MMKVStorageWrapper.ts:50
↓ 2 callersMethodrestore
(data: PersistedData<T>)
src/Cache.ts:25
↓ 2 callersMethodrestore
(data: PersistedData<T>)
src/__mocks__/MockCache.ts:26
↓ 2 callersMethodrestoreSync
()
src/persistCacheSync.ts:48
↓ 2 callersMethodsetItem
(key: string, value: string)
src/storageWrappers/MMKVStorageWrapper.ts:49
↓ 1 callersMethodconstructor
(options: Pick<ApolloPersistOptions<T, U>, 'serialize'>)
src/__mocks__/MockCache.ts:11
↓ 1 callersMethodextract
()
src/Cache.ts:15
↓ 1 callersMethodgetItem
(key: string)
src/storageWrappers/LocalStorageWrapper.ts:30
↓ 1 callersMethodgetItem
(key: string)
src/storageWrappers/SessionStorageWrapper.ts:30
↓ 1 callersMethodgetItem
(key: string)
src/storageWrappers/AsyncStorageWrapper.ts:37
↓ 1 callersMethodgetItem
(key: string)
src/storageWrappers/LocalForageWrapper.ts:31
↓ 1 callersFunctioninit
()
examples/web/src/App.tsx:79
↓ 1 callersMethodpurge
()
src/Persistor.ts:98
↓ 1 callersMethodreadSync
()
src/persistCacheSync.ts:58
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/LocalStorageWrapper.ts:14
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/LocalStorageWrapper.ts:32
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/MMKVWrapper.ts:26
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/SessionStorageWrapper.ts:14
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/SessionStorageWrapper.ts:32
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/AsyncStorageWrapper.ts:39
↓ 1 callersMethodremoveItem
(key: string)
src/storageWrappers/LocalForageWrapper.ts:36
↓ 1 callersMethodrestore
()
src/CachePersistor.ts:53
↓ 1 callersMethodrestoreSync
()
src/persistCacheSync.ts:33
↓ 1 callersMethodsetItem
(key: string, value: string)
src/storageWrappers/LocalStorageWrapper.ts:31
↓ 1 callersMethodsetItem
(key: string, value: string)
src/storageWrappers/SessionStorageWrapper.ts:31
↓ 1 callersMethodsetItem
(key: string, value: string | null)
src/storageWrappers/AsyncStorageWrapper.ts:38
↓ 1 callersMethodsetItem
( key: string, value: string | object | null, )
src/storageWrappers/LocalForageWrapper.ts:32
↓ 1 callersMethodtailLogs
()
src/Log.ts:24
FunctionApp
()
examples/web/src/App.tsx:72
FunctionLaunches
()
examples/web/src/App.tsx:39
Methodconstructor
(options: Pick<ApolloPersistOptions<T>, 'storage' | 'key'>)
src/Storage.ts:11
Methodconstructor
( { log, cache, storage }: PersistorConfig<T>, options: Pick<ApolloPersistOptions<T>, 'maxSize' | 'per
src/Persistor.ts:21
Methodconstructor
(options: ApolloPersistOptions<T>)
src/persistCacheSync.ts:23
Methodconstructor
( { log, cache, storage }: PersistorConfig<T>, options: ApolloPersistOptions<T>, )
src/persistCacheSync.ts:41
Methodconstructor
(options: ApolloPersistOptions<T>)
src/persistCacheSync.ts:54
Methodconstructor
(options: Pick<ApolloPersistOptions<T>, 'cache' | 'serialize'>)
src/Cache.ts:8
Methodconstructor
( { log, persistor }: TriggerConfig<T>, options: Pick<ApolloPersistOptions<T>, 'cache' | 'debounce' |
src/Trigger.ts:22
Methodconstructor
(options: ApolloPersistOptions<T>)
src/CachePersistor.ts:16
Methodconstructor
(options: Pick<ApolloPersistOptions<T>, 'debug'>)
src/Log.ts:10
Methodconstructor
()
src/__mocks__/MockStorageSync.ts:6
Methodconstructor
()
src/__mocks__/MockStorage.ts:6
Methodconstructor
(storage: LocalStorageInterface)
src/storageWrappers/LocalStorageWrapper.ts:6
Methodconstructor
(storage: MMKVStorageInterface)
src/storageWrappers/MMKVStorageWrapper.ts:17
Methodconstructor
(storage: MMKVInterface)
src/storageWrappers/MMKVWrapper.ts:18
Methodconstructor
(storage: IonicStorageInterface)
src/storageWrappers/IonicStorageWrapper.ts:6
Methodconstructor
(storage: SessionStorageInterface)
src/storageWrappers/SessionStorageWrapper.ts:6
Methodconstructor
(storage: AsyncStorageInterface)
src/storageWrappers/AsyncStorageWrapper.ts:18
Methodconstructor
(storage: LocalForageInterface)
src/storageWrappers/LocalForageWrapper.ts:7
MethodgetItem
(key: string)
src/__mocks__/MockStorageSync.ts:18
MethodgetItem
(key: string)
src/__mocks__/MockStorage.ts:24
MethodgetItem
(key: string)
src/storageWrappers/LocalStorageWrapper.ts:10
MethodgetItem
(key: string)
src/storageWrappers/MMKVStorageWrapper.ts:21
MethodgetItem
(key: string)
src/storageWrappers/MMKVWrapper.ts:22
MethodgetItem
(key: string)
src/storageWrappers/IonicStorageWrapper.ts:10
MethodgetItem
(key: string)
src/storageWrappers/SessionStorageWrapper.ts:10
MethodgetItem
(key: string)
src/storageWrappers/AsyncStorageWrapper.ts:22
MethodgetItem
(key: string)
src/storageWrappers/LocalForageWrapper.ts:11
MethodgetLogs
* Info accessor.
src/CachePersistor.ts:81
MethodgetLogs
()
src/Log.ts:28
MethodgetSize
()
src/Storage.ts:30
MethodgetSize
()
src/CachePersistor.ts:89
Functionlistener
(state: string)
src/onAppBackground.native.ts:6
Functiononwarn
(message)
rollup.config.mjs:13
Methodpause
()
src/Trigger.ts:59
Methodpause
* Trigger controls.
src/CachePersistor.ts:65
Methodpersist
* Manual persistence controls.
src/CachePersistor.ts:49
FunctionpersistCacheSync
(options: ApolloPersistOptions<T>)
src/persistCacheSync.ts:12
FunctionpersistenceMapper
(data: any)
src/__tests__/persistCache.ts:177
Methodpurge
()
src/CachePersistor.ts:57
Methodremove
()
src/Trigger.ts:67
Methodremove
()
src/CachePersistor.ts:73
MethodremoveItem
(key: string)
src/__mocks__/MockStorageSync.ts:14
MethodremoveItem
(key: string)
src/__mocks__/MockStorage.ts:17
MethodremoveItem
(key: string)
src/storageWrappers/MMKVStorageWrapper.ts:25
MethodremoveItem
(key: string)
src/storageWrappers/IonicStorageWrapper.ts:14
MethodremoveItem
(key: string)
src/storageWrappers/AsyncStorageWrapper.ts:26
MethodremoveItem
(key: string)
src/storageWrappers/LocalForageWrapper.ts:15
Methodrestore
()
src/Persistor.ts:77
Methodresume
()
src/Trigger.ts:63
Methodresume
()
src/CachePersistor.ts:69
MethodsetItem
(key: string, data: string)
src/__mocks__/MockStorageSync.ts:10
MethodsetItem
(key: string, data: string)
src/__mocks__/MockStorage.ts:10
MethodsetItem
(key: string, value: string | null)
src/storageWrappers/LocalStorageWrapper.ts:18
MethodsetItem
(key: string, value: string | null)
src/storageWrappers/MMKVStorageWrapper.ts:36
MethodsetItem
(key: string, value: string | null)
src/storageWrappers/MMKVWrapper.ts:30
next →1–100 of 105, ranked by callers