@gqlts/cli
Version:
Generate a client sdk from your GraphQl API
64 lines (61 loc) • 1.56 kB
text/typescript
export interface InterfaceRequest {
noArgs?: boolean | number
/**
* @deprecated No longer supported
* single line description
*/
other?: boolean | number
on_Object?: ObjectRequest
__typename?: boolean | number
__scalar?: boolean | number
}
/** single line description */
export interface ObjectRequest {
/**
* @deprecated No longer supported
* single line description
*/
noArgs?: boolean | number
other?: boolean | number
optionalArg?: [{ optional?: Scalars['String'] | null }] | boolean | number
requiredArg?: [
{
/** single line description */
required: Scalars['String']
},
]
optionalArgObj?:
| [{ optional?: Scalars['String'] | null }, InterfaceRequest]
| InterfaceRequest
requiredArgObj?: [
{
/** single line description */
required: Enum
},
InterfaceRequest,
]
argTypes?: [
{
/**
* multiline
* description
*/
value: Scalars['Int']
/** single line description */
maybeValue?: Scalars['Int'] | null
valueList: Scalars['Int'][]
maybeValueList: (Scalars['Int'] | null)[]
valueMaybeList?: Scalars['Int'][] | null
maybeValueMaybeList?: (Scalars['Int'] | null)[] | null
nested: Scalars['Int'][][][]
maybeNested?: (((Scalars['Int'] | null)[] | null)[] | null)[] | null
},
]
__typename?: boolean | number
__scalar?: boolean | number
}
export interface InterfaceFieldRequest {
field?: InterfaceRequest
__typename?: boolean | number
__scalar?: boolean | number
}