@@ -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 = {
5452 editor : Editor ,
@@ -82,7 +80,7 @@ export type Level = {
8280 description : Scalars [ 'String' ] ,
8381 steps : Array < Step > ,
8482 setup ?: Maybe < StepActions > ,
85- status : 'ACTIVE' | 'COMPLETE' | 'INCOMPLETE' ,
83+ status : ProgressStatus ,
8684} ;
8785
8886export type Mutation = {
@@ -103,6 +101,11 @@ export type MutationCreateTutorialVersionArgs = {
103101 input : CreateTutorialVersionInput
104102} ;
105103
104+ export type ProgressStatus =
105+ 'ACTIVE' |
106+ 'COMPLETE' |
107+ 'INCOMPLETE' ;
108+
106109export type Query = {
107110 __typename ?: 'Query' ,
108111 tutorial ?: Maybe < Tutorial > ,
@@ -121,10 +124,9 @@ export type QueryCommitsArgs = {
121124 input : 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 = {
135137 description : Scalars [ 'String' ] ,
136138 setup : StepActions ,
137139 solution : 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 = {
147149 commands ?: 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 = {
334335 Sha1 : ResolverTypeWrapper < Scalars [ 'Sha1' ] > ,
335336 Level : ResolverTypeWrapper < Level > ,
336337 Step : ResolverTypeWrapper < Step > ,
338+ ProgressStatus : ProgressStatus ,
337339 Boolean : ResolverTypeWrapper < Scalars [ 'Boolean' ] > ,
338340 tutorialRepoInput : TutorialRepoInput ,
339341 Commit : ResolverTypeWrapper < Commit > ,
@@ -371,6 +373,7 @@ export type ResolversParentTypes = {
371373 Sha1 : Scalars [ 'Sha1' ] ,
372374 Level : Level ,
373375 Step : Step ,
376+ ProgressStatus : ProgressStatus ,
374377 Boolean : Scalars [ 'Boolean' ] ,
375378 tutorialRepoInput : TutorialRepoInput ,
376379 Commit : Commit ,
@@ -430,6 +433,7 @@ export type LevelResolvers<ContextType = any, ParentType extends ResolversParent
430433 description ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
431434 steps ?: Resolver < Array < ResolversTypes [ 'Step' ] > , ParentType , ContextType > ,
432435 setup ?: 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
454458 description ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ,
455459 setup ?: Resolver < ResolversTypes [ 'StepActions' ] , ParentType , ContextType > ,
456460 solution ?: 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+ }
0 commit comments