Skip to main content

Properties

addAccessorChild#

addAccessorChild: (parent: ProxyAccessor, child: null | ProxyAccessor) => void

Type declaration:#

▸ (parent: ProxyAccessor, child: null | ProxyAccessor): void

Parameters:#

NameType
parentProxyAccessor
childnull | ProxyAccessor

Returns: void

Defined in: packages/gqless/src/Cache/accessorCache.ts:30


addSelectionToAccessorHistory#

addSelectionToAccessorHistory: (accessor: ProxyAccessor, selection: Selection) => void

Type declaration:#

▸ (accessor: ProxyAccessor, selection: Selection): void

Parameters:#

NameType
accessorProxyAccessor
selectionSelection

Returns: void

Defined in: packages/gqless/src/Cache/accessorCache.ts:23


getAccessor#

getAccessor: (selection: Selection, cacheValue: unknown, proxyFactory: () => ProxyAccessor) => ProxyAccessor

Type declaration:#

▸ (selection: Selection, cacheValue: unknown, proxyFactory: () => ProxyAccessor): ProxyAccessor

Parameters:#

NameType
selectionSelection
cacheValueunknown
proxyFactory() => ProxyAccessor

Returns: ProxyAccessor

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


getArrayAccessor#

getArrayAccessor: (selection: Selection, reference: unknown[], proxyFactory: () => ProxyAccessor) => ProxyAccessor

Type declaration:#

▸ (selection: Selection, reference: unknown[], proxyFactory: () => ProxyAccessor): ProxyAccessor

Parameters:#

NameType
selectionSelection
referenceunknown[]
proxyFactory() => ProxyAccessor

Returns: ProxyAccessor

Defined in: packages/gqless/src/Cache/accessorCache.ts:16


getProxySelection#

getProxySelection: (proxy: ProxyAccessor) => undefined | Selection

Type declaration:#

▸ (proxy: ProxyAccessor): undefined | Selection

Parameters:#

NameType
proxyProxyAccessor

Returns: undefined | Selection

Defined in: packages/gqless/src/Cache/accessorCache.ts:22


getSelectionSetHistory#

getSelectionSetHistory: (accessor: ProxyAccessor) => undefined | Set<Selection>

Type declaration:#

▸ (accessor: ProxyAccessor): undefined | Set<Selection>

Parameters:#

NameType
accessorProxyAccessor

Returns: undefined | Set<Selection>

Defined in: packages/gqless/src/Cache/accessorCache.ts:27


isProxy#

isProxy: (obj: any) => obj is ProxyAccessor

Type declaration:#

▸ (obj: any): obj is ProxyAccessor

Parameters:#

NameType
objany

Returns: obj is ProxyAccessor

Defined in: packages/gqless/src/Cache/accessorCache.ts:21

Last updated on by Sam Denty