@dxos/protocols 0.4.7-main.7b31910 → 0.4.7-main.85d9ee7

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;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAuhB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,61nGAA61nG,CAAC,CAAC,CAAC;AACt5nG,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;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAuhB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,46nGAA46nG,CAAC,CAAC,CAAC;AACr+nG,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.4.7-main.7b31910",
3
+ "version": "0.4.7-main.85d9ee7",
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.4.7-main.7b31910",
37
- "@dxos/invariant": "0.4.7-main.7b31910",
38
- "@dxos/keys": "0.4.7-main.7b31910",
39
- "@dxos/timeframe": "0.4.7-main.7b31910"
36
+ "@dxos/codec-protobuf": "0.4.7-main.85d9ee7",
37
+ "@dxos/keys": "0.4.7-main.85d9ee7",
38
+ "@dxos/invariant": "0.4.7-main.85d9ee7",
39
+ "@dxos/timeframe": "0.4.7-main.85d9ee7"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -143,6 +143,8 @@ message IdentityRecovery {
143
143
  message ProfileDocument {
144
144
  optional string display_name = 1;
145
145
  optional string avatar_cid = 2;
146
+ /// Custom user data.
147
+ optional google.protobuf.Struct data = 10;
146
148
  }
147
149
 
148
150
  /// [ASSERTION]: Sets profile information.
@@ -59,37 +59,6 @@ import * as dxos_value from "../value";
59
59
  import * as example_testing_data from "../../example/testing/data";
60
60
  import * as example_testing_rpc from "../../example/testing/rpc";
61
61
  import * as google_protobuf from "../../google/protobuf";
62
- /**
63
- * Defined in:
64
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
65
- */
66
- export interface Services {
67
- spaces?: SpaceStats[];
68
- }
69
- /**
70
- * Defined in:
71
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
72
- */
73
- export interface SpaceStats {
74
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
75
- peers?: PeerStats[];
76
- }
77
- /**
78
- * Defined in:
79
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
80
- */
81
- export interface PeerStats {
82
- controlFeed: FeedStats;
83
- dataFeed: FeedStats;
84
- }
85
- /**
86
- * Defined in:
87
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
88
- */
89
- export interface FeedStats {
90
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
91
- length: number;
92
- }
93
62
  /**
94
63
  * Defined in:
95
64
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -512,3 +481,34 @@ export interface SubscribeToSwarmInfoRequest {
512
481
  export interface SubscribeToSwarmInfoResponse {
513
482
  data?: dxos_devtools_swarm.SwarmInfo[];
514
483
  }
484
+ /**
485
+ * Defined in:
486
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
487
+ */
488
+ export interface Services {
489
+ spaces?: SpaceStats[];
490
+ }
491
+ /**
492
+ * Defined in:
493
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
494
+ */
495
+ export interface SpaceStats {
496
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
497
+ peers?: PeerStats[];
498
+ }
499
+ /**
500
+ * Defined in:
501
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
502
+ */
503
+ export interface PeerStats {
504
+ controlFeed: FeedStats;
505
+ dataFeed: FeedStats;
506
+ }
507
+ /**
508
+ * Defined in:
509
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
510
+ */
511
+ export interface FeedStats {
512
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
513
+ length: number;
514
+ }
@@ -229,6 +229,13 @@ export interface ProfileDocument {
229
229
  * - proto3_optional = true
230
230
  */
231
231
  avatarCid?: string;
232
+ /**
233
+ * Custom user data.
234
+ *
235
+ * Options:
236
+ * - proto3_optional = true
237
+ */
238
+ data?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
232
239
  }
233
240
  /**
234
241
  * [ASSERTION]: Sets profile information.