@dxos/protocols 0.5.9-main.bdf733d → 0.5.9-main.bfee100

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.
Files changed (44) hide show
  1. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +9 -1
  2. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  3. package/dist/cjs/src/proto/gen/dxos/client/services.js +1 -0
  4. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  5. package/dist/cjs/src/proto/gen/dxos/config.d.ts +7 -0
  6. package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
  7. package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
  8. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +9 -0
  9. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  10. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +14 -0
  11. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  12. package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
  13. package/dist/cjs/src/proto/gen/index.d.ts +1 -0
  14. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  15. package/dist/cjs/src/proto/gen/index.js +1 -1
  16. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  17. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  18. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +9 -1
  19. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  20. package/dist/esm/src/proto/gen/dxos/client/services.js +1 -0
  21. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  22. package/dist/esm/src/proto/gen/dxos/config.d.ts +7 -0
  23. package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
  24. package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
  25. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +9 -0
  26. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  27. package/dist/esm/src/proto/gen/dxos/iframe.d.ts +14 -0
  28. package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  29. package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
  30. package/dist/esm/src/proto/gen/index.d.ts +1 -0
  31. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  32. package/dist/esm/src/proto/gen/index.js +1 -1
  33. package/dist/esm/src/proto/gen/index.js.map +1 -1
  34. package/package.json +5 -5
  35. package/src/proto/dxos/client/services.proto +6 -0
  36. package/src/proto/dxos/config.proto +2 -0
  37. package/src/proto/dxos/echo/service.proto +1 -0
  38. package/src/proto/dxos/halo/credentials.proto +5 -0
  39. package/src/proto/dxos/iframe.proto +8 -0
  40. package/src/proto/gen/dxos/client/services.ts +9 -1
  41. package/src/proto/gen/dxos/config.ts +7 -0
  42. package/src/proto/gen/dxos/halo/credentials.ts +9 -0
  43. package/src/proto/gen/dxos/iframe.ts +14 -0
  44. 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,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA2iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,000GAA000G,CAAC,CAAC,CAAC;AACn40G,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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA4iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+i2GAA+i2G,CAAC,CAAC,CAAC;AACxm2G,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.5.9-main.bdf733d",
3
+ "version": "0.5.9-main.bfee100",
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.5.9-main.bdf733d",
37
- "@dxos/invariant": "0.5.9-main.bdf733d",
38
- "@dxos/keys": "0.5.9-main.bdf733d",
39
- "@dxos/timeframe": "0.5.9-main.bdf733d"
36
+ "@dxos/codec-protobuf": "0.5.9-main.bfee100",
37
+ "@dxos/invariant": "0.5.9-main.bfee100",
38
+ "@dxos/keys": "0.5.9-main.bfee100",
39
+ "@dxos/timeframe": "0.5.9-main.bfee100"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -358,11 +358,17 @@ message CreateEpochRequest {
358
358
 
359
359
  /// Create a new space root and move objects from the current space root to separate automerge documents and.
360
360
  FRAGMENT_AUTOMERGE_ROOT = 3;
361
+
362
+ /// Replace the current automerge root with a new one specified by the user.
363
+ REPLACE_AUTOMERGE_ROOT = 4;
361
364
  }
362
365
 
363
366
  dxos.keys.PublicKey space_key = 1;
364
367
 
365
368
  optional Migration migration = 2;
369
+
370
+ /// For REPLACE_AUTOMERGE_ROOT migration.
371
+ optional string automerge_root_url = 3;
366
372
  }
367
373
 
