@wundergraph/cosmo-connect 0.57.0 → 0.59.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.
@@ -31,6 +31,25 @@ proto3.util.setEnumType(AnalyticsViewGroupName, "wg.cosmo.platform.v1.AnalyticsV
31
31
  { no: 2, name: "Client" },
32
32
  { no: 3, name: "HttpStatusCode" },
33
33
  ]);
34
+ /**
35
+ * @generated from enum wg.cosmo.platform.v1.CustomOptions
36
+ */
37
+ export var CustomOptions;
38
+ (function (CustomOptions) {
39
+ /**
40
+ * @generated from enum value: Text = 0;
41
+ */
42
+ CustomOptions[CustomOptions["Text"] = 0] = "Text";
43
+ /**
44
+ * @generated from enum value: Range = 1;
45
+ */
46
+ CustomOptions[CustomOptions["Range"] = 1] = "Range";
47
+ })(CustomOptions || (CustomOptions = {}));
48
+ // Retrieve enum metadata with: proto3.getEnumType(CustomOptions)
49
+ proto3.util.setEnumType(CustomOptions, "wg.cosmo.platform.v1.CustomOptions", [
50
+ { no: 0, name: "Text" },
51
+ { no: 1, name: "Range" },
52
+ ]);
34
53
  /**
35
54
  * @generated from enum wg.cosmo.platform.v1.Unit
36
55
  */
@@ -936,6 +955,51 @@ export class CheckOperationUsageStats extends Message {
936
955
  return proto3.util.equals(CheckOperationUsageStats, a, b);
937
956
  }
938
957
  }
