1 |
|
2 |
|
3 |
|
4 | import { PreprocessingData } from './types/preprocessing_data';
|
5 | import { Operation, DataDefinition } from './types/operation';
|
6 | import { ParameterObject } from './types/oas3';
|
7 | import { Args, GraphQLType } from './types/graphql';
|
8 | declare type GetArgsParams<TSource, TContext, TArgs> = {
|
9 | requestPayloadDef?: DataDefinition;
|
10 | parameters: ParameterObject[];
|
11 | operation?: Operation;
|
12 | data: PreprocessingData<TSource, TContext, TArgs>;
|
13 | includeHttpDetails: boolean;
|
14 | };
|
15 | declare type CreateOrReuseComplexTypeParams<TSource, TContext, TArgs> = {
|
16 | def: DataDefinition;
|
17 | operation?: Operation;
|
18 | iteration?: number;
|
19 | isInputObjectType?: boolean;
|
20 | data: PreprocessingData<TSource, TContext, TArgs>;
|
21 | includeHttpDetails: boolean;
|
22 | };
|
23 |
|
24 |
|
25 |
|
26 | export declare function getGraphQLType<TSource, TContext, TArgs>({ def, operation, data, iteration, isInputObjectType, includeHttpDetails, }: CreateOrReuseComplexTypeParams<TSource, TContext, TArgs>): GraphQLType;
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare function getArgs<TSource, TContext, TArgs>({ requestPayloadDef, parameters, operation, data, includeHttpDetails, }: GetArgsParams<TSource, TContext, TArgs>): Args;
|
33 | export {};
|