@@ -29,6 +29,11 @@ export type CreateTodoInput = {
29
29
user : Scalars [ "String" ] ;
30
30
} ;
31
31
32
+ export type Debug = {
33
+ __typename ?: "Debug" ;
34
+ scrap : Scalars [ "String" ] ;
35
+ } ;
36
+
32
37
export type Mutation = {
33
38
__typename ?: "Mutation" ;
34
39
createTodo : Todo ;
@@ -40,6 +45,7 @@ export type MutationCreateTodoArgs = {
40
45
41
46
export type Query = {
42
47
__typename ?: "Query" ;
48
+ debug : Debug ;
43
49
session : Session ;
44
50
user : User ;
45
51
} ;
@@ -175,28 +181,38 @@ export type DirectiveResolverFn<
175
181
176
182
/** Mapping between all available schema types and the resolvers types */
177
183
export type ResolversTypes = ResolversObject < {
178
- Boolean : ResolverTypeWrapper < Scalars [ "Boolean" ] > ;
179
- CreateTodoInput : CreateTodoInput ;
180
- ID : ResolverTypeWrapper < Scalars [ "ID" ] > ;
184
+ Boolean : ResolverTypeWrapper < Partial < Scalars [ "Boolean" ] > > ;
185
+ CreateTodoInput : ResolverTypeWrapper < Partial < CreateTodoInput > > ;
186
+ Debug : ResolverTypeWrapper < Partial < Debug > > ;
187
+ ID : ResolverTypeWrapper < Partial < Scalars [ "ID" ] > > ;
181
188
Mutation : ResolverTypeWrapper < { } > ;
182
189
Query : ResolverTypeWrapper < { } > ;
183
- Session : ResolverTypeWrapper < Session > ;
184
- String : ResolverTypeWrapper < Scalars [ "String" ] > ;
185
- Todo : ResolverTypeWrapper < Todo > ;
186
- User : ResolverTypeWrapper < User > ;
190
+ Session : ResolverTypeWrapper < Partial < Session > > ;
191
+ String : ResolverTypeWrapper < Partial < Scalars [ "String" ] > > ;
192
+ Todo : ResolverTypeWrapper < Partial < Todo > > ;
193
+ User : ResolverTypeWrapper < Partial < User > > ;
187
194
} > ;
188
195
189
196
/** Mapping between all available schema types and the resolvers parents */
190
197
export type ResolversParentTypes = ResolversObject < {
191
- Boolean : Scalars [ "Boolean" ] ;
192
- CreateTodoInput : CreateTodoInput ;
193
- ID : Scalars [ "ID" ] ;
198
+ Boolean : Partial < Scalars [ "Boolean" ] > ;
199
+ CreateTodoInput : Partial < CreateTodoInput > ;
200
+ Debug : Partial < Debug > ;
201
+ ID : Partial < Scalars [ "ID" ] > ;
194
202
Mutation : { } ;
195
203
Query : { } ;
196
- Session : Session ;
197
- String : Scalars [ "String" ] ;
198
- Todo : Todo ;
199
- User : User ;
204
+ Session : Partial < Session > ;
205
+ String : Partial < Scalars [ "String" ] > ;
206
+ Todo : Partial < Todo > ;
207
+ User : Partial < User > ;
208
+ } > ;
209
+
210
+ export type DebugResolvers <
211
+ ContextType = Context ,
212
+ ParentType extends ResolversParentTypes [ "Debug" ] = ResolversParentTypes [ "Debug" ]
213
+ > = ResolversObject < {
214
+ scrap ?: Resolver < ResolversTypes [ "String" ] , ParentType , ContextType > ;
215
+ __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
200
216
} > ;
201
217
202
218
export type MutationResolvers <
@@ -215,6 +231,7 @@ export type QueryResolvers<
215
231
ContextType = Context ,
216
232
ParentType extends ResolversParentTypes [ "Query" ] = ResolversParentTypes [ "Query" ]
217
233
> = ResolversObject < {
234
+ debug ?: Resolver < ResolversTypes [ "Debug" ] , ParentType , ContextType > ;
218
235
session ?: Resolver < ResolversTypes [ "Session" ] , ParentType , ContextType > ;
219
236
user ?: Resolver <
220
237
ResolversTypes [ "User" ] ,
@@ -251,6 +268,7 @@ export type UserResolvers<
251
268
} > ;
252
269
253
270
export type Resolvers < ContextType = Context > = ResolversObject < {
271
+ Debug ?: DebugResolvers < ContextType > ;
254
272
Mutation ?: MutationResolvers < ContextType > ;
255
273
Query ?: QueryResolvers < ContextType > ;
256
274
Session ?: SessionResolvers < ContextType > ;
0 commit comments