@dxos/client 2.33.5-dev.9e11cb97 → 2.33.5-dev.b4e42956

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 (47) hide show
  1. package/dist/src/proto/gen/dxos/client.d.ts +1 -1
  2. package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
  3. package/dist/src/proto/gen/dxos/client.js.map +1 -1
  4. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  5. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  6. package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
  7. package/dist/src/proto/gen/dxos/devtools.d.ts +1 -1
  8. package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
  9. package/dist/src/proto/gen/dxos/echo/feed.d.ts +1 -13
  10. package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  11. package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
  12. package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
  13. package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
  14. package/dist/src/proto/gen/dxos/echo/service.d.ts +1 -1
  15. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  16. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +1 -1
  17. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  18. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +13 -0
  19. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -0
  20. package/dist/src/proto/gen/dxos/echo/timeframe.js +3 -0
  21. package/dist/src/proto/gen/dxos/echo/timeframe.js.map +1 -0
  22. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  23. package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
  24. package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  25. package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
  26. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  27. package/dist/src/proto/gen/google/protobuf.js.map +1 -1
  28. package/dist/src/proto/gen/index.d.ts +3 -2
  29. package/dist/src/proto/gen/index.d.ts.map +1 -1
  30. package/dist/src/proto/gen/index.js +1 -1
  31. package/dist/src/proto/gen/index.js.map +1 -1
  32. package/dist/src/proto/substitutions.d.ts +1 -1
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +17 -17
  35. package/src/proto/gen/dxos/client.ts +2 -1
  36. package/src/proto/gen/dxos/config.ts +1 -0
  37. package/src/proto/gen/dxos/credentials.ts +1 -0
  38. package/src/proto/gen/dxos/devtools.ts +2 -1
  39. package/src/proto/gen/dxos/echo/feed.ts +2 -13
  40. package/src/proto/gen/dxos/echo/invitation.ts +1 -0
  41. package/src/proto/gen/dxos/echo/service.ts +2 -1
  42. package/src/proto/gen/dxos/echo/snapshot.ts +2 -1
  43. package/src/proto/gen/dxos/echo/timeframe.ts +25 -0
  44. package/src/proto/gen/dxos/halo/keys.ts +1 -0
  45. package/src/proto/gen/dxos/rpc.ts +1 -0
  46. package/src/proto/gen/google/protobuf.ts +1 -0
  47. package/src/proto/gen/index.ts +4 -3
@@ -7,6 +7,7 @@ import * as dxos_echo_feed from "./echo/feed";
7
7
  import * as dxos_echo_invitation from "./echo/invitation";
8
8
  import * as dxos_echo_service from "./echo/service";
9
9
  import * as dxos_echo_snapshot from "./echo/snapshot";
10
+ import * as dxos_echo_timeframe from "./echo/timeframe";
10
11
  import * as dxos_halo_keys from "./halo/keys";
11
12
  import * as dxos_rpc from "./rpc";
12
13
  import * as google_protobuf from "../google/protobuf";
