@dxos/protocols 0.1.11 → 0.1.13
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/src/proto/gen/dxos/client.d.ts +8 -0
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +1 -0
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/proto/dxos/client.proto +5 -0
- package/src/proto/dxos/config.proto +1 -0
- package/src/proto/gen/dxos/client.ts +8 -0
- package/src/proto/gen/index.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAyC9C,qEAA6C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAyC9C,qEAA6C;AAuWhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,utjHAAutjH,CAAC,CAAC;AACjvjH,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"assert": "^2.0.0",
|
|
22
22
|
"util": "^0.12.4",
|
|
23
|
-
"@dxos/codec-protobuf": "0.1.
|
|
24
|
-
"@dxos/hypercore": "0.1.
|
|
25
|
-
"@dxos/keys": "0.1.
|
|
26
|
-
"@dxos/timeframe": "0.1.
|
|
23
|
+
"@dxos/codec-protobuf": "0.1.13",
|
|
24
|
+
"@dxos/hypercore": "0.1.13",
|
|
25
|
+
"@dxos/keys": "0.1.13",
|
|
26
|
+
"@dxos/timeframe": "0.1.13"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/debug": "^4.1.7",
|
|
@@ -19,10 +19,15 @@ package dxos.client;
|
|
|
19
19
|
// SYSTEM
|
|
20
20
|
//
|
|
21
21
|
|
|
22
|
+
message Status {
|
|
23
|
+
string message = 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
22
26
|
service SystemService {
|
|
23
27
|
/// Called at the start of the session. Service should block until it is fully initialized.
|
|
24
28
|
rpc InitSession (google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
25
29
|
rpc GetConfig(google.protobuf.Empty) returns (dxos.config.Config);
|
|
30
|
+
rpc GetStatus (google.protobuf.Empty) returns (Status);
|
|
26
31
|
rpc Reset (google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
27
32
|
}
|
|
28
33
|
|
|
@@ -39,6 +39,13 @@ import * as dxos_type from "./type";
|
|
|
39
39
|
import * as example_testing_data from "../example/testing/data";
|
|
40
40
|
import * as example_testing_rpc from "../example/testing/rpc";
|
|
41
41
|
import * as google_protobuf from "../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../dxos/client.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface Status {
|
|
47
|
+
message: string;
|
|
48
|
+
}
|
|
42
49
|
/**
|
|
43
50
|
* Defined in:
|
|
44
51
|
* {@link file://./../../dxos/client.proto}
|
|
@@ -49,6 +56,7 @@ export interface SystemService {
|
|
|
49
56
|
*/
|
|
50
57
|
initSession: (request: void) => Promise<void>;
|
|
51
58
|
getConfig: (request: void) => Promise<dxos_config.Config>;
|
|
59
|
+
getStatus: (request: void) => Promise<Status>;
|
|
52
60
|
reset: (request: void) => Promise<void>;
|
|
53
61
|
}
|
|
54
62
|
/**
|