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

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


addSelectionCache#

• addSelectionCache: (selection: Selection) => void

Type declaration:#

â–¸ (selection: Selection): void

Parameters:#

NameType
selectionSelection

Returns: void

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

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


addSelectionCacheRefetch#

• addSelectionCacheRefetch: (selection: Selection) => void

Type declaration:#

â–¸ (selection: Selection): void

Parameters:#

NameType
selectionSelection

Returns: void

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

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


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

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


createInterceptor#

• createInterceptor: () => Interceptor

Type declaration:#

â–¸ (): Interceptor

Returns: Interceptor

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

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


globalInterceptor#

• globalInterceptor: Interceptor

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


interceptors#

• interceptors: Set<Interceptor>

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


removeInterceptor#

• removeInterceptor: (interceptor: Interceptor) => void

Type declaration:#

â–¸ (interceptor: Interceptor): void

Parameters:#

NameType
interceptorInterceptor

Returns: void

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

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


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

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

Last updated on by Pablo Sáez