@@ -54,11 +54,11 @@ export interface CheckPartialSchema_service {
5454 __typename : "ServiceMutation" ;
5555 /**
5656 * This mutation will not result in any changes to the implementing service
57- *
57+ *
5858 * Run composition with the Implementing Service's partial schema replaced with the one provided
5959 * in the mutation's input. Store the composed schema, return the hash of the composed schema,
6060 * and any warnings and errors pertaining to composition.
61- *
61+ *
6262 * This mutation will not run validation against operations.
6363 */
6464 validatePartialSchemaOfImplementingServiceAgainstGraph : CheckPartialSchema_service_validatePartialSchemaOfImplementingServiceAgainstGraph ;
@@ -167,11 +167,11 @@ export interface CheckSchema_service {
167167 /**
168168 * Validate, diff, and store a schema so the diff can be viewed by users in the UI.
169169 * This mutation will not mark the schema as "published".
170- *
170+ *
171171 * One of "proposedSchema" or "proposedSchemaHash" must be provided.
172172 * If both are provided, the computed schema hash will be compared with the input hash,
173173 * an error will be returned if the hashes don't match.
174- *
174+ *
175175 * If the "proposedSchemaHash" is specified, the already stored schema will be loaded.
176176 */
177177 checkSchema : CheckSchema_service_checkSchema ;
@@ -218,6 +218,106 @@ export interface RegisterOperationsVariables {
218218/* eslint-disable */
219219// This file was automatically generated and should not be edited.
220220
221+ // ====================================================
222+ // GraphQL mutation operation: RemoveServiceAndCompose
223+ // ====================================================
224+
225+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_compositionConfig_implementingServices {
226+ __typename : "FederatedImplementingService" ;
227+ /**
228+ * Identifies which graph this implementing service belongs to.
229+ * Formerly known as "service_id"
230+ */
231+ graphID : string ;
232+ /**
233+ * Specifies which variant of a graph this implementing service belongs to".
234+ * Formerly known as "tag"
235+ */
236+ graphVariant : string ;
237+ name : string ;
238+ path : string ;
239+ }
240+
241+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_compositionConfig {
242+ __typename : "CompositionConfig" ;
243+ /**
244+ * List of implementing services that comprise a composed graph
245+ */
246+ implementingServices : RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_compositionConfig_implementingServices [ ] ;
247+ }
248+
249+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_errors_location {
250+ __typename : "SourceLocation" ;
251+ column : number ;
252+ line : number ;
253+ }
254+
255+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_errors {
256+ __typename : "SchemaCompositionError" ;
257+ location : RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_errors_location ;
258+ message : string ;
259+ }
260+
261+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_warnings_location {
262+ __typename : "SourceLocation" ;
263+ column : number ;
264+ line : number ;
265+ }
266+
267+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_warnings {
268+ __typename : "SchemaCompositionWarning" ;
269+ location : RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_warnings_location ;
270+ message : string ;
271+ }
272+
273+ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition {
274+ __typename : "CompositionResult" ;
275+ /**
276+ * The produced composition config. Will be null if there are any errors
277+ */
278+ compositionConfig : RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_compositionConfig | null ;
279+ /**
280+ * List of errors during composition. Errors mean that Apollo was unable to compose the
281+ * graph's implementing services into a GraphQL schema. This partial schema should not be
282+ * published to the implementing service if there were any errors encountered
283+ */
284+ errors : ( RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_errors | null ) [ ] ;
285+ /**
286+ * List of warnings encountered during composing implementing services into a complete schema.
287+ * Though a schema was composed for the graph with the proposed partial schema,
288+ * these warnings may indicate undesired behavior or lost information. We recommend that no service
289+ * is pushed with warnings that are not fully understood. Pushing an implementing service with warnings
290+ * in its composition result will result in updating the composition config.
291+ */
292+ warnings : ( RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_warnings | null ) [ ] ;
293+ /**
294+ * Whether the gateway link was updated.
295+ */
296+ updatedGateway : boolean ;
297+ }
298+
299+ export interface RemoveServiceAndCompose_service {
300+ __typename : "ServiceMutation" ;
301+ /**
302+ * Remove an implementing service from a graph and update its service list manifest
303+ */
304+ removeImplementingServiceAndTriggerComposition : RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition ;
305+ }
306+
307+ export interface RemoveServiceAndCompose {
308+ service : RemoveServiceAndCompose_service | null ;
309+ }
310+
311+ export interface RemoveServiceAndComposeVariables {
312+ id : string ;
313+ graphVariant : string ;
314+ name : string ;
315+ }
316+
317+ /* tslint:disable */
318+ /* eslint-disable */
319+ // This file was automatically generated and should not be edited.
320+
221321// ====================================================
222322// GraphQL query operation: SchemaTagInfo
223323// ====================================================
@@ -388,10 +488,10 @@ export interface UploadAndComposePartialSchema_service {
388488 /**
389489 * Creates or updates an implementing service of a given "name" on the graph variant, then
390490 * updates the graph variant's composition configs/artifacts to reflect these changes.
391- *
491+ *
392492 * An enriched SDL of the implementing service can be uploaded
393493 * via "implementingServiceConfiguration.partialSchema.partialSchemaSDL".
394- *
494+ *
395495 * Alternatively, previously uploaded partial schema could be re-associated with the
396496 * implementing service via "implementingServiceConfiguration.partialSchema.partialSchemaHash".
397497 */
@@ -1595,10 +1695,10 @@ export interface OperationDocumentInput {
15951695/**
15961696 * Input for registering a partial schema to an implementing service.
15971697 * One of the fields must be specified (validated server-side).
1598- *
1698+ *
15991699 * If a new partialSchemaSDL is passed in, this operation will store it before
16001700 * creating the association.
1601- *
1701+ *
16021702 * If both the sdl and hash are specified, an error will be thrown if the provided
16031703 * hash doesn't match our hash of the sdl contents
16041704 */
0 commit comments