Skip to main content

Interface: GqlessClient<GeneratedSchema>#

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: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:#

NameType
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:#

NameType
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:#

NameType
backupundefined | null | string
expectedVersion?string

Returns: boolean

Inherited from: void

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

Last updated on by github-actions[bot]