Skip to main content

Interface: CoreHelpers#

Properties#

castNotSkeleton#

• castNotSkeleton: <T>(v: T) => NotSkeleton<T>

Type declaration:#

â–¸ <T>(v: T): NotSkeleton<T>

Type parameters:#

Name
T

Parameters:#

NameType
vT

Returns: NotSkeleton<T>

Defined in: gqless/dist/Helpers/casters.d.ts:21

Defined in: react/src/common.ts:520


castNotSkeletonDeep#

• castNotSkeletonDeep: <T>(v: T) => NotSkeletonDeep<T>

Type declaration:#

â–¸ <T>(v: T): NotSkeletonDeep<T>

Type parameters:#

Name
T

Parameters:#

NameType
vT

Returns: NotSkeletonDeep<T>

Defined in: gqless/dist/Helpers/casters.d.ts:17

Defined in: react/src/common.ts:521


getArrayFields#

• getArrayFields: <TArrayValue, TArray, TArrayValueKeys>(accessorArray: TArray, ...keys: TArrayValueKeys[]) => TArray

Type declaration:#

â–¸ <TArrayValue, TArray, TArrayValueKeys>(accessorArray: TArray, ...keys: TArrayValueKeys[]): TArray

Type parameters:#

NameType
TArrayValueundefined | null | object
TArrayundefined | null | TArrayValue[]
TArrayValueKeysstring | number | symbol

Parameters:#

NameType
accessorArrayTArray
...keysTArrayValueKeys[]

Returns: TArray

Defined in: gqless/dist/Helpers/getFields.d.ts:2

Defined in: react/src/common.ts:518


getFields#

• getFields: <TAccesorData, TAccesorKeys>(accessor: TAccesorData, ...keys: TAccesorKeys[]) => TAccesorData

Type declaration:#

â–¸ <TAccesorData, TAccesorKeys>(accessor: TAccesorData, ...keys: TAccesorKeys[]): TAccesorData

Type parameters:#

NameType
TAccesorDataundefined | null | object
TAccesorKeysstring | number | symbol

Parameters:#

NameType
accessorTAccesorData
...keysTAccesorKeys[]

Returns: TAccesorData

Defined in: gqless/dist/Helpers/getFields.d.ts:1

Defined in: react/src/common.ts:517


prepass#

• prepass: <T>(v: T, ...keys: (string | (string | PrepassObjKey)[])[]) => T

Type declaration:#

â–¸ <T>(v: T, ...keys: (string | (string | PrepassObjKey)[])[]): T

Type parameters:#

NameType
Tundefined | null | object

Parameters:#

NameType
vT
...keys(string | (string | PrepassObjKey)[])[]

Returns: T

Defined in: gqless/dist/Helpers/prepass.d.ts:5

Defined in: react/src/common.ts:516


selectFields#

• selectFields: <A>(accessor: A, fields?: ** | (string | number)[], recursionDepth?: number*) => A

Type declaration:#

â–¸ <A>(accessor: A, fields?: ** | (string | number)[], recursionDepth?: number*): A

Type parameters:#

NameType
Aundefined | null | object

Parameters:#

NameType
accessorA
fields?** | (string | number*)[]
recursionDepth?number

Returns: A

Defined in: gqless/dist/Helpers/selectFields.d.ts:1

Defined in: react/src/common.ts:519

Last updated on by Sam Denty