66// GraphQL mutation operation: CheckPartialSchema
77// ====================================================
88
9- export interface CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph {
10- __typename : "CompositionResult " ;
9+ export interface CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph_compositionConfig {
10+ __typename : "CompositionConfig " ;
1111 /**
1212 * Hash of the composed schema
1313 */
1414 schemaHash : string ;
1515}
1616
17+ export interface CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph_errors {
18+ __typename : "SchemaCompositionError" ;
19+ message : string ;
20+ }
21+
22+ export interface CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph_warnings {
23+ __typename : "SchemaCompositionWarning" ;
24+ message : string ;
25+ }
26+
27+ export interface CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph {
28+ __typename : "CompositionResult" ;
29+ /**
30+ * The produced composition config. Will be null if there are any errors
31+ */
32+ compositionConfig : CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph_compositionConfig | null ;
33+ /**
34+ * List of errors during composition. Errors mean that Apollo was unable to compose the
35+ * graph's implementing services into a GraphQL schema. This partial schema should not be
36+ * published to the implementing service if there were any errors encountered
37+ */
38+ errors : ( CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph_errors | null ) [ ] ;
39+ /**
40+ * List of warnings encountered during composing implementing services into a complete schema.
41+ * Though a schema was composed for the graph with the proposed partial schema,
42+ * these warnings may indicate undesired behavior or lost information. We recommend that no service
43+ * is pushed with warnings that are not fully understood. Pushing an implementing service with warnings
44+ * in its composition result will result in updating the composition config.
45+ */
46+ warnings : ( CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph_warnings | null ) [ ] ;
47+ /**
48+ * Whether the gateway link was updated.
49+ */
50+ didUpdateGateway : boolean ;
51+ }
52+
1753export interface CheckPartialSchema_service {
1854 __typename : "ServiceMutation" ;
1955 /**
@@ -60,7 +96,7 @@ export interface CheckSchema_service_checkSchema_diffToPrevious_changes {
6096 /**
6197 * Indication of the success of the overall change, either failure, warning, or notice.
6298 */
63- type : ChangeType ;
99+ type : ChangeSeverity ;
64100 /**
65101 * Indication of the kind of target and action of the change, e.g. 'TYPE_REMOVED'.
66102 */
@@ -88,7 +124,10 @@ export interface CheckSchema_service_checkSchema_diffToPrevious_validationConfig
88124
89125export interface CheckSchema_service_checkSchema_diffToPrevious {
90126 __typename : "SchemaDiff" ;
91- type : ChangeType ;
127+ /**
128+ * Indication of the success of the change, either failure, warning, or notice.
129+ */
130+ type : ChangeSeverity ;
92131 /**
93132 * Clients affected by all changes in diff
94133 */
@@ -296,14 +335,54 @@ export interface SchemaTagsAndFieldStatsVariables {
296335// GraphQL mutation operation: UploadAndComposePartialSchema
297336// ====================================================
298337
299- export interface UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition {
300- __typename : "CompositionResult " ;
338+ export interface UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition_compositionConfig {
339+ __typename : "CompositionConfig " ;
301340 /**
302341 * Hash of the composed schema
303342 */
304343 schemaHash : string ;
305344}
306345
346+ export interface UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition_errors {
347+ __typename : "SchemaCompositionError" ;
348+ message : string ;
349+ }
350+
351+ export interface UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition_warnings {
352+ __typename : "SchemaCompositionWarning" ;
353+ message : string ;
354+ }
355+
356+ export interface UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition {
357+ __typename : "CompositionAndUpsertResult" ;
358+ /**
359+ * The produced composition config. Will be null if there are any errors
360+ */
361+ compositionConfig : UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition_compositionConfig | null ;
362+ /**
363+ * List of errors during composition. Errors mean that Apollo was unable to compose the
364+ * graph's implementing services into a GraphQL schema. This partial schema should not be
365+ * published to the implementing service if there were any errors encountered
366+ */
367+ errors : ( UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition_errors | null ) [ ] ;
368+ /**
369+ * List of warnings encountered during composing implementing services into a complete schema.
370+ * Though a schema was composed for the graph with the proposed partial schema,
371+ * these warnings may indicate undesired behavior or lost information. We recommend that no service
372+ * is pushed with warnings that are not fully understood. Pushing an implementing service with warnings
373+ * in its composition result will result in updating the composition config.
374+ */
375+ warnings : ( UploadAndComposePartialSchema_service_upsertImplementingServiceAndTriggerComposition_warnings | null ) [ ] ;
376+ /**
377+ * Whether the gateway link was updated.
378+ */
379+ didUpdateGateway : boolean ;
380+ /**
381+ * Whether an implementingService was created as part of this mutation
382+ */
383+ serviceWasCreated : boolean ;
384+ }
385+
307386export interface UploadAndComposePartialSchema_service {
308387 __typename : "ServiceMutation" ;
309388 /**
@@ -328,7 +407,7 @@ export interface UploadAndComposePartialSchemaVariables {
328407 graphVariant : string ;
329408 name : string ;
330409 url : string ;
331- sha : string ;
410+ revision : string ;
332411 activePartialSchema : PartialSchemaInput ;
333412}
334413
@@ -1364,7 +1443,7 @@ export interface IntrospectionTypeRef {
13641443// START Enums and Input Objects
13651444//==============================================================
13661445
1367- export enum ChangeType {
1446+ export enum ChangeSeverity {
13681447 FAILURE = "FAILURE" ,
13691448 NOTICE = "NOTICE" ,
13701449 WARNING = "WARNING" ,
0 commit comments