@miradorlabs/web-grpc 3.18.0 → 3.19.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 (30) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +1 -1
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +1 -1
  11. package/proto/gateway/web/v1/ai_gateway.ts +1 -1
  12. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  13. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  14. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  15. package/proto/gateway/web/v1/common.ts +1 -1
  16. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  17. package/proto/gateway/web/v1/github_connector.ts +1 -1
  18. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  19. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  20. package/proto/gateway/web/v1/market_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  22. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  23. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  24. package/proto/gateway/web/v1/policy_gateway.ts +27 -3
  25. package/proto/gateway/web/v1/policy_gateway_pb.js +31 -1
  26. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  29. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  30. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: google/api/field_behavior.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/descriptor.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/duration.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/timestamp.proto
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/attribute_value.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/status.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/types.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/account_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/admin_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/ai_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/attribute_value.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/beta_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/chain_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/common.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/derived_metric_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/github_connector.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/integration_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/log_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/market_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/metric_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/oauth_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/plan_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/policy_gateway.proto
6
6
 
@@ -25,7 +25,11 @@ export interface TermaPolicy {
25
25
  | undefined;
26
26
  /** members emit only from the repositories it lists */
27
27
  perRepository?: TermaPerRepositoryCoverage | undefined;
28
- capture: TermaCapture | undefined;
28
+ capture:
29
+ | TermaCapture
30
+ | undefined;
31
+ /** terma installs its commit hooks in the repositories this policy collects */
32
+ gitHooks: boolean;
29
33
  }
30
34
 
31
35
  export interface TermaGlobalCoverage {
@@ -174,7 +178,7 @@ export const ProjectPolicy: MessageFns<ProjectPolicy> = {
174
178
  };
175
179
 
176
180
  function createBaseTermaPolicy(): TermaPolicy {
177
- return { global: undefined, perRepository: undefined, capture: undefined };
181
+ return { global: undefined, perRepository: undefined, capture: undefined, gitHooks: false };
178
182
  }
179
183
 
180
184
  export const TermaPolicy: MessageFns<TermaPolicy> = {
@@ -188,6 +192,9 @@ export const TermaPolicy: MessageFns<TermaPolicy> = {
188
192
  if (message.capture !== undefined) {
189
193
  TermaCapture.encode(message.capture, writer.uint32(26).fork()).join();
190
194
  }
195
+ if (message.gitHooks !== false) {
196
+ writer.uint32(32).bool(message.gitHooks);
197
+ }
191
198
  return writer;
192
199
  },
193
200
 
@@ -228,6 +235,14 @@ export const TermaPolicy: MessageFns<TermaPolicy> = {
228
235
  message.capture = TermaCapture.decode(reader, reader.uint32());
229
236
  continue;
230
237
  }
238
+ case 4: {
239
+ if (tag !== 32) {
240
+ break;
241
+ }
242
+
243
+ message.gitHooks = reader.bool();
244
+ continue;
245
+ }
231
246
  }
232
247
  if ((tag & 7) === 4 || tag === 0) {
233
248
  break;
@@ -249,6 +264,11 @@ export const TermaPolicy: MessageFns<TermaPolicy> = {
249
264
  ? TermaPerRepositoryCoverage.fromJSON(object.per_repository)
250
265
  : undefined,
251
266
  capture: isSet(object.capture) ? TermaCapture.fromJSON(object.capture) : undefined,
267
+ gitHooks: isSet(object.gitHooks)
268
+ ? globalThis.Boolean(object.gitHooks)
269
+ : isSet(object.git_hooks)
270
+ ? globalThis.Boolean(object.git_hooks)
271
+ : false,
252
272
  };
253
273
  },
254
274
 
@@ -263,6 +283,9 @@ export const TermaPolicy: MessageFns<TermaPolicy> = {
263
283
  if (message.capture !== undefined) {
264
284
  obj.capture = TermaCapture.toJSON(message.capture);
265
285
  }
286
+ if (message.gitHooks !== false) {
287
+ obj.gitHooks = message.gitHooks;
288
+ }
266
289
  return obj;
267
290
  },
268
291
 
@@ -280,6 +303,7 @@ export const TermaPolicy: MessageFns<TermaPolicy> = {
280
303
  message.capture = (object.capture !== undefined && object.capture !== null)
281
304
  ? TermaCapture.fromPartial(object.capture)
282
305
  : undefined;
306
+ message.gitHooks = object.gitHooks ?? false;
283
307
  return message;
284
308
  },
285
309
  };
@@ -457,7 +457,8 @@ proto.gateway.web.v1.TermaPolicy.toObject = function(includeInstance, msg) {
457
457
  var f, obj = {
458
458
  global: (f = msg.getGlobal()) && proto.gateway.web.v1.TermaGlobalCoverage.toObject(includeInstance, f),
459
459
  perRepository: (f = msg.getPerRepository()) && proto.gateway.web.v1.TermaPerRepositoryCoverage.toObject(includeInstance, f),
460
- capture: (f = msg.getCapture()) && proto.gateway.web.v1.TermaCapture.toObject(includeInstance, f)
460
+ capture: (f = msg.getCapture()) && proto.gateway.web.v1.TermaCapture.toObject(includeInstance, f),
461
+ gitHooks: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
461
462
  };
462
463
 
463
464
  if (includeInstance) {
@@ -509,6 +510,10 @@ proto.gateway.web.v1.TermaPolicy.deserializeBinaryFromReader = function(msg, rea
509
510
  reader.readMessage(value,proto.gateway.web.v1.TermaCapture.deserializeBinaryFromReader);
510
511
  msg.setCapture(value);
511
512
  break;
513
+ case 4:
514
+ var value = /** @type {boolean} */ (reader.readBool());
515
+ msg.setGitHooks(value);
516
+ break;
512
517
  default:
513
518
  reader.skipField();
514
519
  break;
@@ -562,6 +567,13 @@ proto.gateway.web.v1.TermaPolicy.serializeBinaryToWriter = function(message, wri
562
567
  proto.gateway.web.v1.TermaCapture.serializeBinaryToWriter
563
568
  );
564
569
  }
570
+ f = message.getGitHooks();
571
+ if (f) {
572
+ writer.writeBool(
573
+ 4,
574
+ f
575
+ );
576
+ }
565
577
  };
566
578
 
567
579
 
@@ -676,6 +688,24 @@ proto.gateway.web.v1.TermaPolicy.prototype.hasCapture = function() {
676
688
  };
677
689
 
678
690
 
691
+ /**
692
+ * optional bool git_hooks = 4;
693
+ * @return {boolean}
694
+ */
695
+ proto.gateway.web.v1.TermaPolicy.prototype.getGitHooks = function() {
696
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
697
+ };
698
+
699
+
700
+ /**
701
+ * @param {boolean} value
702
+ * @return {!proto.gateway.web.v1.TermaPolicy} returns this
703
+ */
704
+ proto.gateway.web.v1.TermaPolicy.prototype.setGitHooks = function(value) {
705
+ return jspb.Message.setProto3BooleanField(this, 4, value);
706
+ };
707
+
708
+
679
709
 
680
710
 
681
711
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/reference_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/rule_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/slo_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/trace_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.12.4
3
+ // protoc-gen-ts_proto v2.13.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/trace_measure_gateway.proto
6
6