1+ /**
2+ * This file was generated by Nexus Schema
3+ * Do not make changes to this file directly
4+ */
5+
6+
7+ import type { Context } from "./src/context"
8+
9+
10+
11+
12+ declare global {
13+ interface NexusGen extends NexusGenTypes { }
14+ }
15+
16+ export interface NexusGenInputs {
17+ }
18+
19+ export interface NexusGenEnums {
20+ }
21+
22+ export interface NexusGenScalars {
23+ String : string
24+ Int : number
25+ Float : number
26+ Boolean : boolean
27+ ID : string
28+ }
29+
30+ export interface NexusGenObjects {
31+ AuthPayload : { // root type
32+ token : string ; // String!
33+ user : NexusGenRootTypes [ 'User' ] ; // User!
34+ }
35+ Link : { // root type
36+ description : string ; // String!
37+ id : number ; // Int!
38+ url : string ; // String!
39+ }
40+ Mutation : { } ;
41+ Query : { } ;
42+ User : { // root type
43+ email : string ; // String!
44+ id : number ; // Int!
45+ name : string ; // String!
46+ }
47+ }
48+
49+ export interface NexusGenInterfaces {
50+ }
51+
52+ export interface NexusGenUnions {
53+ }
54+
55+ export type NexusGenRootTypes = NexusGenObjects
56+
57+ export type NexusGenAllTypes = NexusGenRootTypes & NexusGenScalars
58+
59+ export interface NexusGenFieldTypes {
60+ AuthPayload : { // field return type
61+ token : string ; // String!
62+ user : NexusGenRootTypes [ 'User' ] ; // User!
63+ }
64+ Link : { // field return type
65+ description : string ; // String!
66+ id : number ; // Int!
67+ postedBy : NexusGenRootTypes [ 'User' ] | null ; // User
68+ url : string ; // String!
69+ }
70+ Mutation : { // field return type
71+ login : NexusGenRootTypes [ 'AuthPayload' ] ; // AuthPayload!
72+ post : NexusGenRootTypes [ 'Link' ] ; // Link!
73+ signup : NexusGenRootTypes [ 'AuthPayload' ] ; // AuthPayload!
74+ }
75+ Query : { // field return type
76+ feed : NexusGenRootTypes [ 'Link' ] [ ] ; // [Link!]!
77+ }
78+ User : { // field return type
79+ email : string ; // String!
80+ id : number ; // Int!
81+ links : NexusGenRootTypes [ 'Link' ] [ ] ; // [Link!]!
82+ name : string ; // String!
83+ }
84+ }
85+
86+ export interface NexusGenFieldTypeNames {
87+ AuthPayload : { // field return type name
88+ token : 'String'
89+ user : 'User'
90+ }
91+ Link : { // field return type name
92+ description : 'String'
93+ id : 'Int'
94+ postedBy : 'User'
95+ url : 'String'
96+ }
97+ Mutation : { // field return type name
98+ login : 'AuthPayload'
99+ post : 'Link'
100+ signup : 'AuthPayload'
101+ }
102+ Query : { // field return type name
103+ feed : 'Link'
104+ }
105+ User : { // field return type name
106+ email : 'String'
107+ id : 'Int'
108+ links : 'Link'
109+ name : 'String'
110+ }
111+ }
112+
113+ export interface NexusGenArgTypes {
114+ Mutation : {
115+ login : { // args
116+ email : string ; // String!
117+ password : string ; // String!
118+ }
119+ post : { // args
120+ description : string ; // String!
121+ url : string ; // String!
122+ }
123+ signup : { // args
124+ email : string ; // String!
125+ name : string ; // String!
126+ password : string ; // String!
127+ }
128+ }
129+ }
130+
131+ export interface NexusGenAbstractTypeMembers {
132+ }
133+
134+ export interface NexusGenTypeInterfaces {
135+ }
136+
137+ export type NexusGenObjectNames = keyof NexusGenObjects ;
138+
139+ export type NexusGenInputNames = never ;
140+
141+ export type NexusGenEnumNames = never ;
142+
143+ export type NexusGenInterfaceNames = never ;
144+
145+ export type NexusGenScalarNames = keyof NexusGenScalars ;
146+
147+ export type NexusGenUnionNames = never ;
148+
149+ export type NexusGenObjectsUsingAbstractStrategyIsTypeOf = never ;
150+
151+ export type NexusGenAbstractsUsingStrategyResolveType = never ;
152+
153+ export type NexusGenFeaturesConfig = {
154+ abstractTypeStrategies : {
155+ isTypeOf : false
156+ resolveType : true
157+ __typename : false
158+ }
159+ }
160+
161+ export interface NexusGenTypes {
162+ context : Context ;
163+ inputTypes : NexusGenInputs ;
164+ rootTypes : NexusGenRootTypes ;
165+ inputTypeShapes : NexusGenInputs & NexusGenEnums & NexusGenScalars ;
166+ argTypes : NexusGenArgTypes ;
167+ fieldTypes : NexusGenFieldTypes ;
168+ fieldTypeNames : NexusGenFieldTypeNames ;
169+ allTypes : NexusGenAllTypes ;
170+ typeInterfaces : NexusGenTypeInterfaces ;
171+ objectNames : NexusGenObjectNames ;
172+ inputNames : NexusGenInputNames ;
173+ enumNames : NexusGenEnumNames ;
174+ interfaceNames : NexusGenInterfaceNames ;
175+ scalarNames : NexusGenScalarNames ;
176+ unionNames : NexusGenUnionNames ;
177+ allInputTypes : NexusGenTypes [ 'inputNames' ] | NexusGenTypes [ 'enumNames' ] | NexusGenTypes [ 'scalarNames' ] ;
178+ allOutputTypes : NexusGenTypes [ 'objectNames' ] | NexusGenTypes [ 'enumNames' ] | NexusGenTypes [ 'unionNames' ] | NexusGenTypes [ 'interfaceNames' ] | NexusGenTypes [ 'scalarNames' ] ;
179+ allNamedTypes : NexusGenTypes [ 'allInputTypes' ] | NexusGenTypes [ 'allOutputTypes' ]
180+ abstractTypes : NexusGenTypes [ 'interfaceNames' ] | NexusGenTypes [ 'unionNames' ] ;
181+ abstractTypeMembers : NexusGenAbstractTypeMembers ;
182+ objectsUsingAbstractStrategyIsTypeOf : NexusGenObjectsUsingAbstractStrategyIsTypeOf ;
183+ abstractsUsingStrategyResolveType : NexusGenAbstractsUsingStrategyResolveType ;
184+ features : NexusGenFeaturesConfig ;
185+ }
186+
187+
188+ declare global {
189+ interface NexusGenPluginTypeConfig < TypeName extends string > {
190+ }
191+ interface NexusGenPluginInputTypeConfig < TypeName extends string > {
192+ }
193+ interface NexusGenPluginFieldConfig < TypeName extends string , FieldName extends string > {
194+ }
195+ interface NexusGenPluginInputFieldConfig < TypeName extends string , FieldName extends string > {
196+ }
197+ interface NexusGenPluginSchemaConfig {
198+ }
199+ interface NexusGenPluginArgConfig {
200+ }
201+ }
0 commit comments