Skip to main content

delegate_src.mergedtypeentrypoint

Interface: MergedTypeEntryPoint<K, V, TContext\>#

delegate/src.MergedTypeEntryPoint

Type parameters#

NameDefault
Kany
Vany
TContextRecord<string, any\>

Hierarchy#

Table of contents#

Properties#

Properties#

args#

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

Type declaration:#

▸ (originalResult: any): Record<string, any\>

Parameters:#

NameType
originalResultany

Returns: Record<string, any\>

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

Inherited from: MergedTypeResolverOptions.args

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


argsFromKeys#

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

Type declaration:#

▸ (keys: readonly K[]): Record<string, any\>

Parameters:#

NameType
keysreadonly K[]

Returns: Record<string, any\>

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

Inherited from: MergedTypeResolverOptions.argsFromKeys

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


fieldName#

Optional fieldName: string

Inherited from: MergedTypeResolverOptions.fieldName

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


key#

Optional key: (originalResult: any) => K

Type declaration:#

▸ (originalResult: any): K

Parameters:#

NameType
originalResultany

Returns: K

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

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


resolve#

Optional resolve: MergedTypeResolver<TContext\>

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


selectionSet#

Optional selectionSet: string

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


valuesFromResults#

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

Type declaration:#

▸ (results: any, keys: readonly K[]): V[]

Parameters:#

NameType
resultsany
keysreadonly K[]

Returns: V[]

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

Inherited from: MergedTypeResolverOptions.valuesFromResults

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