graphql-tools-monorepo / delegate/src / MergedTypeEntryPoint
Interface: MergedTypeEntryPoint<K, V, TContext>
delegate/src.MergedTypeEntryPoint
Type parameters
Name | Type |
---|---|
K | any |
V | any |
TContext | Record <string , any > |
Hierarchy
-
MergedTypeResolverOptions
<K
,V
>↳
MergedTypeEntryPoint
Table of contents
Properties
Properties
args
• Optional
args: (originalResult
: any
) => Record
<string
, any
>
Type declaration
▸ (originalResult
): Record
<string
, any
>
Parameters
Name | Type |
---|---|
originalResult | any |
Returns
Record
<string
, any
>
Inherited from
MergedTypeResolverOptions.args
Defined in
packages/delegate/src/types.ts:181
argsFromKeys
• Optional
argsFromKeys: (keys
: readonly K
[]) => Record
<string
, any
>
Type declaration
▸ (keys
): Record
<string
, any
>
Parameters
Name | Type |
---|---|
keys | readonly K [] |
Returns
Record
<string
, any
>
Inherited from
MergedTypeResolverOptions.argsFromKeys
Defined in
packages/delegate/src/types.ts:182
dataLoaderOptions
• Optional
dataLoaderOptions: Options
<K
, V
, K
>
Inherited from
MergedTypeResolverOptions.dataLoaderOptions
Defined in
packages/delegate/src/types.ts:184
fieldName
• Optional
fieldName: string
Inherited from
MergedTypeResolverOptions.fieldName
Defined in
packages/delegate/src/types.ts:180
key
• Optional
key: (originalResult
: any
) => K
| PromiseLike
<K
>
Type declaration
▸ (originalResult
): K
| PromiseLike
<K
>
Parameters
Name | Type |
---|---|
originalResult | any |
Returns
K
| PromiseLike
<K
>
Defined in
packages/delegate/src/types.ts:175
resolve
• Optional
resolve: MergedTypeResolver
<TContext
>
Defined in
packages/delegate/src/types.ts:176
selectionSet
• Optional
selectionSet: string
Defined in
packages/delegate/src/types.ts:174
valuesFromResults
• Optional
valuesFromResults: (results
: any
, keys
: readonly K
[]) => V
[]
Type declaration
▸ (results
, keys
): V
[]
Parameters
Name | Type |
---|---|
results | any |
keys | readonly K [] |
Returns
V
[]
Inherited from
MergedTypeResolverOptions.valuesFromResults