@wundergraph/cosmo-connect 0.153.3 → 0.155.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.
Files changed (35) hide show
  1. package/dist/common/common_pb.d.ts +17 -0
  2. package/dist/common/common_pb.js +18 -38
  3. package/dist/common/common_pb.js.map +1 -1
  4. package/dist/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.d.ts +8 -20
  5. package/dist/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.js +4 -24
  6. package/dist/graphqlmetrics/v1/graphqlmetrics-GraphQLMetricsService_connectquery.js.map +1 -1
  7. package/dist/graphqlmetrics/v1/graphqlmetrics_pb.d.ts +141 -151
  8. package/dist/graphqlmetrics/v1/graphqlmetrics_pb.js +67 -590
  9. package/dist/graphqlmetrics/v1/graphqlmetrics_pb.js.map +1 -1
  10. package/dist/node/v1/node-NodeService_connectquery.d.ts +4 -11
  11. package/dist/node/v1/node-NodeService_connectquery.js +3 -14
  12. package/dist/node/v1/node-NodeService_connectquery.js.map +1 -1
  13. package/dist/node/v1/node_pb.d.ts +758 -923
  14. package/dist/node/v1/node_pb.js +396 -3129
  15. package/dist/node/v1/node_pb.js.map +1 -1
  16. package/dist/notifications/events_pb.d.ts +74 -71
  17. package/dist/notifications/events_pb.js +27 -112
  18. package/dist/notifications/events_pb.js.map +1 -1
  19. package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +776 -1755
  20. package/dist/platform/v1/platform-PlatformService_connectquery.js +196 -1951
  21. package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
  22. package/dist/platform/v1/platform_pb.d.ts +10472 -10025
  23. package/dist/platform/v1/platform_pb.js +2826 -21936
  24. package/dist/platform/v1/platform_pb.js.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +5 -5
  27. package/dist/graphqlmetrics/v1/graphqlmetrics_connect.d.ts +0 -30
  28. package/dist/graphqlmetrics/v1/graphqlmetrics_connect.js +0 -36
  29. package/dist/graphqlmetrics/v1/graphqlmetrics_connect.js.map +0 -1
  30. package/dist/node/v1/node_connect.d.ts +0 -19
  31. package/dist/node/v1/node_connect.js +0 -24
  32. package/dist/node/v1/node_connect.js.map +0 -1
  33. package/dist/platform/v1/platform_connect.d.ts +0 -2105
  34. package/dist/platform/v1/platform_connect.js +0 -2111
  35. package/dist/platform/v1/platform_connect.js.map +0 -1
@@ -1,622 +1,99 @@
1
1
  // https://protobuf.dev/programming-guides/style/
2
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
2
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
3
+ import { file_wg_cosmo_common_common } from "../../common/common_pb.js";
3
4
  /**
4
- * @generated from enum wg.cosmo.graphqlmetrics.v1.OperationType
5
+ * Describes the file wg/cosmo/graphqlmetrics/v1/graphqlmetrics.proto.
5
6
  */
