@wundergraph/cosmo-connect 0.116.0 → 0.118.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.
@@ -1860,6 +1860,18 @@ export class CheckSubgraphSchemaResponse extends Message {
1860
1860
  * @generated from field: optional string proposalMatchMessage = 14;
1861
1861
  */
1862
1862
  proposalMatchMessage;
1863
+ /**
1864
+ * If true, it means the traffic check failed for the linked check
1865
+ *
1866
+ * @generated from field: optional bool isLinkedTrafficCheckFailed = 15;
1867
+ */
1868
+ isLinkedTrafficCheckFailed;
1869
+ /**
1870
+ * If true, it means the graph pruning check failed for the linked check
1871
+ *
1872
+ * @generated from field: optional bool isLinkedPruningCheckFailed = 16;
1873
+ */
1874
+ isLinkedPruningCheckFailed;
1863
1875
  constructor(data) {
1864
1876
  super();
1865
1877
  proto3.util.initPartial(data, this);
@@ -1881,6 +1893,8 @@ export class CheckSubgraphSchemaResponse extends Message {
1881
1893
  { no: 12, name: "client_traffic_check_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1882
1894
  { no: 13, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
1883
1895
  { no: 14, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1896
+ { no: 15, name: "isLinkedTrafficCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1897
+ { no: 16, name: "isLinkedPruningCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1884
1898
  ]);
1885
1899
  static fromBinary(bytes, options) {
1886
1900
  return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
@@ -2879,6 +2893,10 @@ export class GetSubgraphByNameResponse extends Message {
2879
2893
  * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMember members = 3;
2880
2894
  */
2881
2895
  members = [];
2896
+ /**
2897
+ * @generated from field: optional wg.cosmo.platform.v1.GetSubgraphByNameResponse.LinkedSubgraph linkedSubgraph = 4;
2898
+ */
2899
+ linkedSubgraph;
2882
2900
  constructor(data) {
2883
2901
  super();
2884
2902
  proto3.util.initPartial(data, this);
@@ -2889,6 +2907,7 @@ export class GetSubgraphByNameResponse extends Message {
2889
2907
  { no: 1, name: "response", kind: "message", T: Response },
2890
2908
  { no: 2, name: "graph", kind: "message", T: Subgraph },
2891
2909
  { no: 3, name: "members", kind: "message", T: SubgraphMember, repeated: true },
2910
+ { no: 4, name: "linkedSubgraph", kind: "message", T: GetSubgraphByNameResponse_LinkedSubgraph, opt: true },
2892
2911
  ]);
2893
2912
  static fromBinary(bytes, options) {
2894
2913
  return new GetSubgraphByNameResponse().fromBinary(bytes, options);
@@ -2903,6 +2922,46 @@ export class GetSubgraphByNameResponse extends Message {
2903
2922
  return proto3.util.equals(GetSubgraphByNameResponse, a, b);
2904
2923
  }
2905
2924
  }
2925
+ /**
2926
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphByNameResponse.LinkedSubgraph
2927
+ */
2928
+ export class GetSubgraphByNameResponse_LinkedSubgraph extends Message {
2929
+ /**
2930
+ * @generated from field: string id = 1;
2931
+ */
2932
+ id = "";
2933
+ /**
2934
+ * @generated from field: string name = 2;
2935
+ */
2936
+ name = "";
2937
+ /**
2938
+ * @generated from field: string namespace = 3;
2939
+ */
2940
+ namespace = "";
2941
+ constructor(data) {
2942
+ super();
2943
+ proto3.util.initPartial(data, this);
2944
+ }
2945
+ static runtime = proto3;
2946
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphByNameResponse.LinkedSubgraph";
2947
+ static fields = proto3.util.newFieldList(() => [
2948
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2949
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2950
+ { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2951
+ ]);
2952
+ static fromBinary(bytes, options) {
2953
+ return new GetSubgraphByNameResponse_LinkedSubgraph().fromBinary(bytes, options);
2954
+ }
2955
+ static fromJson(jsonValue, options) {
2956
+ return new GetSubgraphByNameResponse_LinkedSubgraph().fromJson(jsonValue, options);
2957
+ }
2958
+ static fromJsonString(jsonString, options) {
2959
+ return new GetSubgraphByNameResponse_LinkedSubgraph().fromJsonString(jsonString, options);
2960
+ }
2961
+ static equals(a, b) {
2962
+ return proto3.util.equals(GetSubgraphByNameResponse_LinkedSubgraph, a, b);
2963
+ }
2964
+ }
2906
2965
  /**
2907
2966
  * @generated from message wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionRequest
2908
2967
  */
@@ -3236,6 +3295,10 @@ export class SchemaCheck extends Message {
3236
3295
  * @generated from field: optional string errorMessage = 21;
3237
3296
  */
3238
3297
  errorMessage;
3298
+ /**
3299
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck.LinkedCheck linkedChecks = 22;
3300
+ */
3301
+ linkedChecks = [];
3239
3302
  constructor(data) {
3240
3303
  super();
3241
3304
  proto3.util.initPartial(data, this);
@@ -3264,6 +3327,7 @@ export class SchemaCheck extends Message {
3264
3327
  { no: 19, name: "composition_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3265
3328
  { no: 20, name: "breaking_changes_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3266
3329
  { no: 21, name: "errorMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3330
+ { no: 22, name: "linkedChecks", kind: "message", T: SchemaCheck_LinkedCheck, repeated: true },
3267
3331
  ]);
3268
3332
  static fromBinary(bytes, options) {
3269
3333
  return new SchemaCheck().fromBinary(bytes, options);
@@ -3377,6 +3441,81 @@ export class SchemaCheck_CheckedSubgraph extends Message {
3377
3441
  return proto3.util.equals(SchemaCheck_CheckedSubgraph, a, b);
3378
3442
  }
3379
3443
  }
3444
+ /**
3445
+ * @generated from message wg.cosmo.platform.v1.SchemaCheck.LinkedCheck
3446
+ */
3447
+ export class SchemaCheck_LinkedCheck extends Message {
3448
+ /**
3449
+ * @generated from field: string id = 1;
3450
+ */
3451
+ id = "";
3452
+ /**
3453
+ * @generated from field: repeated string affectedGraphNames = 2;
3454
+ */
3455
+ affectedGraphNames = [];
3456
+ /**
3457
+ * @generated from field: bool isCheckSuccessful = 3;
3458
+ */
3459
+ isCheckSuccessful = false;
3460
+ /**
3461
+ * @generated from field: bool hasClientTraffic = 4;
3462
+ */
3463
+ hasClientTraffic = false;
3464
+ /**
3465
+ * @generated from field: bool hasGraphPruningErrors = 5;
3466
+ */
3467
+ hasGraphPruningErrors = false;
3468
+ /**
3469
+ * @generated from field: bool clientTrafficCheckSkipped = 6;
3470
+ */
3471
+ clientTrafficCheckSkipped = false;
3472
+ /**
3473
+ * @generated from field: bool graphPruningCheckSkipped = 7;
3474
+ */
3475
+ graphPruningCheckSkipped = false;
3476
+ /**
3477
+ * @generated from field: repeated string subgraphNames = 8;
3478
+ */
3479
+ subgraphNames = [];
3480
+ /**
3481
+ * @generated from field: string namespace = 9;
3482
+ */
3483
+ namespace = "";
3484
+ /**
3485
+ * @generated from field: bool isForcedSuccess = 10;
3486
+ */
3487
+ isForcedSuccess = false;
3488
+ constructor(data) {
3489
+ super();
3490
+ proto3.util.initPartial(data, this);
3491
+ }
3492
+ static runtime = proto3;
3493
+ static typeName = "wg.cosmo.platform.v1.SchemaCheck.LinkedCheck";
3494
+ static fields = proto3.util.newFieldList(() => [
3495
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3496
+ { no: 2, name: "affectedGraphNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3497
+ { no: 3, name: "isCheckSuccessful", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3498
+ { no: 4, name: "hasClientTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3499
+ { no: 5, name: "hasGraphPruningErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3500
+ { no: 6, name: "clientTrafficCheckSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3501
+ { no: 7, name: "graphPruningCheckSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3502
+ { no: 8, name: "subgraphNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3503
+ { no: 9, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3504
+ { no: 10, name: "isForcedSuccess", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3505
+ ]);
3506
+ static fromBinary(bytes, options) {
3507
+ return new SchemaCheck_LinkedCheck().fromBinary(bytes, options);
3508
+ }
3509
+ static fromJson(jsonValue, options) {
3510
+ return new SchemaCheck_LinkedCheck().fromJson(jsonValue, options);
3511
+ }
3512
+ static fromJsonString(jsonString, options) {
3513
+ return new SchemaCheck_LinkedCheck().fromJsonString(jsonString, options);
3514
+ }
3515
+ static equals(a, b) {
3516
+ return proto3.util.equals(SchemaCheck_LinkedCheck, a, b);
3517
+ }
3518
+ }
3380
3519
  /**
3381
3520
  * @generated from message wg.cosmo.platform.v1.GetChecksByFederatedGraphNameResponse
3382
3521
  */
@@ -3607,6 +3746,26 @@ export class GetCheckSummaryResponse_AffectedGraph extends Message {
3607
3746
  * @generated from field: bool isCheckSuccessful = 4;
3608
3747
  */
3609
3748
  isCheckSuccessful = false;
3749
+ /**
3750
+ * @generated from field: bool isComposable = 5;
3751
+ */
3752
+ isComposable = false;
3753
+ /**
3754
+ * @generated from field: bool isBreaking = 6;
3755
+ */
3756
+ isBreaking = false;
3757
+ /**
3758
+ * @generated from field: bool hasClientTraffic = 7;
3759
+ */
3760
+ hasClientTraffic = false;
3761
+ /**
3762
+ * @generated from field: bool hasLintErrors = 8;
3763
+ */
3764
+ hasLintErrors = false;
3765
+ /**
3766
+ * @generated from field: bool hasGraphPruningErrors = 9;
3767
+ */
3768
+ hasGraphPruningErrors = false;
3610
3769
  constructor(data) {
3611
3770
  super();
3612
3771
  proto3.util.initPartial(data, this);
@@ -3618,6 +3777,11 @@ export class GetCheckSummaryResponse_AffectedGraph extends Message {
3618
3777
  { no: 2, name: "traffic_check_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
3619
3778
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3620
3779
  { no: 4, name: "isCheckSuccessful", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3780
+ { no: 5, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3781
+ { no: 6, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3782
+ { no: 7, name: "hasClientTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3783
+ { no: 8, name: "hasLintErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3784
+ { no: 9, name: "hasGraphPruningErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3621
3785
  ]);
3622
3786
  static fromBinary(bytes, options) {
3623
3787
  return new GetCheckSummaryResponse_AffectedGraph().fromBinary(bytes, options);
@@ -17292,6 +17456,18 @@ export class CreateProposalResponse extends Message {
17292
17456
  * @generated from field: string proposalName = 17;
17293
17457
  */
17294
17458
  proposalName = "";
17459
+ /**
17460
+ * If true, it means the traffic check failed for the linked check
17461
+ *
17462
+ * @generated from field: optional bool isLinkedTrafficCheckFailed = 18;
17463
+ */
17464
+ isLinkedTrafficCheckFailed;
17465
+ /**
17466
+ * If true, it means the graph pruning check failed for the linked check
17467
+ *
17468
+ * @generated from field: optional bool isLinkedPruningCheckFailed = 19;
17469
+ */
17470
+ isLinkedPruningCheckFailed;
17295
17471
  constructor(data) {
17296
17472
  super();
17297
17473
  proto3.util.initPartial(data, this);
@@ -17316,6 +17492,8 @@ export class CreateProposalResponse extends Message {
17316
17492
  { no: 15, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17317
17493
  { no: 16, name: "proposalUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17318
17494
  { no: 17, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17495
+ { no: 18, name: "isLinkedTrafficCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
17496
+ { no: 19, name: "isLinkedPruningCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
17319
17497
  ]);
17320
17498
  static fromBinary(bytes, options) {
17321
17499
  return new CreateProposalResponse().fromBinary(bytes, options);
@@ -17756,6 +17934,18 @@ export class UpdateProposalResponse extends Message {
17756
17934
  * @generated from field: string checkUrl = 14;
17757
17935
  */
17758
17936
  checkUrl = "";
17937
+ /**
17938
+ * If true, it means the traffic check failed for the linked check
17939
+ *
17940
+ * @generated from field: optional bool isLinkedTrafficCheckFailed = 15;
17941
+ */
17942
+ isLinkedTrafficCheckFailed;
17943
+ /**
17944
+ * If true, it means the graph pruning check failed for the linked check
17945
+ *
17946
+ * @generated from field: optional bool isLinkedPruningCheckFailed = 16;
17947
+ */
17948
+ isLinkedPruningCheckFailed;
17759
17949
  constructor(data) {
17760
17950
  super();
17761
17951
  proto3.util.initPartial(data, this);
@@ -17777,6 +17967,8 @@ export class UpdateProposalResponse extends Message {
17777
17967
  { no: 12, name: "lintingSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
17778
17968
  { no: 13, name: "graphPruningSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
17779
17969
  { no: 14, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17970
+ { no: 15, name: "isLinkedTrafficCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
17971
+ { no: 16, name: "isLinkedPruningCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
17780
17972
  ]);
17781
17973
  static fromBinary(bytes, options) {
17782
17974
  return new UpdateProposalResponse().fromBinary(bytes, options);
@@ -18340,4 +18532,144 @@ export class ValidateAndFetchPluginDataResponse extends Message {
18340
18532
  return proto3.util.equals(ValidateAndFetchPluginDataResponse, a, b);
18341
18533
  }
18342
18534
  }
18535
+ /**
18536
+ * @generated from message wg.cosmo.platform.v1.LinkSubgraphRequest
18537
+ */
18538
+ export class LinkSubgraphRequest extends Message {
18539
+ /**
18540
+ * @generated from field: string sourceSubgraphName = 1;
18541
+ */
18542
+ sourceSubgraphName = "";
18543
+ /**
18544
+ * @generated from field: string sourceSubgraphNamespace = 2;
18545
+ */
18546
+ sourceSubgraphNamespace = "";
18547
+ /**
18548
+ * @generated from field: string targetSubgraphName = 3;
18549
+ */
18550
+ targetSubgraphName = "";
18551
+ /**
18552
+ * @generated from field: string targetSubgraphNamespace = 4;
18553
+ */
18554
+ targetSubgraphNamespace = "";
18555
+ constructor(data) {
18556
+ super();
18557
+ proto3.util.initPartial(data, this);
18558
+ }
18559
+ static runtime = proto3;
18560
+ static typeName = "wg.cosmo.platform.v1.LinkSubgraphRequest";
18561
+ static fields = proto3.util.newFieldList(() => [
18562
+ { no: 1, name: "sourceSubgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18563
+ { no: 2, name: "sourceSubgraphNamespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18564
+ { no: 3, name: "targetSubgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18565
+ { no: 4, name: "targetSubgraphNamespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18566
+ ]);
18567
+ static fromBinary(bytes, options) {
18568
+ return new LinkSubgraphRequest().fromBinary(bytes, options);
18569
+ }
18570
+ static fromJson(jsonValue, options) {
18571
+ return new LinkSubgraphRequest().fromJson(jsonValue, options);
18572
+ }
18573
+ static fromJsonString(jsonString, options) {
18574
+ return new LinkSubgraphRequest().fromJsonString(jsonString, options);
18575
+ }
18576
+ static equals(a, b) {
18577
+ return proto3.util.equals(LinkSubgraphRequest, a, b);
18578
+ }
18579
+ }
18580
+ /**
18581
+ * @generated from message wg.cosmo.platform.v1.LinkSubgraphResponse
18582
+ */
18583
+ export class LinkSubgraphResponse extends Message {
18584
+ /**
18585
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
18586
+ */
18587
+ response;
18588
+ constructor(data) {
18589
+ super();
18590
+ proto3.util.initPartial(data, this);
18591
+ }
18592
+ static runtime = proto3;
18593
+ static typeName = "wg.cosmo.platform.v1.LinkSubgraphResponse";
18594
+ static fields = proto3.util.newFieldList(() => [
18595
+ { no: 1, name: "response", kind: "message", T: Response },
18596
+ ]);
18597
+ static fromBinary(bytes, options) {
18598
+ return new LinkSubgraphResponse().fromBinary(bytes, options);
18599
+ }
18600
+ static fromJson(jsonValue, options) {
18601
+ return new LinkSubgraphResponse().fromJson(jsonValue, options);
18602
+ }
18603
+ static fromJsonString(jsonString, options) {
18604
+ return new LinkSubgraphResponse().fromJsonString(jsonString, options);
18605
+ }
18606
+ static equals(a, b) {
18607
+ return proto3.util.equals(LinkSubgraphResponse, a, b);
18608
+ }
18609
+ }
18610
+ /**
18611
+ * @generated from message wg.cosmo.platform.v1.UnlinkSubgraphRequest
18612
+ */
18613
+ export class UnlinkSubgraphRequest extends Message {
18614
+ /**
18615
+ * @generated from field: string sourceSubgraphName = 1;
18616
+ */
18617
+ sourceSubgraphName = "";
18618
+ /**
18619
+ * @generated from field: string sourceSubgraphNamespace = 2;
18620
+ */
18621
+ sourceSubgraphNamespace = "";
18622
+ constructor(data) {
18623
+ super();
18624
+ proto3.util.initPartial(data, this);
18625
+ }
18626
+ static runtime = proto3;
18627
+ static typeName = "wg.cosmo.platform.v1.UnlinkSubgraphRequest";
18628
+ static fields = proto3.util.newFieldList(() => [
18629
+ { no: 1, name: "sourceSubgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18630
+ { no: 2, name: "sourceSubgraphNamespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18631
+ ]);
18632
+ static fromBinary(bytes, options) {
18633
+ return new UnlinkSubgraphRequest().fromBinary(bytes, options);
18634
+ }
18635
+ static fromJson(jsonValue, options) {
18636
+ return new UnlinkSubgraphRequest().fromJson(jsonValue, options);
18637
+ }
18638
+ static fromJsonString(jsonString, options) {
18639
+ return new UnlinkSubgraphRequest().fromJsonString(jsonString, options);
18640
+ }
18641
+ static equals(a, b) {
18642
+ return proto3.util.equals(UnlinkSubgraphRequest, a, b);
18643
+ }
18644
+ }
18645
+ /**
18646
+ * @generated from message wg.cosmo.platform.v1.UnlinkSubgraphResponse
18647
+ */
18648
+ export class UnlinkSubgraphResponse extends Message {
18649
+ /**
18650
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
18651
+ */
18652
+ response;
18653
+ constructor(data) {
18654
+ super();
18655
+ proto3.util.initPartial(data, this);
18656
+ }
18657
+ static runtime = proto3;
18658
+ static typeName = "wg.cosmo.platform.v1.UnlinkSubgraphResponse";
18659
+ static fields = proto3.util.newFieldList(() => [
18660
+ { no: 1, name: "response", kind: "message", T: Response },
18661
+ ]);
18662
+ static fromBinary(bytes, options) {
18663
+ return new UnlinkSubgraphResponse().fromBinary(bytes, options);
18664
+ }
18665
+ static fromJson(jsonValue, options) {
18666
+ return new UnlinkSubgraphResponse().fromJson(jsonValue, options);
18667
+ }
18668
+ static fromJsonString(jsonString, options) {
18669
+ return new UnlinkSubgraphResponse().fromJsonString(jsonString, options);
18670
+ }
18671
+ static equals(a, b) {
18672
+ return proto3.util.equals(UnlinkSubgraphResponse, a, b);
18673
+ }
18674
+ }
18343
18675
  //# sourceMappingURL=platform_pb.js.map