@dxos/protocols 0.1.30-next.7c60cd3 → 0.1.30-next.a4f4fa5

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.
@@ -178,7 +178,7 @@ message Runtime {
178
178
  optional string email = 3;
179
179
  optional string certfile = 4;
180
180
  optional string keyfile = 5;
181
- optional string dnsprovider = 6;
181
+ optional string dnsprovider = 6; // TODO(burdon): dns_provider.
182
182
  }
183
183
 
184
184
  message P2P {
@@ -215,12 +215,13 @@ message Runtime {
215
215
  optional string port = 4;
216
216
  }
217
217
 
218
+ // TODO(burdon): Needs documentation/
218
219
  optional string host = 1;
219
220
  optional string port = 2;
220
221
  optional Autoupdate autoupdate = 3;
221
222
  optional Https https = 4;
222
223
  optional P2P p2p = 5;
223
- optional string confhost = 6;
224
+ optional string confhost = 6; // TODO(burdon): ?
224
225
  repeated string env = 7;
225
226
  repeated string alias = 8;
226
227
  optional Monitoring monitoring = 9;
@@ -235,7 +236,6 @@ message Runtime {
235
236
  //
236
237
  message Services {
237
238
  message Kube {
238
-
239
239
  message Endpoints {
240
240
  optional string logs = 1;
241
241
  optional string services = 2;
@@ -251,7 +251,7 @@ message Runtime {
251
251
  optional string server = 2;
252
252
  }
253
253
 
254
- // TODO(burdon): Delete.
254
+ // TODO(burdon): Delete/Rename DMG.
255
255
  message Dxns {
256
256
  /// DXNS endpoint.
257
257
  optional string server = 1;
@@ -302,18 +302,15 @@ message Runtime {
302
302
  optional string npm_access_token = 5;
303
303
  }
304
304
 
305
- message BotFactory {
306
- optional string topic = 1;
307
- optional bool persistent = 2;
308
- optional int32 retry_attempts = 3;
309
- optional int32 retry_interval = 4;
305
+ message BotHost { // TODO(burdon): Add Service suffix to all?
306
+ optional string proxy = 1;
310
307
  }
311
308
 
312
- message Publisher {
309
+ message Publisher { // TODO(burdon): Publishing.
313
310
  optional string server = 1;
314
311
  }
315
312
 
316
- message Supervisor {
313
+ message Supervisor { // TODO(burdon): Is this a service?
317
314
  optional string server = 1;
318
315
  }
319
316
 
@@ -324,9 +321,9 @@ message Runtime {
324
321
  optional Signal signal = 5;
325
322
  repeated Ice ice = 6;
326
323
  optional Machine machine = 7;
327
- optional BotFactory bot = 8;
324
+ optional BotHost bot = 8;
328
325
  optional Publisher publisher = 9;
329
- optional Supervisor supervisor = 10;
326
+ optional Supervisor supervisor = 10; // TODO(burdon): Promote to 1; start others at 10.
330
327
  }
331
328
 
332
329
  message Keys {
@@ -767,7 +767,7 @@ export namespace Runtime {
767
767
  * Options:
768
768
  * - proto3_optional = true
769
769
  */
770
- bot?: Runtime.Services.BotFactory;
770
+ bot?: Runtime.Services.BotHost;
771
771
  /**
772
772
  * Options:
773
773
  * - proto3_optional = true
@@ -970,27 +970,12 @@ export namespace Runtime {
970
970
  * Defined in:
971
971
  * {@link file://./../../dxos/config.proto}
972
972
  */
973
- export interface BotFactory {
973
+ export interface BotHost {
974
974
  /**
975
975
  * Options:
976
976
  * - proto3_optional = true
977
977
  */
978
- topic?: string;
979
- /**
980
- * Options:
981
- * - proto3_optional = true
982
- */
983
- persistent?: boolean;
984
- /**
985
- * Options:
986
- * - proto3_optional = true
987
- */
988
- retryAttempts?: number;
989
- /**
990
- * Options:
991
- * - proto3_optional = true
992
- */
993
- retryInterval?: number;
978
+ proxy?: string;
994
979
  }
995
980
  /**
996
981
  * Defined in:
@@ -50,10 +50,6 @@ import * as example_testing_data from "../example/testing/data";
50
50
  import * as example_testing_rpc from "../example/testing/rpc";
51
51
  export interface Empty {
52
52
  }
53
- export interface Timestamp {
54
- seconds: string;
55
- nanos: number;
56
- }
57
53
  export interface Any {
58
54
  type_url: string;
59
55
  value: Uint8Array;
@@ -75,6 +71,10 @@ export enum NullValue {
75
71
  export interface ListValue {
76
72
  values?: Value[];
77
73
  }
74
+ export interface Timestamp {
75
+ seconds: string;
76
+ nanos: number;
77
+ }
78
78
  export interface DoubleValue {
79
79
  value: number;
80
80
  }