@@ -76,12 +76,15 @@ export type GithubUser = {
76
76
export type Level = {
77
77
__typename ?:'Level' ,
78
78
id :Scalars [ 'ID' ] ,
79
- index ?:number
80
79
title :Scalars [ 'String' ] ,
80
+ /** A summary of the level */
81
81
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 */
82
85
steps :Array < Step > ,
86
+ /** Actions run on level start up for configuring setup */
83
87
setup ?:Maybe < StepActions > ,
84
- status :ProgressStatus ,
85
88
} ;
86
89
87
90
export type Mutation = {
@@ -102,11 +105,6 @@ export type MutationCreateTutorialVersionArgs = {
102
105
input :CreateTutorialVersionInput
103
106
} ;
104
107
105
- export type ProgressStatus =
106
- 'ACTIVE' |
107
- 'COMPLETE' |
108
- 'INCOMPLETE' ;
109
-
110
108
export type Query = {
111
109
__typename ?:'Query' ,
112
110
tutorial ?:Maybe < Tutorial > ,
@@ -135,10 +133,9 @@ export type Step = {
135
133
__typename ?:'Step' ,
136
134
id :Scalars [ 'ID' ] ,
137
135
title :Scalars [ 'String' ] ,
138
- description :Scalars [ 'String' ] ,
136
+ content :Scalars [ 'String' ] ,
139
137
setup :StepActions ,
140
138
solution :StepActions ,
141
- status :ProgressStatus ,
142
139
} ;
143
140
144
141
/** Load commits, open files or run commands */
@@ -336,7 +333,6 @@ export type ResolversTypes = {
336
333
Sha1 :ResolverTypeWrapper < Scalars [ 'Sha1' ] > ,
337
334
Level :ResolverTypeWrapper < Level > ,
338
335
Step :ResolverTypeWrapper < Step > ,
339
- ProgressStatus :ProgressStatus ,
340
336
Boolean :ResolverTypeWrapper < Scalars [ 'Boolean' ] > ,
341
337
tutorialRepoInput :TutorialRepoInput ,
342
338
Commit :ResolverTypeWrapper < Commit > ,
@@ -374,7 +370,6 @@ export type ResolversParentTypes = {
374
370
Sha1 :Scalars [ 'Sha1' ] ,
375
371
Level :Level ,
376
372
Step :Step ,
377
- ProgressStatus :ProgressStatus ,
378
373
Boolean :Scalars [ 'Boolean' ] ,
379
374
tutorialRepoInput :TutorialRepoInput ,
380
375
Commit :Commit ,
@@ -432,9 +427,9 @@ export type LevelResolvers<ContextType = any, ParentType extends ResolversParent
432
427
id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType > ,
433
428
title ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
434
429
description ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
430
+ content ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
435
431
steps ?:Resolver < Array < ResolversTypes [ 'Step' ] > , ParentType , ContextType > ,
436
432
setup ?:Resolver < Maybe < ResolversTypes [ 'StepActions' ] > , ParentType , ContextType > ,
437
- status ?:Resolver < ResolversTypes [ 'ProgressStatus' ] , ParentType , ContextType > ,
438
433
} ;
439
434
440
435
export type MutationResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'Mutation' ] = ResolversParentTypes [ 'Mutation' ] > = {
@@ -456,10 +451,9 @@ export interface Sha1ScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes
456
451
export type StepResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'Step' ] = ResolversParentTypes [ 'Step' ] > = {
457
452
id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType > ,
458
453
title ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
459
- description ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
454
+ content ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
460
455
setup ?:Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
461
456
solution ?:Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
462
- status ?:Resolver < ResolversTypes [ 'ProgressStatus' ] , ParentType , ContextType > ,
463
457
} ;
464
458
465
459
export type StepActionsResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'StepActions' ] = ResolversParentTypes [ 'StepActions' ] > = {
@@ -583,5 +577,4 @@ export interface IntrospectionResultData {
583
577
} [ ] ;
584
578
} [ ] ;
585
579
} ;
586
- }
587
-
580
+ }