@dxos/protocols 0.6.1-main.babcd84 → 0.6.1-main.c52e5db

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;AAgEhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAwjB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,uj5GAAuj5G,CAAC,CAAC,CAAC;AAChn5G,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;AAgEhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAyjB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+n5GAA+n5G,CAAC,CAAC,CAAC;AACxr5G,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.6.1-main.babcd84",
3
+ "version": "0.6.1-main.c52e5db",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -34,11 +34,11 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@effect/schema": "^0.67.16",
37
- "@dxos/invariant": "0.6.1-main.babcd84",
38
- "@dxos/codec-protobuf": "0.6.1-main.babcd84",
39
- "@dxos/keys": "0.6.1-main.babcd84",
40
- "@dxos/util": "0.6.1-main.babcd84",
41
- "@dxos/timeframe": "0.6.1-main.babcd84"
37
+ "@dxos/codec-protobuf": "0.6.1-main.c52e5db",
38
+ "@dxos/keys": "0.6.1-main.c52e5db",
39
+ "@dxos/invariant": "0.6.1-main.c52e5db",
40
+ "@dxos/timeframe": "0.6.1-main.c52e5db",
41
+ "@dxos/util": "0.6.1-main.c52e5db"
42
42
  },
43
43
  "devDependencies": {
44
44
  "glob": "~7.1.6"
@@ -88,6 +88,10 @@ message GetDocumentHeadsResponse {
88
88
  repeated DocState states = 1;
89
89
  }
90
90
 
91
+ message ReIndexHeadsRequest {
92
+ repeated string document_ids = 1;
93
+ }
94
+
91
95
  service DataService {
92
96
  rpc Subscribe(SubscribeRequest) returns (stream EchoEvent);
93
97
  rpc Write(WriteRequest) returns (MutationReceipt); // TODO(burdon): Rename SubmitMutation.
@@ -99,4 +103,5 @@ service DataService {
99
103
  rpc SyncRepo(SyncRepoRequest) returns (stream SyncRepoResponse);
100
104
  rpc SendSyncMessage(SyncRepoRequest) returns (google.protobuf.Empty); // TODO(dmaretskyi): Bidirectional streams.
101
105
  rpc GetDocumentHeads(GetDocumentHeadsRequest) returns (GetDocumentHeadsResponse);
106
+ rpc ReIndexHeads(ReIndexHeadsRequest) returns (google.protobuf.Empty);
102
107
  }
@@ -211,6 +211,13 @@ export namespace GetDocumentHeadsResponse {
211
211
  heads?: string[];
212
212
  }
213
213
  }
214
+ /**
215
+ * Defined in:
216
+ * {@link file://./../../../dxos/echo/service.proto}
217
+ */
218
+ export interface ReIndexHeadsRequest {
219
+ documentIds?: string[];
220
+ }
214
221
  /**
215
222
  * Defined in:
216
223
  * {@link file://./../../../dxos/echo/service.proto}
@@ -223,4 +230,5 @@ export interface DataService {
223
230
  syncRepo: (request: SyncRepoRequest, options?: RequestOptions) => Stream<SyncRepoResponse>;
224
231
  sendSyncMessage: (request: SyncRepoRequest, options?: RequestOptions) => Promise<void>;
225
232
  getDocumentHeads: (request: GetDocumentHeadsRequest, options?: RequestOptions) => Promise<GetDocumentHeadsResponse>;
233
+ reIndexHeads: (request: ReIndexHeadsRequest, options?: RequestOptions) => Promise<void>;
226
234
  }
@@ -81,14 +81,14 @@ export enum NullValue {
81
81
  export interface ListValue {
82
82
  values?: Value[];
83
83
  }
84
- export interface Timestamp {
85
- seconds: string;
86
- nanos: number;
87
- }
88
84
  export interface Any {
89
85
  type_url: string;
90
86
  value: Uint8Array;
91
87
  }
88
+ export interface Timestamp {
89
+ seconds: string;
90
+ nanos: number;
91
+ }
92
92
  export interface FileDescriptorSet {
93
93
  file?: FileDescriptorProto[];
94
94
  }