6
- export var OperationType;
7
- (function (OperationType) {
8
- /**
9
- * @generated from enum value: QUERY = 0;
10
- */
11
- OperationType[OperationType["QUERY"] = 0] = "QUERY";
12
- /**
13
- * @generated from enum value: MUTATION = 1;
14
- */
15
- OperationType[OperationType["MUTATION"] = 1] = "MUTATION";
16
- /**
17
- * @generated from enum value: SUBSCRIPTION = 2;
18
- */
19
- OperationType[OperationType["SUBSCRIPTION"] = 2] = "SUBSCRIPTION";
20
- })(OperationType || (OperationType = {}));
21
- // Retrieve enum metadata with: proto3.getEnumType(OperationType)
22
- proto3.util.setEnumType(OperationType, "wg.cosmo.graphqlmetrics.v1.OperationType", [
23
- { no: 0, name: "QUERY" },
24
- { no: 1, name: "MUTATION" },
25
- { no: 2, name: "SUBSCRIPTION" },
26
- ]);
7
+ export const file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics = /*@__PURE__*/ fileDesc("Ci93Zy9jb3Ntby9ncmFwaHFsbWV0cmljcy92MS9ncmFwaHFsbWV0cmljcy5wcm90bxIad2cuY29zbW8uZ3J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AygLMjYud2cuY29zbW8uZ3JhcGhxbG1ldHJpY3MudjEuU2NoZW1hVXNhZ2VJbmZvQWdncmVnYXRpb24iMAouUHVibGlzaEFnZ3JlZ2F0ZWRHcmFwaFFMUmVxdWVzdE1ldHJpY3NSZXNwb25zZSo6Cg1PcGVyYXRpb25UeXBlEgkKBVFVRVJZEAASDAoITVVUQVRJT04QARIQCgxTVUJTQ1JJUFRJT04QAjL1AgoVR3JhcGhRTE1ldHJpY3NTZXJ2aWNlEp4BChVQdWJsaXNoR3JhcGhRTE1ldHJpY3MSPy53Zy5jb3Ntby5ncmFwaHFsbWV0cmljcy52MS5QdWJsaXNoR3JhcGhRTFJlcXVlc3RNZXRyaWNzUmVxdWVzdBpCLndnLmNvc21vLmdyYXBocWxtZXRyaWNzLnYxLlB1Ymxpc2hPcGVyYXRpb25Db3ZlcmFnZVJlcG9ydFJlc3BvbnNlIgASugEKH1B1Ymxpc2hBZ2dyZWdhdGVkR3JhcGhRTE1ldHJpY3MSSS53Zy5jb3Ntby5ncmFwaHFsbWV0cmljcy52MS5QdWJsaXNoQWdncmVnYXRlZEdyYXBoUUxSZXF1ZXN0TWV0cmljc1JlcXVlc3QaSi53Zy5jb3Ntby5ncmFwaHFsbWV0cmljcy52MS5QdWJsaXNoQWdncmVnYXRlZEdyYXBoUUxSZXF1ZXN0TWV0cmljc1Jlc3BvbnNlIgBiBnByb3RvMw", [file_wg_cosmo_common_common]);
27
8
  /**
28
- * @generated from message wg.cosmo.graphqlmetrics.v1.RequestInfo
9
+ * Describes the message wg.cosmo.graphqlmetrics.v1.RequestInfo.
10
+ * Use `create(RequestInfoSchema)` to create a new message.
29
11
  */
