@@ -102,8 +102,6 @@ export type Level = {
102102title :Scalars [ 'String' ]
103103/** A summary of the level */
104104summary :Scalars [ 'String' ]
105- /** Detailed description */
106- description ?:Maybe < Scalars [ 'String' ] >
107105/** The lesson content of the level, parsed as markdown */
108106content :Scalars [ 'String' ]
109107/** Actions run on level start up for configuring setup */
@@ -179,7 +177,6 @@ export type Role = 'ADMIN' | 'EDITOR_USER'
179177export type Step = {
180178__typename ?:'Step'
181179id :Scalars [ 'ID' ]
182- title :Scalars [ 'String' ]
183180content :Scalars [ 'String' ]
184181setup ?:Maybe < Scalars [ 'JSON' ] >
185182solution ?:Maybe < Scalars [ 'JSON' ] >
@@ -191,10 +188,15 @@ export type Tutorial = {
191188id :Scalars [ 'ID' ]
192189createdBy ?:Maybe < User >
193190version :TutorialVersion
194- versions ?: Maybe < Array < TutorialVersion > >
191+ versions : Array < TutorialVersion >
195192summary :TutorialSummary
196193}
197194
195+ /** A tutorial for use in VSCode CodeRoad */
196+ export type TutorialVersionArgs = {
197+ id ?:Maybe < Scalars [ 'String' ] >
198+ }
199+
198200/** Data for tutorial */
199201export type TutorialData = {
200202__typename ?:'TutorialData'
@@ -255,7 +257,6 @@ export type User = {
255257email ?:Maybe < Scalars [ 'String' ] >
256258createdAt :Scalars [ 'DateTime' ]
257259updatedAt :Scalars [ 'DateTime' ]
258- githubUser ?:Maybe < GithubUser >
259260}
260261
261262export type ResolverTypeWrapper < T > = Promise < T > | T
@@ -332,7 +333,6 @@ export type ResolversTypes = {
332333User :ResolverTypeWrapper < User >
333334String :ResolverTypeWrapper < Scalars [ 'String' ] >
334335DateTime :ResolverTypeWrapper < Scalars [ 'DateTime' ] >
335- GithubUser :ResolverTypeWrapper < GithubUser >
336336TutorialVersion :ResolverTypeWrapper < TutorialVersion >
337337TutorialData :ResolverTypeWrapper < TutorialData >
338338JSON :ResolverTypeWrapper < Scalars [ 'JSON' ] >
@@ -355,6 +355,7 @@ export type ResolversTypes = {
355355Role :Role
356356FileFormat :FileFormat
357357tutorialRepoInput :TutorialRepoInput
358+ GithubUser :ResolverTypeWrapper < GithubUser >
358359}
359360
360361/** Mapping between all available schema types and the resolvers parents */
@@ -365,7 +366,6 @@ export type ResolversParentTypes = {
365366User :User
366367String :Scalars [ 'String' ]
367368DateTime :Scalars [ 'DateTime' ]
368- GithubUser :GithubUser
369369TutorialVersion :TutorialVersion
370370TutorialData :TutorialData
371371JSON :Scalars [ 'JSON' ]
@@ -388,6 +388,7 @@ export type ResolversParentTypes = {
388388Role :Role
389389FileFormat :FileFormat
390390tutorialRepoInput :TutorialRepoInput
391+ GithubUser :GithubUser
391392}
392393
393394export type AuthDirectiveResolver <
@@ -435,7 +436,6 @@ export type LevelResolvers<
435436id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType >
436437title ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType >
437438summary ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType >
438- description ?:Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType >
439439content ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType >
440440setup ?:Resolver < Maybe < ResolversTypes [ 'JSON' ] > , ParentType , ContextType >
441441steps ?:Resolver < Array < ResolversTypes [ 'Step' ] > , ParentType , ContextType >
@@ -512,7 +512,6 @@ export type StepResolvers<
512512ParentType extends ResolversParentTypes [ 'Step' ] = ResolversParentTypes [ 'Step' ]
513513> = {
514514id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType >
515- title ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType >
516515content ?:Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType >
517516setup ?:Resolver < Maybe < ResolversTypes [ 'JSON' ] > , ParentType , ContextType >
518517solution ?:Resolver < Maybe < ResolversTypes [ 'JSON' ] > , ParentType , ContextType >
@@ -524,8 +523,8 @@ export type TutorialResolvers<
524523> = {
525524id ?:Resolver < ResolversTypes [ 'ID' ] , ParentType , ContextType >
526525createdBy ?:Resolver < Maybe < ResolversTypes [ 'User' ] > , ParentType , ContextType >
527- version ?:Resolver < ResolversTypes [ 'TutorialVersion' ] , ParentType , ContextType >
528- versions ?:Resolver < Maybe < Array < ResolversTypes [ 'TutorialVersion' ] > > , ParentType , ContextType >
526+ version ?:Resolver < ResolversTypes [ 'TutorialVersion' ] , ParentType , ContextType , TutorialVersionArgs >
527+ versions ?:Resolver < Array < ResolversTypes [ 'TutorialVersion' ] > , ParentType , ContextType >
529528summary ?:Resolver < ResolversTypes [ 'TutorialSummary' ] , ParentType , ContextType >
530529}
531530
@@ -568,7 +567,6 @@ export type UserResolvers<
568567email ?:Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType >
569568createdAt ?:Resolver < ResolversTypes [ 'DateTime' ] , ParentType , ContextType >
570569updatedAt ?:Resolver < ResolversTypes [ 'DateTime' ] , ParentType , ContextType >
571- githubUser ?:Resolver < Maybe < ResolversTypes [ 'GithubUser' ] > , ParentType , ContextType >
572570}
573571
574572export type Resolvers < ContextType = any > = {