@@ -562,8 +562,26 @@ export type GqlPaper = {
562562 trainerId : Scalars [ 'ID' ] [ 'output' ] ;
563563} ;
564564
565+ export type GqlPaperComment = {
566+ __typename ?: 'PaperComment' ;
567+ firstName : Scalars [ 'String' ] [ 'output' ] ;
568+ lastName : Scalars [ 'String' ] [ 'output' ] ;
569+ published : Scalars [ 'Boolean' ] [ 'output' ] ;
570+ text : Scalars [ 'String' ] [ 'output' ] ;
571+ userId : Scalars [ 'ID' ] [ 'output' ] ;
572+ } ;
573+
574+ export type GqlPaperCommentInput = {
575+ firstName : Scalars [ 'String' ] [ 'input' ] ;
576+ lastName : Scalars [ 'String' ] [ 'input' ] ;
577+ published : Scalars [ 'Boolean' ] [ 'input' ] ;
578+ text : Scalars [ 'String' ] [ 'input' ] ;
579+ userId : Scalars [ 'ID' ] [ 'input' ] ;
580+ } ;
581+
565582export type GqlPaperEntryInput = {
566583 answer ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
584+ comments : Array < GqlPaperCommentInput > ;
567585 hint ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
568586 id : Scalars [ 'ID' ] [ 'input' ] ;
569587 question : Scalars [ 'String' ] [ 'input' ] ;
@@ -573,6 +591,7 @@ export type GqlPaperEntryInput = {
573591export type GqlPaperFormData = {
574592 __typename ?: 'PaperFormData' ;
575593 answer ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
594+ comments : Array < GqlPaperComment > ;
576595 hint ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
577596 id : Scalars [ 'ID' ] [ 'output' ] ;
578597 question : Scalars [ 'String' ] [ 'output' ] ;
@@ -957,6 +976,8 @@ export type GqlResolversTypes = ResolversObject<{
957976 Mutation : ResolverTypeWrapper < { } > ;
958977 OAuthPayload : ResolverTypeWrapper < GqlOAuthPayload > ;
959978 Paper : ResolverTypeWrapper < Paper > ;
979+ PaperComment : ResolverTypeWrapper < GqlPaperComment > ;
980+ PaperCommentInput : GqlPaperCommentInput ;
960981 PaperEntryInput : GqlPaperEntryInput ;
961982 PaperFormData : ResolverTypeWrapper < GqlPaperFormData > ;
962983 PaperInput : GqlPaperInput ;
@@ -1012,6 +1033,8 @@ export type GqlResolversParentTypes = ResolversObject<{
10121033 Mutation : { } ;
10131034 OAuthPayload : GqlOAuthPayload ;
10141035 Paper : Paper ;
1036+ PaperComment : GqlPaperComment ;
1037+ PaperCommentInput : GqlPaperCommentInput ;
10151038 PaperEntryInput : GqlPaperEntryInput ;
10161039 PaperFormData : GqlPaperFormData ;
10171040 PaperInput : GqlPaperInput ;
@@ -1229,8 +1252,18 @@ export type GqlPaperResolvers<ContextType = Context, ParentType extends GqlResol
12291252 __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
12301253} > ;
12311254
1255+ export type GqlPaperCommentResolvers < ContextType = Context , ParentType extends GqlResolversParentTypes [ 'PaperComment' ] = GqlResolversParentTypes [ 'PaperComment' ] > = ResolversObject < {
1256+ firstName ?: Resolver < GqlResolversTypes [ 'String' ] , ParentType , ContextType > ;
1257+ lastName ?: Resolver < GqlResolversTypes [ 'String' ] , ParentType , ContextType > ;
1258+ published ?: Resolver < GqlResolversTypes [ 'Boolean' ] , ParentType , ContextType > ;
1259+ text ?: Resolver < GqlResolversTypes [ 'String' ] , ParentType , ContextType > ;
1260+ userId ?: Resolver < GqlResolversTypes [ 'ID' ] , ParentType , ContextType > ;
1261+ __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
1262+ } > ;
1263+
12321264export type GqlPaperFormDataResolvers < ContextType = Context , ParentType extends GqlResolversParentTypes [ 'PaperFormData' ] = GqlResolversParentTypes [ 'PaperFormData' ] > = ResolversObject < {
12331265 answer ?: Resolver < Maybe < GqlResolversTypes [ 'String' ] > , ParentType , ContextType > ;
1266+ comments ?: Resolver < Array < GqlResolversTypes [ 'PaperComment' ] > , ParentType , ContextType > ;
12341267 hint ?: Resolver < Maybe < GqlResolversTypes [ 'String' ] > , ParentType , ContextType > ;
12351268 id ?: Resolver < GqlResolversTypes [ 'ID' ] , ParentType , ContextType > ;
12361269 question ?: Resolver < GqlResolversTypes [ 'String' ] , ParentType , ContextType > ;
@@ -1384,6 +1417,7 @@ export type GqlResolvers<ContextType = Context> = ResolversObject<{
13841417 Mutation ?: GqlMutationResolvers < ContextType > ;
13851418 OAuthPayload ?: GqlOAuthPayloadResolvers < ContextType > ;
13861419 Paper ?: GqlPaperResolvers < ContextType > ;
1420+ PaperComment ?: GqlPaperCommentResolvers < ContextType > ;
13871421 PaperFormData ?: GqlPaperFormDataResolvers < ContextType > ;
13881422 PrintPayload ?: GqlPrintPayloadResolvers < ContextType > ;
13891423 PublishCommentsPayload ?: GqlPublishCommentsPayloadResolvers < ContextType > ;
0 commit comments