Skip to main content

Type parameters

NameType
GeneratedSchemaobject
GeneratedSchema.mutationobject
GeneratedSchema.queryobject
GeneratedSchema.subscriptionobject

Hierarchy#

  • PersistenceHelpers

    GQlessClient

Properties#

accessorCache#

accessorCache: AccessorCache

Defined in: packages/gqless/src/Client/client.ts:169


assignSelections#

assignSelections: AssignSelections

Defined in: packages/gqless/src/Client/client.ts:175


buildAndFetchSelections#

buildAndFetchSelections: BuildAndFetchSelections

Defined in: packages/gqless/src/Client/client.ts:170


buildSelection#

buildSelection: BuildSelection

Defined in: packages/gqless/src/Client/client.ts:177


cache#

cache: CacheType

Defined in: packages/gqless/src/Client/client.ts:165


eventHandler#

eventHandler: EventHandler

Defined in: packages/gqless/src/Client/client.ts:171


hydrateCache#

hydrateCache: HydrateCache

Defined in: packages/gqless/src/Client/client.ts:173


inlineResolved#

inlineResolved: InlineResolved

Defined in: packages/gqless/src/Client/client.ts:164


interceptorManager#

interceptorManager: InterceptorManager

Defined in: packages/gqless/src/Client/client.ts:166


mutate#

mutate: Mutate<GeneratedSchema>

Defined in: packages/gqless/src/Client/client.ts:176


mutation#

mutation: GeneratedSchema["mutation"]

Defined in: packages/gqless/src/Client/client.ts:161


prefetch#

prefetch: Prefetch<GeneratedSchema>

Defined in: packages/gqless/src/Client/client.ts:179


prepareRender#

prepareRender: PrepareRender

Defined in: packages/gqless/src/Client/client.ts:174


query#

query: GeneratedSchema["query"]

Defined in: packages/gqless/src/Client/client.ts:160


refetch#

refetch: Refetch

Defined in: packages/gqless/src/Client/client.ts:168


resolved#

resolved: Resolved

Defined in: packages/gqless/src/Client/client.ts:163


scheduler#

scheduler: Scheduler

Defined in: packages/gqless/src/Client/client.ts:167


setCache#

setCache: SetCache

Defined in: packages/gqless/src/Client/client.ts:172


subscription#

subscription: GeneratedSchema["subscription"]

Defined in: packages/gqless/src/Client/client.ts:162


subscriptionsClient#

subscriptionsClient: undefined | SubscriptionsClient

Defined in: packages/gqless/src/Client/client.ts:178

Methods#

backupPersistence#

backupPersistence(version?: string): string

Parameters:#

NameType
version?string

Returns: string

Inherited from: PersistenceHelpers.backupPersistence

Defined in: packages/gqless/src/Cache/persistence.ts:9


restorePersistence#

restorePersistence(backup: () => Promise<unknown>, expectedVersion?: string): Promise<boolean>

Parameters:#

NameType
backup() => Promise<unknown>
expectedVersion?string

Returns: Promise<boolean>

Inherited from: PersistenceHelpers.restorePersistence

Defined in: packages/gqless/src/Cache/persistence.ts:11

restorePersistence(backup: undefined | null | string, expectedVersion?: string): boolean

Parameters:#

NameType
backupundefined | null | string
expectedVersion?string

Returns: boolean

Inherited from: PersistenceHelpers.restorePersistence

Defined in: packages/gqless/src/Cache/persistence.ts:15

Last updated on by Pablo Sáez