Skip to main content

Interface: InterceptorManager#

Properties#

addSelection#

• addSelection: (selection: Selection) => void

Type declaration:#

â–¸ (selection: Selection): void

Parameters:#

NameType
selectionSelection

Returns: void

Defined in: packages/gqless/src/Interceptor/index.ts:48


addSelectionCache#

• addSelectionCache: (selection: Selection) => void

Type declaration:#

â–¸ (selection: Selection): void

Parameters:#

NameType
selectionSelection

Returns: void

Defined in: packages/gqless/src/Interceptor/index.ts:49


addSelectionCacheRefetch#

• addSelectionCacheRefetch: (selection: Selection) => void

Type declaration:#

â–¸ (selection: Selection): void

Parameters:#

NameType
selectionSelection

Returns: void

Defined in: packages/gqless/src/Interceptor/index.ts:50


addSelections#

• addSelections: (selection: Selection[] | Set<Selection>) => void

Type declaration:#

â–¸ (selection: Selection[] | Set<Selection>): void

Parameters:#

NameType
selectionSelection[] | Set<Selection>

Returns: void

Defined in: packages/gqless/src/Interceptor/index.ts:51


createInterceptor#

• createInterceptor: () => Interceptor

Type declaration:#

â–¸ (): Interceptor

Returns: Interceptor

Defined in: packages/gqless/src/Interceptor/index.ts:46


globalInterceptor#

• globalInterceptor: Interceptor

Defined in: packages/gqless/src/Interceptor/index.ts:45


interceptors#

• interceptors: Set<Interceptor>

Defined in: packages/gqless/src/Interceptor/index.ts:44


removeInterceptor#

• removeInterceptor: (interceptor: Interceptor) => void

Type declaration:#

â–¸ (interceptor: Interceptor): void

Parameters:#

NameType
interceptorInterceptor

Returns: void

Defined in: packages/gqless/src/Interceptor/index.ts:47


removeSelections#

• removeSelections: (selections: Selection[] | Set<Selection>) => void

Type declaration:#

â–¸ (selections: Selection[] | Set<Selection>): void

Parameters:#

NameType
selectionsSelection[] | Set<Selection>

Returns: void

Defined in: packages/gqless/src/Interceptor/index.ts:52

Last updated on by Sam Denty