Interface: MergedTypeConfig<K, V, TContext>
delegate/src.MergedTypeConfig
Type parameters
Name | Type |
---|---|
K | any |
V | any |
TContext | Record <string , any > |
Hierarchy
-
MergedTypeEntryPoint
<K
,V
,TContext
>↳
MergedTypeConfig
Table of contents
Properties
- args
- argsFromKeys
- canonical
- dataLoaderOptions
- entryPoints
- fieldName
- fields
- key
- resolve
- selectionSet
- valuesFromResults
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
Defined in
packages/delegate/src/types.ts:180 (opens in a new tab)
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
MergedTypeEntryPoint.argsFromKeys
Defined in
packages/delegate/src/types.ts:181 (opens in a new tab)
canonical
• Optional
canonical: boolean
Defined in
packages/delegate/src/types.ts:168 (opens in a new tab)
dataLoaderOptions
• Optional
dataLoaderOptions: Options
<K
, V
, K
>
Inherited from
MergedTypeEntryPoint.dataLoaderOptions
Defined in
packages/delegate/src/types.ts:183 (opens in a new tab)
entryPoints
• Optional
entryPoints: MergedTypeEntryPoint
<any
, any
, Record
<string
, any
>>[]
Defined in
packages/delegate/src/types.ts:166 (opens in a new tab)
fieldName
• Optional
fieldName: string
Inherited from
MergedTypeEntryPoint.fieldName
Defined in
packages/delegate/src/types.ts:179 (opens in a new tab)
fields
• Optional
fields: Record
<string
, MergedFieldConfig
>
Defined in
packages/delegate/src/types.ts:167 (opens in a new tab)
key
• Optional
key: (originalResult
: any
) => K
| PromiseLike
<K
>
Type declaration
▸ (originalResult
): K
| PromiseLike
<K
>
Parameters
Name | Type |
---|---|
originalResult | any |
Returns
K
| PromiseLike
<K
>
Inherited from
Defined in
packages/delegate/src/types.ts:174 (opens in a new tab)
resolve
• Optional
resolve: MergedTypeResolver
<TContext
>
Inherited from
Defined in
packages/delegate/src/types.ts:175 (opens in a new tab)
selectionSet
• Optional
selectionSet: string
Inherited from
MergedTypeEntryPoint.selectionSet
Defined in
packages/delegate/src/types.ts:173 (opens in a new tab)
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
MergedTypeEntryPoint.valuesFromResults