958
+ /**
959
+ * @generated from message wg.cosmo.platform.v1.CheckedFederatedGraphs
960
+ */
961
+ export class CheckedFederatedGraphs extends Message {
962
+ /**
963
+ * @generated from field: string id = 1;
964
+ */
965
+ id = "";
966
+ /**
967
+ * @generated from field: string name = 2;
968
+ */
969
+ name = "";
970
+ /**
971
+ * @generated from field: string namespace = 3;
972
+ */
973
+ namespace = "";
974
+ /**
975
+ * @generated from field: string organization_slug = 4;
976
+ */
977
+ organizationSlug = "";
978
+ constructor(data) {
979
+ super();
980
+ proto3.util.initPartial(data, this);
981
+ }
982
+ static runtime = proto3;
983
+ static typeName = "wg.cosmo.platform.v1.CheckedFederatedGraphs";
984
+ static fields = proto3.util.newFieldList(() => [
985
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
986
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
987
+ { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
988
+ { no: 4, name: "organization_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
989
+ ]);
990
+ static fromBinary(bytes, options) {
991
+ return new CheckedFederatedGraphs().fromBinary(bytes, options);
992
+ }
993
+ static fromJson(jsonValue, options) {
994
+ return new CheckedFederatedGraphs().fromJson(jsonValue, options);
995
+ }
996
+ static fromJsonString(jsonString, options) {
997
+ return new CheckedFederatedGraphs().fromJsonString(jsonString, options);
998
+ }
999
+ static equals(a, b) {
1000
+ return proto3.util.equals(CheckedFederatedGraphs, a, b);
1001
+ }
1002
+ }
939
1003
  /**
940
1004
  * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaResponse
941
1005
  */
@@ -963,6 +1027,14 @@ export class CheckSubgraphSchemaResponse extends Message {
963
1027
  * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 5;
964
1028
  */
965
1029
  operationUsageStats;
1030
+ /**
1031
+ * @generated from field: string check_id = 6;
1032
+ */
1033
+ checkId = "";
1034
+ /**
1035
+ * @generated from field: repeated wg.cosmo.platform.v1.CheckedFederatedGraphs checked_federated_graphs = 7;
1036
+ */
1037
+ checkedFederatedGraphs = [];
966
1038
  constructor(data) {
967
1039
  super();
968
1040
  proto3.util.initPartial(data, this);
@@ -975,6 +1047,8 @@ export class CheckSubgraphSchemaResponse extends Message {
975
1047
  { no: 3, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
976
1048
  { no: 4, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
977
1049
  { no: 5, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
1050
+ { no: 6, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1051
+ { no: 7, name: "checked_federated_graphs", kind: "message", T: CheckedFederatedGraphs, repeated: true },
978
1052
  ]);
979
1053
  static fromBinary(bytes, options) {
980
1054
  return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
@@ -1780,9 +1854,9 @@ export class GetSubgraphByNameResponse extends Message {
1780
1854
  }
1781
1855
  }
1782
1856
  /**
1783
- * @generated from message wg.cosmo.platform.v1.GetLatestValidSubgraphSDLByNameRequest
1857
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionRequest
1784
1858
  */
1785
- export class GetLatestValidSubgraphSDLByNameRequest extends Message {
1859
+ export class GetSubgraphSDLFromLatestCompositionRequest extends Message {
1786
1860
  /**
1787
1861
  * @generated from field: string name = 1;
1788
1862
  */
@@ -1800,29 +1874,29 @@ export class GetLatestValidSubgraphSDLByNameRequest extends Message {
1800
1874
  proto3.util.initPartial(data, this);
1801
1875
  }
1802
1876
  static runtime = proto3;
1803
- static typeName = "wg.cosmo.platform.v1.GetLatestValidSubgraphSDLByNameRequest";
1877
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionRequest";
1804
1878
  static fields = proto3.util.newFieldList(() => [
1805
1879
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1806
1880
  { no: 2, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1807
1881
  { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1808
1882
  ]);
1809
1883
  static fromBinary(bytes, options) {
1810
- return new GetLatestValidSubgraphSDLByNameRequest().fromBinary(bytes, options);
1884
+ return new GetSubgraphSDLFromLatestCompositionRequest().fromBinary(bytes, options);
1811
1885
  }
1812
1886
  static fromJson(jsonValue, options) {
1813
- return new GetLatestValidSubgraphSDLByNameRequest().fromJson(jsonValue, options);
1887
+ return new GetSubgraphSDLFromLatestCompositionRequest().fromJson(jsonValue, options);
1814
1888
  }
1815
1889
  static fromJsonString(jsonString, options) {
1816
- return new GetLatestValidSubgraphSDLByNameRequest().fromJsonString(jsonString, options);
1890
+ return new GetSubgraphSDLFromLatestCompositionRequest().fromJsonString(jsonString, options);
1817
1891
  }
1818
1892
  static equals(a, b) {
1819
- return proto3.util.equals(GetLatestValidSubgraphSDLByNameRequest, a, b);
1893
+ return proto3.util.equals(GetSubgraphSDLFromLatestCompositionRequest, a, b);
1820
1894
  }
1821
1895
  }
1822
1896
  /**
1823
- * @generated from message wg.cosmo.platform.v1.GetLatestValidSubgraphSDLByNameResponse
1897
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionResponse
1824
1898
  */
1825
- export class GetLatestValidSubgraphSDLByNameResponse extends Message {
1899
+ export class GetSubgraphSDLFromLatestCompositionResponse extends Message {
1826
1900
  /**
1827
1901
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1828
1902
  */
@@ -1840,29 +1914,29 @@ export class GetLatestValidSubgraphSDLByNameResponse extends Message {
1840
1914
  proto3.util.initPartial(data, this);
1841
1915
  }
1842
1916
  static runtime = proto3;
1843
- static typeName = "wg.cosmo.platform.v1.GetLatestValidSubgraphSDLByNameResponse";
1917
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionResponse";
1844
1918
  static fields = proto3.util.newFieldList(() => [
1845
1919
  { no: 1, name: "response", kind: "message", T: Response },
1846
1920
  { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1847
1921
  { no: 3, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1848
1922
  ]);
1849
1923
  static fromBinary(bytes, options) {
1850
- return new GetLatestValidSubgraphSDLByNameResponse().fromBinary(bytes, options);
1924
+ return new GetSubgraphSDLFromLatestCompositionResponse().fromBinary(bytes, options);
1851
1925
  }
1852
1926
  static fromJson(jsonValue, options) {
1853
- return new GetLatestValidSubgraphSDLByNameResponse().fromJson(jsonValue, options);
1927
+ return new GetSubgraphSDLFromLatestCompositionResponse().fromJson(jsonValue, options);
1854
1928
  }
1855
1929
  static fromJsonString(jsonString, options) {
1856
- return new GetLatestValidSubgraphSDLByNameResponse().fromJsonString(jsonString, options);
1930
+ return new GetSubgraphSDLFromLatestCompositionResponse().fromJsonString(jsonString, options);
1857
1931
  }
1858
1932
  static equals(a, b) {
1859
- return proto3.util.equals(GetLatestValidSubgraphSDLByNameResponse, a, b);
1933
+ return proto3.util.equals(GetSubgraphSDLFromLatestCompositionResponse, a, b);
1860
1934
  }
1861
1935
  }
1862
1936
  /**
1863
- * @generated from message wg.cosmo.platform.v1.GetLatestSubgraphSDLByNameRequest
1937
+ * @generated from message wg.cosmo.platform.v1.GetLatestSubgraphSDLRequest
1864
1938
  */
1865
- export class GetLatestSubgraphSDLByNameRequest extends Message {
1939
+ export class GetLatestSubgraphSDLRequest extends Message {
1866
1940
  /**
1867
1941
  * @generated from field: string name = 1;
1868
1942
  */
@@ -1876,28 +1950,28 @@ export class GetLatestSubgraphSDLByNameRequest extends Message {
1876
1950
  proto3.util.initPartial(data, this);
1877
1951
  }
1878
1952
  static runtime = proto3;
1879
- static typeName = "wg.cosmo.platform.v1.GetLatestSubgraphSDLByNameRequest";
1953
+ static typeName = "wg.cosmo.platform.v1.GetLatestSubgraphSDLRequest";
1880
1954
  static fields = proto3.util.newFieldList(() => [
1881
1955
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1882
1956
  { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1883
1957
  ]);
1884
1958
  static fromBinary(bytes, options) {
1885
- return new GetLatestSubgraphSDLByNameRequest().fromBinary(bytes, options);
1959
+ return new GetLatestSubgraphSDLRequest().fromBinary(bytes, options);
1886
1960
  }
1887
1961
  static fromJson(jsonValue, options) {
1888
- return new GetLatestSubgraphSDLByNameRequest().fromJson(jsonValue, options);
1962
+ return new GetLatestSubgraphSDLRequest().fromJson(jsonValue, options);
1889
1963
  }
1890
1964
  static fromJsonString(jsonString, options) {
1891
- return new GetLatestSubgraphSDLByNameRequest().fromJsonString(jsonString, options);
1965
+ return new GetLatestSubgraphSDLRequest().fromJsonString(jsonString, options);
1892
1966
  }
1893
1967
  static equals(a, b) {
1894
- return proto3.util.equals(GetLatestSubgraphSDLByNameRequest, a, b);
1968
+ return proto3.util.equals(GetLatestSubgraphSDLRequest, a, b);
1895
1969
  }
1896
1970
  }
1897
1971
  /**
1898
- * @generated from message wg.cosmo.platform.v1.GetLatestSubgraphSDLByNameResponse
1972
+ * @generated from message wg.cosmo.platform.v1.GetLatestSubgraphSDLResponse
1899
1973
  */
1900
- export class GetLatestSubgraphSDLByNameResponse extends Message {
1974
+ export class GetLatestSubgraphSDLResponse extends Message {
1901
1975
  /**
1902
1976
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1903
1977
  */
@@ -1915,23 +1989,23 @@ export class GetLatestSubgraphSDLByNameResponse extends Message {
1915
1989
  proto3.util.initPartial(data, this);
1916
1990
  }
1917
1991
  static runtime = proto3;
1918
- static typeName = "wg.cosmo.platform.v1.GetLatestSubgraphSDLByNameResponse";
1992
+ static typeName = "wg.cosmo.platform.v1.GetLatestSubgraphSDLResponse";
1919
1993
  static fields = proto3.util.newFieldList(() => [
1920
1994
  { no: 1, name: "response", kind: "message", T: Response },
1921
1995
  { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1922
1996
  { no: 3, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1923
1997
  ]);
1924
1998
  static fromBinary(bytes, options) {
1925
- return new GetLatestSubgraphSDLByNameResponse().fromBinary(bytes, options);
1999
+ return new GetLatestSubgraphSDLResponse().fromBinary(bytes, options);
1926
2000
  }
1927
2001
  static fromJson(jsonValue, options) {
1928
- return new GetLatestSubgraphSDLByNameResponse().fromJson(jsonValue, options);
2002
+ return new GetLatestSubgraphSDLResponse().fromJson(jsonValue, options);
1929
2003
  }
1930
2004
  static fromJsonString(jsonString, options) {
1931
- return new GetLatestSubgraphSDLByNameResponse().fromJsonString(jsonString, options);
2005
+ return new GetLatestSubgraphSDLResponse().fromJsonString(jsonString, options);
1932
2006
  }
1933
2007
  static equals(a, b) {
1934
- return proto3.util.equals(GetLatestSubgraphSDLByNameResponse, a, b);
2008
+ return proto3.util.equals(GetLatestSubgraphSDLResponse, a, b);
1935
2009
  }
1936
2010
  }
1937
2011
  /**
@@ -3395,7 +3469,7 @@ export class AnalyticsViewResultFilter extends Message {
3395
3469
  */
3396
3470
  options = [];
3397
3471
  /**
3398
- * @generated from field: optional bool custom_options = 4;
3472
+ * @generated from field: optional wg.cosmo.platform.v1.CustomOptions custom_options = 4;
3399
3473
  */
3400
3474
  customOptions;
3401
3475
  constructor(data) {
@@ -3408,7 +3482,7 @@ export class AnalyticsViewResultFilter extends Message {
3408
3482
  { no: 1, name: "columnName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3409
3483
  { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3410
3484
  { no: 3, name: "options", kind: "message", T: AnalyticsViewResultFilterOption, repeated: true },
3411
- { no: 4, name: "custom_options", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3485
+ { no: 4, name: "custom_options", kind: "enum", T: proto3.getEnumType(CustomOptions), opt: true },
3412
3486
  ]);
3413
3487
  static fromBinary(bytes, options) {
3414
3488
  return new AnalyticsViewResultFilter().fromBinary(bytes, options);