@@ -44,10 +44,11 @@ export type BookIdInput = {
44
44
}
45
45
46
46
export type BookUrlSlugInput = {
47
- url_slug : Scalars [ 'String' ] [ 'input' ]
47
+ book_url_slug : Scalars [ 'String' ] [ 'input' ]
48
48
}
49
49
50
50
export type BuildResult = {
51
+ message ?: Maybe < Scalars [ 'String' ] [ 'output' ] >
51
52
result : Scalars [ 'Boolean' ] [ 'output' ]
52
53
}
53
54
@@ -65,6 +66,7 @@ export type DeletePageInput = {
65
66
}
66
67
67
68
export type DeployResult = {
69
+ message ?: Maybe < Scalars [ 'String' ] [ 'output' ] >
68
70
published_url ?: Maybe < Scalars [ 'String' ] [ 'output' ] >
69
71
}
70
72
@@ -77,6 +79,10 @@ export type GetPagesInput = {
77
79
book_url_slug : Scalars [ 'String' ] [ 'input' ]
78
80
}
79
81
82
+ export type IsDeployInput = {
83
+ book_url_slug : Scalars [ 'String' ] [ 'input' ]
84
+ }
85
+
80
86
export type Mutation = {
81
87
build : BuildResult
82
88
create ?: Maybe < Page >
@@ -132,6 +138,7 @@ export type PageType = 'folder' | 'page' | 'separator'
132
138
133
139
export type Query = {
134
140
book ?: Maybe < Book >
141
+ isDeploy : Scalars [ 'Boolean' ] [ 'output' ]
135
142
page ?: Maybe < Page >
136
143
pages : Array < Page >
137
144
}
@@ -140,6 +147,10 @@ export type QueryBookArgs = {
140
147
input : BookIdInput
141
148
}
142
149
150
+ export type QueryIsDeployArgs = {
151
+ input : IsDeployInput
152
+ }
153
+
143
154
export type QueryPageArgs = {
144
155
input : GetPageInput
145
156
}
@@ -160,20 +171,20 @@ export type SubScriptionPayload = {
160
171
}
161
172
162
173
export type Subscription = {
163
- bookBuildCompleted ?: Maybe < SubScriptionPayload >
164
- bookBuildInstalled ?: Maybe < SubScriptionPayload >
165
- bookDeployCompleted ?: Maybe < SubScriptionPayload >
174
+ buildCompleted ?: Maybe < SubScriptionPayload >
175
+ buildInstalled ?: Maybe < SubScriptionPayload >
176
+ deployCompleted ?: Maybe < SubScriptionPayload >
166
177
}
167
178
168
- export type SubscriptionBookBuildCompletedArgs = {
179
+ export type SubscriptionBuildCompletedArgs = {
169
180
input : BookUrlSlugInput
170
181
}
171
182
172
- export type SubscriptionBookBuildInstalledArgs = {
183
+ export type SubscriptionBuildInstalledArgs = {
173
184
input : BookUrlSlugInput
174
185
}
175
186
176
- export type SubscriptionBookDeployCompletedArgs = {
187
+ export type SubscriptionDeployCompletedArgs = {
177
188
input : BookUrlSlugInput
178
189
}
179
190
@@ -278,7 +289,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
278
289
/** Mapping between all available schema types and the resolvers types */
279
290
export type ResolversTypes = {
280
291
Book : ResolverTypeWrapper < BookModel >
281
- BookIDInput : BookIdInput
292
+ BookIdInput : BookIdInput
282
293
BookUrlSlugInput : BookUrlSlugInput
283
294
Boolean : ResolverTypeWrapper < Scalars [ 'Boolean' ] [ 'output' ] >
284
295
BuildResult : ResolverTypeWrapper < BuildResult >
@@ -290,6 +301,7 @@ export type ResolversTypes = {
290
301
GetPagesInput : GetPagesInput
291
302
ID : ResolverTypeWrapper < Scalars [ 'ID' ] [ 'output' ] >
292
303
Int : ResolverTypeWrapper < Scalars [ 'Int' ] [ 'output' ] >
304
+ IsDeployInput : IsDeployInput
293
305
JSON : ResolverTypeWrapper < Scalars [ 'JSON' ] [ 'output' ] >
294
306
Mutation : ResolverTypeWrapper < { } >
295
307
Page : ResolverTypeWrapper < PageModel >
@@ -308,7 +320,7 @@ export type ResolversTypes = {
308
320
/** Mapping between all available schema types and the resolvers parents */
309
321
export type ResolversParentTypes = {
310
322
Book : BookModel
311
- BookIDInput : BookIdInput
323
+ BookIdInput : BookIdInput
312
324
BookUrlSlugInput : BookUrlSlugInput
313
325
Boolean : Scalars [ 'Boolean' ] [ 'output' ]
314
326
BuildResult : BuildResult
@@ -320,6 +332,7 @@ export type ResolversParentTypes = {
320
332
GetPagesInput : GetPagesInput
321
333
ID : Scalars [ 'ID' ] [ 'output' ]
322
334
Int : Scalars [ 'Int' ] [ 'output' ]
335
+ IsDeployInput : IsDeployInput
323
336
JSON : Scalars [ 'JSON' ] [ 'output' ]
324
337
Mutation : { }
325
338
Page : PageModel
@@ -359,6 +372,7 @@ export type BuildResultResolvers<
359
372
ContextType = GraphQLContext ,
360
373
ParentType extends ResolversParentTypes [ 'BuildResult' ] = ResolversParentTypes [ 'BuildResult' ] ,
361
374
> = {
375
+ message ?: Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType >
362
376
result ?: Resolver < ResolversTypes [ 'Boolean' ] , ParentType , ContextType >
363
377
__isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType >
364
378
}
@@ -371,6 +385,7 @@ export type DeployResultResolvers<
371
385
ContextType = GraphQLContext ,
372
386
ParentType extends ResolversParentTypes [ 'DeployResult' ] = ResolversParentTypes [ 'DeployResult' ] ,
373
387
> = {
388
+ message ?: Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType >
374
389
published_url ?: Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType >
375
390
__isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType >
376
391
}
@@ -458,6 +473,12 @@ export type QueryResolvers<
458
473
ContextType ,
459
474
RequireFields < QueryBookArgs , 'input' >
460
475
>
476
+ isDeploy ?: Resolver <
477
+ ResolversTypes [ 'Boolean' ] ,
478
+ ParentType ,
479
+ ContextType ,
480
+ RequireFields < QueryIsDeployArgs , 'input' >
481
+ >
461
482
page ?: Resolver <
462
483
Maybe < ResolversTypes [ 'Page' ] > ,
463
484
ParentType ,
@@ -485,26 +506,26 @@ export type SubscriptionResolvers<
485
506
ContextType = GraphQLContext ,
486
507
ParentType extends ResolversParentTypes [ 'Subscription' ] = ResolversParentTypes [ 'Subscription' ] ,
487
508
> = {
488
- bookBuildCompleted ?: SubscriptionResolver <
509
+ buildCompleted ?: SubscriptionResolver <
489
510
Maybe < ResolversTypes [ 'SubScriptionPayload' ] > ,
490
- 'bookBuildCompleted ' ,
511
+ 'buildCompleted ' ,
491
512
ParentType ,
492
513
ContextType ,
493
- RequireFields < SubscriptionBookBuildCompletedArgs , 'input' >
514
+ RequireFields < SubscriptionBuildCompletedArgs , 'input' >
494
515
>
495
- bookBuildInstalled ?: SubscriptionResolver <
516
+ buildInstalled ?: SubscriptionResolver <
496
517
Maybe < ResolversTypes [ 'SubScriptionPayload' ] > ,
497
- 'bookBuildInstalled ' ,
518
+ 'buildInstalled ' ,
498
519
ParentType ,
499
520
ContextType ,
500
- RequireFields < SubscriptionBookBuildInstalledArgs , 'input' >
521
+ RequireFields < SubscriptionBuildInstalledArgs , 'input' >
501
522
>
502
- bookDeployCompleted ?: SubscriptionResolver <
523
+ deployCompleted ?: SubscriptionResolver <
503
524
Maybe < ResolversTypes [ 'SubScriptionPayload' ] > ,
504
- 'bookDeployCompleted ' ,
525
+ 'deployCompleted ' ,
505
526
ParentType ,
506
527
ContextType ,
507
- RequireFields < SubscriptionBookDeployCompletedArgs , 'input' >
528
+ RequireFields < SubscriptionDeployCompletedArgs , 'input' >
508
529
>
509
530
}
510
531
0 commit comments