#
Interface: GqlessClient<GeneratedSchema>#
Type parametersName | Type |
---|---|
GeneratedSchema | object |
GeneratedSchema.mutation | object |
GeneratedSchema.query | object |
GeneratedSchema.subscription | object |
#
HierarchyPersistenceHelpers
↳ GqlessClient
#
Properties#
accessorCache• accessorCache: AccessorCache
Defined in: packages/gqless/src/Client/client.ts:167
#
assignSelections• assignSelections: AssignSelections
Defined in: packages/gqless/src/Client/client.ts:173
#
buildAndFetchSelections• buildAndFetchSelections: BuildAndFetchSelections
Defined in: packages/gqless/src/Client/client.ts:168
#
buildSelection• buildSelection: BuildSelection
Defined in: packages/gqless/src/Client/client.ts:175
#
cache• cache: CacheType
Defined in: packages/gqless/src/Client/client.ts:163
#
eventHandler• eventHandler: EventHandler
Defined in: packages/gqless/src/Client/client.ts:169
#
hydrateCache• hydrateCache: HydrateCache
Defined in: packages/gqless/src/Client/client.ts:171
#
interceptorManager• interceptorManager: InterceptorManager
Defined in: packages/gqless/src/Client/client.ts:164
#
mutate• mutate: Mutate<GeneratedSchema>
Defined in: packages/gqless/src/Client/client.ts:174
#
mutation• mutation: GeneratedSchema[mutation]
Defined in: packages/gqless/src/Client/client.ts:160
#
prefetch• prefetch: Prefetch<GeneratedSchema>
Defined in: packages/gqless/src/Client/client.ts:177
#
prepareRender• prepareRender: PrepareRender
Defined in: packages/gqless/src/Client/client.ts:172
#
query• query: GeneratedSchema[query]
Defined in: packages/gqless/src/Client/client.ts:159
#
refetch• refetch: Refetch
Defined in: packages/gqless/src/Client/client.ts:166
#
resolved• resolved: Resolved
Defined in: packages/gqless/src/Client/client.ts:162
#
scheduler• scheduler: Scheduler
Defined in: packages/gqless/src/Client/client.ts:165
#
setCache• setCache: SetCache
Defined in: packages/gqless/src/Client/client.ts:170
#
subscription• subscription: GeneratedSchema[subscription]
Defined in: packages/gqless/src/Client/client.ts:161
#
subscriptionsClient• subscriptionsClient: undefined | SubscriptionsClient
Defined in: packages/gqless/src/Client/client.ts:176
#
Methods#
backupPersistenceâ–¸ backupPersistence(version?
: string): string
#
Parameters:Name | Type |
---|---|
version? | string |
Returns: string
Inherited from: void
Defined in: packages/gqless/src/Cache/persistence.ts:9
#
restorePersistenceâ–¸ restorePersistence(backup
: () => Promise<unknown>, expectedVersion?
: string): Promise<boolean>
#
Parameters:Name | Type |
---|---|
backup | () => Promise<unknown> |
expectedVersion? | string |
Returns: Promise<boolean>
Inherited from: void
Defined in: packages/gqless/src/Cache/persistence.ts:11
â–¸ restorePersistence(backup
: undefined | null | string, expectedVersion?
: string): boolean
#
Parameters:Name | Type |
---|---|
backup | undefined | null | string |
expectedVersion? | string |
Returns: boolean
Inherited from: void
Defined in: packages/gqless/src/Cache/persistence.ts:15