@dxos/protocols 0.4.10-main.e158b1a → 0.4.10-main.eedd150

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;AA8DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA4hB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,27rGAA27rG,CAAC,CAAC,CAAC;AACp/rG,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;AA8DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA4hB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,wksGAAwksG,CAAC,CAAC,CAAC;AACjosG,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.10-main.e158b1a",
3
+ "version": "0.4.10-main.eedd150",
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/invariant": "0.4.10-main.e158b1a",
37
- "@dxos/codec-protobuf": "0.4.10-main.e158b1a",
38
- "@dxos/timeframe": "0.4.10-main.e158b1a",
39
- "@dxos/keys": "0.4.10-main.e158b1a"
36
+ "@dxos/codec-protobuf": "0.4.10-main.eedd150",
37
+ "@dxos/keys": "0.4.10-main.eedd150",
38
+ "@dxos/timeframe": "0.4.10-main.eedd150",
39
+ "@dxos/invariant": "0.4.10-main.eedd150"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
package/src/indexing.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
+ // TODO(dmaretskyi): Rename ObjectPointer{Decoded/Encoded}.
5
6
  export type IdDecoded = {
6
7
  documentId: string;
7
8
  objectId: string;
@@ -47,7 +47,11 @@ message MutationReceipt {
47
47
  }
48
48
 
49
49
  message FlushRequest {
50
- dxos.keys.PublicKey space_key = 1;
50
+ optional dxos.keys.PublicKey space_key = 1;
51
+ /**
52
+ * Automerge specific document ids to wait to flush.
53
+ */
54
+ repeated string document_ids = 2;
51
55
  }
52
56
 
53
57
  // Automerge specific.
@@ -135,7 +135,15 @@ export interface MutationReceipt {
135
135
  * {@link file://./../../../dxos/echo/service.proto}
136
136
  */
137
137
  export interface FlushRequest {
138
- spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
138
+ /**
139
+ * Options:
140
+ * - proto3_optional = true
141
+ */
142
+ spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
143
+ /**
144
+ * Automerge specific document ids to wait to flush.
145
+ */
146
+ documentIds?: string[];
139
147
  }
140
148
  /**
141
149
  * Defined in:
@@ -79,14 +79,14 @@ export enum NullValue {
79
79
  export interface ListValue {
80
80
  values?: Value[];
81
81
  }
82
- export interface Any {
83
- type_url: string;
84
- value: Uint8Array;
85
- }
86
82
  export interface Timestamp {
87
83
  seconds: string;
88
84
  nanos: number;
89
85
  }
86
+ export interface Any {
87
+ type_url: string;
88
+ value: Uint8Array;
89
+ }
90
90
  export interface FileDescriptorSet {
91
91
  file?: FileDescriptorProto[];
92
92
  }