11import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' ;
22export type Maybe < T > = T | null ;
3+ export type InputMaybe < T > = Maybe < T > ;
34export type Exact < T extends { [ key : string ] : unknown } > = { [ K in keyof T ] : T [ K ] } ;
5+ export type MakeOptional < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] ?: Maybe < T [ SubKey ] > } ;
6+ export type MakeMaybe < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] : Maybe < T [ SubKey ] > } ;
47/** All built-in and custom scalars, mapped to their actual values */
58export type Scalars = {
69 ID : string ;
@@ -13,8 +16,8 @@ export type Scalars = {
1316export type ExchangeRate = {
1417 __typename ?: 'ExchangeRate' ;
1518 currency ?: Maybe < Scalars [ 'String' ] > ;
16- rate ?: Maybe < Scalars [ 'String' ] > ;
1719 name ?: Maybe < Scalars [ 'String' ] > ;
20+ rate ?: Maybe < Scalars [ 'String' ] > ;
1821} ;
1922
2023export type Query = {
@@ -32,15 +35,7 @@ export type RatesQueryVariables = Exact<{
3235} > ;
3336
3437
35- export type RatesQuery = (
36- { __typename ?: 'Query' }
37- & {
38- rates ?: Maybe < Array < Maybe < (
39- { __typename ?: 'ExchangeRate' }
40- & Pick < ExchangeRate , 'currency' | 'rate' >
41- ) > > >
42- }
43- ) ;
38+ export type RatesQuery = { __typename ?: 'Query' , rates ?: Array < { __typename ?: 'ExchangeRate' , currency ?: string | null , rate ?: string | null } | null > | null } ;
4439
4540
46- export const RatesDocument : DocumentNode < RatesQuery , RatesQueryVariables > = { "kind" : "Document" , "definitions" : [ { "kind" : "OperationDefinition" , "operation" : "query" , "name" : { "kind" : "Name" , "value" : "rates" } , "variableDefinitions" : [ { "kind" : "VariableDefinition" , "variable" : { "kind" : "Variable" , "name" : { "kind" : "Name" , "value" : "currency" } } , "type" : { "kind" : "NonNullType" , "type" : { "kind" : "NamedType" , "name" : { "kind" : "Name" , "value" : "String" } } } , "directives" : [ ] } ] , "directives" : [ ] , "selectionSet" : { "kind" : "SelectionSet" , "selections" : [ { "kind" : "Field" , "name" : { "kind" : "Name" , "value" : "rates" } , "arguments" : [ { "kind" : "Argument" , "name" : { "kind" : "Name" , "value" : "currency" } , "value" : { "kind" : "Variable" , "name" : { "kind" : "Name" , "value" : "currency" } } } ] , "directives" : [ ] , "selectionSet" : { "kind" : "SelectionSet" , "selections" : [ { "kind" : "Field" , "name" : { "kind" : "Name" , "value" : "currency" } , "arguments" : [ ] , "directives" : [ ] } , { "kind" : "Field" , "name" : { "kind" : "Name" , "value" : "rate" } , "arguments" : [ ] , "directives" : [ ] } ] } } ] } } ] } ;
41+ export const RatesDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"rates" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"currency" } } , "type" :{ "kind" :"NonNullType" , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"String" } } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"rates" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"currency" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"currency" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"currency" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"rate" } } ] } } ] } } ] } as unknown as DocumentNode < RatesQuery , RatesQueryVariables > ;
0 commit comments