@@ -76,12 +76,15 @@ export type GithubUser = {
7676export type Level = {
7777__typename ?:'Level' ,
7878id :Scalars [ 'ID' ] ,
79- index ?:number
8079title :Scalars [ 'String' ] ,
80+ /** A summary of the level */
8181description :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 */
8285steps :Array < Step > ,
86+ /** Actions run on level start up for configuring setup */
8387setup ?:Maybe < StepActions > ,
84- status :ProgressStatus ,
8588} ;
8689
8790export type Mutation = {
@@ -102,11 +105,6 @@ export type MutationCreateTutorialVersionArgs = {
102105input :CreateTutorialVersionInput
103106} ;
104107
105- export type ProgressStatus =
106- 'ACTIVE' |
107- 'COMPLETE' |
108- 'INCOMPLETE' ;
109-
110108export type Query = {
111109__typename ?:'Query' ,
112110tutorial ?:Maybe < Tutorial > ,
@@ -135,10 +133,9 @@ export type Step = {
135133__typename ?:'Step' ,
136134id :Scalars [ 'ID' ] ,
137135title :Scalars [ 'String' ] ,
138- description :Scalars [ 'String' ] ,
136+ content :Scalars [ 'String' ] ,
139137setup :StepActions ,
140138solution :StepActions ,
141- status :ProgressStatus ,
142139} ;
143140
144141/** Load commits, open files or run commands */
@@ -336,7 +333,6 @@ export type ResolversTypes = {
336333Sha1 :ResolverTypeWrapper < Scalars [ 'Sha1' ] > ,
337334Level :ResolverTypeWrapper < Level > ,
338335Step :ResolverTypeWrapper < Step > ,
339- ProgressStatus :ProgressStatus ,
340336Boolean :ResolverTypeWrapper < Scalars [ 'Boolean' ] > ,
341337tutorialRepoInput :TutorialRepoInput ,
342338Commit :ResolverTypeWrapper < Commit > ,
@@ -374,7 +370,6 @@ export type ResolversParentTypes = {
374370Sha1 :Scalars [ 'Sha1' ] ,
375371Level :Level ,
376372Step :Step ,
377- ProgressStatus :ProgressStatus ,
378373Boolean :Scalars [ 'Boolean' ] ,
379374tutorialRepoInput :TutorialRepoInput ,
380375Commit :Commit ,
@@ -432,9 +427,9 @@ export type LevelResolvers<ContextType = any, ParentType extends ResolversParent
432427id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType > ,
433428title ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
434429description ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
430+ content ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
435431steps ?:Resolver < Array < ResolversTypes [ 'Step' ] > , ParentType , ContextType > ,
436432setup ?: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' ] > = {
457452id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType > ,
458453title ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
459- description ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
454+ content ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
460455setup ?:Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
461456solution ?: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+ }