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)
23 lines (20 loc) • 378 B
text/typescript
export interface UnionRequest {
on_A?: ARequest
on_B?: BRequest
__typename?: boolean | number
}
/** single line description */
export interface UnionDRequest {
on_A?: ARequest
on_B?: BRequest
__typename?: boolean | number
}
/**
* multiline
* description
*/
export interface UnionMDRequest {
on_A?: ARequest
on_B?: BRequest
__typename?: boolean | number
}