@@ -137,7 +138,7 @@ export interface PartyDetails {
137
138
  /**
138
139
  * The timeframe of mutations processed by the client.
139
140
  */
140
- processedTimeframe: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
141
+ processedTimeframe: ReturnType<typeof substitutions["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
141
142
  }
142
143
  export interface SubscribePartyResponse {
143
144
  party?: Party;
@@ -7,6 +7,7 @@ import * as dxos_echo_feed from "./echo/feed";
7
7
  import * as dxos_echo_invitation from "./echo/invitation";
8
8
  import * as dxos_echo_service from "./echo/service";
9
9
  import * as dxos_echo_snapshot from "./echo/snapshot";
10
+ import * as dxos_echo_timeframe from "./echo/timeframe";
10
11
  import * as dxos_halo_keys from "./halo/keys";
11
12
  import * as dxos_rpc from "./rpc";
12
13
  import * as google_protobuf from "../google/protobuf";
@@ -7,6 +7,7 @@ import * as dxos_echo_feed from "./echo/feed";
7
7
  import * as dxos_echo_invitation from "./echo/invitation";
8
8
  import * as dxos_echo_service from "./echo/service";
9
9
  import * as dxos_echo_snapshot from "./echo/snapshot";
10
+ import * as dxos_echo_timeframe from "./echo/timeframe";
10
11
  import * as dxos_halo_keys from "./halo/keys";
11
12
  import * as dxos_rpc from "./rpc";
12
13
  import * as google_protobuf from "../google/protobuf";
@@ -7,6 +7,7 @@ import * as dxos_echo_feed from "./echo/feed";
7
7
  import * as dxos_echo_invitation from "./echo/invitation";
8
8
  import * as dxos_echo_service from "./echo/service";
9
9
  import * as dxos_echo_snapshot from "./echo/snapshot";
10
+ import * as dxos_echo_timeframe from "./echo/timeframe";
10
11
  import * as dxos_halo_keys from "./halo/keys";
11
12
  import * as dxos_rpc from "./rpc";
12
13
  import * as google_protobuf from "../google/protobuf";
@@ -89,7 +90,7 @@ export namespace SubscribeToPartiesResponse {
89
90
  isActive?: boolean;
90
91
  feedKeys?: number;
91
92
  properties?: Partial<Record<string, string>>;
92
- timeframe?: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
93
+ timeframe?: ReturnType<typeof substitutions["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
93
94
  }
94
95
  }
95
96
  export interface SubscribeToItemsRequest {
@@ -7,6 +7,7 @@ import * as dxos_devtools from "../devtools";
7
7
  import * as dxos_echo_invitation from "./invitation";
8
8
  import * as dxos_echo_service from "./service";
9
9
  import * as dxos_echo_snapshot from "./snapshot";
10
+ import * as dxos_echo_timeframe from "./timeframe";
10
11
  import * as dxos_halo_keys from "../halo/keys";
11
12
  import * as dxos_rpc from "../rpc";
12
13
  import * as google_protobuf from "../../google/protobuf";
@@ -15,6 +16,7 @@ import * as google_protobuf from "../../google/protobuf";
15
16
  * This is what is written to the feeds.
16
17
  */
17
18
  export interface FeedMessage {
19
+ timeframe?: ReturnType<typeof substitutions["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
18
20
  halo?: ReturnType<typeof substitutions["dxos.echo.feed.CredentialsMessage"]["decode"]>;
19
21
  echo?: EchoEnvelope;
20
22
  }
@@ -24,24 +26,11 @@ export interface FeedMessage {
24
26
  export interface CredentialsMessage {
25
27
  data?: Uint8Array;
26
28
  }
27
- /**
28
- * Vector timestamp used to order messages.
29
- */
30
- export interface TimeframeVector {
31
- frames?: TimeframeVector.Frame[];
32
- }
33
- export namespace TimeframeVector {
34
- export interface Frame {
35
- feedKey?: Uint8Array;
36
- seq?: number;
37
- }
38
- }
39
29
  /**
40
30
  * Wrapper for all ECHO messages.
41
31
  */
42
32
  export interface EchoEnvelope {
43
33
  itemId?: string;
44
- timeframe?: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
45
34
  genesis?: ItemGenesis;
46
35
  itemMutation?: ItemMutation;
47
36
  mutation?: Uint8Array;
@@ -7,6 +7,7 @@ import * as dxos_devtools from "../devtools";
7
7
  import * as dxos_echo_feed from "./feed";
8
8
  import * as dxos_echo_service from "./service";
9
9
  import * as dxos_echo_snapshot from "./snapshot";
10
+ import * as dxos_echo_timeframe from "./timeframe";
10
11
  import * as dxos_halo_keys from "../halo/keys";
11
12
  import * as dxos_rpc from "../rpc";
12
13
  import * as google_protobuf from "../../google/protobuf";
@@ -7,6 +7,7 @@ import * as dxos_devtools from "../devtools";
7
7
  import * as dxos_echo_feed from "./feed";
8
8
  import * as dxos_echo_invitation from "./invitation";
9
9
  import * as dxos_echo_snapshot from "./snapshot";
10
+ import * as dxos_echo_timeframe from "./timeframe";
10
11
  import * as dxos_halo_keys from "../halo/keys";
11
12
  import * as dxos_rpc from "../rpc";
12
13
  import * as google_protobuf from "../../google/protobuf";
@@ -35,7 +36,7 @@ export namespace SubscribeEntityStreamResponse {
35
36
  feedKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
36
37
  memberKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
37
38
  seq?: number;
38
- timeframe?: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
39
+ timeframe?: ReturnType<typeof substitutions["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
39
40
  }
40
41
  }
41
42
  }
@@ -7,12 +7,13 @@ import * as dxos_devtools from "../devtools";
7
7
  import * as dxos_echo_feed from "./feed";
8
8
  import * as dxos_echo_invitation from "./invitation";
9
9
  import * as dxos_echo_service from "./service";
10
+ import * as dxos_echo_timeframe from "./timeframe";
10
11
  import * as dxos_halo_keys from "../halo/keys";
11
12
  import * as dxos_rpc from "../rpc";
12
13
  import * as google_protobuf from "../../google/protobuf";
13
14
  export interface PartySnapshot {
14
15
  partyKey?: Uint8Array;
15
- timeframe?: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
16
+ timeframe?: ReturnType<typeof substitutions["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
16
17
  timestamp?: number;
17
18
  halo?: HaloStateSnapshot;
18
19
  database?: DatabaseSnapshot;
@@ -0,0 +1,25 @@
1
+ import type { Stream } from "@dxos/codec-protobuf";
2
+ import substitutions from "../../../substitutions";
3
+ import * as dxos_client from "../client";
4
+ import * as dxos_config from "../config";
5
+ import * as dxos_credentials from "../credentials";
6
+ import * as dxos_devtools from "../devtools";
7
+ import * as dxos_echo_feed from "./feed";
8
+ import * as dxos_echo_invitation from "./invitation";
9
+ import * as dxos_echo_service from "./service";
10
+ import * as dxos_echo_snapshot from "./snapshot";
11
+ import * as dxos_halo_keys from "../halo/keys";
12
+ import * as dxos_rpc from "../rpc";
13
+ import * as google_protobuf from "../../google/protobuf";
14
+ /**
15
+ * Vector timestamp used to order messages.
16
+ */
17
+ export interface TimeframeVector {
18
+ frames?: TimeframeVector.Frame[];
19
+ }
20
+ export namespace TimeframeVector {
21
+ export interface Frame {
22
+ feedKey?: Uint8Array;
23
+ seq?: number;
24
+ }
25
+ }
@@ -8,6 +8,7 @@ import * as dxos_echo_feed from "../echo/feed";
8
8
  import * as dxos_echo_invitation from "../echo/invitation";
9
9
  import * as dxos_echo_service from "../echo/service";
10
10
  import * as dxos_echo_snapshot from "../echo/snapshot";
11
+ import * as dxos_echo_timeframe from "../echo/timeframe";
11
12
  import * as dxos_rpc from "../rpc";
12
13
  import * as google_protobuf from "../../google/protobuf";
13
14
  export enum KeyType {
@@ -8,6 +8,7 @@ import * as dxos_echo_feed from "./echo/feed";
8
8
  import * as dxos_echo_invitation from "./echo/invitation";
9
9
  import * as dxos_echo_service from "./echo/service";
10
10
  import * as dxos_echo_snapshot from "./echo/snapshot";
11
+ import * as dxos_echo_timeframe from "./echo/timeframe";
11
12
  import * as dxos_halo_keys from "./halo/keys";
12
13
  import * as google_protobuf from "../google/protobuf";
13
14
  export interface RpcMessage {
@@ -8,6 +8,7 @@ import * as dxos_echo_feed from "../dxos/echo/feed";
8
8
  import * as dxos_echo_invitation from "../dxos/echo/invitation";
9
9
  import * as dxos_echo_service from "../dxos/echo/service";
10
10
  import * as dxos_echo_snapshot from "../dxos/echo/snapshot";
11
+ import * as dxos_echo_timeframe from "../dxos/echo/timeframe";
11
12
  import * as dxos_halo_keys from "../dxos/halo/keys";
12
13
  import * as dxos_rpc from "../dxos/rpc";
13
14
  export interface Empty {