@dxos/protocols 0.3.8-main.598e316 → 0.3.8-main.64c4d0a

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.
@@ -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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAqgB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+99FAA+99F,CAAC,CAAC,CAAC;AACxh+F,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAqgB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,2o+FAA2o+F,CAAC,CAAC,CAAC;AACps+F,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.8-main.598e316",
3
+ "version": "0.3.8-main.64c4d0a",
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/keys": "0.3.8-main.598e316",
37
- "@dxos/codec-protobuf": "0.3.8-main.598e316",
38
- "@dxos/timeframe": "0.3.8-main.598e316",
39
- "@dxos/invariant": "0.3.8-main.598e316"
36
+ "@dxos/codec-protobuf": "0.3.8-main.64c4d0a",
37
+ "@dxos/invariant": "0.3.8-main.64c4d0a",
38
+ "@dxos/keys": "0.3.8-main.64c4d0a",
39
+ "@dxos/timeframe": "0.3.8-main.64c4d0a"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -4,14 +4,17 @@
4
4
 
5
5
  syntax = "proto3";
6
6
 
7
+ // TODO(burdon): dxos.agent.plugin.functions
7
8
  package dxos.agent.functions;
8
9
 
9
10
  import "google/protobuf/empty.proto";
10
11
 
11
12
  message FunctionsConfig {
12
13
  optional int32 port = 1;
14
+ optional string manifest = 2;
13
15
  }
14
16
 
17
+ // TODO(burdon): Reconcile with typedefs.
15
18
  message Function {
16
19
  string name = 1;
17
20
  }
@@ -23,6 +26,7 @@ message RegisterRequest {
23
26
 
24
27
  message RegisterResponse {
25
28
  string registration_id = 1;
29
+ string endpoint = 2;
26
30
  }
27
31
 
28
32
  message UnregisterRequest {
@@ -68,6 +68,11 @@ export interface FunctionsConfig {
68
68
  * - proto3_optional = true
69
69
  */
70
70
  port?: number;
71
+ /**
72
+ * Options:
73
+ * - proto3_optional = true
74
+ */
75
+ manifest?: string;
71
76
  }
72
77
  /**
73
78
  * Defined in:
@@ -90,6 +95,7 @@ export interface RegisterRequest {
90
95
  */
91
96
  export interface RegisterResponse {
92
97
  registrationId: string;
98
+ endpoint: string;
93
99
  }
94
100
  /**
95
101
  * Defined in:
@@ -58,6 +58,37 @@ import * as dxos_value from "../value";
58
58
  import * as example_testing_data from "../../example/testing/data";
59
59
  import * as example_testing_rpc from "../../example/testing/rpc";
60
60
  import * as google_protobuf from "../../google/protobuf";
61
+ /**
62
+ * Defined in:
63
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
64
+ */
65
+ export interface Services {
66
+ spaces?: SpaceStats[];
67
+ }
68
+ /**
69
+ * Defined in:
70
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
71
+ */
72
+ export interface SpaceStats {
73
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
74
+ peers?: PeerStats[];
75
+ }
76
+ /**
77
+ * Defined in:
78
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
79
+ */
80
+ export interface PeerStats {
81
+ controlFeed: FeedStats;
82
+ dataFeed: FeedStats;
83
+ }
84
+ /**
85
+ * Defined in:
86
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
87
+ */
88
+ export interface FeedStats {
89
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
90
+ length: number;
91
+ }
61
92
  /**
62
93
  * Defined in:
63
94
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -480,34 +511,3 @@ export interface SubscribeToSwarmInfoRequest {
480
511
  export interface SubscribeToSwarmInfoResponse {
481
512
  data?: dxos_devtools_swarm.SwarmInfo[];
482
513
  }
483
- /**
484
- * Defined in:
485
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
486
- */
487
- export interface Services {
488
- spaces?: SpaceStats[];
489
- }
490
- /**
491
- * Defined in:
492
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
493
- */
494
- export interface SpaceStats {
495
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
496
- peers?: PeerStats[];
497
- }
498
- /**
499
- * Defined in:
500
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
501
- */
502
- export interface PeerStats {
503
- controlFeed: FeedStats;
504
- dataFeed: FeedStats;
505
- }
506
- /**
507
- * Defined in:
508
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
509
- */
510
- export interface FeedStats {
511
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
512
- length: number;
513
- }