@dxos/protocols 0.3.3-main.44bdbf7 → 0.3.3-main.619fab4
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/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts +0 -23
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +0 -2
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts +0 -23
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +0 -2
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/proto/dxos/tracing.proto +0 -11
- package/src/proto/gen/dxos/devtools/host.ts +31 -31
- package/src/proto/gen/dxos/tracing.ts +0 -23
- package/src/proto/gen/google/protobuf.ts +4 -4
- package/src/proto/gen/index.ts +1 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA6f7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,w+6FAAw+6F,CAAC,CAAC,CAAC;AACji7F,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.3.3-main.
|
|
3
|
+
"version": "0.3.3-main.619fab4",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dxos/codec-protobuf": "0.3.3-main.
|
|
37
|
-
"@dxos/invariant": "0.3.3-main.
|
|
38
|
-
"@dxos/keys": "0.3.3-main.
|
|
39
|
-
"@dxos/timeframe": "0.3.3-main.
|
|
36
|
+
"@dxos/codec-protobuf": "0.3.3-main.619fab4",
|
|
37
|
+
"@dxos/invariant": "0.3.3-main.619fab4",
|
|
38
|
+
"@dxos/keys": "0.3.3-main.619fab4",
|
|
39
|
+
"@dxos/timeframe": "0.3.3-main.619fab4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -72,16 +72,6 @@ message Metric {
|
|
|
72
72
|
optional string units = 2;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
message MultiCounter {
|
|
76
|
-
message Record {
|
|
77
|
-
string key = 1;
|
|
78
|
-
double value = 2;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
repeated Record records = 1;
|
|
82
|
-
optional string units = 2;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
75
|
message TimeSeries {
|
|
86
76
|
message Point {
|
|
87
77
|
double value = 1;
|
|
@@ -106,7 +96,6 @@ message Metric {
|
|
|
106
96
|
oneof Value {
|
|
107
97
|
Counter counter = 100;
|
|
108
98
|
TimeSeries time_series = 101;
|
|
109
|
-
MultiCounter multi_counter = 102;
|
|
110
99
|
Custom custom = 199;
|
|
111
100
|
}
|
|
112
101
|
}
|
|
@@ -55,6 +55,37 @@ import * as dxos_value from "../value";
|
|
|
55
55
|
import * as example_testing_data from "../../example/testing/data";
|
|
56
56
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
57
57
|
import * as google_protobuf from "../../google/protobuf";
|
|
58
|
+
/**
|
|
59
|
+
* Defined in:
|
|
60
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
61
|
+
*/
|
|
62
|
+
export interface Services {
|
|
63
|
+
spaces?: SpaceStats[];
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Defined in:
|
|
67
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
68
|
+
*/
|
|
69
|
+
export interface SpaceStats {
|
|
70
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
71
|
+
peers?: PeerStats[];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Defined in:
|
|
75
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
76
|
+
*/
|
|
77
|
+
export interface PeerStats {
|
|
78
|
+
controlFeed: FeedStats;
|
|
79
|
+
dataFeed: FeedStats;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Defined in:
|
|
83
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
84
|
+
*/
|
|
85
|
+
export interface FeedStats {
|
|
86
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
87
|
+
length: number;
|
|
88
|
+
}
|
|
58
89
|
/**
|
|
59
90
|
* Defined in:
|
|
60
91
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -477,34 +508,3 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
477
508
|
export interface SubscribeToSwarmInfoResponse {
|
|
478
509
|
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
479
510
|
}
|
|
480
|
-
/**
|
|
481
|
-
* Defined in:
|
|
482
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
483
|
-
*/
|
|
484
|
-
export interface Services {
|
|
485
|
-
spaces?: SpaceStats[];
|
|
486
|
-
}
|
|
487
|
-
/**
|
|
488
|
-
* Defined in:
|
|
489
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
490
|
-
*/
|
|
491
|
-
export interface SpaceStats {
|
|
492
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
493
|
-
peers?: PeerStats[];
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Defined in:
|
|
497
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
498
|
-
*/
|
|
499
|
-
export interface PeerStats {
|
|
500
|
-
controlFeed: FeedStats;
|
|
501
|
-
dataFeed: FeedStats;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* Defined in:
|
|
505
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
506
|
-
*/
|
|
507
|
-
export interface FeedStats {
|
|
508
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
509
|
-
length: number;
|
|
510
|
-
}
|
|
@@ -163,7 +163,6 @@ export interface Metric {
|
|
|
163
163
|
name: string;
|
|
164
164
|
counter?: Metric.Counter;
|
|
165
165
|
timeSeries?: Metric.TimeSeries;
|
|
166
|
-
multiCounter?: Metric.MultiCounter;
|
|
167
166
|
custom?: Metric.Custom;
|
|
168
167
|
}
|
|
169
168
|
export namespace Metric {
|
|
@@ -179,28 +178,6 @@ export namespace Metric {
|
|
|
179
178
|
*/
|
|
180
179
|
units?: string;
|
|
181
180
|
}
|
|
182
|
-
/**
|
|
183
|
-
* Defined in:
|
|
184
|
-
* {@link file://./../../dxos/tracing.proto}
|
|
185
|
-
*/
|
|
186
|
-
export interface MultiCounter {
|
|
187
|
-
records?: Metric.MultiCounter.Record[];
|
|
188
|
-
/**
|
|
189
|
-
* Options:
|
|
190
|
-
* - proto3_optional = true
|
|
191
|
-
*/
|
|
192
|
-
units?: string;
|
|
193
|
-
}
|
|
194
|
-
export namespace MultiCounter {
|
|
195
|
-
/**
|
|
196
|
-
* Defined in:
|
|
197
|
-
* {@link file://./../../dxos/tracing.proto}
|
|
198
|
-
*/
|
|
199
|
-
export interface Record {
|
|
200
|
-
key: string;
|
|
201
|
-
value: number;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
181
|
/**
|
|
205
182
|
* Defined in:
|
|
206
183
|
* {@link file://./../../dxos/tracing.proto}
|
|
@@ -57,10 +57,6 @@ import * as example_testing_data from "../example/testing/data";
|
|
|
57
57
|
import * as example_testing_rpc from "../example/testing/rpc";
|
|
58
58
|
export interface Empty {
|
|
59
59
|
}
|
|
60
|
-
export interface Timestamp {
|
|
61
|
-
seconds: string;
|
|
62
|
-
nanos: number;
|
|
63
|
-
}
|
|
64
60
|
export interface Any {
|
|
65
61
|
type_url: string;
|
|
66
62
|
value: Uint8Array;
|
|
@@ -82,6 +78,10 @@ export enum NullValue {
|
|
|
82
78
|
export interface ListValue {
|
|
83
79
|
values?: Value[];
|
|
84
80
|
}
|
|
81
|
+
export interface Timestamp {
|
|
82
|
+
seconds: string;
|
|
83
|
+
nanos: number;
|
|
84
|
+
}
|
|
85
85
|
export interface FileDescriptorSet {
|
|
86
86
|
file?: FileDescriptorProto[];
|
|
87
87
|
}
|