@wundergraph/cosmo-connect 0.81.1 → 0.82.1

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.
@@ -102,6 +102,10 @@ export var Unit;
102
102
  * @generated from enum value: TraceID = 6;
103
103
  */
104
104
  Unit[Unit["TraceID"] = 6] = "TraceID";
105
+ /**
106
+ * @generated from enum value: SpanID = 7;
107
+ */
108
+ Unit[Unit["SpanID"] = 7] = "SpanID";
105
109
  })(Unit || (Unit = {}));
106
110
  // Retrieve enum metadata with: proto3.getEnumType(Unit)
107
111
  proto3.util.setEnumType(Unit, "wg.cosmo.platform.v1.Unit", [
@@ -112,6 +116,7 @@ proto3.util.setEnumType(Unit, "wg.cosmo.platform.v1.Unit", [
112
116
  { no: 4, name: "CodeBlock" },
113
117
  { no: 5, name: "StatusCode" },
114
118
  { no: 6, name: "TraceID" },
119
+ { no: 7, name: "SpanID" },
115
120
  ]);
116
121
  /**
117
122
  * @generated from enum wg.cosmo.platform.v1.AnalyticsViewFilterOperator
@@ -1470,6 +1475,61 @@ export class LintIssue extends Message {
1470
1475
  return proto3.util.equals(LintIssue, a, b);
1471
1476
  }
1472
1477
  }
1478
+ /**
1479
+ * @generated from message wg.cosmo.platform.v1.GraphPruningIssue
1480
+ */
1481
+ export class GraphPruningIssue extends Message {
1482
+ /**
1483
+ * @generated from field: string graphPruningRuleType = 1;
1484
+ */
1485
+ graphPruningRuleType = "";
1486
+ /**
1487
+ * @generated from field: wg.cosmo.platform.v1.LintSeverity severity = 2;
1488
+ */
1489
+ severity = LintSeverity.warn;
1490
+ /**
1491
+ * @generated from field: string fieldPath = 3;
1492
+ */
1493
+ fieldPath = "";
1494
+ /**
1495
+ * @generated from field: string message = 4;
1496
+ */
1497
+ message = "";
1498
+ /**
1499
+ * @generated from field: wg.cosmo.platform.v1.LintLocation issueLocation = 5;
1500
+ */
1501
+ issueLocation;
1502
+ /**
1503
+ * @generated from field: string federatedGraphName = 6;
1504
+ */
1505
+ federatedGraphName = "";
1506
+ constructor(data) {
1507
+ super();
1508
+ proto3.util.initPartial(data, this);
1509
+ }
1510
+ static runtime = proto3;
1511
+ static typeName = "wg.cosmo.platform.v1.GraphPruningIssue";
1512
+ static fields = proto3.util.newFieldList(() => [
1513
+ { no: 1, name: "graphPruningRuleType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1514
+ { no: 2, name: "severity", kind: "enum", T: proto3.getEnumType(LintSeverity) },
1515
+ { no: 3, name: "fieldPath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1516
+ { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1517
+ { no: 5, name: "issueLocation", kind: "message", T: LintLocation },
1518
+ { no: 6, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1519
+ ]);
1520
+ static fromBinary(bytes, options) {
1521
+ return new GraphPruningIssue().fromBinary(bytes, options);
1522
+ }
1523
+ static fromJson(jsonValue, options) {
1524
+ return new GraphPruningIssue().fromJson(jsonValue, options);
1525
+ }
1526
+ static fromJsonString(jsonString, options) {
1527
+ return new GraphPruningIssue().fromJsonString(jsonString, options);
1528
+ }
1529
+ static equals(a, b) {
1530
+ return proto3.util.equals(GraphPruningIssue, a, b);
1531
+ }
1532
+ }
1473
1533
  /**
1474
1534
  * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaResponse
1475
1535
  */
@@ -1512,6 +1572,14 @@ export class CheckSubgraphSchemaResponse extends Message {
1512
1572
  * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 9;
1513
1573
  */
1514
1574
  lintErrors = [];
1575
+ /**
1576
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 10;
1577
+ */
1578
+ graphPruneWarnings = [];
1579
+ /**
1580
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 11;
1581
+ */
1582
+ graphPruneErrors = [];
1515
1583
  constructor(data) {
1516
1584
  super();
1517
1585
  proto3.util.initPartial(data, this);
@@ -1528,6 +1596,8 @@ export class CheckSubgraphSchemaResponse extends Message {
1528
1596
  { no: 7, name: "checked_federated_graphs", kind: "message", T: CheckedFederatedGraphs, repeated: true },
1529
1597
  { no: 8, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
1530
1598
  { no: 9, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
1599
+ { no: 10, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
1600
+ { no: 11, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
1531
1601
  ]);
1532
1602
  static fromBinary(bytes, options) {
1533
1603
  return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
@@ -2738,6 +2808,10 @@ export class SchemaCheck extends Message {
2738
2808
  * @generated from field: bool hasLintErrors = 11;
2739
2809
  */
2740
2810
  hasLintErrors = false;
2811
+ /**
2812
+ * @generated from field: bool hasGraphPruningErrors = 12;
2813
+ */
2814
+ hasGraphPruningErrors = false;
2741
2815
  constructor(data) {
2742
2816
  super();
2743
2817
  proto3.util.initPartial(data, this);
@@ -2756,6 +2830,7 @@ export class SchemaCheck extends Message {
2756
2830
  { no: 9, name: "isDeleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2757
2831
  { no: 10, name: "ghDetails", kind: "message", T: SchemaCheck_GhDetails, opt: true },
2758
2832
  { no: 11, name: "hasLintErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2833
+ { no: 12, name: "hasGraphPruningErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2759
2834
  ]);
2760
2835
  static fromBinary(bytes, options) {
2761
2836
  return new SchemaCheck().fromBinary(bytes, options);
@@ -2966,6 +3041,18 @@ export class GetCheckSummaryResponse extends Message {
2966
3041
  * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintIssues = 9;
2967
3042
  */
2968
3043
  lintIssues = [];
3044
+ /**
3045
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruningIssues = 10;
3046
+ */
3047
+ graphPruningIssues = [];
3048
+ /**
3049
+ * @generated from field: bool isLintingEnabled = 11;
3050
+ */
3051
+ isLintingEnabled = false;
3052
+ /**
3053
+ * @generated from field: bool isGraphPruningEnabled = 12;
3054
+ */
3055
+ isGraphPruningEnabled = false;
2969
3056
  constructor(data) {
2970
3057
  super();
2971
3058
  proto3.util.initPartial(data, this);
@@ -2981,6 +3068,9 @@ export class GetCheckSummaryResponse extends Message {
2981
3068
  { no: 7, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2982
3069
  { no: 8, name: "traffic_check_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2983
3070
  { no: 9, name: "lintIssues", kind: "message", T: LintIssue, repeated: true },
3071
+ { no: 10, name: "graphPruningIssues", kind: "message", T: GraphPruningIssue, repeated: true },
3072
+ { no: 11, name: "isLintingEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3073
+ { no: 12, name: "isGraphPruningEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2984
3074
  ]);
2985
3075
  static fromBinary(bytes, options) {
2986
3076
  return new GetCheckSummaryResponse().fromBinary(bytes, options);
@@ -5600,6 +5690,14 @@ export class GetTraceRequest extends Message {
5600
5690
  * @generated from field: string id = 1;
5601
5691
  */
5602
5692
  id = "";
5693
+ /**
5694
+ * @generated from field: string span_id = 2;
5695
+ */
5696
+ spanId = "";
5697
+ /**
5698
+ * @generated from field: string federated_graph_id = 3;
5699
+ */
5700
+ federatedGraphId = "";
5603
5701
  constructor(data) {
5604
5702
  super();
5605
5703
  proto3.util.initPartial(data, this);
@@ -5608,6 +5706,8 @@ export class GetTraceRequest extends Message {
5608
5706
  static typeName = "wg.cosmo.platform.v1.GetTraceRequest";
5609
5707
  static fields = proto3.util.newFieldList(() => [
5610
5708
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5709
+ { no: 2, name: "span_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5710
+ { no: 3, name: "federated_graph_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5611
5711
  ]);
5612
5712
  static fromBinary(bytes, options) {
5613
5713
  return new GetTraceRequest().fromBinary(bytes, options);
@@ -12757,6 +12857,251 @@ export class ConfigureNamespaceLintConfigResponse extends Message {
12757
12857
  return proto3.util.equals(ConfigureNamespaceLintConfigResponse, a, b);
12758
12858
  }
12759
12859
  }
12860
+ /**
12861
+ * @generated from message wg.cosmo.platform.v1.EnableGraphPruningRequest
12862
+ */
12863
+ export class EnableGraphPruningRequest extends Message {
12864
+ /**
12865
+ * @generated from field: string namespace = 1;
12866
+ */
12867
+ namespace = "";
12868
+ /**
12869
+ * @generated from field: bool enableGraphPruning = 2;
12870
+ */
12871
+ enableGraphPruning = false;
12872
+ constructor(data) {
12873
+ super();
12874
+ proto3.util.initPartial(data, this);
12875
+ }
12876
+ static runtime = proto3;
12877
+ static typeName = "wg.cosmo.platform.v1.EnableGraphPruningRequest";
12878
+ static fields = proto3.util.newFieldList(() => [
12879
+ { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12880
+ { no: 2, name: "enableGraphPruning", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
12881
+ ]);
12882
+ static fromBinary(bytes, options) {
12883
+ return new EnableGraphPruningRequest().fromBinary(bytes, options);
12884
+ }
12885
+ static fromJson(jsonValue, options) {
12886
+ return new EnableGraphPruningRequest().fromJson(jsonValue, options);
12887
+ }
12888
+ static fromJsonString(jsonString, options) {
12889
+ return new EnableGraphPruningRequest().fromJsonString(jsonString, options);
12890
+ }
12891
+ static equals(a, b) {
12892
+ return proto3.util.equals(EnableGraphPruningRequest, a, b);
12893
+ }
12894
+ }
12895
+ /**
12896
+ * @generated from message wg.cosmo.platform.v1.EnableGraphPruningResponse
12897
+ */
12898
+ export class EnableGraphPruningResponse extends Message {
12899
+ /**
12900
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
12901
+ */
12902
+ response;
12903
+ constructor(data) {
12904
+ super();
12905
+ proto3.util.initPartial(data, this);
12906
+ }
12907
+ static runtime = proto3;
12908
+ static typeName = "wg.cosmo.platform.v1.EnableGraphPruningResponse";
12909
+ static fields = proto3.util.newFieldList(() => [
12910
+ { no: 1, name: "response", kind: "message", T: Response },
12911
+ ]);
12912
+ static fromBinary(bytes, options) {
12913
+ return new EnableGraphPruningResponse().fromBinary(bytes, options);
12914
+ }
12915
+ static fromJson(jsonValue, options) {
12916
+ return new EnableGraphPruningResponse().fromJson(jsonValue, options);
12917
+ }
12918
+ static fromJsonString(jsonString, options) {
12919
+ return new EnableGraphPruningResponse().fromJsonString(jsonString, options);
12920
+ }
12921
+ static equals(a, b) {
12922
+ return proto3.util.equals(EnableGraphPruningResponse, a, b);
12923
+ }
12924
+ }
12925
+ /**
12926
+ * @generated from message wg.cosmo.platform.v1.GraphPruningConfig
12927
+ */
12928
+ export class GraphPruningConfig extends Message {
12929
+ /**
12930
+ * @generated from field: string ruleName = 1;
12931
+ */
12932
+ ruleName = "";
12933
+ /**
12934
+ * @generated from field: wg.cosmo.platform.v1.LintSeverity severityLevel = 2;
12935
+ */
12936
+ severityLevel = LintSeverity.warn;
12937
+ /**
12938
+ * @generated from field: int32 gracePeriodInDays = 3;
12939
+ */
12940
+ gracePeriodInDays = 0;
12941
+ /**
12942
+ * @generated from field: optional int32 schemaUsageCheckPeriodInDays = 4;
12943
+ */
12944
+ schemaUsageCheckPeriodInDays;
12945
+ constructor(data) {
12946
+ super();
12947
+ proto3.util.initPartial(data, this);
12948
+ }
12949
+ static runtime = proto3;
12950
+ static typeName = "wg.cosmo.platform.v1.GraphPruningConfig";
12951
+ static fields = proto3.util.newFieldList(() => [
12952
+ { no: 1, name: "ruleName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12953
+ { no: 2, name: "severityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
12954
+ { no: 3, name: "gracePeriodInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
12955
+ { no: 4, name: "schemaUsageCheckPeriodInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
12956
+ ]);
12957
+ static fromBinary(bytes, options) {
12958
+ return new GraphPruningConfig().fromBinary(bytes, options);
12959
+ }
12960
+ static fromJson(jsonValue, options) {
12961
+ return new GraphPruningConfig().fromJson(jsonValue, options);
12962
+ }
12963
+ static fromJsonString(jsonString, options) {
12964
+ return new GraphPruningConfig().fromJsonString(jsonString, options);
12965
+ }
12966
+ static equals(a, b) {
12967
+ return proto3.util.equals(GraphPruningConfig, a, b);
12968
+ }
12969
+ }
12970
+ /**
12971
+ * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigRequest
12972
+ */
12973
+ export class ConfigureNamespaceGraphPruningConfigRequest extends Message {
12974
+ /**
12975
+ * @generated from field: string namespace = 1;
12976
+ */
12977
+ namespace = "";
12978
+ /**
12979
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningConfig configs = 2;
12980
+ */
12981
+ configs = [];
12982
+ constructor(data) {
12983
+ super();
12984
+ proto3.util.initPartial(data, this);
12985
+ }
12986
+ static runtime = proto3;
12987
+ static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigRequest";
12988
+ static fields = proto3.util.newFieldList(() => [
12989
+ { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12990
+ { no: 2, name: "configs", kind: "message", T: GraphPruningConfig, repeated: true },
12991
+ ]);
12992
+ static fromBinary(bytes, options) {
12993
+ return new ConfigureNamespaceGraphPruningConfigRequest().fromBinary(bytes, options);
12994
+ }
12995
+ static fromJson(jsonValue, options) {
12996
+ return new ConfigureNamespaceGraphPruningConfigRequest().fromJson(jsonValue, options);
12997
+ }
12998
+ static fromJsonString(jsonString, options) {
12999
+ return new ConfigureNamespaceGraphPruningConfigRequest().fromJsonString(jsonString, options);
13000
+ }
13001
+ static equals(a, b) {
13002
+ return proto3.util.equals(ConfigureNamespaceGraphPruningConfigRequest, a, b);
13003
+ }
13004
+ }
13005
+ /**
13006
+ * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigResponse
13007
+ */
13008
+ export class ConfigureNamespaceGraphPruningConfigResponse extends Message {
13009
+ /**
13010
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13011
+ */
13012
+ response;
13013
+ constructor(data) {
13014
+ super();
13015
+ proto3.util.initPartial(data, this);
13016
+ }
13017
+ static runtime = proto3;
13018
+ static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigResponse";
13019
+ static fields = proto3.util.newFieldList(() => [
13020
+ { no: 1, name: "response", kind: "message", T: Response },
13021
+ ]);
13022
+ static fromBinary(bytes, options) {
13023
+ return new ConfigureNamespaceGraphPruningConfigResponse().fromBinary(bytes, options);
13024
+ }
13025
+ static fromJson(jsonValue, options) {
13026
+ return new ConfigureNamespaceGraphPruningConfigResponse().fromJson(jsonValue, options);
13027
+ }
13028
+ static fromJsonString(jsonString, options) {
13029
+ return new ConfigureNamespaceGraphPruningConfigResponse().fromJsonString(jsonString, options);
13030
+ }
13031
+ static equals(a, b) {
13032
+ return proto3.util.equals(ConfigureNamespaceGraphPruningConfigResponse, a, b);
13033
+ }
13034
+ }
13035
+ /**
13036
+ * @generated from message wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigRequest
13037
+ */
13038
+ export class GetNamespaceGraphPruningConfigRequest extends Message {
13039
+ /**
13040
+ * @generated from field: string namespace = 1;
13041
+ */
13042
+ namespace = "";
13043
+ constructor(data) {
13044
+ super();
13045
+ proto3.util.initPartial(data, this);
13046
+ }
13047
+ static runtime = proto3;
13048
+ static typeName = "wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigRequest";
13049
+ static fields = proto3.util.newFieldList(() => [
13050
+ { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13051
+ ]);
13052
+ static fromBinary(bytes, options) {
13053
+ return new GetNamespaceGraphPruningConfigRequest().fromBinary(bytes, options);
13054
+ }
13055
+ static fromJson(jsonValue, options) {
13056
+ return new GetNamespaceGraphPruningConfigRequest().fromJson(jsonValue, options);
13057
+ }
13058
+ static fromJsonString(jsonString, options) {
13059
+ return new GetNamespaceGraphPruningConfigRequest().fromJsonString(jsonString, options);
13060
+ }
13061
+ static equals(a, b) {
13062
+ return proto3.util.equals(GetNamespaceGraphPruningConfigRequest, a, b);
13063
+ }
13064
+ }
13065
+ /**
13066
+ * @generated from message wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigResponse
13067
+ */
13068
+ export class GetNamespaceGraphPruningConfigResponse extends Message {
13069
+ /**
13070
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13071
+ */
13072
+ response;
13073
+ /**
13074
+ * @generated from field: bool graphPrunerEnabled = 2;
13075
+ */
13076
+ graphPrunerEnabled = false;
13077
+ /**
13078
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningConfig configs = 3;
13079
+ */
13080
+ configs = [];
13081
+ constructor(data) {
13082
+ super();
13083
+ proto3.util.initPartial(data, this);
13084
+ }
13085
+ static runtime = proto3;
13086
+ static typeName = "wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigResponse";
13087
+ static fields = proto3.util.newFieldList(() => [
13088
+ { no: 1, name: "response", kind: "message", T: Response },
13089
+ { no: 2, name: "graphPrunerEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13090
+ { no: 3, name: "configs", kind: "message", T: GraphPruningConfig, repeated: true },
13091
+ ]);
13092
+ static fromBinary(bytes, options) {
13093
+ return new GetNamespaceGraphPruningConfigResponse().fromBinary(bytes, options);
13094
+ }
13095
+ static fromJson(jsonValue, options) {
13096
+ return new GetNamespaceGraphPruningConfigResponse().fromJson(jsonValue, options);
13097
+ }
13098
+ static fromJsonString(jsonString, options) {
13099
+ return new GetNamespaceGraphPruningConfigResponse().fromJsonString(jsonString, options);
13100
+ }
13101
+ static equals(a, b) {
13102
+ return proto3.util.equals(GetNamespaceGraphPruningConfigResponse, a, b);
13103
+ }
13104
+ }
12760
13105
  /**
12761
13106
  * @generated from message wg.cosmo.platform.v1.MigrateMonographRequest
12762
13107
  */