Skip to main content

Class: Selection#

Constructors#

constructor#

+ new Selection(__namedParameters: SelectionConstructorArgs): Selection

Parameters:#

NameType
__namedParametersSelectionConstructorArgs

Returns: Selection

Defined in: packages/gqless/src/Selection/selection.ts:36

Properties#

alias#

• Optional alias: string

Defined in: packages/gqless/src/Selection/selection.ts:29


argTypes#

• Optional argTypes: Readonly<Record<string, string>>

Defined in: packages/gqless/src/Selection/selection.ts:28


args#

• Optional args: Readonly<Record<string, unknown>>

Defined in: packages/gqless/src/Selection/selection.ts:27


cachePath#

• cachePath: readonly (string | number)[]= []

Defined in: packages/gqless/src/Selection/selection.ts:31


id#

• id: string

Defined in: packages/gqless/src/Selection/selection.ts:19


key#

• key: string | number

Defined in: packages/gqless/src/Selection/selection.ts:21


noIndexSelections#

• noIndexSelections: readonly Selection[]

Defined in: packages/gqless/src/Selection/selection.ts:36


pathString#

• pathString: string

Defined in: packages/gqless/src/Selection/selection.ts:32


selectionsList#

• selectionsList: readonly Selection[]

Defined in: packages/gqless/src/Selection/selection.ts:34


type#

• type: SelectionType

Defined in: packages/gqless/src/Selection/selection.ts:23


unions#

• Optional unions: string[]

Defined in: packages/gqless/src/Selection/selection.ts:25

Last updated on by Sam Denty