@dxos/protocols 0.5.9-main.94cc71c → 0.5.9-main.b89a78b

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 (28) 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/iframe.d.ts +14 -0
  6. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  7. package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
  8. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  9. package/dist/cjs/src/proto/gen/index.js +1 -1
  10. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  11. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  12. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +9 -1
  13. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  14. package/dist/esm/src/proto/gen/dxos/client/services.js +1 -0
  15. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  16. package/dist/esm/src/proto/gen/dxos/iframe.d.ts +14 -0
  17. package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  18. package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
  19. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  20. package/dist/esm/src/proto/gen/index.js +1 -1
  21. package/dist/esm/src/proto/gen/index.js.map +1 -1
  22. package/package.json +5 -5
  23. package/src/proto/dxos/client/services.proto +6 -0
  24. package/src/proto/dxos/echo/service.proto +1 -0
  25. package/src/proto/dxos/iframe.proto +8 -0
  26. package/src/proto/gen/dxos/client/services.ts +9 -1
  27. package/src/proto/gen/dxos/iframe.ts +14 -0
  28. package/src/proto/gen/index.ts +1 -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;AA2iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,uv1GAAuv1G,CAAC,CAAC,CAAC;AAChz1G,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.94cc71c",
3
+ "version": "0.5.9-main.b89a78b",
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.94cc71c",
37
- "@dxos/invariant": "0.5.9-main.94cc71c",
38
- "@dxos/timeframe": "0.5.9-main.94cc71c",
39
- "@dxos/keys": "0.5.9-main.94cc71c"
36
+ "@dxos/invariant": "0.5.9-main.b89a78b",
37
+ "@dxos/codec-protobuf": "0.5.9-main.b89a78b",
38
+ "@dxos/keys": "0.5.9-main.b89a78b",
39
+ "@dxos/timeframe": "0.5.9-main.b89a78b"
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 {
@@ -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.
@@ -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
  /**
@@ -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
  *