#
Interface: AccessorCache#
Properties#
addAccessorChild• addAccessorChild: (parent
: ProxyAccessor, child
: null | ProxyAccessor) => void
#
Type declaration:â–¸ (parent
: ProxyAccessor, child
: null | ProxyAccessor): void
#
Parameters:Name | Type |
---|---|
parent | ProxyAccessor |
child | null | ProxyAccessor |
Returns: void
Defined in: packages/gqless/src/Cache/accessorCache.ts:30
Defined in: packages/gqless/src/Cache/accessorCache.ts:30
#
addSelectionToAccessorHistory• addSelectionToAccessorHistory: (accessor
: ProxyAccessor, selection
: Selection) => void
#
Type declaration:â–¸ (accessor
: ProxyAccessor, selection
: Selection): void
#
Parameters:Name | Type |
---|---|
accessor | ProxyAccessor |
selection | Selection |
Returns: void
Defined in: packages/gqless/src/Cache/accessorCache.ts:23
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:Name | Type |
---|---|
selection | Selection |
cacheValue | unknown |
proxyFactory | () => ProxyAccessor |
Returns: ProxyAccessor
Defined in: packages/gqless/src/Cache/accessorCache.ts:11
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:Name | Type |
---|---|
selection | Selection |
reference | unknown[] |
proxyFactory | () => ProxyAccessor |
Returns: ProxyAccessor
Defined in: packages/gqless/src/Cache/accessorCache.ts:16
Defined in: packages/gqless/src/Cache/accessorCache.ts:16
#
getProxySelection• getProxySelection: (proxy
: ProxyAccessor) => undefined | Selection
#
Type declaration:â–¸ (proxy
: ProxyAccessor): undefined | Selection
#
Parameters:Name | Type |
---|---|
proxy | ProxyAccessor |
Returns: undefined | Selection
Defined in: packages/gqless/src/Cache/accessorCache.ts:22
Defined in: packages/gqless/src/Cache/accessorCache.ts:22
#
getSelectionSetHistory• getSelectionSetHistory: (accessor
: ProxyAccessor) => undefined | Set<Selection>
#
Type declaration:â–¸ (accessor
: ProxyAccessor): undefined | Set<Selection>
#
Parameters:Name | Type |
---|---|
accessor | ProxyAccessor |
Returns: undefined | Set<Selection>
Defined in: packages/gqless/src/Cache/accessorCache.ts:27
Defined in: packages/gqless/src/Cache/accessorCache.ts:27
#
isProxy• isProxy: (obj
: any) => obj is ProxyAccessor
#
Type declaration:â–¸ (obj
: any): obj is ProxyAccessor
#
Parameters:Name | Type |
---|---|
obj | any |
Returns: obj is ProxyAccessor
Defined in: packages/gqless/src/Cache/accessorCache.ts:21
Defined in: packages/gqless/src/Cache/accessorCache.ts:21