@@ -76,12 +76,15 @@ export type GithubUser = {
7676export type Level = {
7777 __typename ?: 'Level' ,
7878 id : Scalars [ 'ID' ] ,
79- index ?: number
8079 title : Scalars [ 'String' ] ,
80+ /** A summary of the level */
8181 description : Scalars [ 'String' ] ,
82+ /** The lesson content of the level, parsed as markdown */
83+ content : Scalars [ 'String' ] ,
84+ /** A set of tasks for users linked to unit tests */
8285 steps : Array < Step > ,
86+ /** Actions run on level start up for configuring setup */
8387 setup ?: Maybe < StepActions > ,
84- status : ProgressStatus ,
8588} ;
8689
8790export type Mutation = {
@@ -102,11 +105,6 @@ export type MutationCreateTutorialVersionArgs = {
102105 input : CreateTutorialVersionInput
103106} ;
104107
105- export type ProgressStatus =
106- 'ACTIVE' |
107- 'COMPLETE' |
108- 'INCOMPLETE' ;
109-
110108export type Query = {
111109 __typename ?: 'Query' ,
112110 tutorial ?: Maybe < Tutorial > ,
@@ -135,10 +133,9 @@ export type Step = {
135133 __typename ?: 'Step' ,
136134 id : Scalars [ 'ID' ] ,
137135 title : Scalars [ 'String' ] ,
138- description : Scalars [ 'String' ] ,
136+ content : Scalars [ 'String' ] ,
139137 setup : StepActions ,
140138 solution : StepActions ,
141- status : ProgressStatus ,
142139} ;
143140
144141/** Load commits, open files or run commands */
@@ -336,7 +333,6 @@ export type ResolversTypes = {
336333 Sha1 : ResolverTypeWrapper < Scalars [ 'Sha1' ] > ,
337334 Level : ResolverTypeWrapper < Level > ,
338335 Step : ResolverTypeWrapper < Step > ,
339- ProgressStatus : ProgressStatus ,
340336 Boolean : ResolverTypeWrapper < Scalars [ 'Boolean' ] > ,
341337 tutorialRepoInput : TutorialRepoInput ,
342338 Commit : ResolverTypeWrapper < Commit > ,
@@ -374,7 +370,6 @@ export type ResolversParentTypes = {
374370 Sha1 : Scalars [ 'Sha1' ] ,
375371 Level : Level ,
376372 Step : Step ,
377- ProgressStatus : ProgressStatus ,
378373 Boolean : Scalars [ 'Boolean' ] ,
379374 tutorialRepoInput : TutorialRepoInput ,
380375 Commit : Commit ,
@@ -432,9 +427,9 @@ export type LevelResolvers<ContextType = any, ParentType extends ResolversParent
432427 id ?: Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType > ,
433428 title ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
434429 description ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
430+ content ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
435431 steps ?: Resolver < Array < ResolversTypes [ 'Step' ] > , ParentType , ContextType > ,
436432 setup ?: Resolver < Maybe < ResolversTypes [ 'StepActions' ] > , ParentType , ContextType > ,
437- status ?: Resolver < ResolversTypes [ 'ProgressStatus' ] , ParentType , ContextType > ,
438433} ;
439434
440435export type MutationResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'Mutation' ] = ResolversParentTypes [ 'Mutation' ] > = {
@@ -456,10 +451,9 @@ export interface Sha1ScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes
456451export type StepResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'Step' ] = ResolversParentTypes [ 'Step' ] > = {
457452 id ?: Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType > ,
458453 title ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
459- description ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
454+ content ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
460455 setup ?: Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
461456 solution ?: Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
462- status ?: Resolver < ResolversTypes [ 'ProgressStatus' ] , ParentType , ContextType > ,
463457} ;
464458
465459export type StepActionsResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'StepActions' ] = ResolversParentTypes [ 'StepActions' ] > = {
@@ -583,5 +577,4 @@ export interface IntrospectionResultData {
583577 } [ ] ;
584578 } [ ] ;
585579 } ;
586- }
587-
580+ }
0 commit comments