368
374
  message UpdateMemberRoleRequest {
@@ -138,6 +138,8 @@ message Runtime {
138
138
  /// Connect to and serve client services to a remote proxy.
139
139
  optional string devtools_proxy = 7;
140
140
 
141
+ /// Spaces will stay in SpaceState.CLOSED until explicitly opened. Speeds up client-services initialization.
142
+ optional bool lazy_space_open = 9;
141
143
  }
142
144
 
143
145
  message App {
@@ -52,6 +52,7 @@ message FlushRequest {
52
52
  repeated string heads = 2;
53
53
  }
54
54
 
55
+ // TODO(dmaretskyi): Does not appear to be used.
55
56
  optional dxos.keys.PublicKey space_key = 1;
56
57
  /**
57
58
  * Automerge specific document ids to wait to flush.
@@ -181,6 +181,11 @@ message DeviceProfile {
181
181
  DeviceProfileDocument profile = 1;
182
182
  }
183
183
 
184
+ /// [ASSERTION]: Sets default space for identity.
185
+ message DefaultSpace {
186
+ string space_id = 1;
187
+ }
188
+
184
189
  // [ASSERTION]: Identity is authorized to access a KUBE.
185
190
  message KubeAccess {
186
191
  dxos.keys.PublicKey kube_key = 1;
@@ -35,8 +35,12 @@ message AppContextRequest {
35
35
  /// The display mode that shell should use.
36
36
  optional ShellDisplay display = 1;
37
37
 
38
+ // TODO(wittjosiah): Remove.
38
39
  /// The key of the joined space.
39
40
  optional dxos.keys.PublicKey space_key = 2;
41
+
42
+ /// The id of the joined space.
43
+ optional string space_id = 5;
40
44
 
41
45
  /// Target to redirect to after a successful invitation.
42
46
  optional string target = 3;
@@ -71,9 +75,13 @@ message LayoutRequest {
71
75
  /// Invitation code to join a space.
72
76
  optional string invitation_code = 2;
73
77
 
78
+ // TODO(wittjosiah): Remove.
74
79
  /// Key of the space to share.
75
80
  optional dxos.keys.PublicKey space_key = 3;
76
81
 
82
+ /// Id of the space to share.
83
+ optional string space_id = 5;
84
+
77
85
  /// Target to include in an invitation for redirecting after a successful invitation.
78
86
  optional string target = 4;
79
87
  }
@@ -797,6 +797,13 @@ export interface CreateEpochRequest {
797
797
  * - proto3_optional = true
798
798
  */
799
799
  migration?: CreateEpochRequest.Migration;
800
+ /**
801
+ * For REPLACE_AUTOMERGE_ROOT migration.
802
+ *
803
+ * Options:
804
+ * - proto3_optional = true
805
+ */
806
+ automergeRootUrl?: string;
800
807
  }
801
808
  export namespace CreateEpochRequest {
802
809
  /**
@@ -807,7 +814,8 @@ export namespace CreateEpochRequest {
807
814
  NONE = 0,
808
815
  INIT_AUTOMERGE = 1,
809
816
  PRUNE_AUTOMERGE_ROOT_HISTORY = 2,
810
- FRAGMENT_AUTOMERGE_ROOT = 3
817
+ FRAGMENT_AUTOMERGE_ROOT = 3,
818
+ REPLACE_AUTOMERGE_ROOT = 4
811
819
  }
812
820
  }
813
821
  /**
@@ -304,6 +304,13 @@ export namespace Runtime {
304
304
  * - proto3_optional = true
305
305
  */
306
306
  devtoolsProxy?: string;
307
+ /**
308
+ * Spaces will stay in SpaceState.CLOSED until explicitly opened. Speeds up client-services initialization.
309
+ *
310
+ * Options:
311
+ * - proto3_optional = true
312
+ */
313
+ lazySpaceOpen?: boolean;
307
314
  }
308
315
  export namespace Client {
309
316
  /**
@@ -310,6 +310,15 @@ export interface DeviceProfileDocument {
310
310
  export interface DeviceProfile {
311
311
  profile: DeviceProfileDocument;
312
312
  }
313
+ /**
314
+ * [ASSERTION]: Sets default space for identity.
315
+ *
316
+ * Defined in:
317
+ * {@link file://./../../../dxos/halo/credentials.proto}
318
+ */
319
+ export interface DefaultSpace {
320
+ spaceId: string;
321
+ }
313
322
  /**
314
323
  * Defined in:
315
324
  * {@link file://./../../../dxos/halo/credentials.proto}
@@ -122,6 +122,13 @@ export interface AppContextRequest {
122
122
  * - proto3_optional = true
123
123
  */
124
124
  spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
125
+ /**
126
+ * The id of the joined space.
127
+ *
128
+ * Options:
129
+ * - proto3_optional = true
130
+ */
131
+ spaceId?: string;
125
132
  /**
126
133
  * Target to redirect to after a successful invitation.
127
134
  *
@@ -184,6 +191,13 @@ export interface LayoutRequest {
184
191
  * - proto3_optional = true
185
192
  */
186
193
  spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
194
+ /**
195
+ * Id of the space to share.
196
+ *
197
+ * Options:
198
+ * - proto3_optional = true
199
+ */
200
+ spaceId?: string;
187
201
  /**
188
202
  * Target to include in an invitation for redirecting after a successful invitation.
189
203
  *