graphql-typed-client
Version:
A tool that generates a strongly typed client library for any GraphQL endpoint. The client allows writing GraphQL queries as plain JS objects (with type safety, awesome code completion experience, custom scalar type mapping, type guards and more)
62 lines (57 loc) • 1.09 kB
text/typescript
export interface ObjectI extends A, B {
a1: Int
a2: Int
b1: Int
b2: Int
c1: Int
c2: Int
__typename: 'ObjectI'
}
export interface ObjectF {
value: Int
maybeValue: Int | null
valueList: Int[]
maybeValueList: (Int | null)[]
valueMaybeList: Int[] | null
maybeValueMaybeList: (Int | null)[] | null
nested: Int[][][]
maybeNested: (((Int | null)[] | null)[] | null)[] | null
__typename: 'ObjectF'
}
export interface Object {
some: Int | null
other: Int | null
another: Int | null
__typename: 'Object'
}
/** single line description */
export interface ObjectD {
/** @deprecated No longer supported */
some: Int | null
/** single line description */
other: Int | null
/**
* @deprecated No longer supported
* single line description
*/
another: Int | null
__typename: 'ObjectD'
}
/**
* multiline
* description
*/
export interface ObjectMD {
/**
* multiline
* description
*/
some: Int | null
/**
* @deprecated No longer supported
* multiline
* description
*/
other: Int | null
__typename: 'ObjectMD'
}