@wundergraph/cosmo-connect 0.131.0 → 0.133.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,6 +1495,61 @@ export class SchemaChange extends Message {
1495
1495
  return proto3.util.equals(SchemaChange, a, b);
1496
1496
  }
1497
1497
  }
1498
+ /**
1499
+ * @generated from message wg.cosmo.platform.v1.FederatedGraphSchemaChange
1500
+ */
1501
+ export class FederatedGraphSchemaChange extends Message {
1502
+ /**
1503
+ * @generated from field: string message = 1;
1504
+ */
1505
+ message = "";
1506
+ /**
1507
+ * @generated from field: string changeType = 2;
1508
+ */
1509
+ changeType = "";
1510
+ /**
1511
+ * @generated from field: optional string path = 3;
1512
+ */
1513
+ path;
1514
+ /**
1515
+ * @generated from field: bool isBreaking = 4;
1516
+ */
1517
+ isBreaking = false;
1518
+ /**
1519
+ * @generated from field: string federatedGraphName = 5;
1520
+ */
1521
+ federatedGraphName = "";
1522
+ /**
1523
+ * @generated from field: optional bool hasOverride = 6;
1524
+ */
1525
+ hasOverride;
1526
+ constructor(data) {
1527
+ super();
1528
+ proto3.util.initPartial(data, this);
1529
+ }
1530
+ static runtime = proto3;
1531
+ static typeName = "wg.cosmo.platform.v1.FederatedGraphSchemaChange";
1532
+ static fields = proto3.util.newFieldList(() => [
1533
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1534
+ { no: 2, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1535
+ { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1536
+ { no: 4, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1537
+ { no: 5, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1538
+ { no: 6, name: "hasOverride", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1539
+ ]);
1540
+ static fromBinary(bytes, options) {
1541
+ return new FederatedGraphSchemaChange().fromBinary(bytes, options);
1542
+ }
1543
+ static fromJson(jsonValue, options) {
1544
+ return new FederatedGraphSchemaChange().fromJson(jsonValue, options);
1545
+ }
1546
+ static fromJsonString(jsonString, options) {
1547
+ return new FederatedGraphSchemaChange().fromJsonString(jsonString, options);
1548
+ }
1549
+ static equals(a, b) {
1550
+ return proto3.util.equals(FederatedGraphSchemaChange, a, b);
1551
+ }
1552
+ }
1498
1553
  /**
1499
1554
  * @generated from message wg.cosmo.platform.v1.CompositionError
1500
1555
  */
@@ -1956,6 +2011,12 @@ export class CheckSubgraphSchemaResponse extends Message {
1956
2011
  * @generated from field: optional wg.cosmo.platform.v1.SchemaCheckCounts counts = 19;
1957
2012
  */
1958
2013
  counts;
2014
+ /**
2015
+ * Breaking changes detected in the composed federated graph schema (not subgraph level)
2016
+ *
2017
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphSchemaChange composedSchemaBreakingChanges = 20;
2018
+ */
2019
+ composedSchemaBreakingChanges = [];
1959
2020
  constructor(data) {
1960
2021
  super();
1961
2022
  proto3.util.initPartial(data, this);
@@ -1982,6 +2043,7 @@ export class CheckSubgraphSchemaResponse extends Message {
1982
2043
  { no: 17, name: "isCheckExtensionSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1983
2044
  { no: 18, name: "checkExtensionErrorMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1984
2045
  { no: 19, name: "counts", kind: "message", T: SchemaCheckCounts, opt: true },
2046
+ { no: 20, name: "composedSchemaBreakingChanges", kind: "message", T: FederatedGraphSchemaChange, repeated: true },
1985
2047
  ]);
1986
2048
  static fromBinary(bytes, options) {
1987
2049
  return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
@@ -2032,6 +2094,10 @@ export class SchemaCheckCounts extends Message {
2032
2094
  * @generated from field: int32 graphPruneWarnings = 8;
2033
2095
  */
2034
2096
  graphPruneWarnings = 0;
2097
+ /**
2098
+ * @generated from field: int32 composedSchemaBreakingChanges = 9;
2099
+ */
2100
+ composedSchemaBreakingChanges = 0;
2035
2101
  constructor(data) {
2036
2102
  super();
2037
2103
  proto3.util.initPartial(data, this);
@@ -2047,6 +2113,7 @@ export class SchemaCheckCounts extends Message {
2047
2113
  { no: 6, name: "compositionWarnings", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2048
2114
  { no: 7, name: "graphPruneErrors", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2049
2115
  { no: 8, name: "graphPruneWarnings", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2116
+ { no: 9, name: "composedSchemaBreakingChanges", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2050
2117
  ]);
2051
2118
  static fromBinary(bytes, options) {
2052
2119
  return new SchemaCheckCounts().fromBinary(bytes, options);
@@ -3853,6 +3920,10 @@ export class GetCheckSummaryResponse extends Message {
3853
3920
  * @generated from field: bool isProposalsEnabled = 15;
3854
3921
  */
3855
3922
  isProposalsEnabled = false;
3923
+ /**
3924
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphSchemaChange composedSchemaBreakingChanges = 16;
3925
+ */
3926
+ composedSchemaBreakingChanges = [];
3856
3927
  constructor(data) {
3857
3928
  super();
3858
3929
  proto3.util.initPartial(data, this);
@@ -3874,6 +3945,7 @@ export class GetCheckSummaryResponse extends Message {
3874
3945
  { no: 13, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3875
3946
  { no: 14, name: "proposalMatches", kind: "message", T: GetCheckSummaryResponse_ProposalSchemaMatch, repeated: true },
3876
3947
  { no: 15, name: "isProposalsEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3948
+ { no: 16, name: "composedSchemaBreakingChanges", kind: "message", T: FederatedGraphSchemaChange, repeated: true },
3877
3949
  ]);
3878
3950
  static fromBinary(bytes, options) {
3879
3951
  return new GetCheckSummaryResponse().fromBinary(bytes, options);
@@ -7934,6 +8006,261 @@ export class PublishPersistedOperationsResponse extends Message {
7934
8006
  return proto3.util.equals(PublishPersistedOperationsResponse, a, b);
7935
8007
  }
7936
8008
  }
8009
+ /**
8010
+ * @generated from message wg.cosmo.platform.v1.DeletePersistedOperationRequest
8011
+ */
8012
+ export class DeletePersistedOperationRequest extends Message {
8013
+ /**
8014
+ * @generated from field: string fedGraphName = 1;
8015
+ */
8016
+ fedGraphName = "";
8017
+ /**
8018
+ * @generated from field: string namespace = 2;
8019
+ */
8020
+ namespace = "";
8021
+ /**
8022
+ * @generated from field: string clientName = 3;
8023
+ */
8024
+ clientName = "";
8025
+ /**
8026
+ * @generated from field: string operationId = 4;
8027
+ */
8028
+ operationId = "";
8029
+ constructor(data) {
8030
+ super();
8031
+ proto3.util.initPartial(data, this);
8032
+ }
8033
+ static runtime = proto3;
8034
+ static typeName = "wg.cosmo.platform.v1.DeletePersistedOperationRequest";
8035
+ static fields = proto3.util.newFieldList(() => [
8036
+ { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8037
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8038
+ { no: 3, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8039
+ { no: 4, name: "operationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8040
+ ]);
8041
+ static fromBinary(bytes, options) {
8042
+ return new DeletePersistedOperationRequest().fromBinary(bytes, options);
8043
+ }
8044
+ static fromJson(jsonValue, options) {
8045
+ return new DeletePersistedOperationRequest().fromJson(jsonValue, options);
8046
+ }
8047
+ static fromJsonString(jsonString, options) {
8048
+ return new DeletePersistedOperationRequest().fromJsonString(jsonString, options);
8049
+ }
8050
+ static equals(a, b) {
8051
+ return proto3.util.equals(DeletePersistedOperationRequest, a, b);
8052
+ }
8053
+ }
8054
+ /**
8055
+ * @generated from message wg.cosmo.platform.v1.DeletePersistedOperationResponse
8056
+ */
8057
+ export class DeletePersistedOperationResponse extends Message {
8058
+ /**
8059
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
8060
+ */
8061
+ response;
8062
+ /**
8063
+ * @generated from field: wg.cosmo.platform.v1.DeletePersistedOperationResponse.Operation operation = 2;
8064
+ */
8065
+ operation;
8066
+ constructor(data) {
8067
+ super();
8068
+ proto3.util.initPartial(data, this);
8069
+ }
8070
+ static runtime = proto3;
8071
+ static typeName = "wg.cosmo.platform.v1.DeletePersistedOperationResponse";
8072
+ static fields = proto3.util.newFieldList(() => [
8073
+ { no: 1, name: "response", kind: "message", T: Response },
8074
+ { no: 2, name: "operation", kind: "message", T: DeletePersistedOperationResponse_Operation },
8075
+ ]);
8076
+ static fromBinary(bytes, options) {
8077
+ return new DeletePersistedOperationResponse().fromBinary(bytes, options);
8078
+ }
8079
+ static fromJson(jsonValue, options) {
8080
+ return new DeletePersistedOperationResponse().fromJson(jsonValue, options);
8081
+ }
8082
+ static fromJsonString(jsonString, options) {
8083
+ return new DeletePersistedOperationResponse().fromJsonString(jsonString, options);
8084
+ }
8085
+ static equals(a, b) {
8086
+ return proto3.util.equals(DeletePersistedOperationResponse, a, b);
8087
+ }
8088
+ }
8089
+ /**
8090
+ * @generated from message wg.cosmo.platform.v1.DeletePersistedOperationResponse.Operation
8091
+ */
8092
+ export class DeletePersistedOperationResponse_Operation extends Message {
8093
+ /**
8094
+ * @generated from field: string id = 1;
8095
+ */
8096
+ id = "";
8097
+ /**
8098
+ * @generated from field: string operationId = 2;
8099
+ */
8100
+ operationId = "";
8101
+ /**
8102
+ * @generated from field: string clientName = 3;
8103
+ */
8104
+ clientName = "";
8105
+ /**
8106
+ * @generated from field: repeated string operationNames = 4;
8107
+ */
8108
+ operationNames = [];
8109
+ constructor(data) {
8110
+ super();
8111
+ proto3.util.initPartial(data, this);
8112
+ }
8113
+ static runtime = proto3;
8114
+ static typeName = "wg.cosmo.platform.v1.DeletePersistedOperationResponse.Operation";
8115
+ static fields = proto3.util.newFieldList(() => [
8116
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8117
+ { no: 2, name: "operationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8118
+ { no: 3, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8119
+ { no: 4, name: "operationNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8120
+ ]);
8121
+ static fromBinary(bytes, options) {
8122
+ return new DeletePersistedOperationResponse_Operation().fromBinary(bytes, options);
8123
+ }
8124
+ static fromJson(jsonValue, options) {
8125
+ return new DeletePersistedOperationResponse_Operation().fromJson(jsonValue, options);
8126
+ }
8127
+ static fromJsonString(jsonString, options) {
8128
+ return new DeletePersistedOperationResponse_Operation().fromJsonString(jsonString, options);
8129
+ }
8130
+ static equals(a, b) {
8131
+ return proto3.util.equals(DeletePersistedOperationResponse_Operation, a, b);
8132
+ }
8133
+ }
8134
+ /**
8135
+ * @generated from message wg.cosmo.platform.v1.CheckPersistedOperationTrafficRequest
8136
+ */
8137
+ export class CheckPersistedOperationTrafficRequest extends Message {
8138
+ /**
8139
+ * @generated from field: string fedGraphName = 1;
8140
+ */
8141
+ fedGraphName = "";
8142
+ /**
8143
+ * @generated from field: string namespace = 2;
8144
+ */
8145
+ namespace = "";
8146
+ /**
8147
+ * @generated from field: string operationId = 3;
8148
+ */
8149
+ operationId = "";
8150
+ /**
8151
+ * @generated from field: string clientName = 4;
8152
+ */
8153
+ clientName = "";
8154
+ constructor(data) {
8155
+ super();
8156
+ proto3.util.initPartial(data, this);
8157
+ }
8158
+ static runtime = proto3;
8159
+ static typeName = "wg.cosmo.platform.v1.CheckPersistedOperationTrafficRequest";
8160
+ static fields = proto3.util.newFieldList(() => [
8161
+ { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8162
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8163
+ { no: 3, name: "operationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8164
+ { no: 4, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8165
+ ]);
8166
+ static fromBinary(bytes, options) {
8167
+ return new CheckPersistedOperationTrafficRequest().fromBinary(bytes, options);
8168
+ }
8169
+ static fromJson(jsonValue, options) {
8170
+ return new CheckPersistedOperationTrafficRequest().fromJson(jsonValue, options);
8171
+ }
8172
+ static fromJsonString(jsonString, options) {
8173
+ return new CheckPersistedOperationTrafficRequest().fromJsonString(jsonString, options);
8174
+ }
8175
+ static equals(a, b) {
8176
+ return proto3.util.equals(CheckPersistedOperationTrafficRequest, a, b);
8177
+ }
8178
+ }
8179
+ /**
8180
+ * @generated from message wg.cosmo.platform.v1.CheckPersistedOperationTrafficResponse
8181
+ */
8182
+ export class CheckPersistedOperationTrafficResponse extends Message {
8183
+ /**
8184
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
8185
+ */
8186
+ response;
8187
+ /**
8188
+ * @generated from field: wg.cosmo.platform.v1.CheckPersistedOperationTrafficResponse.Operation operation = 2;
8189
+ */
8190
+ operation;
8191
+ constructor(data) {
8192
+ super();
8193
+ proto3.util.initPartial(data, this);
8194
+ }
8195
+ static runtime = proto3;
8196
+ static typeName = "wg.cosmo.platform.v1.CheckPersistedOperationTrafficResponse";
8197
+ static fields = proto3.util.newFieldList(() => [
8198
+ { no: 1, name: "response", kind: "message", T: Response },
8199
+ { no: 2, name: "operation", kind: "message", T: CheckPersistedOperationTrafficResponse_Operation },
8200
+ ]);
8201
+ static fromBinary(bytes, options) {
8202
+ return new CheckPersistedOperationTrafficResponse().fromBinary(bytes, options);
8203
+ }
8204
+ static fromJson(jsonValue, options) {
8205
+ return new CheckPersistedOperationTrafficResponse().fromJson(jsonValue, options);
8206
+ }
8207
+ static fromJsonString(jsonString, options) {
8208
+ return new CheckPersistedOperationTrafficResponse().fromJsonString(jsonString, options);
8209
+ }
8210
+ static equals(a, b) {
8211
+ return proto3.util.equals(CheckPersistedOperationTrafficResponse, a, b);
8212
+ }
8213
+ }
8214
+ /**
8215
+ * @generated from message wg.cosmo.platform.v1.CheckPersistedOperationTrafficResponse.Operation
8216
+ */
8217
+ export class CheckPersistedOperationTrafficResponse_Operation extends Message {
8218
+ /**
8219
+ * @generated from field: string id = 1;
8220
+ */
8221
+ id = "";
8222
+ /**
8223
+ * @generated from field: string operationId = 2;
8224
+ */
8225
+ operationId = "";
8226
+ /**
8227
+ * @generated from field: string clientName = 3;
8228
+ */
8229
+ clientName = "";
8230
+ /**
8231
+ * @generated from field: repeated string operationNames = 4;
8232
+ */
8233
+ operationNames = [];
8234
+ /**
8235
+ * @generated from field: bool hasTraffic = 5;
8236
+ */
8237
+ hasTraffic = false;
8238
+ constructor(data) {
8239
+ super();
8240
+ proto3.util.initPartial(data, this);
8241
+ }
8242
+ static runtime = proto3;
8243
+ static typeName = "wg.cosmo.platform.v1.CheckPersistedOperationTrafficResponse.Operation";
8244
+ static fields = proto3.util.newFieldList(() => [
8245
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8246
+ { no: 2, name: "operationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8247
+ { no: 3, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8248
+ { no: 4, name: "operationNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8249
+ { no: 5, name: "hasTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
8250
+ ]);
8251
+ static fromBinary(bytes, options) {
8252
+ return new CheckPersistedOperationTrafficResponse_Operation().fromBinary(bytes, options);
8253
+ }
8254
+ static fromJson(jsonValue, options) {
8255
+ return new CheckPersistedOperationTrafficResponse_Operation().fromJson(jsonValue, options);
8256
+ }
8257
+ static fromJsonString(jsonString, options) {
8258
+ return new CheckPersistedOperationTrafficResponse_Operation().fromJsonString(jsonString, options);
8259
+ }
8260
+ static equals(a, b) {
8261
+ return proto3.util.equals(CheckPersistedOperationTrafficResponse_Operation, a, b);
8262
+ }
8263
+ }
7937
8264
  /**
7938
8265
  * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsRequest
7939
8266
  */