@@ -15,9 +15,8 @@ export type Scalars = {
1515} ;
1616
1717
18- export enum CodingLanguage {
19- Javascript = 'JAVASCRIPT'
20- }
18+ export type CodingLanguage =
19+ 'JAVASCRIPT' ;
2120
2221/** Commits from a Git Repo */
2322export type Commit = {
@@ -46,9 +45,8 @@ export type CreateTutorialVersionOutput = {
4645} ;
4746
4847
49- export enum Editor {
50- Vscode = 'VSCODE'
51- }
48+ export type Editor =
49+ 'VSCODE' ;
5250
5351export type EditorLoginInput = {
5452editor :Editor ,
@@ -82,7 +80,7 @@ export type Level = {
8280description :Scalars [ 'String' ] ,
8381steps :Array < Step > ,
8482setup ?:Maybe < StepActions > ,
85- status :'ACTIVE' | 'COMPLETE' | 'INCOMPLETE' ,
83+ status :ProgressStatus ,
8684} ;
8785
8886export type Mutation = {
@@ -103,6 +101,11 @@ export type MutationCreateTutorialVersionArgs = {
103101input :CreateTutorialVersionInput
104102} ;
105103
104+ export type ProgressStatus =
105+ 'ACTIVE' |
106+ 'COMPLETE' |
107+ 'INCOMPLETE' ;
108+
106109export type Query = {
107110__typename ?:'Query' ,
108111tutorial ?:Maybe < Tutorial > ,
@@ -121,10 +124,9 @@ export type QueryCommitsArgs = {
121124input :TutorialRepoInput
122125} ;
123126
124- export enum Role {
125- Admin = 'ADMIN' ,
126- EditorUser = 'EDITOR_USER'
127- }
127+ export type Role =
128+ 'ADMIN' |
129+ 'EDITOR_USER' ;
128130
129131
130132/** A level task */
@@ -135,7 +137,7 @@ export type Step = {
135137description :Scalars [ 'String' ] ,
136138setup :StepActions ,
137139solution :StepActions ,
138- status :'ACTIVE' | 'COMPLETE' | 'INCOMPLETE' ,
140+ status :ProgressStatus ,
139141} ;
140142
141143/** Load commits, open files or run commands */
@@ -147,9 +149,8 @@ export type StepActions = {
147149commands ?:Maybe < Array < Scalars [ 'String' ] > > ,
148150} ;
149151
150- export enum TestRunner {
151- Jest = 'JEST'
152- }
152+ export type TestRunner =
153+ 'JEST' ;
153154
154155/** A tutorial for use in VSCode CodeRoad */
155156export type Tutorial = {
@@ -334,6 +335,7 @@ export type ResolversTypes = {
334335Sha1 :ResolverTypeWrapper < Scalars [ 'Sha1' ] > ,
335336Level :ResolverTypeWrapper < Level > ,
336337Step :ResolverTypeWrapper < Step > ,
338+ ProgressStatus :ProgressStatus ,
337339Boolean :ResolverTypeWrapper < Scalars [ 'Boolean' ] > ,
338340tutorialRepoInput :TutorialRepoInput ,
339341Commit :ResolverTypeWrapper < Commit > ,
@@ -371,6 +373,7 @@ export type ResolversParentTypes = {
371373Sha1 :Scalars [ 'Sha1' ] ,
372374Level :Level ,
373375Step :Step ,
376+ ProgressStatus :ProgressStatus ,
374377Boolean :Scalars [ 'Boolean' ] ,
375378tutorialRepoInput :TutorialRepoInput ,
376379Commit :Commit ,
@@ -430,6 +433,7 @@ export type LevelResolvers<ContextType = any, ParentType extends ResolversParent
430433description ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
431434steps ?:Resolver < Array < ResolversTypes [ 'Step' ] > , ParentType , ContextType > ,
432435setup ?:Resolver < Maybe < ResolversTypes [ 'StepActions' ] > , ParentType , ContextType > ,
436+ status ?:Resolver < ResolversTypes [ 'ProgressStatus' ] , ParentType , ContextType > ,
433437} ;
434438
435439export type MutationResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'Mutation' ] = ResolversParentTypes [ 'Mutation' ] > = {
@@ -454,6 +458,7 @@ export type StepResolvers<ContextType = any, ParentType extends ResolversParentT
454458description ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
455459setup ?:Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
456460solution ?:Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
461+ status ?:Resolver < ResolversTypes [ 'ProgressStatus' ] , ParentType , ContextType > ,
457462} ;
458463
459464export type StepActionsResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'StepActions' ] = ResolversParentTypes [ 'StepActions' ] > = {
@@ -564,4 +569,17 @@ export type DirectiveResolvers<ContextType = any> = {
564569*@deprecated
565570* Use "DirectiveResolvers" root object instead. If you wish to get "IDirectiveResolvers", add "typesPrefix: I" to your config.
566571*/
567- export type IDirectiveResolvers < ContextType = any > = DirectiveResolvers < ContextType > ;
572+ export type IDirectiveResolvers < ContextType = any > = DirectiveResolvers < ContextType > ;
573+
574+
575+ export interface IntrospectionResultData {
576+ __schema :{
577+ types :{
578+ kind :string ;
579+ name :string ;
580+ possibleTypes :{
581+ name :string ;
582+ } [ ] ;
583+ } [ ] ;
584+ } ;
585+ }