@miradorlabs/web-grpc 3.38.1 → 3.40.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 (31) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +6 -3
  3. package/google/protobuf/duration.ts +6 -3
  4. package/google/protobuf/timestamp.ts +6 -3
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +6 -3
  7. package/proto/gateway/common/v1/status.ts +6 -3
  8. package/proto/gateway/common/v1/types.ts +6 -3
  9. package/proto/gateway/web/v1/account_gateway.ts +6 -3
  10. package/proto/gateway/web/v1/admin_gateway.ts +1189 -89
  11. package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +36 -0
  12. package/proto/gateway/web/v1/admin_gateway_pb.js +1779 -57
  13. package/proto/gateway/web/v1/ai_gateway.ts +6 -3
  14. package/proto/gateway/web/v1/attribute_value.ts +6 -3
  15. package/proto/gateway/web/v1/beta_gateway.ts +6 -3
  16. package/proto/gateway/web/v1/chain_gateway.ts +6 -3
  17. package/proto/gateway/web/v1/common.ts +1 -1
  18. package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -3
  19. package/proto/gateway/web/v1/github_connector.ts +6 -3
  20. package/proto/gateway/web/v1/integration_gateway.ts +6 -3
  21. package/proto/gateway/web/v1/log_gateway.ts +6 -3
  22. package/proto/gateway/web/v1/market_gateway.ts +6 -3
  23. package/proto/gateway/web/v1/metric_gateway.ts +6 -3
  24. package/proto/gateway/web/v1/oauth_gateway.ts +6 -3
  25. package/proto/gateway/web/v1/plan_gateway.ts +6 -3
  26. package/proto/gateway/web/v1/policy_gateway.ts +6 -3
  27. package/proto/gateway/web/v1/reference_gateway.ts +6 -3
  28. package/proto/gateway/web/v1/rule_gateway.ts +6 -3
  29. package/proto/gateway/web/v1/slo_gateway.ts +6 -3
  30. package/proto/gateway/web/v1/trace_gateway.ts +6 -3
  31. package/proto/gateway/web/v1/trace_measure_gateway.ts +6 -3
@@ -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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/descriptor.proto
6
6
 
@@ -5195,8 +5195,11 @@ export type DeepPartial<T> = T extends Builtin ? T
5195
5195
  : Partial<T>;
5196
5196
 
5197
5197
  type KeysOfUnion<T> = T extends T ? keyof T : never;
5198
- export type Exact<P, I extends P> = P extends Builtin ? P
5199
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5198
+ export type Exact<P, I> = P extends Builtin ? P
5199
+ :
5200
+ & P
5201
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
5202
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5200
5203
 
5201
5204
  function longToNumber(int64: { toString(): string }): number {
5202
5205
  const num = globalThis.Number(int64.toString());
@@ -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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/duration.proto
6
6
 
@@ -183,8 +183,11 @@ export type DeepPartial<T> = T extends Builtin ? T
183
183
  : Partial<T>;
184
184
 
185
185
  type KeysOfUnion<T> = T extends T ? keyof T : never;
186
- export type Exact<P, I extends P> = P extends Builtin ? P
187
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
186
+ export type Exact<P, I> = P extends Builtin ? P
187
+ :
188
+ & P
189
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
190
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
188
191
 
189
192
  function longToNumber(int64: { toString(): string }): number {
190
193
  const num = globalThis.Number(int64.toString());
@@ -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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/timestamp.proto
6
6
 
@@ -208,8 +208,11 @@ export type DeepPartial<T> = T extends Builtin ? T
208
208
  : Partial<T>;
209
209
 
210
210
  type KeysOfUnion<T> = T extends T ? keyof T : never;
211
- export type Exact<P, I extends P> = P extends Builtin ? P
212
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
211
+ export type Exact<P, I> = P extends Builtin ? P
212
+ :
213
+ & P
214
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
215
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
213
216
 
214
217
  const timestampJsonRegex = /^.+T\d{2}:\d{2}:\d{2}(\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
215
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.38.1",
3
+ "version": "3.40.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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/attribute_value.proto
6
6
 
@@ -510,8 +510,11 @@ export type DeepPartial<T> = T extends Builtin ? T
510
510
  : Partial<T>;
511
511
 
512
512
  type KeysOfUnion<T> = T extends T ? keyof T : never;
513
- export type Exact<P, I extends P> = P extends Builtin ? P
514
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
513
+ export type Exact<P, I> = P extends Builtin ? P
514
+ :
515
+ & P
516
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
517
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
515
518
 
516
519
  function longToNumber(int64: { toString(): string }): number {
517
520
  const num = globalThis.Number(int64.toString());
@@ -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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/status.proto
6
6
 
@@ -187,8 +187,11 @@ export type DeepPartial<T> = T extends Builtin ? T
187
187
  : Partial<T>;
188
188
 
189
189
  type KeysOfUnion<T> = T extends T ? keyof T : never;
190
- export type Exact<P, I extends P> = P extends Builtin ? P
191
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
190
+ export type Exact<P, I> = P extends Builtin ? P
191
+ :
192
+ & P
193
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
194
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
192
195
 
193
196
  function isSet(value: any): boolean {
194
197
  return value !== null && value !== undefined;
@@ -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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/types.proto
6
6
 
@@ -159,8 +159,11 @@ export type DeepPartial<T> = T extends Builtin ? T
159
159
  : Partial<T>;
160
160
 
161
161
  type KeysOfUnion<T> = T extends T ? keyof T : never;
162
- export type Exact<P, I extends P> = P extends Builtin ? P
163
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
162
+ export type Exact<P, I> = P extends Builtin ? P
163
+ :
164
+ & P
165
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
166
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
164
167
 
165
168
  function longToNumber(int64: { toString(): string }): number {
166
169
  const num = globalThis.Number(int64.toString());
@@ -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.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/account_gateway.proto
6
6
 
@@ -9617,8 +9617,11 @@ export type DeepPartial<T> = T extends Builtin ? T
9617
9617
  : Partial<T>;
9618
9618
 
9619
9619
  type KeysOfUnion<T> = T extends T ? keyof T : never;
9620
- export type Exact<P, I extends P> = P extends Builtin ? P
9621
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
9620
+ export type Exact<P, I> = P extends Builtin ? P
9621
+ :
9622
+ & P
9623
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
9624
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
9622
9625
 
9623
9626
  function toTimestamp(date: Date): Timestamp {
9624
9627
  const seconds = Math.trunc(date.getTime() / 1_000);