@wundergraph/cosmo-connect 0.132.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.
|
@@ -1029,6 +1029,43 @@ export declare class SchemaChange extends Message<SchemaChange> {
|
|
|
1029
1029
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SchemaChange;
|
|
1030
1030
|
static equals(a: SchemaChange | PlainMessage<SchemaChange> | undefined, b: SchemaChange | PlainMessage<SchemaChange> | undefined): boolean;
|
|
1031
1031
|
}
|
|
1032
|
+
/**
|
|
1033
|
+
* @generated from message wg.cosmo.platform.v1.FederatedGraphSchemaChange
|
|
1034
|
+
*/
|
|
1035
|
+
export declare class FederatedGraphSchemaChange extends Message<FederatedGraphSchemaChange> {
|
|
1036
|
+
/**
|
|
1037
|
+
* @generated from field: string message = 1;
|
|
1038
|
+
*/
|
|
1039
|
+
message: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* @generated from field: string changeType = 2;
|
|
1042
|
+
*/
|
|
1043
|
+
changeType: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* @generated from field: optional string path = 3;
|
|
1046
|
+
*/
|
|
1047
|
+
path?: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* @generated from field: bool isBreaking = 4;
|
|
1050
|
+
*/
|
|
1051
|
+
isBreaking: boolean;
|
|
1052
|
+
/**
|
|
1053
|
+
* @generated from field: string federatedGraphName = 5;
|
|
1054
|
+
*/
|
|
1055
|
+
federatedGraphName: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* @generated from field: optional bool hasOverride = 6;
|
|
1058
|
+
*/
|
|
1059
|
+
hasOverride?: boolean;
|
|
1060
|
+
constructor(data?: PartialMessage<FederatedGraphSchemaChange>);
|
|
1061
|
+
static readonly runtime: typeof proto3;
|
|
1062
|
+
static readonly typeName = "wg.cosmo.platform.v1.FederatedGraphSchemaChange";
|
|
1063
|
+
static readonly fields: FieldList;
|
|
1064
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FederatedGraphSchemaChange;
|
|
1065
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FederatedGraphSchemaChange;
|
|
1066
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FederatedGraphSchemaChange;
|
|
1067
|
+
static equals(a: FederatedGraphSchemaChange | PlainMessage<FederatedGraphSchemaChange> | undefined, b: FederatedGraphSchemaChange | PlainMessage<FederatedGraphSchemaChange> | undefined): boolean;
|
|
1068
|
+
}
|
|
1032
1069
|
/**
|
|
1033
1070
|
* @generated from message wg.cosmo.platform.v1.CompositionError
|
|
1034
1071
|
*/
|
|
@@ -1359,6 +1396,12 @@ export declare class CheckSubgraphSchemaResponse extends Message<CheckSubgraphSc
|
|
|
1359
1396
|
* @generated from field: optional wg.cosmo.platform.v1.SchemaCheckCounts counts = 19;
|
|
1360
1397
|
*/
|
|
1361
1398
|
counts?: SchemaCheckCounts;
|
|
1399
|
+
/**
|
|
1400
|
+
* Breaking changes detected in the composed federated graph schema (not subgraph level)
|
|
1401
|
+
*
|
|
1402
|
+
* @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphSchemaChange composedSchemaBreakingChanges = 20;
|
|
1403
|
+
*/
|
|
1404
|
+
composedSchemaBreakingChanges: FederatedGraphSchemaChange[];
|
|
1362
1405
|
constructor(data?: PartialMessage<CheckSubgraphSchemaResponse>);
|
|
1363
1406
|
static readonly runtime: typeof proto3;
|
|
1364
1407
|
static readonly typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemaResponse";
|
|
@@ -1404,6 +1447,10 @@ export declare class SchemaCheckCounts extends Message<SchemaCheckCounts> {
|
|
|
1404
1447
|
* @generated from field: int32 graphPruneWarnings = 8;
|
|
1405
1448
|
*/
|
|
1406
1449
|
graphPruneWarnings: number;
|
|
1450
|
+
/**
|
|
1451
|
+
* @generated from field: int32 composedSchemaBreakingChanges = 9;
|
|
1452
|
+
*/
|
|
1453
|
+
composedSchemaBreakingChanges: number;
|
|
1407
1454
|
constructor(data?: PartialMessage<SchemaCheckCounts>);
|
|
1408
1455
|
static readonly runtime: typeof proto3;
|
|
1409
1456
|
static readonly typeName = "wg.cosmo.platform.v1.SchemaCheckCounts";
|
|
@@ -2615,6 +2662,10 @@ export declare class GetCheckSummaryResponse extends Message<GetCheckSummaryResp
|
|
|
2615
2662
|
* @generated from field: bool isProposalsEnabled = 15;
|
|
2616
2663
|
*/
|
|
2617
2664
|
isProposalsEnabled: boolean;
|
|
2665
|
+
/**
|
|
2666
|
+
* @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphSchemaChange composedSchemaBreakingChanges = 16;
|
|
2667
|
+
*/
|
|
2668
|
+
composedSchemaBreakingChanges: FederatedGraphSchemaChange[];
|
|
2618
2669
|
constructor(data?: PartialMessage<GetCheckSummaryResponse>);
|
|
2619
2670
|
static readonly runtime: typeof proto3;
|
|
2620
2671
|
static readonly typeName = "wg.cosmo.platform.v1.GetCheckSummaryResponse";
|
|
@@ -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);
|