delegate_src.mergedtypeconfig

Interface: MergedTypeConfig<K, V\>#

delegate/src.MergedTypeConfig

Type parameters#

NameDefault
Kany
Vany

Hierarchy#

Table of contents#

Properties#

Properties#

args#

Optional args: (originalResult: any) => Record<string, any\>

Inherited from: MergedTypeResolverOptions.args

Defined in: packages/delegate/src/types.ts:184


argsFromKeys#

Optional argsFromKeys: (keys: readonly K[]) => Record<string, any\>

Inherited from: MergedTypeResolverOptions.argsFromKeys

Defined in: packages/delegate/src/types.ts:185


canonical#

Optional canonical: boolean

Defined in: packages/delegate/src/types.ts:178


computedFields#

Optional computedFields: Record<string, { selectionSet?: string }\>

Defined in: packages/delegate/src/types.ts:176


fieldName#

Optional fieldName: string

Inherited from: MergedTypeResolverOptions.fieldName

Defined in: packages/delegate/src/types.ts:183


fields#

Optional fields: Record<string, { canonical?: boolean ; selectionSet?: string }\>

Defined in: packages/delegate/src/types.ts:175


key#

Optional key: (originalResult: any) => K

Defined in: packages/delegate/src/types.ts:177


resolve#

Optional resolve: MergedTypeResolver

Defined in: packages/delegate/src/types.ts:179


selectionSet#

Optional selectionSet: string

Defined in: packages/delegate/src/types.ts:174


valuesFromResults#

Optional valuesFromResults: (results: any, keys: readonly K[]) => V[]

Inherited from: MergedTypeResolverOptions.valuesFromResults

Defined in: packages/delegate/src/types.ts:186