@wundergraph/cosmo-connect 0.25.0 → 0.27.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.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.3.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
2
2
  // @generated from file wg/cosmo/common/common.proto (package wg.cosmo.common, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -1,8 +1,29 @@
1
1
  import { PublishGraphQLRequestMetricsRequest, PublishOperationCoverageReportResponse } from "./graphqlmetrics_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ import { UnaryFunctionsWithHooks } from "@connectrpc/connect-query";
2
4
  export declare const typeName = "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService";
5
+ /**
6
+ * @generated from service wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService
7
+ */
8
+ export declare const GraphQLMetricsService: {
9
+ readonly typeName: "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService";
10
+ readonly methods: {
11
+ /**
12
+ * PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service
13
+ *
14
+ * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics
15
+ */
16
+ readonly publishGraphQLMetrics: {
17
+ readonly name: "PublishGraphQLMetrics";
18
+ readonly I: typeof PublishGraphQLRequestMetricsRequest;
19
+ readonly O: typeof PublishOperationCoverageReportResponse;
20
+ readonly kind: MethodKind.Unary;
21
+ };
22
+ };
23
+ };
3
24
  /**
4
25
  * PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service
5
26
  *
6
27
  * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics
7
28
  */
8
- export declare const publishGraphQLMetrics: import("@connectrpc/connect-query").UnaryHooks<PublishGraphQLRequestMetricsRequest, PublishOperationCoverageReportResponse>;
29
+ export declare const publishGraphQLMetrics: UnaryFunctionsWithHooks<PublishGraphQLRequestMetricsRequest, PublishOperationCoverageReportResponse>;
@@ -1,28 +1,36 @@
1
1
  // https://protobuf.dev/programming-guides/style/
2
- // @generated by protoc-gen-connect-query v0.4.2 with parameter "target=ts"
2
+ // @generated by protoc-gen-connect-query v0.6.0 with parameter "target=ts"
3
3
  // @generated from file wg/cosmo/graphqlmetrics/v1/graphqlmetrics.proto (package wg.cosmo.graphqlmetrics.v1, syntax proto3)
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
- import { createQueryService } from "@connectrpc/connect-query";
7
- import { MethodKind } from "@bufbuild/protobuf";
8
6
  import { PublishGraphQLRequestMetricsRequest, PublishOperationCoverageReportResponse } from "./graphqlmetrics_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ import { createQueryService, createUnaryHooks } from "@connectrpc/connect-query";
9
9
  export const typeName = "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService";
10
+ /**
11
+ * @generated from service wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService
12
+ */
13
+ export const GraphQLMetricsService = {
14
+ typeName: "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService",
15
+ methods: {
16
+ /**
17
+ * PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service
18
+ *
19
+ * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics
20
+ */
21
+ publishGraphQLMetrics: {
22
+ name: "PublishGraphQLMetrics",
23
+ I: PublishGraphQLRequestMetricsRequest,
24
+ O: PublishOperationCoverageReportResponse,
25
+ kind: MethodKind.Unary,
26
+ },
27
+ }
28
+ };
29
+ const $queryService = createQueryService({ service: GraphQLMetricsService, });
10
30
  /**
11
31
  * PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service
12
32
  *
13
33
  * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics
14
34
  */
15
- export const publishGraphQLMetrics = createQueryService({
16
- service: {
17
- methods: {
18
- publishGraphQLMetrics: {
19
- name: "PublishGraphQLMetrics",
20
- kind: MethodKind.Unary,
21
- I: PublishGraphQLRequestMetricsRequest,
22
- O: PublishOperationCoverageReportResponse,
23
- },
24
- },
25
- typeName: "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService",
26
- },
27
- }).publishGraphQLMetrics;
35
+ export const publishGraphQLMetrics = { ...$queryService.publishGraphQLMetrics, ...createUnaryHooks($queryService.publishGraphQLMetrics) };
28
36
  //# sourceMappingURL=graphqlmetrics-GraphQLMetricsService_connectquery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphqlmetrics-GraphQLMetricsService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,2EAA2E;AAC3E,2HAA2H;AAC3H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,MAAM,wBAAwB,CAAC;AAErH,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAAkD,CAAC;AAE3E;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;IACtD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,qBAAqB,EAAE;gBACrB,IAAI,EAAE,uBAAuB;gBAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;gBACtB,CAAC,EAAE,mCAAmC;gBACtC,CAAC,EAAE,sCAAsC;aAC1C;SACF;QACD,QAAQ,EAAE,kDAAkD;KAC7D;CACF,CAAC,CAAC,qBAAqB,CAAC"}