30
- export class RequestInfo extends Message {
31
- /**
32
- * @generated from field: int32 StatusCode = 1;
33
- */
34
- StatusCode = 0;
35
- /**
36
- * @generated from field: bool error = 2;
37
- */
38
- error = false;
39
- constructor(data) {
40
- super();
41
- proto3.util.initPartial(data, this);
42
- }
43
- static runtime = proto3;
44
- static typeName = "wg.cosmo.graphqlmetrics.v1.RequestInfo";
45
- static fields = proto3.util.newFieldList(() => [
46
- { no: 1, name: "StatusCode", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
47
- { no: 2, name: "error", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
48
- ]);
49
- static fromBinary(bytes, options) {
50
- return new RequestInfo().fromBinary(bytes, options);
51
- }
52
- static fromJson(jsonValue, options) {
53
- return new RequestInfo().fromJson(jsonValue, options);
54
- }
55
- static fromJsonString(jsonString, options) {
56
- return new RequestInfo().fromJsonString(jsonString, options);
57
- }
58
- static equals(a, b) {
59
- return proto3.util.equals(RequestInfo, a, b);
60
- }
61
- }
12
+ export const RequestInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 0);
62
13
  /**
63
- * @generated from message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo
14
+ * Describes the message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo.
15
+ * Use `create(SchemaUsageInfoSchema)` to create a new message.
64
16
  */
65
- export class SchemaUsageInfo extends Message {
66
- /**
67
- * RequestDocument is the fully normalized GraphQL request document
68
- *
69
- * @generated from field: string RequestDocument = 1;
70
- */
71
- RequestDocument = "";
72
- /**
73
- * TypeFieldMetrics is the list of used fields in the request document
74
- *
75
- * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo TypeFieldMetrics = 2;
76
- */
77
- TypeFieldMetrics = [];
78
- /**
79
- * OperationInfo is the operation info
80
- *
81
- * @generated from field: wg.cosmo.graphqlmetrics.v1.OperationInfo OperationInfo = 3;
82
- */
83
- OperationInfo;
84
- /**
85
- * SchemaInfo is the schema info
86
- *
87
- * @generated from field: wg.cosmo.graphqlmetrics.v1.SchemaInfo SchemaInfo = 4;
88
- */
89
- SchemaInfo;
90
- /**
91
- * ClientInfo is the client info
92
- *
93
- * @generated from field: wg.cosmo.graphqlmetrics.v1.ClientInfo ClientInfo = 5;
94
- */
95
- ClientInfo;
96
- /**
97
- * RequestInfo is the request info
98
- *
99
- * @generated from field: wg.cosmo.graphqlmetrics.v1.RequestInfo RequestInfo = 6;
100
- */
101
- RequestInfo;
102
- /**
103
- * Attributes is a map of attributes that can be used to filter the metrics
104
- *
105
- * @generated from field: map<string, string> Attributes = 7;
106
- */
107
- Attributes = {};
108
- /**
109
- * ArgumentMetrics is the list of used arguments in the request document
110
- *
111
- * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo ArgumentMetrics = 8;
112
- */
113
- ArgumentMetrics = [];
114
- /**
115
- * InputMetrics is the list of used input fields in the request document
116
- *
117
- * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.InputUsageInfo InputMetrics = 9;
118
- */
119
- InputMetrics = [];
120
- constructor(data) {
121
- super();
122
- proto3.util.initPartial(data, this);
123
- }
124
- static runtime = proto3;
125
- static typeName = "wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo";
126
- static fields = proto3.util.newFieldList(() => [
127
- { no: 1, name: "RequestDocument", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
- { no: 2, name: "TypeFieldMetrics", kind: "message", T: TypeFieldUsageInfo, repeated: true },
129
- { no: 3, name: "OperationInfo", kind: "message", T: OperationInfo },
130
- { no: 4, name: "SchemaInfo", kind: "message", T: SchemaInfo },
131
- { no: 5, name: "ClientInfo", kind: "message", T: ClientInfo },
132
- { no: 6, name: "RequestInfo", kind: "message", T: RequestInfo },
133
- { no: 7, name: "Attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
134
- { no: 8, name: "ArgumentMetrics", kind: "message", T: ArgumentUsageInfo, repeated: true },
135
- { no: 9, name: "InputMetrics", kind: "message", T: InputUsageInfo, repeated: true },
136
- ]);
137
- static fromBinary(bytes, options) {
138
- return new SchemaUsageInfo().fromBinary(bytes, options);
139
- }
140
- static fromJson(jsonValue, options) {
141
- return new SchemaUsageInfo().fromJson(jsonValue, options);
142
- }
143
- static fromJsonString(jsonString, options) {
144
- return new SchemaUsageInfo().fromJsonString(jsonString, options);
145
- }
146
- static equals(a, b) {
147
- return proto3.util.equals(SchemaUsageInfo, a, b);
148
- }
149
- }
17
+ export const SchemaUsageInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 1);
150
18
  /**
151
- * @generated from message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation
19
+ * Describes the message wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation.
20
+ * Use `create(SchemaUsageInfoAggregationSchema)` to create a new message.
152
21
  */
153
- export class SchemaUsageInfoAggregation extends Message {
154
- /**
155
- * @generated from field: wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo SchemaUsage = 1;
156
- */
157
- SchemaUsage;
158
- /**
159
- * @generated from field: uint64 RequestCount = 2;
160
- */
161
- RequestCount = protoInt64.zero;
162
- constructor(data) {
163
- super();
164
- proto3.util.initPartial(data, this);
165
- }
166
- static runtime = proto3;
167
- static typeName = "wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation";
168
- static fields = proto3.util.newFieldList(() => [
169
- { no: 1, name: "SchemaUsage", kind: "message", T: SchemaUsageInfo },
170
- { no: 2, name: "RequestCount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
171
- ]);
172
- static fromBinary(bytes, options) {
173
- return new SchemaUsageInfoAggregation().fromBinary(bytes, options);
174
- }
175
- static fromJson(jsonValue, options) {
176
- return new SchemaUsageInfoAggregation().fromJson(jsonValue, options);
177
- }
178
- static fromJsonString(jsonString, options) {
179
- return new SchemaUsageInfoAggregation().fromJsonString(jsonString, options);
180
- }
181
- static equals(a, b) {
182
- return proto3.util.equals(SchemaUsageInfoAggregation, a, b);
183
- }
184
- }
22
+ export const SchemaUsageInfoAggregationSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 2);
185
23
  /**
186
- * @generated from message wg.cosmo.graphqlmetrics.v1.ClientInfo
24
+ * Describes the message wg.cosmo.graphqlmetrics.v1.ClientInfo.
25
+ * Use `create(ClientInfoSchema)` to create a new message.
187
26
  */
188
- export class ClientInfo extends Message {
189
- /**
190
- * Name is the GraphQL client name obtained from the request header
191
- *
192
- * @generated from field: string Name = 1;
193
- */
194
- Name = "";
195
- /**
196
- * Version is the GraphQL client version obtained from the request header
197
- *
198
- * @generated from field: string Version = 2;
199
- */
200
- Version = "";
201
- constructor(data) {
202
- super();
203
- proto3.util.initPartial(data, this);
204
- }
205
- static runtime = proto3;
206
- static typeName = "wg.cosmo.graphqlmetrics.v1.ClientInfo";
207
- static fields = proto3.util.newFieldList(() => [
208
- { no: 1, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
209
- { no: 2, name: "Version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
- ]);
211
- static fromBinary(bytes, options) {
212
- return new ClientInfo().fromBinary(bytes, options);
213
- }
214
- static fromJson(jsonValue, options) {
215
- return new ClientInfo().fromJson(jsonValue, options);
216
- }
217
- static fromJsonString(jsonString, options) {
218
- return new ClientInfo().fromJsonString(jsonString, options);
219
- }
220
- static equals(a, b) {
221
- return proto3.util.equals(ClientInfo, a, b);
222
- }
223
- }
27
+ export const ClientInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 3);
224
28
  /**
225
- * @generated from message wg.cosmo.graphqlmetrics.v1.OperationInfo
29
+ * Describes the message wg.cosmo.graphqlmetrics.v1.OperationInfo.
30
+ * Use `create(OperationInfoSchema)` to create a new message.
226
31
  */
227
- export class OperationInfo extends Message {
228
- /**
229
- * Hash is the hash of the request document and the operation name
230
- *
231
- * @generated from field: string Hash = 1;
232
- */
233
- Hash = "";
234
- /**
235
- * Name is the operation name
236
- *
237
- * @generated from field: string Name = 2;
238
- */
239
- Name = "";
240
- /**
241
- * Type is the operation type
242
- *
243
- * @generated from field: wg.cosmo.graphqlmetrics.v1.OperationType Type = 3;
244
- */
245
- Type = OperationType.QUERY;
246
- constructor(data) {
247
- super();
248
- proto3.util.initPartial(data, this);
249
- }
250
- static runtime = proto3;
251
- static typeName = "wg.cosmo.graphqlmetrics.v1.OperationInfo";
252
- static fields = proto3.util.newFieldList(() => [
253
- { no: 1, name: "Hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
254
- { no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
255
- { no: 3, name: "Type", kind: "enum", T: proto3.getEnumType(OperationType) },
256
- ]);
257
- static fromBinary(bytes, options) {
258
- return new OperationInfo().fromBinary(bytes, options);
259
- }
260
- static fromJson(jsonValue, options) {
261
- return new OperationInfo().fromJson(jsonValue, options);
262
- }
263
- static fromJsonString(jsonString, options) {
264
- return new OperationInfo().fromJsonString(jsonString, options);
265
- }
266
- static equals(a, b) {
267
- return proto3.util.equals(OperationInfo, a, b);
268
- }
269
- }
32
+ export const OperationInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 4);
270
33
  /**
271
- * FederatedGraphID and OrganizationID are transport over JWT
272
- *
273
- * @generated from message wg.cosmo.graphqlmetrics.v1.SchemaInfo
34
+ * Describes the message wg.cosmo.graphqlmetrics.v1.SchemaInfo.
35
+ * Use `create(SchemaInfoSchema)` to create a new message.
274
36
  */
275
- export class SchemaInfo extends Message {
276
- /**
277
- * Version is the schema version
278
- *
279
- * @generated from field: string Version = 3;
280
- */
281
- Version = "";
282
- constructor(data) {
283
- super();
284
- proto3.util.initPartial(data, this);
285
- }
286
- static runtime = proto3;
287
- static typeName = "wg.cosmo.graphqlmetrics.v1.SchemaInfo";
288
- static fields = proto3.util.newFieldList(() => [
289
- { no: 3, name: "Version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
290
- ]);
291
- static fromBinary(bytes, options) {
292
- return new SchemaInfo().fromBinary(bytes, options);
293
- }
294
- static fromJson(jsonValue, options) {
295
- return new SchemaInfo().fromJson(jsonValue, options);
296
- }
297
- static fromJsonString(jsonString, options) {
298
- return new SchemaInfo().fromJsonString(jsonString, options);
299
- }
300
- static equals(a, b) {
301
- return proto3.util.equals(SchemaInfo, a, b);
302
- }
303
- }
37
+ export const SchemaInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 5);
304
38
  /**
305
- * @generated from message wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo
39
+ * Describes the message wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo.
40
+ * Use `create(TypeFieldUsageInfoSchema)` to create a new message.
306
41
  */
307
- export class TypeFieldUsageInfo extends Message {
308
- /**
309
- * Path is the path to the field in the request document but without the root type query, mutation, or subscription
310
- *
311
- * @generated from field: repeated string Path = 1;
312
- */
313
- Path = [];
314
- /**
315
- * TypeNames is the list of enclosing type names of the field
316
- *
317
- * @generated from field: repeated string TypeNames = 2;
318
- */
319
- TypeNames = [];
320
- /**
321
- * SubgraphIDs is the list of datasource IDs (e.g subgraph ID) that the field is used from
322
- *
323
- * @generated from field: repeated string SubgraphIDs = 3;
324
- */
325
- SubgraphIDs = [];
326
- /**
327
- * Count is the number of times the field is used. Useful for batching at client side.
328
- *
329
- * @generated from field: uint64 Count = 4;
330
- */
331
- Count = protoInt64.zero;
332
- /**
333
- * NamedType is the underlying type of the field
334
- *
335
- * @generated from field: string NamedType = 5;
336
- */
337
- NamedType = "";
338
- /**
339
- * IndirectInterfaceField is true if the field is an interface field that is used through an implementing type
340
- *
341
- * @generated from field: bool IndirectInterfaceField = 6;
342
- */
343
- IndirectInterfaceField = false;
344
- constructor(data) {
345
- super();
346
- proto3.util.initPartial(data, this);
347
- }
348
- static runtime = proto3;
349
- static typeName = "wg.cosmo.graphqlmetrics.v1.TypeFieldUsageInfo";
350
- static fields = proto3.util.newFieldList(() => [
351
- { no: 1, name: "Path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
352
- { no: 2, name: "TypeNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
353
- { no: 3, name: "SubgraphIDs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
354
- { no: 4, name: "Count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
355
- { no: 5, name: "NamedType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
356
- { no: 6, name: "IndirectInterfaceField", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
357
- ]);
358
- static fromBinary(bytes, options) {
359
- return new TypeFieldUsageInfo().fromBinary(bytes, options);
360
- }
361
- static fromJson(jsonValue, options) {
362
- return new TypeFieldUsageInfo().fromJson(jsonValue, options);
363
- }
364
- static fromJsonString(jsonString, options) {
365
- return new TypeFieldUsageInfo().fromJsonString(jsonString, options);
366
- }
367
- static equals(a, b) {
368
- return proto3.util.equals(TypeFieldUsageInfo, a, b);
369
- }
370
- }
42
+ export const TypeFieldUsageInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 6);
371
43
  /**
372
- * @generated from message wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo
44
+ * Describes the message wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo.
45
+ * Use `create(ArgumentUsageInfoSchema)` to create a new message.
373
46
  */
374
- export class ArgumentUsageInfo extends Message {
375
- /**
376
- * Path is the path to the field in the request document but without the root type query, mutation, or subscription
377
- *
378
- * @generated from field: repeated string Path = 1;
379
- */
380
- Path = [];
381
- /**
382
- * TypeName is the enclosing type name of the argument
383
- *
384
- * @generated from field: string TypeName = 2;
385
- */
386
- TypeName = "";
387
- /**
388
- * Count is the number of times the argument is used. Useful for batching at client side.
389
- *
390
- * @generated from field: uint64 Count = 3;
391
- */
392
- Count = protoInt64.zero;
393
- /**
394
- * NamedType is the underlying type of the argument
395
- *
396
- * @generated from field: string NamedType = 4;
397
- */
398
- NamedType = "";
399
- /**
400
- * SubgraphIDs is the list of datasource IDs (e.g subgraph ID) that the argument is used from
401
- *
402
- * @generated from field: repeated string SubgraphIDs = 5;
403
- */
404
- SubgraphIDs = [];
405
- /**
406
- * IsNull indicates whether this argument was explicitly set to null
407
- * This is critical for detecting breaking changes when optional arguments become required
408
- *
409
- * @generated from field: bool IsNull = 6;
410
- */
411
- IsNull = false;
412
- constructor(data) {
413
- super();
414
- proto3.util.initPartial(data, this);
415
- }
416
- static runtime = proto3;
417
- static typeName = "wg.cosmo.graphqlmetrics.v1.ArgumentUsageInfo";
418
- static fields = proto3.util.newFieldList(() => [
419
- { no: 1, name: "Path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
420
- { no: 2, name: "TypeName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
421
- { no: 3, name: "Count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
422
- { no: 4, name: "NamedType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
423
- { no: 5, name: "SubgraphIDs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
424
- { no: 6, name: "IsNull", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
425
- ]);
426
- static fromBinary(bytes, options) {
427
- return new ArgumentUsageInfo().fromBinary(bytes, options);
428
- }
429
- static fromJson(jsonValue, options) {
430
- return new ArgumentUsageInfo().fromJson(jsonValue, options);
431
- }
432
- static fromJsonString(jsonString, options) {
433
- return new ArgumentUsageInfo().fromJsonString(jsonString, options);
434
- }
435
- static equals(a, b) {
436
- return proto3.util.equals(ArgumentUsageInfo, a, b);
437
- }
438
- }
47
+ export const ArgumentUsageInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 7);
439
48
  /**
440
- * @generated from message wg.cosmo.graphqlmetrics.v1.InputUsageInfo
49
+ * Describes the message wg.cosmo.graphqlmetrics.v1.InputUsageInfo.
50
+ * Use `create(InputUsageInfoSchema)` to create a new message.
441
51
  */
442
- export class InputUsageInfo extends Message {
443
- /**
444
- * Path is the path to the field in the request document but without the root type query, mutation, or subscription
445
- *
446
- * @generated from field: repeated string Path = 1;
447
- */
448
- Path = [];
449
- /**
450
- * TypeName is the enclosing type name of the argument
451
- *
452
- * @generated from field: string TypeName = 2;
453
- */
454
- TypeName = "";
455
- /**
456
- * Count is the number of times the argument is used. Useful for batching at client side.
457
- *
458
- * @generated from field: uint64 Count = 3;
459
- */
460
- Count = protoInt64.zero;
461
- /**
462
- * NamedType is the underlying type of the input field
463
- *
464
- * @generated from field: string NamedType = 4;
465
- */
466
- NamedType = "";
467
- /**
468
- * EnumValues is an empty list if the input field is not an enum, otherwise it contains the list of used enum values
469
- *
470
- * @generated from field: repeated string EnumValues = 5;
471
- */
472
- EnumValues = [];
473
- /**
474
- * SubgraphIDs is the list of datasource IDs (e.g subgraph ID) that the input is used from
475
- *
476
- * @generated from field: repeated string SubgraphIDs = 6;
477
- */
478
- SubgraphIDs = [];
479
- /**
480
- * IsNull indicates whether this input was explicitly or implicitly null
481
- * This is critical for detecting breaking changes when optional fields become required
482
- *
483
- * @generated from field: bool IsNull = 7;
484
- */
485
- IsNull = false;
486
- constructor(data) {
487
- super();
488
- proto3.util.initPartial(data, this);
489
- }
490
- static runtime = proto3;
491
- static typeName = "wg.cosmo.graphqlmetrics.v1.InputUsageInfo";
492
- static fields = proto3.util.newFieldList(() => [
493
- { no: 1, name: "Path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
494
- { no: 2, name: "TypeName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
495
- { no: 3, name: "Count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
496
- { no: 4, name: "NamedType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
497
- { no: 5, name: "EnumValues", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
498
- { no: 6, name: "SubgraphIDs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
499
- { no: 7, name: "IsNull", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
500
- ]);
501
- static fromBinary(bytes, options) {
502
- return new InputUsageInfo().fromBinary(bytes, options);
503
- }
504
- static fromJson(jsonValue, options) {
505
- return new InputUsageInfo().fromJson(jsonValue, options);
506
- }
507
- static fromJsonString(jsonString, options) {
508
- return new InputUsageInfo().fromJsonString(jsonString, options);
509
- }
510
- static equals(a, b) {
511
- return proto3.util.equals(InputUsageInfo, a, b);
512
- }
513
- }
52
+ export const InputUsageInfoSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 8);
514
53
  /**
515
- * @generated from message wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest
54
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest.
55
+ * Use `create(PublishGraphQLRequestMetricsRequestSchema)` to create a new message.
516
56
  */
517
- export class PublishGraphQLRequestMetricsRequest extends Message {
518
- /**
519
- * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.SchemaUsageInfo SchemaUsage = 1;
520
- */
521
- SchemaUsage = [];
522
- constructor(data) {
523
- super();
524
- proto3.util.initPartial(data, this);
525
- }
526
- static runtime = proto3;
527
- static typeName = "wg.cosmo.graphqlmetrics.v1.PublishGraphQLRequestMetricsRequest";
528
- static fields = proto3.util.newFieldList(() => [
529
- { no: 1, name: "SchemaUsage", kind: "message", T: SchemaUsageInfo, repeated: true },
530
- ]);
531
- static fromBinary(bytes, options) {
532
- return new PublishGraphQLRequestMetricsRequest().fromBinary(bytes, options);
533
- }
534
- static fromJson(jsonValue, options) {
535
- return new PublishGraphQLRequestMetricsRequest().fromJson(jsonValue, options);
536
- }
537
- static fromJsonString(jsonString, options) {
538
- return new PublishGraphQLRequestMetricsRequest().fromJsonString(jsonString, options);
539
- }
540
- static equals(a, b) {
541
- return proto3.util.equals(PublishGraphQLRequestMetricsRequest, a, b);
542
- }
543
- }
57
+ export const PublishGraphQLRequestMetricsRequestSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 9);
58
+ /**
59
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse.
60
+ * Use `create(PublishOperationCoverageReportResponseSchema)` to create a new message.
61
+ */
62
+ export const PublishOperationCoverageReportResponseSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 10);
544
63
  /**
545
- * @generated from message wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse
64
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest.
65
+ * Use `create(PublishAggregatedGraphQLRequestMetricsRequestSchema)` to create a new message.
546
66
  */
547
- export class PublishOperationCoverageReportResponse extends Message {
548
- constructor(data) {
549
- super();
550
- proto3.util.initPartial(data, this);
551
- }
552
- static runtime = proto3;
553
- static typeName = "wg.cosmo.graphqlmetrics.v1.PublishOperationCoverageReportResponse";
554
- static fields = proto3.util.newFieldList(() => []);
555
- static fromBinary(bytes, options) {
556
- return new PublishOperationCoverageReportResponse().fromBinary(bytes, options);
557
- }
558
- static fromJson(jsonValue, options) {
559
- return new PublishOperationCoverageReportResponse().fromJson(jsonValue, options);
560
- }
561
- static fromJsonString(jsonString, options) {
562
- return new PublishOperationCoverageReportResponse().fromJsonString(jsonString, options);
563
- }
564
- static equals(a, b) {
565
- return proto3.util.equals(PublishOperationCoverageReportResponse, a, b);
566
- }
567
- }
67
+ export const PublishAggregatedGraphQLRequestMetricsRequestSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 11);
568
68
  /**
569
- * @generated from message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest
69
+ * Describes the message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse.
70
+ * Use `create(PublishAggregatedGraphQLRequestMetricsResponseSchema)` to create a new message.
570
71
  */
571
- export class PublishAggregatedGraphQLRequestMetricsRequest extends Message {
72
+ export const PublishAggregatedGraphQLRequestMetricsResponseSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 12);
73
+ /**
74
+ * @generated from enum wg.cosmo.graphqlmetrics.v1.OperationType
75
+ */
76
+ export var OperationType;
77
+ (function (OperationType) {
78
+ /**
79
+ * @generated from enum value: QUERY = 0;
80
+ */
81
+ OperationType[OperationType["QUERY"] = 0] = "QUERY";
82
+ /**
83
+ * @generated from enum value: MUTATION = 1;
84
+ */
85
+ OperationType[OperationType["MUTATION"] = 1] = "MUTATION";
572
86
  /**
573
- * @generated from field: repeated wg.cosmo.graphqlmetrics.v1.SchemaUsageInfoAggregation Aggregation = 1;
87
+ * @generated from enum value: SUBSCRIPTION = 2;
574
88
  */
575
- Aggregation = [];
576
- constructor(data) {
577
- super();
578
- proto3.util.initPartial(data, this);
579
- }
580
- static runtime = proto3;
581
- static typeName = "wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsRequest";
582
- static fields = proto3.util.newFieldList(() => [
583
- { no: 1, name: "Aggregation", kind: "message", T: SchemaUsageInfoAggregation, repeated: true },
584
- ]);
585
- static fromBinary(bytes, options) {
586
- return new PublishAggregatedGraphQLRequestMetricsRequest().fromBinary(bytes, options);
587
- }
588
- static fromJson(jsonValue, options) {
589
- return new PublishAggregatedGraphQLRequestMetricsRequest().fromJson(jsonValue, options);
590
- }
591
- static fromJsonString(jsonString, options) {
592
- return new PublishAggregatedGraphQLRequestMetricsRequest().fromJsonString(jsonString, options);
593
- }
594
- static equals(a, b) {
595
- return proto3.util.equals(PublishAggregatedGraphQLRequestMetricsRequest, a, b);
596
- }
597
- }
89
+ OperationType[OperationType["SUBSCRIPTION"] = 2] = "SUBSCRIPTION";
90
+ })(OperationType || (OperationType = {}));
91
+ /**
92
+ * Describes the enum wg.cosmo.graphqlmetrics.v1.OperationType.
93
+ */
94
+ export const OperationTypeSchema = /*@__PURE__*/ enumDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 0);
598
95
  /**
599
- * @generated from message wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse
96
+ * @generated from service wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService
600
97
  */
601
- export class PublishAggregatedGraphQLRequestMetricsResponse extends Message {
602
- constructor(data) {
603
- super();
604
- proto3.util.initPartial(data, this);
605
- }
606
- static runtime = proto3;
607
- static typeName = "wg.cosmo.graphqlmetrics.v1.PublishAggregatedGraphQLRequestMetricsResponse";
608
- static fields = proto3.util.newFieldList(() => []);
609
- static fromBinary(bytes, options) {
610
- return new PublishAggregatedGraphQLRequestMetricsResponse().fromBinary(bytes, options);
611
- }
612
- static fromJson(jsonValue, options) {
613
- return new PublishAggregatedGraphQLRequestMetricsResponse().fromJson(jsonValue, options);
614
- }
615
- static fromJsonString(jsonString, options) {
616
- return new PublishAggregatedGraphQLRequestMetricsResponse().fromJsonString(jsonString, options);
617
- }
618
- static equals(a, b) {
619
- return proto3.util.equals(PublishAggregatedGraphQLRequestMetricsResponse, a, b);
620
- }
621
- }
98
+ export const GraphQLMetricsService = /*@__PURE__*/ serviceDesc(file_wg_cosmo_graphqlmetrics_v1_graphqlmetrics, 0);
622
99
  //# sourceMappingURL=graphqlmetrics_pb.js.map