@dxos/protocols 0.5.9-main.2d0a5e6 → 0.5.9-main.7f832ba

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;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,il1GAAil1G,CAAC,CAAC,CAAC;AAC1o1G,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.2d0a5e6",
3
+ "version": "0.5.9-main.7f832ba",
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.2d0a5e6",
37
- "@dxos/keys": "0.5.9-main.2d0a5e6",
38
- "@dxos/invariant": "0.5.9-main.2d0a5e6",
39
- "@dxos/timeframe": "0.5.9-main.2d0a5e6"
36
+ "@dxos/codec-protobuf": "0.5.9-main.7f832ba",
37
+ "@dxos/invariant": "0.5.9-main.7f832ba",
38
+ "@dxos/keys": "0.5.9-main.7f832ba",
39
+ "@dxos/timeframe": "0.5.9-main.7f832ba"
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.
@@ -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
  /**