1
+ {"version":3,"file":"graphqlmetrics-GraphQLMetricsService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,2EAA2E;AAC3E,2HAA2H;AAC3H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,MAAM,wBAAwB,CAAC;AACrH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAA2B,MAAM,2BAA2B,CAAC;AAE1G,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAAkD,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,mCAAmC;YACtC,CAAC,EAAE,sCAAsC;YACzC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC;AAEX,MAAM,aAAa,GAAG,kBAAkB,CAAC,EAAG,OAAO,EAAE,qBAAqB,GAAE,CAAC,CAAC;AAE9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAyG,EAAI,GAAG,aAAa,CAAC,qBAAqB,EAAG,GAAG,gBAAgB,CAAC,aAAa,CAAC,qBAAqB,CAAC,EAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  // https://protobuf.dev/programming-guides/style/
2
- // @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts"
2
+ // @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts"
3
3
  // @generated from file wg/cosmo/graphqlmetrics/v1/graphqlmetrics.proto (package wg.cosmo.graphqlmetrics.v1, syntax proto3)
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
@@ -1 +1 @@
1
- {"version":3,"file":"graphqlmetrics_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/graphqlmetrics/v1/graphqlmetrics_connect.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,yEAAyE;AACzE,2HAA2H;AAC3H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,MAAM,wBAAwB,CAAC;AACrH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,mCAAmC;YACtC,CAAC,EAAE,sCAAsC;YACzC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"graphqlmetrics_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/graphqlmetrics/v1/graphqlmetrics_connect.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,wEAAwE;AACxE,2HAA2H;AAC3H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,MAAM,wBAAwB,CAAC;AACrH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,mCAAmC;YACtC,CAAC,EAAE,sCAAsC;YACzC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,6 +1,25 @@
1
1
  import { GetConfigRequest, GetConfigResponse } from "./node_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ import { UnaryFunctionsWithHooks } from "@connectrpc/connect-query";
2
4
  export declare const typeName = "wg.cosmo.node.v1.NodeService";
5
+ /**
6
+ * @generated from service wg.cosmo.node.v1.NodeService
7
+ */
8
+ export declare const NodeService: {
9
+ readonly typeName: "wg.cosmo.node.v1.NodeService";
10
+ readonly methods: {
11
+ /**
12
+ * @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
13
+ */
14
+ readonly getLatestValidRouterConfig: {
15
+ readonly name: "GetLatestValidRouterConfig";
16
+ readonly I: typeof GetConfigRequest;
17
+ readonly O: typeof GetConfigResponse;
18
+ readonly kind: MethodKind.Unary;
19
+ };
20
+ };
21
+ };
3
22
  /**
4
23
  * @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
5
24
  */
6
- export declare const getLatestValidRouterConfig: import("@connectrpc/connect-query").UnaryHooks<GetConfigRequest, GetConfigResponse>;
25
+ export declare const getLatestValidRouterConfig: UnaryFunctionsWithHooks<GetConfigRequest, GetConfigResponse>;
@@ -1,25 +1,31 @@
1
- // @generated by protoc-gen-connect-query v0.4.2 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-query v0.6.0 with parameter "target=ts"
2
2
  // @generated from file wg/cosmo/node/v1/node.proto (package wg.cosmo.node.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { createQueryService } from "@connectrpc/connect-query";
6
- import { MethodKind } from "@bufbuild/protobuf";
7
5
  import { GetConfigRequest, GetConfigResponse } from "./node_pb.js";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ import { createQueryService, createUnaryHooks } from "@connectrpc/connect-query";
8
8
  export const typeName = "wg.cosmo.node.v1.NodeService";
9
9
  /**
10
- * @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
10
+ * @generated from service wg.cosmo.node.v1.NodeService
11
11
  */
12
- export const getLatestValidRouterConfig = createQueryService({
13
- service: {
14
- methods: {
15
- getLatestValidRouterConfig: {
16
- name: "GetLatestValidRouterConfig",
17
- kind: MethodKind.Unary,
18
- I: GetConfigRequest,
19
- O: GetConfigResponse,
20
- },
12
+ export const NodeService = {
13
+ typeName: "wg.cosmo.node.v1.NodeService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
17
+ */
18
+ getLatestValidRouterConfig: {
19
+ name: "GetLatestValidRouterConfig",
20
+ I: GetConfigRequest,
21
+ O: GetConfigResponse,
22
+ kind: MethodKind.Unary,
21
23
  },
22
- typeName: "wg.cosmo.node.v1.NodeService",
23
- },
24
- }).getLatestValidRouterConfig;
24
+ }
25
+ };
26
+ const $queryService = createQueryService({ service: NodeService, });
27
+ /**
28
+ * @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
29
+ */
30
+ export const getLatestValidRouterConfig = { ...$queryService.getLatestValidRouterConfig, ...createUnaryHooks($queryService.getLatestValidRouterConfig) };
25
31
  //# sourceMappingURL=node-NodeService_connectquery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"node-NodeService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node-NodeService_connectquery.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEnE,MAAM,CAAC,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEvD;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,kBAAkB,CAAC;IAC3D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,0BAA0B,EAAE;gBAC1B,IAAI,EAAE,4BAA4B;gBAClC,IAAI,EAAE,UAAU,CAAC,KAAK;gBACtB,CAAC,EAAE,gBAAgB;gBACnB,CAAC,EAAE,iBAAiB;aACrB;SACF;QACD,QAAQ,EAAE,8BAA8B;KACzC;CACF,CAAC,CAAC,0BAA0B,CAAC"}
1
+ {"version":3,"file":"node-NodeService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node-NodeService_connectquery.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAA2B,MAAM,2BAA2B,CAAC;AAE1G,MAAM,CAAC,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEvD;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,8BAA8B;IACxC,OAAO,EAAE;QACP;;WAEG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC;AAEX,MAAM,aAAa,GAAG,kBAAkB,CAAC,EAAG,OAAO,EAAE,WAAW,GAAE,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAiE,EAAI,GAAG,aAAa,CAAC,0BAA0B,EAAG,GAAG,gBAAgB,CAAC,aAAa,CAAC,0BAA0B,CAAC,EAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts"
2
2
  // @generated from file wg/cosmo/node/v1/node.proto (package wg.cosmo.node.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -1 +1 @@
1
- {"version":3,"file":"node_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node_connect.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,8BAA8B;IACxC,OAAO,EAAE;QACP;;WAEG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"node_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,8BAA8B;IACxC,OAAO,EAAE;QACP;;WAEG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.3.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
2
2
  // @generated from file wg/cosmo/node/v1/node.proto (package wg.cosmo.node.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.3.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
2
2
  // @generated from file wg/cosmo/notifications/events.proto (package wg.cosmo.notifications, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck