@miradorlabs/web-grpc 3.28.0 → 3.30.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.
- package/google/api/field_behavior.ts +1 -1
- package/google/protobuf/descriptor.ts +24 -14
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +1 -1
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +6 -2
- package/proto/gateway/common/v1/status.ts +1 -1
- package/proto/gateway/common/v1/types.ts +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +6 -2
- package/proto/gateway/web/v1/admin_gateway.ts +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +44 -40
- package/proto/gateway/web/v1/attribute_value.ts +6 -2
- package/proto/gateway/web/v1/beta_gateway.ts +1 -1
- package/proto/gateway/web/v1/chain_gateway.ts +6 -2
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -2
- package/proto/gateway/web/v1/github_connector.ts +202 -1376
- package/proto/gateway/web/v1/github_connector_grpc_pb.js +0 -102
- package/proto/gateway/web/v1/github_connector_pb.js +294 -2531
- package/proto/gateway/web/v1/integration_gateway.ts +1 -1
- package/proto/gateway/web/v1/log_gateway.ts +1 -1
- package/proto/gateway/web/v1/market_gateway.ts +6 -2
- package/proto/gateway/web/v1/metric_gateway.ts +6 -2
- package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
- package/proto/gateway/web/v1/plan_gateway.ts +1 -1
- package/proto/gateway/web/v1/policy_gateway.ts +1 -1
- package/proto/gateway/web/v1/reference_gateway.ts +1 -1
- package/proto/gateway/web/v1/rule_gateway.ts +7 -3
- package/proto/gateway/web/v1/slo_gateway.ts +12 -8
- package/proto/gateway/web/v1/trace_gateway.ts +21 -15
- package/proto/gateway/web/v1/trace_measure_gateway.ts +6 -2
|
@@ -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.
|
|
3
|
+
// protoc-gen-ts_proto v2.15.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/market_gateway.proto
|
|
6
6
|
|
|
@@ -448,7 +448,7 @@ export const CryptoFxRate: MessageFns<CryptoFxRate> = {
|
|
|
448
448
|
obj.symbol = message.symbol;
|
|
449
449
|
}
|
|
450
450
|
if (message.price !== 0) {
|
|
451
|
-
obj.price = message.price;
|
|
451
|
+
obj.price = floatToJson(message.price);
|
|
452
452
|
}
|
|
453
453
|
if (message.formatted !== "") {
|
|
454
454
|
obj.formatted = message.formatted;
|
|
@@ -511,6 +511,10 @@ interface Rpc {
|
|
|
511
511
|
): Observable<Uint8Array>;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
+
function floatToJson(value: number | null | undefined): number | string | null | undefined {
|
|
515
|
+
return typeof value === "number" && !globalThis.Number.isFinite(value) ? globalThis.String(value) : value;
|
|
516
|
+
}
|
|
517
|
+
|
|
514
518
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
515
519
|
|
|
516
520
|
export type DeepPartial<T> = T extends Builtin ? T
|
|
@@ -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.
|
|
3
|
+
// protoc-gen-ts_proto v2.15.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/metric_gateway.proto
|
|
6
6
|
|
|
@@ -2239,7 +2239,7 @@ export const MetricBucket: MessageFns<MetricBucket> = {
|
|
|
2239
2239
|
obj.bucketStart = message.bucketStart.toISOString();
|
|
2240
2240
|
}
|
|
2241
2241
|
if (message.value !== 0) {
|
|
2242
|
-
obj.value = message.value;
|
|
2242
|
+
obj.value = floatToJson(message.value);
|
|
2243
2243
|
}
|
|
2244
2244
|
return obj;
|
|
2245
2245
|
},
|
|
@@ -6444,6 +6444,10 @@ interface Rpc {
|
|
|
6444
6444
|
): Observable<Uint8Array>;
|
|
6445
6445
|
}
|
|
6446
6446
|
|
|
6447
|
+
function floatToJson(value: number | null | undefined): number | string | null | undefined {
|
|
6448
|
+
return typeof value === "number" && !globalThis.Number.isFinite(value) ? globalThis.String(value) : value;
|
|
6449
|
+
}
|
|
6450
|
+
|
|
6447
6451
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
6448
6452
|
|
|
6449
6453
|
export type DeepPartial<T> = T extends Builtin ? T
|
|
@@ -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.
|
|
3
|
+
// protoc-gen-ts_proto v2.15.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/rule_gateway.proto
|
|
6
6
|
|
|
@@ -4930,7 +4930,7 @@ export const PreviewMetricRuleResponse: MessageFns<PreviewMetricRuleResponse> =
|
|
|
4930
4930
|
obj.status = ResponseStatus.toJSON(message.status);
|
|
4931
4931
|
}
|
|
4932
4932
|
if (message.value !== undefined) {
|
|
4933
|
-
obj.value = message.value;
|
|
4933
|
+
obj.value = floatToJson(message.value);
|
|
4934
4934
|
}
|
|
4935
4935
|
if (message.wouldFire !== false) {
|
|
4936
4936
|
obj.wouldFire = message.wouldFire;
|
|
@@ -5429,7 +5429,7 @@ export const MetricRuleActivityEvent: MessageFns<MetricRuleActivityEvent> = {
|
|
|
5429
5429
|
obj.expression = message.expression;
|
|
5430
5430
|
}
|
|
5431
5431
|
if (message.observedValue !== 0) {
|
|
5432
|
-
obj.observedValue = message.observedValue;
|
|
5432
|
+
obj.observedValue = floatToJson(message.observedValue);
|
|
5433
5433
|
}
|
|
5434
5434
|
if (message.severity !== 0) {
|
|
5435
5435
|
obj.severity = severityToJSON(message.severity);
|
|
@@ -5654,6 +5654,10 @@ interface Rpc {
|
|
|
5654
5654
|
): Observable<Uint8Array>;
|
|
5655
5655
|
}
|
|
5656
5656
|
|
|
5657
|
+
function floatToJson(value: number | null | undefined): number | string | null | undefined {
|
|
5658
|
+
return typeof value === "number" && !globalThis.Number.isFinite(value) ? globalThis.String(value) : value;
|
|
5659
|
+
}
|
|
5660
|
+
|
|
5657
5661
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
5658
5662
|
|
|
5659
5663
|
export type DeepPartial<T> = T extends Builtin ? T
|
|
@@ -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.
|
|
3
|
+
// protoc-gen-ts_proto v2.15.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/slo_gateway.proto
|
|
6
6
|
|
|
@@ -848,7 +848,7 @@ export const SloObjective: MessageFns<SloObjective> = {
|
|
|
848
848
|
obj.groupBy = message.groupBy;
|
|
849
849
|
}
|
|
850
850
|
if (message.target !== 0) {
|
|
851
|
-
obj.target = message.target;
|
|
851
|
+
obj.target = floatToJson(message.target);
|
|
852
852
|
}
|
|
853
853
|
if (message.windowSeconds !== 0) {
|
|
854
854
|
obj.windowSeconds = Math.round(message.windowSeconds);
|
|
@@ -944,7 +944,7 @@ export const GaugeThresholdSli: MessageFns<GaugeThresholdSli> = {
|
|
|
944
944
|
obj.comparator = sloComparatorToJSON(message.comparator);
|
|
945
945
|
}
|
|
946
946
|
if (message.threshold !== 0) {
|
|
947
|
-
obj.threshold = message.threshold;
|
|
947
|
+
obj.threshold = floatToJson(message.threshold);
|
|
948
948
|
}
|
|
949
949
|
return obj;
|
|
950
950
|
},
|
|
@@ -2837,10 +2837,10 @@ export const SloCorridorStatus: MessageFns<SloCorridorStatus> = {
|
|
|
2837
2837
|
obj.goodCount = Math.round(message.goodCount);
|
|
2838
2838
|
}
|
|
2839
2839
|
if (message.compliance !== 0) {
|
|
2840
|
-
obj.compliance = message.compliance;
|
|
2840
|
+
obj.compliance = floatToJson(message.compliance);
|
|
2841
2841
|
}
|
|
2842
2842
|
if (message.budgetRemaining !== 0) {
|
|
2843
|
-
obj.budgetRemaining = message.budgetRemaining;
|
|
2843
|
+
obj.budgetRemaining = floatToJson(message.budgetRemaining);
|
|
2844
2844
|
}
|
|
2845
2845
|
if (message.state !== 0) {
|
|
2846
2846
|
obj.state = sloCorridorStateToJSON(message.state);
|
|
@@ -3296,7 +3296,7 @@ export const SloTimeline: MessageFns<SloTimeline> = {
|
|
|
3296
3296
|
obj.enabled = message.enabled;
|
|
3297
3297
|
}
|
|
3298
3298
|
if (message.target !== 0) {
|
|
3299
|
-
obj.target = message.target;
|
|
3299
|
+
obj.target = floatToJson(message.target);
|
|
3300
3300
|
}
|
|
3301
3301
|
if (message.bucketSeconds !== 0) {
|
|
3302
3302
|
obj.bucketSeconds = Math.round(message.bucketSeconds);
|
|
@@ -3458,7 +3458,7 @@ export const SloTimelineBucket: MessageFns<SloTimelineBucket> = {
|
|
|
3458
3458
|
obj.goodCount = Math.round(message.goodCount);
|
|
3459
3459
|
}
|
|
3460
3460
|
if (message.compliance !== 0) {
|
|
3461
|
-
obj.compliance = message.compliance;
|
|
3461
|
+
obj.compliance = floatToJson(message.compliance);
|
|
3462
3462
|
}
|
|
3463
3463
|
if (message.state !== 0) {
|
|
3464
3464
|
obj.state = sloCorridorStateToJSON(message.state);
|
|
@@ -5179,7 +5179,7 @@ export const SloDashboardHealth: MessageFns<SloDashboardHealth> = {
|
|
|
5179
5179
|
obj.noDataCount = Math.round(message.noDataCount);
|
|
5180
5180
|
}
|
|
5181
5181
|
if (message.lowestBudgetRemaining !== 0) {
|
|
5182
|
-
obj.lowestBudgetRemaining = message.lowestBudgetRemaining;
|
|
5182
|
+
obj.lowestBudgetRemaining = floatToJson(message.lowestBudgetRemaining);
|
|
5183
5183
|
}
|
|
5184
5184
|
if (message.worstState !== 0) {
|
|
5185
5185
|
obj.worstState = sloCorridorStateToJSON(message.worstState);
|
|
@@ -6140,6 +6140,10 @@ interface Rpc {
|
|
|
6140
6140
|
): Observable<Uint8Array>;
|
|
6141
6141
|
}
|
|
6142
6142
|
|
|
6143
|
+
function floatToJson(value: number | null | undefined): number | string | null | undefined {
|
|
6144
|
+
return typeof value === "number" && !globalThis.Number.isFinite(value) ? globalThis.String(value) : value;
|
|
6145
|
+
}
|
|
6146
|
+
|
|
6143
6147
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
6144
6148
|
|
|
6145
6149
|
export type DeepPartial<T> = T extends Builtin ? T
|
|
@@ -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.
|
|
3
|
+
// protoc-gen-ts_proto v2.15.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/trace_gateway.proto
|
|
6
6
|
|
|
@@ -2649,7 +2649,7 @@ export const AnalyticsSnapshot: MessageFns<AnalyticsSnapshot> = {
|
|
|
2649
2649
|
obj.totalTraces = Math.round(message.totalTraces);
|
|
2650
2650
|
}
|
|
2651
2651
|
if (message.successRate !== 0) {
|
|
2652
|
-
obj.successRate = message.successRate;
|
|
2652
|
+
obj.successRate = floatToJson(message.successRate);
|
|
2653
2653
|
}
|
|
2654
2654
|
if (message.failedCount !== 0) {
|
|
2655
2655
|
obj.failedCount = Math.round(message.failedCount);
|
|
@@ -2658,16 +2658,16 @@ export const AnalyticsSnapshot: MessageFns<AnalyticsSnapshot> = {
|
|
|
2658
2658
|
obj.avgDurationMs = Math.round(message.avgDurationMs);
|
|
2659
2659
|
}
|
|
2660
2660
|
if (message.totalTracesChangePct !== 0) {
|
|
2661
|
-
obj.totalTracesChangePct = message.totalTracesChangePct;
|
|
2661
|
+
obj.totalTracesChangePct = floatToJson(message.totalTracesChangePct);
|
|
2662
2662
|
}
|
|
2663
2663
|
if (message.successRateChangePct !== 0) {
|
|
2664
|
-
obj.successRateChangePct = message.successRateChangePct;
|
|
2664
|
+
obj.successRateChangePct = floatToJson(message.successRateChangePct);
|
|
2665
2665
|
}
|
|
2666
2666
|
if (message.failedCountChangePct !== 0) {
|
|
2667
|
-
obj.failedCountChangePct = message.failedCountChangePct;
|
|
2667
|
+
obj.failedCountChangePct = floatToJson(message.failedCountChangePct);
|
|
2668
2668
|
}
|
|
2669
2669
|
if (message.avgDurationChangePct !== 0) {
|
|
2670
|
-
obj.avgDurationChangePct = message.avgDurationChangePct;
|
|
2670
|
+
obj.avgDurationChangePct = floatToJson(message.avgDurationChangePct);
|
|
2671
2671
|
}
|
|
2672
2672
|
if (message.buckets?.length) {
|
|
2673
2673
|
obj.buckets = message.buckets.map((e) => AnalyticsBucket.toJSON(e));
|
|
@@ -2987,7 +2987,7 @@ export const AnalyticsBucketUpdate: MessageFns<AnalyticsBucketUpdate> = {
|
|
|
2987
2987
|
obj.totalTraces = Math.round(message.totalTraces);
|
|
2988
2988
|
}
|
|
2989
2989
|
if (message.successRate !== 0) {
|
|
2990
|
-
obj.successRate = message.successRate;
|
|
2990
|
+
obj.successRate = floatToJson(message.successRate);
|
|
2991
2991
|
}
|
|
2992
2992
|
if (message.failedCount !== 0) {
|
|
2993
2993
|
obj.failedCount = Math.round(message.failedCount);
|
|
@@ -2996,16 +2996,16 @@ export const AnalyticsBucketUpdate: MessageFns<AnalyticsBucketUpdate> = {
|
|
|
2996
2996
|
obj.avgDurationMs = Math.round(message.avgDurationMs);
|
|
2997
2997
|
}
|
|
2998
2998
|
if (message.totalTracesChangePct !== 0) {
|
|
2999
|
-
obj.totalTracesChangePct = message.totalTracesChangePct;
|
|
2999
|
+
obj.totalTracesChangePct = floatToJson(message.totalTracesChangePct);
|
|
3000
3000
|
}
|
|
3001
3001
|
if (message.successRateChangePct !== 0) {
|
|
3002
|
-
obj.successRateChangePct = message.successRateChangePct;
|
|
3002
|
+
obj.successRateChangePct = floatToJson(message.successRateChangePct);
|
|
3003
3003
|
}
|
|
3004
3004
|
if (message.failedCountChangePct !== 0) {
|
|
3005
|
-
obj.failedCountChangePct = message.failedCountChangePct;
|
|
3005
|
+
obj.failedCountChangePct = floatToJson(message.failedCountChangePct);
|
|
3006
3006
|
}
|
|
3007
3007
|
if (message.avgDurationChangePct !== 0) {
|
|
3008
|
-
obj.avgDurationChangePct = message.avgDurationChangePct;
|
|
3008
|
+
obj.avgDurationChangePct = floatToJson(message.avgDurationChangePct);
|
|
3009
3009
|
}
|
|
3010
3010
|
if (message.bucketTraceCount !== 0) {
|
|
3011
3011
|
obj.bucketTraceCount = Math.round(message.bucketTraceCount);
|
|
@@ -4580,11 +4580,13 @@ export const Trace: MessageFns<Trace> = {
|
|
|
4580
4580
|
for (const v of message.ruleMatches) {
|
|
4581
4581
|
RuleMatch.encode(v!, writer.uint32(122).fork()).join();
|
|
4582
4582
|
}
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4583
|
+
if (message.hintsUsed.length !== 0) {
|
|
4584
|
+
writer.uint32(130).fork();
|
|
4585
|
+
for (const v of message.hintsUsed) {
|
|
4586
|
+
writer.int32(v);
|
|
4587
|
+
}
|
|
4588
|
+
writer.join();
|
|
4586
4589
|
}
|
|
4587
|
-
writer.join();
|
|
4588
4590
|
if (message.errorSpanCount !== 0) {
|
|
4589
4591
|
writer.uint32(136).int32(message.errorSpanCount);
|
|
4590
4592
|
}
|
|
@@ -7136,6 +7138,10 @@ interface Rpc {
|
|
|
7136
7138
|
): Observable<Uint8Array>;
|
|
7137
7139
|
}
|
|
7138
7140
|
|
|
7141
|
+
function floatToJson(value: number | null | undefined): number | string | null | undefined {
|
|
7142
|
+
return typeof value === "number" && !globalThis.Number.isFinite(value) ? globalThis.String(value) : value;
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7139
7145
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
7140
7146
|
|
|
7141
7147
|
export type DeepPartial<T> = T extends Builtin ? T
|
|
@@ -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.
|
|
3
|
+
// protoc-gen-ts_proto v2.15.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/trace_measure_gateway.proto
|
|
6
6
|
|
|
@@ -597,7 +597,7 @@ export const TraceMeasureRow: MessageFns<TraceMeasureRow> = {
|
|
|
597
597
|
obj.createdAt = message.createdAt.toISOString();
|
|
598
598
|
}
|
|
599
599
|
if (message.value !== 0) {
|
|
600
|
-
obj.value = message.value;
|
|
600
|
+
obj.value = floatToJson(message.value);
|
|
601
601
|
}
|
|
602
602
|
if (message.groupValues) {
|
|
603
603
|
const entries = globalThis.Object.entries(message.groupValues) as [string, string][];
|
|
@@ -913,6 +913,10 @@ interface Rpc {
|
|
|
913
913
|
request(service: string, method: string, data: Uint8Array, metadata?: Metadata): Promise<Uint8Array>;
|
|
914
914
|
}
|
|
915
915
|
|
|
916
|
+
function floatToJson(value: number | null | undefined): number | string | null | undefined {
|
|
917
|
+
return typeof value === "number" && !globalThis.Number.isFinite(value) ? globalThis.String(value) : value;
|
|
918
|
+
}
|
|
919
|
+
|
|
916
920
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
917
921
|
|
|
918
922
|
export type DeepPartial<T> = T extends Builtin ? T
|