@miradorlabs/web-grpc 2.0.0 → 2.1.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/protobuf/timestamp.ts +1 -1
- package/package.json +1 -1
- package/proto/gateway/common/v1/status.ts +8 -1
- package/proto/gateway/common/v1/status_pb.js +2 -1
- package/proto/gateway/common/v1/types.ts +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +1 -1
- package/proto/gateway/web/v1/automation_gateway.ts +1 -1
- package/proto/gateway/web/v1/chain_gateway.ts +1 -1
- package/proto/gateway/web/v1/dashboard_gateway.ts +2519 -0
- package/proto/gateway/web/v1/dashboard_gateway_grpc_pb.js +220 -0
- package/proto/gateway/web/v1/dashboard_gateway_pb.js +4792 -0
- package/proto/gateway/web/v1/market_gateway.ts +1 -1
- package/proto/gateway/web/v1/{telemetry_gateway.ts → metric_gateway.ts} +1030 -405
- package/proto/gateway/web/v1/metric_gateway_grpc_pb.js +122 -0
- package/proto/gateway/web/v1/{telemetry_gateway_pb.js → metric_gateway_pb.js} +1661 -535
- 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/stream_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_gateway.ts +8 -1
- package/proto/gateway/web/v1/trace_gateway_pb.js +2 -1
- package/proto/gateway/web/v1/telemetry_gateway_grpc_pb.js +0 -159
package/package.json
CHANGED
|
@@ -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.12.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/common/v1/status.proto
|
|
6
6
|
|
|
@@ -23,6 +23,8 @@ export enum ResponseStatus_StatusCode {
|
|
|
23
23
|
STATUS_CODE_INTERNAL_ERROR = 4,
|
|
24
24
|
/** STATUS_CODE_UNAUTHENTICATED - missing or invalid authentication */
|
|
25
25
|
STATUS_CODE_UNAUTHENTICATED = 5,
|
|
26
|
+
/** STATUS_CODE_CONFLICT - optimistic-lock version mismatch; re-fetch and retry */
|
|
27
|
+
STATUS_CODE_CONFLICT = 6,
|
|
26
28
|
UNRECOGNIZED = -1,
|
|
27
29
|
}
|
|
28
30
|
|
|
@@ -46,6 +48,9 @@ export function responseStatus_StatusCodeFromJSON(object: any): ResponseStatus_S
|
|
|
46
48
|
case 5:
|
|
47
49
|
case "STATUS_CODE_UNAUTHENTICATED":
|
|
48
50
|
return ResponseStatus_StatusCode.STATUS_CODE_UNAUTHENTICATED;
|
|
51
|
+
case 6:
|
|
52
|
+
case "STATUS_CODE_CONFLICT":
|
|
53
|
+
return ResponseStatus_StatusCode.STATUS_CODE_CONFLICT;
|
|
49
54
|
case -1:
|
|
50
55
|
case "UNRECOGNIZED":
|
|
51
56
|
default:
|
|
@@ -67,6 +72,8 @@ export function responseStatus_StatusCodeToJSON(object: ResponseStatus_StatusCod
|
|
|
67
72
|
return "STATUS_CODE_INTERNAL_ERROR";
|
|
68
73
|
case ResponseStatus_StatusCode.STATUS_CODE_UNAUTHENTICATED:
|
|
69
74
|
return "STATUS_CODE_UNAUTHENTICATED";
|
|
75
|
+
case ResponseStatus_StatusCode.STATUS_CODE_CONFLICT:
|
|
76
|
+
return "STATUS_CODE_CONFLICT";
|
|
70
77
|
case ResponseStatus_StatusCode.UNRECOGNIZED:
|
|
71
78
|
default:
|
|
72
79
|
return "UNRECOGNIZED";
|
|
@@ -177,7 +177,8 @@ proto.gateway.common.v1.ResponseStatus.StatusCode = {
|
|
|
177
177
|
STATUS_CODE_NOT_FOUND: 2,
|
|
178
178
|
STATUS_CODE_VALIDATION_ERROR: 3,
|
|
179
179
|
STATUS_CODE_INTERNAL_ERROR: 4,
|
|
180
|
-
STATUS_CODE_UNAUTHENTICATED: 5
|
|
180
|
+
STATUS_CODE_UNAUTHENTICATED: 5,
|
|
181
|
+
STATUS_CODE_CONFLICT: 6
|
|
181
182
|
};
|
|
182
183
|
|
|
183
184
|
/**
|