@dxos/echo-protocol 2.26.1 → 2.27.0

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 (42) hide show
  1. package/dist/src/feeds/feed-store-iterator.js +2 -2
  2. package/dist/src/feeds/feed-store-iterator.js.map +1 -1
  3. package/dist/src/proto/gen/dxos/echo/service.d.ts +1 -0
  4. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  5. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +12 -4
  6. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  7. package/dist/src/proto/gen/dxos/echo/testing.d.ts +3 -0
  8. package/dist/src/proto/gen/dxos/echo/testing.d.ts.map +1 -1
  9. package/dist/src/proto/gen/dxos/halo/keys.d.ts +1 -1
  10. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  11. package/dist/src/proto/gen/index.d.ts +1 -1
  12. package/dist/src/proto/gen/index.d.ts.map +1 -1
  13. package/dist/src/proto/gen/index.js +1 -1
  14. package/dist/src/proto/gen/index.js.map +1 -1
  15. package/dist/src/proto/substitutions.d.ts +13 -9
  16. package/dist/src/proto/substitutions.d.ts.map +1 -1
  17. package/dist/src/proto/substitutions.js +4 -25
  18. package/dist/src/proto/substitutions.js.map +1 -1
  19. package/dist/src/spacetime/index.d.ts +1 -0
  20. package/dist/src/spacetime/index.d.ts.map +1 -1
  21. package/dist/src/spacetime/index.js +1 -0
  22. package/dist/src/spacetime/index.js.map +1 -1
  23. package/dist/src/spacetime/substitutions.d.ts +13 -0
  24. package/dist/src/spacetime/substitutions.d.ts.map +1 -0
  25. package/dist/src/spacetime/substitutions.js +22 -0
  26. package/dist/src/spacetime/substitutions.js.map +1 -0
  27. package/dist/src/types.d.ts +5 -1
  28. package/dist/src/types.d.ts.map +1 -1
  29. package/dist/src/types.js.map +1 -1
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/package.json +10 -10
  32. package/src/feeds/feed-store-iterator.ts +2 -2
  33. package/src/proto/defs/testing.proto +4 -0
  34. package/src/proto/gen/dxos/echo/service.ts +1 -0
  35. package/src/proto/gen/dxos/echo/snapshot.ts +12 -4
  36. package/src/proto/gen/dxos/echo/testing.ts +3 -0
  37. package/src/proto/gen/dxos/halo/keys.ts +1 -1
  38. package/src/proto/gen/index.ts +2 -2
  39. package/src/proto/substitutions.ts +6 -27
  40. package/src/spacetime/index.ts +1 -0
  41. package/src/spacetime/substitutions.ts +20 -0
  42. package/src/types.ts +6 -1
@@ -77,7 +77,7 @@ class FeedStoreIterator {
77
77
  */
78
78
  // TODO(burdon): Comment.
79
79
  async _reevaluateFeeds() {
80
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
80
+ // eslint-disable-next-line unused-imports/no-unused-vars
81
81
  for (const [keyHex, feed] of this._openFeeds) {
82
82
  if (!this._feedSelector(feed.descriptor)) {
83
83
  feed.frozen = true;
@@ -138,7 +138,7 @@ class FeedStoreIterator {
138
138
  */
139
139
  // TODO(burdon): Comment.
140
140
  _pollFeeds() {
141
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
141
+ // eslint-disable-next-line unused-imports/no-unused-vars
142
142
  for (const [_, feed] of this._openFeeds) {
143
143
  if (feed.sendQueue.length === 0) {
144
144
  // TODO(burdon): Then/catch?
@@ -1 +1 @@
1
- {"version":3,"file":"feed-store-iterator.js","sourceRoot":"","sources":["../../../src/feeds/feed-store-iterator.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAC1B,qDAA2C;AAE3C,uCAA6C;AAC7C,yCAAsD;AACtD,iDAAqE;AAKrE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,mCAAmC,CAAC,CAAC;AACvD,MAAM,aAAa,GAAG,IAAI,CAAC;AAiB3B;;;;GAIG;AACH,kCAAkC;AAClC,MAAa,iBAAiB;IA2B5B;;;;OAIG;IACH,Y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CAAC;IAED;;OAEG;IACH,yBAAyB;IACzB,KAAK,CAAC,CAAE,UAAU;QAChB,OAAO,IAAI,EAAE;YACX,OAAO,IAAI,EAAE;gBACX,IAAI,IAAI,CAAC,OAAO,EAAE;oBAChB,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;oBAC1B,OAAO;iBACR;gBAED,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBAE9B,mDAAmD;gBACnD,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;gBACrC,IAAI,OAAO,KAAK,SAAS,EAAE;oBACzB,GAAG,CAAC,WAAW,CAAC,CAAC;oBACjB,MAAM;iBACP;gBAED,IAAI,CAAC,aAAa,EAAE,CAAC;gBAErB,2CAA2C;gBAC3C,MAAM,OAAO,CAAC;aACf;YACD,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;SAC3B;IACH,CAAC;CACF;AAhOD,8CAgOC"}
1
+ {"version":3,"file":"feed-store-iterator.js","sourceRoot":"","sources":["../../../src/feeds/feed-store-iterator.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA0B;AAC1B,qDAA2C;AAE3C,uCAA6C;AAC7C,yCAAsD;AACtD,iDAAqE;AAKrE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,mCAAmC,CAAC,CAAC;AACvD,MAAM,aAAa,GAAG,IAAI,CAAC;AAiB3B;;;;GAIG;AACH,kCAAkC;AAClC,MAAa,iBAAiB;IA2B5B;;;;OAIG;IACH,YACmB,aAA2B,EAC3B,gBAAiC,EACjC,cAAyB;QAFzB,kBAAa,GAAb,aAAa,CAAc;QAC3B,qBAAgB,GAAhB,gBAAgB,CAAiB;QACjC,mBAAc,GAAd,cAAc,CAAW;QAlC5C,kCAAkC;QACjB,oBAAe,GAAG,IAAI,GAAG,EAAkB,CAAC;QAE7D,oCAAoC;QACnB,eAAU,GAAG,IAAI,G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AAE,CAAC;gBAE9B,mDAAmD;gBACnD,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;gBACrC,IAAI,OAAO,KAAK,SAAS,EAAE;oBACzB,GAAG,CAAC,WAAW,CAAC,CAAC;oBACjB,MAAM;iBACP;gBAED,IAAI,CAAC,aAAa,EAAE,CAAC;gBAErB,2CAA2C;gBAC3C,MAAM,OAAO,CAAC;aACf;YACD,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;SAC3B;IACH,CAAC;CACF;AAhOD,8CAgOC"}
@@ -27,6 +27,7 @@ export declare namespace SubscribeEntityStreamResponse {
27
27
  feedKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
28
28
  memberKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
29
29
  seq?: number;
30
+ timeframe?: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
30
31
  }
31
32
  }
32
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,cAAc,MAAM,QAAQ,CAAC;AAGzC,OAAO,KAAK,kBAAkB,MAAM,YAAY,CAAC;AAIjD,MAAM,WAAW,yBAAyB;IACtC,QAAQ,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CAClF;AACD,MAAM,WAAW,0BAA0B;IACvC,KAAK,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,CAAC;IACtC,OAAO,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,CAAC;CAC3C;AACD,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,EAAE,UAAU,CAAC,OA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CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC9E,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YAChF,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;SAC5F;KACJ;CACJ;AACD,MAAM,WAAW,YAAY;IACzB,QAAQ,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/E,QAAQ,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC;CAC1C;AACD,MAAM,WAAW,eAAe;IAC5B,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9E,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,WAAW;IACxB,kBAAkB,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,MAAM,CAAC,0BAA0B,CAAC,CAAC;IAC/F,qBAAqB,EAAE,CAAC,OAAO,EAAE,4BAA4B,KAAK,MAAM,CAAC,6BAA6B,CAAC,CAAC;IACxG,KAAK,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAC9D"}
@@ -21,10 +21,18 @@ export interface ItemSnapshot {
21
21
  model?: ModelSnapshot;
22
22
  }
23
23
  export interface ModelSnapshot {
24
- custom?: Uint8Array;
25
- array?: ModelMutationArray;
26
- }
27
- export interface ModelMutationArray {
24
+ /**
25
+ * Encoded model snapshot. Encoding is defined by model's codec.
26
+ *
27
+ * Can be missing. In that case the state machine is to be initialized in it's default state.
28
+ *
29
+ * Options:
30
+ * - proto3_optional = true
31
+ */
32
+ snapshot?: Uint8Array;
33
+ /**
34
+ * Mutations to be applied on top of the snapshotted state, or on top of initial state if the snapshot is missing.
35
+ */
28
36
  mutations?: ModelMutation[];
29
37
  }
30
38
  export interface ModelMutation {
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/snapshot.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,wBAAwB,CAAC;AASnD,MAAM,WAAW,aAAa;IAC1B,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AACD,MAAM,WAAW,gBAAgB;IAC7B,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;CAC1B;AACD,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,mCAAmC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;CAChG;AACD,MAAM,WAAW,YAAY;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AACD,MAAM,WAAW,aAAa;IAC1B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC9B;AACD,MAAM,WAAW,kBAAkB;IAC/B,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;CAC/B;AACD,MAAM,WAAW,aAAa;IAC1B,QAA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1B,QAAQ,EAAE,UAAU,CAAC;IACrB,IAAI,EAAE,iBAAiB,CAAC;CAC3B;AACD,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,UAAU,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,UAAU,CAAC;CACzB"}
@@ -5,4 +5,7 @@ export interface TestItemMutation {
5
5
  export interface TestListMutation {
6
6
  data?: string;
7
7
  }
8
+ export interface TestItemSnapshot {
9
+ keys?: TestItemMutation[];
10
+ }
8
11
  //# sourceMappingURL=testing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/testing.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,gBAAgB;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/testing.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,gBAAgB;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC7B"}
@@ -26,7 +26,7 @@ export interface KeyRecord {
26
26
  /**
27
27
  * - The secret key as a Buffer (this will never be visible outside the Keyring).
28
28
  */
29
- secretKey?: PrivKey;
29
+ secretKey?: ReturnType<typeof substitutions["dxos.halo.keys.PrivKey"]["decode"]>;
30
30
  /**
31
31
  * - Is this key from a Greeting "hint"?
32
32
  */
@@ -1 +1 @@
1
- {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/halo/keys.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAC;AAQnD,oBAAY,OAAO;IACf,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,MAAM,IAAI;IACV,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;CACX;AACD,MAAM,WAAW,MAAM;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AACD,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AACD,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;CACtB;AACD,MAAM,WAAW,QAAQ;IACrB,SAAS,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/E,OAAO,EAAE,gBAAgB,CAAC,aAAa,CAAC;IACxC,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB"}
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/halo/keys.ts"],"names":[],"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_echo_snapshot.HaloStateSnapshot;
39
39
  "dxos.echo.snapshot.ItemSnapshot": dxos_echo_snapshot.ItemSnapshot;
40
40
  "dxos.echo.snapshot.ModelMutation": dxos_echo_snapshot.ModelMutation;
41
- "dxos.echo.snapshot.ModelMutationArray": dxos_echo_snapshot.ModelMutationArray;
42
41
  "dxos.echo.snapshot.ModelMutationMeta": dxos_echo_snapshot.ModelMutationMeta;
43
42
  "dxos.echo.snapshot.ModelSnapshot": dxos_echo_snapshot.ModelSnapshot;
44
43
  "dxos.echo.snapshot.PartySnapshot": dxos_echo_snapshot.PartySnapshot;
45
44
  "dxos.echo.testing.TestItemMutation": dxos_echo_testing.TestItemMutation;
45
+ "dxos.echo.testing.TestItemSnapshot": dxos_echo_testing.TestItemSnapshot;
46
46
  "dxos.echo.testing.TestListMutation": dxos_echo_testing.TestListMutation;
47
47
  "dxos.halo.keys.KeyChain": dxos_halo_keys.KeyChain;
48
48
  "dxos.halo.keys.KeyRecord": dxos_halo_keys.KeyRecord;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,KAAK;IAClB,0BAA0B,EAAE,gBA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3C,2BAA2B,EAAE,eAAe,CAAC,SAAS,CAAC;CAC1D;AACD,MAAM,WAAW,QAAQ;IACrB,+BAA+B,EAAE,iBAAiB,CAAC,WAAW,CAAC;CAClE;AACD,eAAO,MAAM,UAAU,KAA6qX,CAAC;AACrsX,eAAO,MAAM,MAAM,yBAA8D,CAAC"}
@@ -6,6 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.schema = exports.schemaJson = void 0;
7
7
  const codec_protobuf_1 = require("@dxos/codec-protobuf");
8
8
  const substitutions_1 = __importDefault(require("../substitutions"));
9
- exports.schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"credentials\":{\"nested\":{\"Message\":{\"fields\":{\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":1,\"comment\":null}},\"comment\":null},\"SignedMessage\":{\"fields\":{\"signed\":{\"rule\":\"required\",\"type\":\"Signed\",\"id\":1,\"comment\":null},\"signatures\":{\"rule\":\"repeated\",\"type\":\"Signature\",\"id\":2,\"comment\":null}},\"nested\":{\"Signature\":{\"fields\":{\"key\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"signature\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"keyChain\":{\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"Signed\":{\"fields\":{\"created\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1,\"comment\":null},\"nonce\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":10,\"comment\":null}},\"comment\":null}},\"comment\":\"A generic container message used whenever messages are signed (e.g. PartyCredential)\"}}},\"echo\":{\"nested\":{\"feed\":{\"nested\":{\"CredentialsMessage\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":\"A container for dxos.credentials.Message\"},\"EchoEnvelope\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"genesis\":{\"type\":\"ItemGenesis\",\"id\":10,\"comment\":null},\"itemMutation\":{\"type\":\"ItemMutation\",\"id\":11,\"comment\":null},\"mutation\":{\"type\":\"bytes\",\"id\":12,\"comment\":null},\"snapshot\":{\"type\":\"ModelSnapshot\",\"id\":13,\"comment\":\"Set the model to the provided snapshot.\"}},\"comment\":\"Wrapper for all ECHO messages.\"},\"FeedMessage\":{\"fields\":{\"halo\":{\"type\":\"CredentialsMessage\",\"id\":1,\"comment\":null},\"echo\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":\"Outer message type decoded by Codec.\\nThis is what is written to the feeds.\"},\"ItemGenesis\":{\"fields\":{\"itemType\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"link\":{\"type\":\"LinkData\",\"id\":4,\"comment\":null}},\"comment\":\"Item creation.\"},\"ItemMutation\":{\"fields\":{\"parentId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"action\":{\"type\":\"Action\",\"id\":2,\"comment\":null}},\"nested\":{\"Action\":{\"values\":{\"NOOP\":0,\"DELETE\":1,\"RESTORE\":2},\"comment\":null,\"comments\":{\"NOOP\":null,\"DELETE\":null,\"RESTORE\":null}}},\"comment\":\"Item mutation.\"},\"LinkData\":{\"fields\":{\"source\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"target\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TimeframeVector\":{\"fields\":{\"frames\":{\"rule\":\"repeated\",\"type\":\"Frame\",\"id\":1,\"comment\":null}},\"nested\":{\"Frame\":{\"fields\":{\"feedKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null}},\"comment\":null}},\"comment\":\"Vector timestamp used to order messages.\"}}},\"invitation\":{\"nested\":{\"InvitationDescriptor\":{\"fields\":{\"type\":{\"type\":\"Type\",\"id\":1,\"comment\":null},\"swarmKey\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"invitation\":{\"type\":\"bytes\",\"id\":3,\"comment\":null},\"identityKey\":{\"type\":\"bytes\",\"id\":4,\"comment\":\"Only present if type == OFFLINE.\"},\"secret\":{\"type\":\"bytes\",\"id\":5,\"comment\":\"Must be stripped out when passing to another peer.\"}},\"nested\":{\"Type\":{\"values\":{\"INTERACTIVE\":1,\"OFFLINE\":2},\"comment\":\"Defines an invitation type.\",\"comments\":{\"INTERACTIVE\":\"Interactive invitation is when both peers are online at the same time.\",\"OFFLINE\":\"Offline is when only a single peer needs to be online at the time.\"}}},\"comment\":null}}},\"metadata\":{\"nested\":{\"EchoMetadata\":{\"fields\":{\"version\":{\"type\":\"int32\",\"id\":1,\"comment\":\"Version number that is inceremnted every time there's a breaking change to the storage schema.\\n\\nThis is used to detect if the storage schema has changed since the last time the client was run.\\nLoading data from a different version will might result in an error.\"},\"parties\":{\"rule\":\"repeated\",\"type\":\"PartyMetadata\",\"id\":2,\"comment\":null},\"created\":{\"type\":\"google.protobuf.Timestamp\",\"id\":3,\"comment\":null},\"updated\":{\"type\":\"google.protobuf.Timestamp\",\"id\":4,\"comment\":null}},\"comment\":null},\"PartyMetadata\":{\"fields\":{\"key\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"feedKeys\":{\"rule\":\"repeated\",\"type\":\"PubKey\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"service\":{\"nested\":{\"DataService\":{\"methods\":{\"SubscribeEntitySet\":{\"requestType\":\"SubscribeEntitySetRequest\",\"responseType\":\"SubscribeEntitySetResponse\",\"responseStream\":true,\"comment\":null},\"SubscribeEntityStream\":{\"requestType\":\"SubscribeEntityStreamRequest\",\"responseType\":\"SubscribeEntityStreamResponse\",\"responseStream\":true,\"comment\":null},\"Write\":{\"requestType\":\"WriteRequest\",\"responseType\":\"MutationReceipt\",\"comment\":null}},\"comment\":null},\"MutationReceipt\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetResponse\":{\"fields\":{\"added\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"deleted\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"itemId\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamResponse\":{\"oneofs\":{\"kind\":{\"oneof\":[\"snapshot\",\"mutation\"],\"comment\":null}},\"fields\":{\"snapshot\":{\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"Mutation\",\"id\":2,\"comment\":null}},\"nested\":{\"Mutation\":{\"fields\":{\"data\":{\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"meta\":{\"type\":\"Metadata\",\"id\":2,\"comment\":null}},\"nested\":{\"Metadata\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"memberKey\":{\"type\":\"PubKey\",\"id\":2,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null}},\"comment\":null}},\"comment\":null}},\"comment\":null},\"WriteRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"snapshot\":{\"nested\":{\"DatabaseSnapshot\":{\"fields\":{\"items\":{\"rule\":\"repeated\",\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null}},\"comment\":null},\"HaloStateSnapshot\":{\"fields\":{\"messages\":{\"rule\":\"repeated\",\"type\":\"dxos.CredentialsMessage\",\"id\":1,\"comment\":null}},\"comment\":null},\"ItemSnapshot\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"itemType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":4,\"comment\":null},\"parentId\":{\"type\":\"string\",\"id\":5,\"comment\":null},\"model\":{\"type\":\"ModelSnapshot\",\"id\":6,\"comment\":null}},\"comment\":null},\"ModelMutation\":{\"fields\":{\"mutation\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"meta\":{\"rule\":\"required\",\"type\":\"ModelMutationMeta\",\"id\":2,\"comment\":null}},\"comment\":null},\"ModelMutationArray\":{\"fields\":{\"mutations\":{\"rule\":\"repeated\",\"type\":\"ModelMutation\",\"id\":1,\"comment\":null}},\"comment\":null},\"ModelMutationMeta\":{\"fields\":{\"feedKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"rule\":\"required\",\"type\":\"int32\",\"id\":2,\"comment\":null},\"memberKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":3,\"comment\":null}},\"comment\":null},\"ModelSnapshot\":{\"oneofs\":{\"snapshot\":{\"oneof\":[\"custom\",\"array\"],\"comment\":null}},\"fields\":{\"custom\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"array\":{\"type\":\"ModelMutationArray\",\"id\":2,\"comment\":null}},\"comment\":null},\"PartySnapshot\":{\"fields\":{\"partyKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"timestamp\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"halo\":{\"type\":\"HaloStateSnapshot\",\"id\":11,\"comment\":null},\"database\":{\"type\":\"DatabaseSnapshot\",\"id\":12,\"comment\":null}},\"comment\":null}}},\"testing\":{\"nested\":{\"TestItemMutation\":{\"fields\":{\"key\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"value\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TestListMutation\":{\"fields\":{\"data\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null}}}}},\"halo\":{\"nested\":{\"keys\":{\"nested\":{\"KeyChain\":{\"fields\":{\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"message\":{\"rule\":\"required\",\"type\":\"SignedMessage\",\"id\":2,\"comment\":null},\"parents\":{\"rule\":\"repeated\",\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"KeyRecord\":{\"fields\":{\"type\":{\"rule\":\"required\",\"type\":\"KeyType\",\"id\":1,\"comment\":\"- The `KeyType` type of the key. This is often unknown for keys from other sources.\"},\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":2,\"comment\":\"- The public key as a Buffer (required).\"},\"secretKey\":{\"type\":\"PrivKey\",\"id\":3,\"comment\":\"- The secret key as a Buffer (this will never be visible outside the Keyring).\"},\"hint\":{\"type\":\"bool\",\"id\":4,\"comment\":\"- Is this key from a Greeting \\\"hint\\\"?\"},\"own\":{\"type\":\"bool\",\"id\":5,\"comment\":\"- Is this our key? Usually true if `secretKey` is present,\\nmay be false for \\\"inception keys\\\" such as the Party key.\"},\"trusted\":{\"type\":\"bool\",\"id\":6,\"comment\":\"- Is this key to be trusted?\"},\"added\":{\"type\":\"string\",\"id\":7,\"comment\":\"- An RFC-3339 date/time string for when the key was added to the Keyring.\"},\"created\":{\"type\":\"string\",\"id\":8,\"comment\":\"- An RFC-3339 date/time string for when the key was created.\"}},\"comment\":null},\"KeyRecordList\":{\"fields\":{\"keys\":{\"rule\":\"repeated\",\"type\":\"KeyRecord\",\"id\":1,\"comment\":null}},\"comment\":null},\"KeyType\":{\"values\":{\"UNKNOWN\":0,\"IDENTITY\":1,\"DEVICE\":2,\"PARTY\":3,\"FEED\":4,\"DXNS\":5},\"comment\":null,\"comments\":{\"UNKNOWN\":null,\"IDENTITY\":null,\"DEVICE\":null,\"PARTY\":null,\"FEED\":null,\"DXNS\":null}},\"PrivKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null},\"PubKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null}}}}}}},\"google\":{\"nested\":{\"protobuf\":{\"nested\":{\"Any\":{\"fields\":{\"type_url\":{\"type\":\"string\",\"id\":1},\"value\":{\"type\":\"bytes\",\"id\":2}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null}}}}}}}");
9
+ exports.schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"credentials\":{\"nested\":{\"Message\":{\"fields\":{\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":1,\"comment\":null}},\"comment\":null},\"SignedMessage\":{\"fields\":{\"signed\":{\"rule\":\"required\",\"type\":\"Signed\",\"id\":1,\"comment\":null},\"signatures\":{\"rule\":\"repeated\",\"type\":\"Signature\",\"id\":2,\"comment\":null}},\"nested\":{\"Signature\":{\"fields\":{\"key\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"signature\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"keyChain\":{\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"Signed\":{\"fields\":{\"created\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1,\"comment\":null},\"nonce\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":10,\"comment\":null}},\"comment\":null}},\"comment\":\"A generic container message used whenever messages are signed (e.g. PartyCredential)\"}}},\"echo\":{\"nested\":{\"feed\":{\"nested\":{\"CredentialsMessage\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":\"A container for dxos.credentials.Message\"},\"EchoEnvelope\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"genesis\":{\"type\":\"ItemGenesis\",\"id\":10,\"comment\":null},\"itemMutation\":{\"type\":\"ItemMutation\",\"id\":11,\"comment\":null},\"mutation\":{\"type\":\"bytes\",\"id\":12,\"comment\":null},\"snapshot\":{\"type\":\"ModelSnapshot\",\"id\":13,\"comment\":\"Set the model to the provided snapshot.\"}},\"comment\":\"Wrapper for all ECHO messages.\"},\"FeedMessage\":{\"fields\":{\"halo\":{\"type\":\"CredentialsMessage\",\"id\":1,\"comment\":null},\"echo\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":\"Outer message type decoded by Codec.\\nThis is what is written to the feeds.\"},\"ItemGenesis\":{\"fields\":{\"itemType\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"link\":{\"type\":\"LinkData\",\"id\":4,\"comment\":null}},\"comment\":\"Item creation.\"},\"ItemMutation\":{\"fields\":{\"parentId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"action\":{\"type\":\"Action\",\"id\":2,\"comment\":null}},\"nested\":{\"Action\":{\"values\":{\"NOOP\":0,\"DELETE\":1,\"RESTORE\":2},\"comment\":null,\"comments\":{\"NOOP\":null,\"DELETE\":null,\"RESTORE\":null}}},\"comment\":\"Item mutation.\"},\"LinkData\":{\"fields\":{\"source\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"target\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TimeframeVector\":{\"fields\":{\"frames\":{\"rule\":\"repeated\",\"type\":\"Frame\",\"id\":1,\"comment\":null}},\"nested\":{\"Frame\":{\"fields\":{\"feedKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null}},\"comment\":null}},\"comment\":\"Vector timestamp used to order messages.\"}}},\"invitation\":{\"nested\":{\"InvitationDescriptor\":{\"fields\":{\"type\":{\"type\":\"Type\",\"id\":1,\"comment\":null},\"swarmKey\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"invitation\":{\"type\":\"bytes\",\"id\":3,\"comment\":null},\"identityKey\":{\"type\":\"bytes\",\"id\":4,\"comment\":\"Only present if type == OFFLINE.\"},\"secret\":{\"type\":\"bytes\",\"id\":5,\"comment\":\"Must be stripped out when passing to another peer.\"}},\"nested\":{\"Type\":{\"values\":{\"INTERACTIVE\":1,\"OFFLINE\":2},\"comment\":\"Defines an invitation type.\",\"comments\":{\"INTERACTIVE\":\"Interactive invitation is when both peers are online at the same time.\",\"OFFLINE\":\"Offline is when only a single peer needs to be online at the time.\"}}},\"comment\":null}}},\"metadata\":{\"nested\":{\"EchoMetadata\":{\"fields\":{\"version\":{\"type\":\"int32\",\"id\":1,\"comment\":\"Version number that is inceremnted every time there's a breaking change to the storage schema.\\n\\nThis is used to detect if the storage schema has changed since the last time the client was run.\\nLoading data from a different version will might result in an error.\"},\"parties\":{\"rule\":\"repeated\",\"type\":\"PartyMetadata\",\"id\":2,\"comment\":null},\"created\":{\"type\":\"google.protobuf.Timestamp\",\"id\":3,\"comment\":null},\"updated\":{\"type\":\"google.protobuf.Timestamp\",\"id\":4,\"comment\":null}},\"comment\":null},\"PartyMetadata\":{\"fields\":{\"key\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"feedKeys\":{\"rule\":\"repeated\",\"type\":\"PubKey\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"service\":{\"nested\":{\"DataService\":{\"methods\":{\"SubscribeEntitySet\":{\"requestType\":\"SubscribeEntitySetRequest\",\"responseType\":\"SubscribeEntitySetResponse\",\"responseStream\":true,\"comment\":null},\"SubscribeEntityStream\":{\"requestType\":\"SubscribeEntityStreamRequest\",\"responseType\":\"SubscribeEntityStreamResponse\",\"responseStream\":true,\"comment\":null},\"Write\":{\"requestType\":\"WriteRequest\",\"responseType\":\"MutationReceipt\",\"comment\":null}},\"comment\":null},\"MutationReceipt\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetResponse\":{\"fields\":{\"added\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"deleted\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"itemId\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamResponse\":{\"oneofs\":{\"kind\":{\"oneof\":[\"snapshot\",\"mutation\"],\"comment\":null}},\"fields\":{\"snapshot\":{\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"Mutation\",\"id\":2,\"comment\":null}},\"nested\":{\"Mutation\":{\"fields\":{\"data\":{\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"meta\":{\"type\":\"Metadata\",\"id\":2,\"comment\":null}},\"nested\":{\"Metadata\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"memberKey\":{\"type\":\"PubKey\",\"id\":2,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":4,\"comment\":null}},\"comment\":null}},\"comment\":null}},\"comment\":null},\"WriteRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"snapshot\":{\"nested\":{\"DatabaseSnapshot\":{\"fields\":{\"items\":{\"rule\":\"repeated\",\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null}},\"comment\":null},\"HaloStateSnapshot\":{\"fields\":{\"messages\":{\"rule\":\"repeated\",\"type\":\"dxos.CredentialsMessage\",\"id\":1,\"comment\":null}},\"comment\":null},\"ItemSnapshot\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"itemType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":4,\"comment\":null},\"parentId\":{\"type\":\"string\",\"id\":5,\"comment\":null},\"model\":{\"type\":\"ModelSnapshot\",\"id\":6,\"comment\":null}},\"comment\":null},\"ModelMutation\":{\"fields\":{\"mutation\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"meta\":{\"rule\":\"required\",\"type\":\"ModelMutationMeta\",\"id\":2,\"comment\":null}},\"comment\":null},\"ModelMutationMeta\":{\"fields\":{\"feedKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"rule\":\"required\",\"type\":\"int32\",\"id\":2,\"comment\":null},\"memberKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":3,\"comment\":null}},\"comment\":null},\"ModelSnapshot\":{\"oneofs\":{\"_snapshot\":{\"oneof\":[\"snapshot\"]}},\"fields\":{\"snapshot\":{\"type\":\"bytes\",\"id\":1,\"options\":{\"proto3_optional\":true},\"comment\":\"Encoded model snapshot. Encoding is defined by model's codec.\\n\\nCan be missing. In that case the state machine is to be initialized in it's default state.\"},\"mutations\":{\"rule\":\"repeated\",\"type\":\"ModelMutation\",\"id\":2,\"comment\":\"Mutations to be applied on top of the snapshotted state, or on top of initial state if the snapshot is missing.\"}},\"comment\":null},\"PartySnapshot\":{\"fields\":{\"partyKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"timestamp\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"halo\":{\"type\":\"HaloStateSnapshot\",\"id\":11,\"comment\":null},\"database\":{\"type\":\"DatabaseSnapshot\",\"id\":12,\"comment\":null}},\"comment\":null}}},\"testing\":{\"nested\":{\"TestItemMutation\":{\"fields\":{\"key\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"value\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TestItemSnapshot\":{\"fields\":{\"keys\":{\"rule\":\"repeated\",\"type\":\"TestItemMutation\",\"id\":1,\"comment\":null}},\"comment\":null},\"TestListMutation\":{\"fields\":{\"data\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null}}}}},\"halo\":{\"nested\":{\"keys\":{\"nested\":{\"KeyChain\":{\"fields\":{\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"message\":{\"rule\":\"required\",\"type\":\"SignedMessage\",\"id\":2,\"comment\":null},\"parents\":{\"rule\":\"repeated\",\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"KeyRecord\":{\"fields\":{\"type\":{\"rule\":\"required\",\"type\":\"KeyType\",\"id\":1,\"comment\":\"- The `KeyType` type of the key. This is often unknown for keys from other sources.\"},\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":2,\"comment\":\"- The public key as a Buffer (required).\"},\"secretKey\":{\"type\":\"PrivKey\",\"id\":3,\"comment\":\"- The secret key as a Buffer (this will never be visible outside the Keyring).\"},\"hint\":{\"type\":\"bool\",\"id\":4,\"comment\":\"- Is this key from a Greeting \\\"hint\\\"?\"},\"own\":{\"type\":\"bool\",\"id\":5,\"comment\":\"- Is this our key? Usually true if `secretKey` is present,\\nmay be false for \\\"inception keys\\\" such as the Party key.\"},\"trusted\":{\"type\":\"bool\",\"id\":6,\"comment\":\"- Is this key to be trusted?\"},\"added\":{\"type\":\"string\",\"id\":7,\"comment\":\"- An RFC-3339 date/time string for when the key was added to the Keyring.\"},\"created\":{\"type\":\"string\",\"id\":8,\"comment\":\"- An RFC-3339 date/time string for when the key was created.\"}},\"comment\":null},\"KeyRecordList\":{\"fields\":{\"keys\":{\"rule\":\"repeated\",\"type\":\"KeyRecord\",\"id\":1,\"comment\":null}},\"comment\":null},\"KeyType\":{\"values\":{\"UNKNOWN\":0,\"IDENTITY\":1,\"DEVICE\":2,\"PARTY\":3,\"FEED\":4,\"DXNS\":5},\"comment\":null,\"comments\":{\"UNKNOWN\":null,\"IDENTITY\":null,\"DEVICE\":null,\"PARTY\":null,\"FEED\":null,\"DXNS\":null}},\"PrivKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null},\"PubKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null}}}}}}},\"google\":{\"nested\":{\"protobuf\":{\"nested\":{\"Any\":{\"fields\":{\"type_url\":{\"type\":\"string\",\"id\":1},\"value\":{\"type\":\"bytes\",\"id\":2}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null}}}}}}}");
10
10
  exports.schema = codec_protobuf_1.Schema.fromJson(exports.schemaJson, substitutions_1.default);
11
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAU9C,qEAA6C;AAiDhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yyWAAyyW,CAAC,CAAC;AACn0W,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAU9C,qEAA6C;AAiDhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,8pXAA8pX,CAAC,CAAC;AACxrX,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
@@ -1,7 +1,5 @@
1
+ /// <reference types="node" />
1
2
  import { Message } from '@dxos/credentials';
2
- import { PublicKey } from '@dxos/crypto';
3
- import { Timeframe } from '../spacetime';
4
- import type { Timestamp } from './gen/google/protobuf';
5
3
  declare const _default: {
6
4
  'dxos.echo.feed.CredentialsMessage': {
7
5
  encode: (msg: Message) => {
@@ -10,23 +8,29 @@ declare const _default: {
10
8
  decode: (msg: any) => Message;
11
9
  };
12
10
  'dxos.echo.feed.TimeframeVector': {
13
- encode: (timeframe: Timeframe) => {
11
+ encode: (timeframe: import("../spacetime").Timeframe) => {
14
12
  frames: {
15
13
  feedKey: Uint8Array;
16
14
  seq: number;
17
15
  }[];
18
16
  };
19
- decode: (vector: any) => Timeframe;
17
+ decode: (vector: any) => import("../spacetime").Timeframe;
20
18
  };
21
19
  'dxos.halo.keys.PubKey': {
22
- encode: (value: PublicKey) => {
20
+ encode: (value: import("@dxos/crypto").PublicKey) => {
23
21
  data: Uint8Array;
24
22
  };
25
- decode: (value: any) => PublicKey;
23
+ decode: (value: any) => import("@dxos/crypto").PublicKey;
24
+ };
25
+ 'dxos.halo.keys.PrivKey': {
26
+ encode: (value: Buffer) => {
27
+ data: Uint8Array;
28
+ };
29
+ decode: (value: any) => Buffer;
26
30
  };
27
31
  'google.protobuf.Timestamp': {
28
- encode: (value: Date) => Timestamp;
29
- decode: (value: Timestamp) => Date;
32
+ encode: (value: Date) => any;
33
+ decode: (value: any) => Date;
30
34
  };
31
35
  };
32
36
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"substitutions.d.ts","sourceRoot":"","sources":["../../../src/proto/substitutions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAS,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;;sBAKrC,OAAO;;;sBACP,GAAG,KAAG,OAAO;;;4BAGP,SAAS;;;;;;yBAGZ,GAAG;;;wBAOJ,SAAS;;;wBACT,GAAG;;;wBAGH,IAAI,KAAG,SAAS;wBAOhB,SAAS,KAAG,IAAI;;;AA5BpC,wBA8BE"}
1
+ {"version":3,"file":"substitutions.d.ts","sourceRoot":"","sources":["../../../src/proto/substitutions.ts"],"names":[],"mappings":";AAKA,OAAO,EAAS,OAAO,EAAE,MAAM,mBAAmB,CAAC;;;sBAWjC,OAAO;;;sBACP,GAAG,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAP/B,wBASE"}
@@ -3,39 +3,18 @@
3
3
  // Copyright 2020 DXOS.org
4
4
  //
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ const codec_protobuf_1 = require("@dxos/codec-protobuf");
6
7
  const credentials_1 = require("@dxos/credentials");
7
8
  const crypto_1 = require("@dxos/crypto");
8
9
  const spacetime_1 = require("../spacetime");
9
10
  exports.default = {
11
+ ...codec_protobuf_1.timestampSubstitutions,
12
+ ...crypto_1.publicKeySubstitutions,
13
+ ...spacetime_1.timeframeSubstitutions,
10
14
  // TODO(marik-d): Temporary codec bridging logic until we can require proto declarations across package boundaries.
11
15
  'dxos.echo.feed.CredentialsMessage': {
12
16
  encode: (msg) => ({ data: credentials_1.codec.encode(msg) }),
13
17
  decode: (msg) => credentials_1.codec.decode(msg.data)
14
- },
15
- 'dxos.echo.feed.TimeframeVector': {
16
- encode: (timeframe) => ({
17
- frames: timeframe.frames().map(([feedKey, seq]) => ({ feedKey: feedKey.asUint8Array(), seq }))
18
- }),
19
- decode: (vector) => {
20
- var _a;
21
- return new spacetime_1.Timeframe(((_a = vector.frames) !== null && _a !== void 0 ? _a : [])
22
- .filter((frame) => frame.feedKey != null && frame.seq != null)
23
- .map((frame) => [crypto_1.PublicKey.from(new Uint8Array(frame.feedKey)), frame.seq]));
24
- }
25
- },
26
- 'dxos.halo.keys.PubKey': {
27
- encode: (value) => ({ data: value.asUint8Array() }),
28
- decode: (value) => crypto_1.PublicKey.from(new Uint8Array(value.data))
29
- },
30
- 'google.protobuf.Timestamp': {
31
- encode: (value) => {
32
- const unixMilliseconds = value.getTime();
33
- return {
34
- seconds: (unixMilliseconds / 1000).toString(),
35
- nanos: (unixMilliseconds % 1000) * 1e6
36
- };
37
- },
38
- decode: (value) => { var _a, _b; return new Date(parseInt((_a = value.seconds) !== null && _a !== void 0 ? _a : '0') * 1000 + ((_b = value.nanos) !== null && _b !== void 0 ? _b : 0) / 1e6); }
39
18
  }
40
19
  };
41
20
  //# sourceMappingURL=substitutions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"substitutions.js","sourceRoot":"","sources":["../../../src/proto/substitutions.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,mDAAmD;AACnD,yCAAyC;AAEzC,4CAAyC;AAGzC,kBAAe;IACb,mHAAmH;IACnH,mCAAmC,EAAE;QACnC,MAAM,EAAE,CAAC,GAAY,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,mBAAK,CAAC,MAAM,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AO;gBACL,OAAO,EAAE,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC,QAAQ,EAAE;gBAC7C,KAAK,EAAE,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,GAAG;aACvC,CAAC;QACJ,CAAC;QACD,MAAM,EAAE,CAAC,KAAgB,EAAQ,EAAE,eAAC,OAAA,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,MAAA,KAAK,CAAC,KAAK,mCAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAA,EAAA;KAC/G;CACF,CAAC"}
1
+ {"version":3,"file":"substitutions.js","sourceRoot":"","sources":["../../../src/proto/substitutions.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,yDAA8D;AAC9D,mDAAmD;AACnD,yCAAsD;AAEtD,4CAAsD;AAEtD,kBAAe;IACb,GAAG,uCAAsB;IACzB,GAAG,+BAAsB;IACzB,GAAG,kCAAsB;IACzB,mHAAmH;IACnH,mCAAmC,EAAE;QACnC,MAAM,EAAE,CAAC,GAAY,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,mBAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;QACvD,MAAM,EAAE,CAAC,GAAQ,EAAW,EAAE,CAAC,mBAAK,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;KACtD;CACF,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './timeframe';
2
+ export * from './substitutions';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/spacetime/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/spacetime/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  };
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  __exportStar(require("./timeframe"), exports);
17
+ __exportStar(require("./substitutions"), exports);
17
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/spacetime/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;AAEF,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/spacetime/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;AAEF,8CAA4B;AAC5B,kDAAgC"}
@@ -0,0 +1,13 @@
1
+ import { Timeframe } from './timeframe';
2
+ export declare const timeframeSubstitutions: {
3
+ 'dxos.echo.feed.TimeframeVector': {
4
+ encode: (timeframe: Timeframe) => {
5
+ frames: {
6
+ feedKey: Uint8Array;
7
+ seq: number;
8
+ }[];
9
+ };
10
+ decode: (vector: any) => Timeframe;
11
+ };
12
+ };
13
+ //# sourceMappingURL=substitutions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"substitutions.d.ts","sourceRoot":"","sources":["../../../src/spacetime/substitutions.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,sBAAsB;;4BAEX,SAAS;;;;;;yBAGZ,GAAG;;CAMvB,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2022 DXOS.org
4
+ //
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.timeframeSubstitutions = void 0;
7
+ const crypto_1 = require("@dxos/crypto");
8
+ const timeframe_1 = require("./timeframe");
9
+ exports.timeframeSubstitutions = {
10
+ 'dxos.echo.feed.TimeframeVector': {
11
+ encode: (timeframe) => ({
12
+ frames: timeframe.frames().map(([feedKey, seq]) => ({ feedKey: feedKey.asUint8Array(), seq }))
13
+ }),
14
+ decode: (vector) => {
15
+ var _a;
16
+ return new timeframe_1.Timeframe(((_a = vector.frames) !== null && _a !== void 0 ? _a : [])
17
+ .filter((frame) => frame.feedKey != null && frame.seq != null)
18
+ .map((frame) => [crypto_1.PublicKey.from(new Uint8Array(frame.feedKey)), frame.seq]));
19
+ }
20
+ }
21
+ };
22
+ //# sourceMappingURL=substitutions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"substitutions.js","sourceRoot":"","sources":["../../../src/spacetime/substitutions.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,yCAAyC;AAEzC,2CAAwC;AAE3B,QAAA,sBAAsB,GAAG;IACpC,gCAAgC,EAAE;QAChC,MAAM,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,CAAC;YACjC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,YAAY,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;SAC/F,CAAC;QACF,MAAM,EAAE,CAAC,MAAW,EAAE,EAAE;;YAAC,OAAA,IAAI,qBAAS,CACpC,CAAC,MAAA,MAAM,CAAC,MAAM,mCAAI,EAAE,CAAC;iBAClB,MAAM,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,GAAG,IAAI,IAAI,CAAC;iBAClE,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,CAAC,kBAAS,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CACnF,CAAA;SAAA;KACF;CACF,CAAC"}
@@ -2,6 +2,7 @@
2
2
  import { Message as HaloMessage } from '@dxos/credentials';
3
3
  import { PublicKey } from '@dxos/crypto';
4
4
  import { EchoEnvelope, FeedMessage } from './proto';
5
+ import { Timeframe } from './spacetime/timeframe';
5
6
  export declare type SwarmKey = Uint8Array;
6
7
  export declare type FeedKey = PublicKey;
7
8
  export declare type FeedMeta = {
@@ -11,6 +12,9 @@ export declare type FeedMeta = {
11
12
  export interface MutationMeta extends FeedMeta {
12
13
  memberKey: Uint8Array;
13
14
  }
15
+ export interface MutationMetaWithTimeframe extends MutationMeta {
16
+ timeframe: Timeframe;
17
+ }
14
18
  /**
15
19
  * Hypercore message.
16
20
  * https://github.com/hypercore-protocol/hypercore
@@ -33,7 +37,7 @@ export interface IHaloStream {
33
37
  data: HaloMessage;
34
38
  }
35
39
  export interface IEchoStream {
36
- meta: MutationMeta;
40
+ meta: MutationMetaWithTimeframe;
37
41
  data: EchoEnvelope;
38
42
  }
39
43
  export declare type ItemID = string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAWpD,oBAAY,QAAQ,GAAG,UAAU,CAAC;AAMlC,oBAAY,OAAO,GAAG,SAAS,CAAC;AAEhC,oBAAY,QAAQ,GAAG;IACrB,OAAO,EAAE,UAAU,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAA;AAED,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C,SAAS,EAAE,UAAU,CAAA;CACtB;AAED;;;GAGG;AAEH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EA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,WAAW,iBAAiB,CAAC,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,CAAC;CACT;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,UAAW,kBAAkB,GAAG,CAAC,KAAG,QAG7D,CAAC;AAEH,oBAAY,SAAS,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEvD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,QAAQ,CAAC;IAEf,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,yBAAyB,CAAC;IAChC,IAAI,EAAE,YAAY,CAAC;CACpB;AAOD,oBAAY,MAAM,GAAG,MAAM,CAAC;AAE5B,oBAAY,QAAQ,GAAG,MAAM,CAAC;AAQ9B,oBAAY,QAAQ,GAAG,SAAS,CAAC;AAMjC,oBAAY,WAAW,GAAG,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AA8CF;;;GAGG;AACI,MAAM,cAAc,GAAG,CAAC,KAA6B,EAAY,EAAE,CAAC,CAAC;IAC1E,OAAO,EAAE,KAAK,CAAC,GAAG;IAClB,GAAG,EAAE,KAAK,CAAC,GAAG;CACf,CAAC,CAAC;AAHU,QAAA,cAAc,kBAGxB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAmDF;;;GAGG;AACI,MAAM,cAAc,GAAG,CAAC,KAA6B,EAAY,EAAE,CAAC,CAAC;IAC1E,OAAO,EAAE,KAAK,CAAC,GAAG;IAClB,GAAG,EAAE,KAAK,CAAC,GAAG;CACf,CAAC,CAAC;AAHU,QAAA,cAAc,kBAGxB"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+ms@0.7.31/node_modules/@types/ms/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+debug@4.1.7/node_modules/@types/debug/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/index.d.ts","../../../../common/temp/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+readable-stream@2.3.9/node_modules/@types/readable-stream/index.d.ts","../../../common/async/dist/src/async.d.ts","../../../common/async/dist/src/event.d.ts","../../../common/async/dist/src/events.d.ts","../../../common/async/dist/src/latch.d.ts","../../../common/async/dist/src/lock.d.ts","../../../common/async/dist/src/sink.d.ts","../../../common/async/dist/src/trigger.d.ts","../../../common/async/dist/src/types.d.ts","../../../common/async/dist/src/callback.d.ts","../../../common/async/dist/src/index.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../common/crypto/dist/src/human-hash.d.ts","../../../common/crypto/dist/src/public-key.d.ts","../../../common/crypto/dist/src/keys.d.ts","../../../common/crypto/dist/src/seedphrase.d.ts","../../../common/crypto/dist/src/validator.d.ts","../../../common/crypto/dist/src/index.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IFile.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IStorage.d.ts","../../../common/random-access-multi-storage/dist/src/node.d.ts","../../../common/random-access-multi-storage/dist/src/index.d.ts","../../feed-store/dist/src/hypercore-types.d.ts","../../feed-store/dist/src/types.d.ts","../../feed-store/dist/src/feed-descriptor.d.ts","../../feed-store/dist/src/feed-store.d.ts","../../feed-store/dist/src/create-batch-stream.d.ts","../../feed-store/dist/src/stream.d.ts","../../feed-store/dist/src/index.d.ts","../../../common/util/dist/src/complex.d.ts","../../../common/util/dist/src/json.d.ts","../../../common/util/dist/src/map.d.ts","../../../common/util/dist/src/range.d.ts","../../../common/util/dist/src/types.d.ts","../../../common/util/dist/src/randomInt.d.ts","../../../common/util/dist/src/subscription.d.ts","../../../common/util/dist/src/uint8array.d.ts","../../../common/util/dist/src/typeguards.d.ts","../../../common/util/dist/src/isNotNullOrUndefined.d.ts","../../../common/util/dist/src/index.d.ts","../../../halo/credentials/dist/src/keys/filter.d.ts","../../../../common/temp/node_modules/.pnpm/protobufjs@6.11.2/node_modules/protobufjs/index.d.ts","../../../common/codec-protobuf/dist/src/interface.d.ts","../../../common/codec-protobuf/dist/src/mapping.d.ts","../../../common/codec-protobuf/dist/src/codec.d.ts","../../../common/codec-protobuf/dist/src/stream.d.ts","../../../common/codec-protobuf/dist/src/service.d.ts","../../../common/codec-protobuf/dist/src/schema.d.ts","../../../common/codec-protobuf/dist/src/common.d.ts","../../../common/codec-protobuf/dist/src/any.d.ts","../../../common/codec-protobuf/dist/src/buffer-patch.d.ts","../../../common/codec-protobuf/dist/src/index.d.ts","../../../halo/credentials/dist/src/proto/substitutions.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/halo/keys.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/auth.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/greet.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/identity.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/party.d.ts","../../../halo/credentials/dist/src/proto/gen/google/protobuf.d.ts","../../../halo/credentials/dist/src/proto/gen/index.d.ts","../../../halo/credentials/dist/src/proto/any.d.ts","../../../halo/credentials/dist/src/proto/codec.d.ts","../../../halo/credentials/dist/src/proto/datetime.d.ts","../../../halo/credentials/dist/src/proto/index.d.ts","../../../halo/credentials/dist/src/typedefs.d.ts","../../../halo/credentials/dist/src/keys/keystore.d.ts","../../../halo/credentials/dist/src/keys/signer.d.ts","../../../halo/credentials/dist/src/keys/simple-metrics.d.ts","../../../halo/credentials/dist/src/keys/keyring.d.ts","../../../halo/credentials/dist/src/keys/keytype.d.ts","../../../halo/credentials/dist/src/keys/keyring-helpers.d.ts","../../../halo/credentials/dist/src/keys/index.d.ts","../../../halo/credentials/dist/src/auth/auth-message.d.ts","../../../mesh/protocol/dist/src/extension.d.ts","../../../mesh/protocol/dist/src/protocol.d.ts","../../../mesh/protocol/dist/src/errors.d.ts","../../../mesh/protocol/dist/src/index.d.ts","../../../halo/credentials/dist/src/party/events.d.ts","../../../halo/credentials/dist/src/party/party-credential.d.ts","../../../halo/credentials/dist/src/identity/events.d.ts","../../../halo/credentials/dist/src/identity/identity-message.d.ts","../../../halo/credentials/dist/src/identity/identity-message-processor.d.ts","../../../halo/credentials/dist/src/identity/index.d.ts","../../../halo/credentials/dist/src/party/party-state.d.ts","../../../halo/credentials/dist/src/party/party-invitation-manager.d.ts","../../../halo/credentials/dist/src/party/index.d.ts","../../../halo/credentials/dist/src/auth/authenticator.d.ts","../../../halo/credentials/dist/src/auth/auth-plugin.d.ts","../../../halo/credentials/dist/src/auth/index.d.ts","../../../halo/credentials/dist/src/greet/invitation.d.ts","../../../halo/credentials/dist/src/greet/greeter.d.ts","../../../halo/credentials/dist/src/greet/greeting-command-plugin.d.ts","../../../halo/credentials/dist/src/greet/greeting-message.d.ts","../../../halo/credentials/dist/src/greet/party-invitation-claim-handler.d.ts","../../../halo/credentials/dist/src/greet/passcode.d.ts","../../../halo/credentials/dist/src/greet/error-codes.d.ts","../../../halo/credentials/dist/src/greet/index.d.ts","../../../halo/credentials/dist/src/index.d.ts","../src/proto/gen/dxos/halo/keys.ts","../src/proto/gen/dxos/echo/testing.ts","../src/proto/gen/dxos/echo/snapshot.ts","../src/proto/gen/dxos/echo/service.ts","../src/proto/gen/dxos/echo/metadata.ts","../src/proto/gen/dxos/echo/invitation.ts","../src/proto/gen/dxos/echo/feed.ts","../src/proto/gen/google/protobuf.ts","../src/proto/substitutions.ts","../src/proto/gen/dxos/credentials.ts","../src/proto/gen/index.ts","../src/proto/messages.ts","../src/proto/index.ts","../src/types.ts","../src/spacetime/timeframe.ts","../src/spacetime/index.ts","../src/feeds/feed-store-iterator.ts","../../../../common/temp/node_modules/.pnpm/@types+pify@3.0.2/node_modules/@types/pify/index.d.ts","../src/feeds/feed-writer.ts","../src/feeds/index.ts","../src/index.ts","../../../../common/temp/node_modules/.pnpm/@types+faker@5.5.9/node_modules/@types/faker/index.d.ts","../src/feeds/feed-store-iterator.test.ts","../src/feeds/feed.test.ts","../src/spacetime/timeframe.test.ts","../../../../common/temp/node_modules/.pnpm/@types+chance@1.1.3/node_modules/@types/chance/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@26.0.24/node_modules/@types/jest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+duplexify@3.6.0/node_modules/@types/duplexify/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pumpify@1.4.1/node_modules/@types/pumpify/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"64e2803203b14d7f104f570f2152fde13abb6edc17b2ddb33d81ad86cf43d494","2c8d9e3331aec52d9a6d4040352c00282c3abaf48053ed0944528a4845c9caa3","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","64576aba4ff801004122056ccd049f0597aa471dcfd7670a6a0b877ee8dd97c0","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"cc829932ffaf5c49092f878bec18af1fa5d8591b45a45e2b7f757f793cb3b4ed","47db10fdc4e76c4f4598cf7c91ba6bfde6cf6d8082c51860fe751643bf359739","05d7d95e24bc2897bf20ce041c3dc3cca814e07148a93999145b1a0ad491094c","d1080e49778c0b2ce656042ebfa43f89dffb96ac00f86a34762188a21857ffd4","0ce99c641ea20b0c0c09d093fc28f18f5ab31dc80033707a1ac3154399de2559","f0c33a0b325d3499cc9aded7d32886f998c9a27b465097c6cc136944d0aafdaa","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","03c91e8833eef54dc44db99d7deb469b5e3cec82f23054b4286a2380e0e00996","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","9fef9de633d01cb7f01f68195626a890ededd25cf96a1e785617d08c8668230d","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"bf89ceb26132596b859cd4d129ce3f447134b444dec87966ba65cd7e8e9e0cb0","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","a11d4ba43bf0825d7285d54dec6cb951685cd458a4de3c5c1800f7cbf7799009","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","82e1723b20fa0b15a7da0d1a03fec88348f82f640f7a2f308d6c0fac780cfc7c","e0202c3e09775b86b902f21623e55896cea98750efbdf0691ca7473af06fe551","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","a2666b43d889b4882ac6ede1c48128bac351886854e94f832b20d3730e5062c5","7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"2a7d39ea70e483d3ebcde44031b6552940f295349bee8d486e8bdf6380162302","5e379df3d61561c2ed7789b5995b9ba2143bbba21a905e2381e16efe7d1fa424","0d8b40bf50af939b854673143c83b174d87f3a4fdaa0b7979ebb94f374b38306","c87085285d6c052f422ab0713098bc72c9f276ccb48337b471f277ab24e134e9","1610f2eadec0c6fc891f89330502bb099b539771a13746807e5d3b40180ec901","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","1d94be71c02681f0640fa6bb08f10378d50b0e38e521ba4624b159d9cb7a4e8c","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","9d347130d3dade8c804698d3f1ed7fa35799098480c0015ae647e5d38da4d424","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","a42919e6cb602e7e8ef516c6dd7966994340d429a43f95f88ef92482057b52d4","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd","fccc3ab2eb7278d4597fd8b2ae645ace954f1cb9d523acef67d876ed2b66e728","eee0388b53def5c6f305146f6f44f4f193d4f00c9f474329e9b7f09b8dc10d0b","ecfc4878b54ea3d4ee526c371e41f6308abc1f0b80691cc9b51fdfc462ed5ca0","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","031401b9afec14ada845cfd7f16642df9b5ef001c74a6e0fd1f646654406372f","a9a709c0bfc23748ad2bb78cb1efceed410800b3b5a30ec72b6e2ee1abc065ef","106f53930d9468f7b1b99123b6439f30703727d7eea3d4763e3c92ca8a5c4396","c31c877dbcbeadafc390f966110476da63c11b6a4229e04dc634f13b88cf96f5","8b385d5fb8dd09036bede9d4044169e7a587a41cb35690486f15147f986e9363","79a7db8fb14b23b6e62a0a5384278438b9c2fe4e7eaa0a5f9b32aacaddee4bec","78b8a7c78a016a5c0d25d069486725542dd00de714a0707e6ba00655d06ba5f9","f60db18327504e39f42245b931aab5cf0bf66005108b1261bcfc41d2e45394b5","94d2099647a2fb7696308e5335b23d5a43b102ef3cd2ea993d6fd3a039d07664","998c58d75b97c4af2ae38310f7c5d3163740e092fd92025076d8970f2fed4b94","333842073ecc380ffea6306e8db1b27ef20eb261663cdeb32a1b46673fa41fd8","b21f5f6cdedacf419240be02ad6ed0e42807749ebf37bf36b838bd8f39fef52f","114c46e3c67d8c98d73854eca5ca7710a488e8e746e343b9e99f1463f6b3cde7","51bf8e51bd28a124f52aea4628556566eb8b1b67cf80c6769eb1269e88a3fd54","e2302ae00a4f260f699ae4b6896b17045e03b9ca10088a99f1163abb0a2b40d3","a20b5a48195999025be24ec88c203ffb5ee22cf76744cf6d5d30ef46fb23d765","90f00153202471120c8b2cd1fc2b19bd7727bdcb8e1c66abe9b67ac87e8474ba","725acc462432407d76398d07c284a80f68aeaab1a01a65eb4805fb4595e7e96b","33709a702cc8e378e68d26d37fa20e576e4d046bc4a6142ba3a870947536208c","a779b16e12d90ada85a0ff039d75a8116464e7d0c4319e677efb409cf6e24720","5e1ebf27dbc316b57c78663bf7f385e380f959ce48e5c6a55fa4795acc41ecc3","94142727c7c6030d654250986c7a1f4e52d9da648359ff54e57ff9719509cd6a","b518da82db039cf3667d49bb7d9a601d93c933a632f4cd21cc3f4b140263f97b","1a290dd6e2f6b4ab13ae5340b81792e46a8902b416b319491ba39287bf727cbd","f0a7de3eceef503a953cf2a4e96b785a46d133a9c7f16316091392060ea2fac7","1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da","0b181bbecdeb6becd582512ef095df3010f35da151c6f9b1f4672f37a564138f","216e1d84427fb19177419447edb7aea35482652ff24f4e3f157fca2138c51a0a","5a2c04c696b6f6b15d46a270979cacfa37faf5c0efdf7042f2d2944a917adf07","68c9339d07891f4573b8d91fb186362ae23c7bbc96e7175b5d34368fccf555f7","b835eabf1f7bd5a448c05645ad2b5d91658964486e7e7b597a77277b1cee1f4d","51324e9c9ef658b8516809bc521eadbfcb18ffecfed33bb69ce46d6d5f2c3366","0724b631bcad7be2efbbfee090de5ac9fb49a5180f8c3c106b5ad277764b700b","30325dcf102eab2f9af285ed39bc862cec88693b90a9ae82d86eaeab546e34d5","9bcb66259e0252bafc327cdf187ebe67b3fd74c4440daf8b539ef88a4aebc800","e915da4b3bcd759ca35092a73990b2d328c9a0193d098d320ebbda903c473a4b","3bf1b0f7a5753a8fbeaf5472ee3c760f1451d9c3bfacbc34563ab165b3e1c05b","8080d43f7d665c373e8e905ae53b08e82ca0dd01bf04ba65ec2f5f54ebd1798b","e8a7579cf65f30a6d47f91168b31e5521b8276c10bfabcc0c3c2b543b12ac4d8","67a12dd44470bef9317f4d9fb4fa360ad69434bdc19521c485d362bc81fcef9b","707aa8051e8845644468296345348ef00b3224544c0b1b6a775900935fa4e6a7","f66429ac829e80529b11c420b2e381e6c42362732e6fbea8647a4fd0b33ddc54","de7c4ecc2822eef6a7348d63b30807a55f1ccdf17433b8f39a332688adf0e14d","37d345559005ca94bdebbeb2d1da37482570ab421511e1e14676ac325d3996e6","5ac008c4ceec64bb412fad85fbb59f0f426099836a7e43b1680772a0f019b058","6e248f5d6c770ed780de95d2502774421b9aa56a447ca87d191cbaec86f1664b","ea34df2f0765923687cbaf13a8479b7cd1a4efdf014c98043dae84a60ddb1efc","4ad83dcb71213b9ddbb1b39532ccc651ed08c69d7197e38eefcb63c416742feb","483af0d9d8a226667574dcfa2b20827ed9e0882b90941d1bebbadd262fc681c0","fb786c69309289a68c3092e504f06f20cb7f7210e4e82387a1143132231655a3","f81696cdd04c2ae11013453d2b8d9b0082990e81868ec1abf78d2bbad3accbca","4ee065ea0b35fd03c6ceaad7be308a57929af9d074e9885a6a218f62de401016","cdf1c5703f39ec5258551ebda4c45be9d5d470bdaa652e5014cd41d82c1dacbe","7a0f0a5593de664fe46b662a35277cbdbf2fcf8594f532768f26fb81e1c293e9","e2ea1898f1d8f2ccbafc6d6fd4c84369de5ace338707ad71167fea53500ab157","2065c8ea5e88bed5697ee485bf5de2b019ab221dae22bc8d9f784060fcbf9c05","dc9fd7d1e09b3052c7864ce2d1e0f029894a265b9f5ab6956ef17faa26aac083","9841353c5aaf5a90b1143526386213a51d66508794a493b97a12486a47195ca1","fd7d6542c78ada8ba78f89417176d68145dabae84727b9217fce2114060888bb","2362b5ba53abbe5576c3b81792907a3879701bbbef2883f7cf6624c83a37268a","18e9b1d85ef9167334b52058928a408c5074712d60ec73677e2c1d82971cf4f6","9f111b543341f21fe6a3825651c0ca3495c7fcac7756cbf5922993ca1766060b","abf9aa2b79294a8293a3c6c9dc7a90d27bf80d8de1257c4b83da17c8be57017e","c9b13668ab86d8412a80c4c60cb791d2da8a0b84e8d3f94ad45ca90e472c5f8c","1e65e227032deb15468100a6752573d8fb03569e3a189b7841070d14d411990e","d600a1c4944cfbe32edde7c3bc8eb217ff898ccde903ef33b99cc86199f41600","1ffeeb8da80fb81f7d9ea550decd130ae3c4572cbe9c59b286b9b5b6dd310f53","027ac2f2a5e39c63391da91d35a2c66106f272f3b9bd078d8e142d33f6cdb4de","7cef5d632a28153aed7ebe3a30d19482f3f2fb0b8df9b25a4bcecc9bcd324a1f","7db8cf9e950c16ae0b26a60e7cbd3856d429a413a6fae3834f4851b73bd9317d","aafbe3552fcc17060ddd1d82350acb1c2681608be16f49368cfb8609623902a9","09703b393cab9a645e30fb0f7089db7d0b2a936888f91843325ee0fe14856d18","0a1b2b901d661372cedff6b18fe7af3e9d545431599653bd9da37a17fc4051a0","dfc9cbefbea8565dd5c32c41b37169aeb3a62499a18f9b4d7e1e5e0ab77d2deb","7bd31265a153444a8bbe4d6ba4a22dbe763802973ae425014ea95b514f52b02a","07507e1c91d600abcec45e99f7567a5f4be478a6a8a9ce71f80dfae1214697dd","0d627e6e69008e8f61e0ac580b10ee3b01eff3a6106f0d239891787dc91f8ae5","f1e22e04800dabee11c86c0ca8d7fd438254e18a47d4358a1f2d66ab225051d4","d12b08387bf48fa83e83d50828b2455eb035f776ca25dad8039bd50f341f390a","48986946580b921bdfc80cfb809e65001a86e01eca60155f7ee2cdf352b1bb6e","207771195e262f1b0a069124f0f475dc54fa859cb2195ac1647e9e4e73ae003d","47dbb6cb9ee260f7ae9b3c606ca1294bf0e49d98ed4a51500ecc8698e3a430d0","50b4e348db4edbba8b8565ac2262dd5324b5a3a7d8830026da4a8acabd694c7f","a536fb4e0cba6a3e4eeae3475e15bbb81d4011030e764b13619394c29bc0dab9","94d36b48d77bc2759ca5c071f3b10b5d15230bb7be60f3f76c410a206445a4d7","8b113a82d92a6ddebed94999c1573d2fea88bae6b8b1d0741d33beedbb894864","99cf3105e32b31d01c757edfe874231e03d93f3138258deb055584b0dbb02f6b","4f37d41458a935a71c45ef80223a7f11a8d146520406f8bc02370b314cb4dd75","ce77401c428cd27c3ce1b14855f9fe4f0b4473a89bed84e33344dfcb761e2f10","eba2ac0192bffe97f33f6240af2f4463ee6a856fe6561bc5ef9770dc1f195a8d","478fc968c818c5dd98caf13921f0b4652c04fe9f537b2843d89644834641044e","c6519e20dcd9d385490e7316c467beff01cf5f943ffbfb38ec7ed78758174a77","36e70c76efa9a4c28888209c031d80b59ef58ef45bcd6de49110db805403ed2f","0204f0912d2b199d9ab2b3be281c0424d06e94d4d0af7f516e74dd667bbca996","d7bbd80d74e6c39d3223fde22d6df8bc667beeda05e7bbc57b26b36ae39df8c4","c51021834fce828c4ebbe9ac29b23ac204b63ca030f4d95bbb079ed90e200386","b497c0a63da717721124fc90d243ece8face48b4ebfec4024accd4dd93a8e3e4","50738289f1fad21e73e78b50937a12689805f0fb95ee6d918f22926c7960e8e1","b94570b9561e00696b273d87d746f12e638dabaf010bef9309d69ae495884ba0","2dc2c6eedf30f70da9cc459b7f22be5b0bd7542ded1589445f13cccd0859bbd4","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","71b3b02c3336711443b4cffd9dd0447cc3b35eb021fcf416899a002bebc98dc2","e52174bca9a853aa44b1aca8230a6cf8c8c8d0639bd673037f475040eedd7ef0","1ebead1f76b33b267d5b2252fa33ae34d50f698098db96e3cc0fc8696ea46c97",{"version":"35df3991a30c880f5d745f98db7174936ab7e7f527bf6de0d84d602cc6da8683","affectsGlobalScope":true},"da7b1fd4841214bc430eb8c5d5f77b751fb074b2329ff923039802bce1f7342a","a3d40af00241a8717ef4ccaffe609d5ce220c075f9390ebcd70f20ab31e414d2","579cc05119ca5a8827025b320308dacae4d9aa9b4ed22b6d52fbdbca71477aca",{"version":"8f61ce98de9b42c0196fe17eae81d18cfac3fa0c3fd22421beda62a8b22d73d4","affectsGlobalScope":true},"d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"9b24f39665305b5b404f44937cd9d774e21e192c15d919961b15a831d8358c82","b8b664766c16d5e5eaa14671ae86fef4a53f4e9311f11074d9d489ea1bda1b13"],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[45],[76,93],[226,228],[47],[49],[50],[51,59,60,67,76],[51,52,59,67],[53,86],[54,55,60,68],[55,76],[56,57,59,67],[57],[58,59],[59],[59,60,61,76,85],[60,61],[62,67,76,85],[59,60,62,63,67,76,79,85],[62,64,76,79,85],[47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,85,86,87,88,89,90,91,92],[59,65],[66,85],[57,59,67,76],[68],[69],[49,70],[71,81],[72],[73],[59,74],[74,75,86,88],[59,76],[77],[78],[67,79],[80],[67,81],[73,85],[86],[76,87],[88],[89],[59,61,76,85,88,90],[76,91],[76,93,230],[76,93,94],[222,223],[222,223,224,225],[227],[82,83],[96,97,98,99,100,101,102,103,104],[144],[93,139],[138,139,140,144],[139,141,142,143,144,145,146,147],[138,145],[138,141,143,145],[138,142,144],[106,107,108,109,110,111,112],[93,108,109],[86,93],[110],[93],[114,115,116,117],[114,115],[115,116],[126,127,128,129,130,131,132,133,134,135],[46,47,105,113,118,125,136,208,209,211,212,213,217],[46,47,95,105,113,125,209,211],[105,113,125,136,209,213],[113,118,125,208,213,214],[212,214],[208,209,211,215],[148,196,197,198,199,200,201,202,203,204],[148,196,197,198,199,200,201,203,204,205],[148,196,197,198,199,200,202,203,204,205],[148,196,197,198,199,201,202,203,204,205],[148,196,197,198,200,201,202,203,204,205],[148,196,197,199,200,201,202,203,204,205],[148,196,198,199,200,201,202,203,204,205],[148,197,198,199,200,201,202,203,204,205],[148,196,197,198,199,200,201,202,204,205],[148,196,197,198,199,200,201,202,203,204,205],[197,198,199,200,201,202,206,207],[202,206,209,211],[113,195,203,211],[210],[46,113,210],[86,136,209],[113,195,208],[93,119],[93,113,118,119,120],[93,105,113,118,119,120,121],[119,121,122,123,124],[76,93,119],[93,113,161,169],[59,93,174,184],[93,161,183],[170,184,185],[93,113,161,162,187],[59,93,148,161,162,174],[93,161],[187,188,189,190,191,192,193],[93,113],[59,93,113,161,183],[161,169],[177,178,179],[161,169,180,183,186,194],[113],[137,163,164,165,166,167,168],[113,161,162,167],[93,105,113,137,161,162,163,164,165],[161],[93,150],[93,113,161],[175,176,181,182],[93,161,181],[59,93,113,161,169,180,182],[157],[148,157,161],[149,150],[149],[149,150,151],[149,151],[148,150,151,152,153,154,155,156],[150,151,152,153,154,155,158,159,160],[93,113,148,158,169],[93,148,172],[171,172,173],[93,105,148,171]],"referencedMap":[[46,1],[230,2],[229,3],[47,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[93,21],[65,22],[66,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,34],[78,35],[79,36],[80,37],[81,38],[85,39],[86,40],[87,41],[88,42],[89,43],[90,44],[91,45],[231,46],[95,47],[224,48],[226,49],[225,48],[228,50],[84,51],[105,52],[101,15],[146,53],[147,54],[141,55],[145,53],[148,56],[140,57],[144,58],[143,59],[113,60],[110,61],[109,62],[111,63],[112,64],[118,65],[114,64],[116,66],[117,67],[136,68],[218,69],[212,70],[214,71],[219,72],[215,73],[216,74],[205,75],[202,76],[201,77],[200,78],[199,79],[198,80],[197,81],[196,82],[203,83],[206,84],[208,85],[207,86],[204,87],[211,88],[220,89],[210,90],[209,91],[123,92],[121,93],[122,94],[119,64],[125,95],[124,96],[170,97],[185,98],[184,99],[186,100],[188,101],[189,102],[190,103],[194,104],[187,105],[191,103],[179,106],[178,107],[180,108],[195,109],[137,110],[169,111],[168,112],[166,113],[163,114],[167,115],[164,116],[183,117],[176,97],[182,118],[181,119],[158,120],[159,121],[151,122],[152,123],[153,122],[154,123],[155,124],[150,125],[157,126],[161,127],[149,128],[162,64],[171,129],[174,130],[172,131]],"exportedModulesMap":[[46,1],[230,2],[229,3],[47,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[93,21],[65,22],[66,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,34],[78,35],[79,36],[80,37],[81,38],[85,39],[86,40],[87,41],[88,42],[89,43],[90,44],[91,45],[231,46],[95,47],[224,48],[226,49],[225,48],[228,50],[84,51],[105,52],[101,15],[146,53],[147,54],[141,55],[145,53],[148,56],[140,57],[144,58],[143,59],[113,60],[110,61],[109,62],[111,63],[112,64],[118,65],[114,64],[116,66],[117,67],[136,68],[218,69],[212,70],[214,71],[219,72],[215,73],[216,74],[205,75],[202,76],[201,77],[200,78],[199,79],[198,80],[197,81],[196,82],[203,83],[206,84],[208,85],[207,86],[204,87],[211,88],[220,89],[210,90],[209,91],[123,92],[121,93],[122,94],[119,64],[125,95],[124,96],[170,97],[185,98],[184,99],[186,100],[188,101],[189,102],[190,103],[194,104],[187,105],[191,103],[179,106],[178,107],[180,108],[195,109],[137,110],[169,111],[168,112],[166,113],[163,114],[167,115],[164,116],[183,117],[176,97],[182,118],[181,119],[158,120],[159,121],[151,122],[152,123],[153,122],[154,123],[155,124],[150,125],[157,126],[161,127],[149,128],[162,64],[171,129],[174,130],[172,131]],"semanticDiagnosticsPerFile":[221,46,230,217,229,45,47,49,50,51,52,53,54,55,56,57,58,59,60,61,48,92,62,63,64,93,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,85,86,87,88,89,90,91,213,231,95,222,224,226,225,223,228,227,138,82,83,84,94,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,8,43,40,41,42,1,9,44,96,104,97,98,105,99,100,101,102,103,146,147,141,145,148,139,140,144,143,142,106,107,108,113,110,109,111,112,118,114,116,115,117,126,136,135,127,128,131,129,132,134,130,133,218,212,214,219,215,216,205,202,201,200,199,198,197,196,203,206,208,207,204,211,220,210,209,123,121,122,119,125,124,120,170,185,184,186,193,188,189,190,194,187,191,192,177,179,178,180,195,137,169,168,166,163,167,164,165,175,183,176,182,181,158,159,160,151,152,153,154,155,150,156,157,161,149,162,173,171,174,172]},"version":"4.5.3"}
1
+ {"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+ms@0.7.31/node_modules/@types/ms/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+debug@4.1.7/node_modules/@types/debug/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@14.18.0/node_modules/@types/node/index.d.ts","../../../../common/temp/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+readable-stream@2.3.9/node_modules/@types/readable-stream/index.d.ts","../../../common/async/dist/src/async.d.ts","../../../common/async/dist/src/event.d.ts","../../../common/async/dist/src/events.d.ts","../../../common/async/dist/src/latch.d.ts","../../../common/async/dist/src/lock.d.ts","../../../common/async/dist/src/sink.d.ts","../../../common/async/dist/src/trigger.d.ts","../../../common/async/dist/src/types.d.ts","../../../common/async/dist/src/callback.d.ts","../../../common/async/dist/src/index.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../common/crypto/dist/src/human-hash.d.ts","../../../common/crypto/dist/src/public-key.d.ts","../../../common/crypto/dist/src/keys.d.ts","../../../common/crypto/dist/src/seedphrase.d.ts","../../../common/crypto/dist/src/validator.d.ts","../../../common/crypto/dist/src/index.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IFile.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IStorage.d.ts","../../../common/random-access-multi-storage/dist/src/node.d.ts","../../../common/random-access-multi-storage/dist/src/index.d.ts","../../feed-store/dist/src/hypercore-types.d.ts","../../feed-store/dist/src/types.d.ts","../../feed-store/dist/src/feed-descriptor.d.ts","../../feed-store/dist/src/feed-store.d.ts","../../feed-store/dist/src/create-batch-stream.d.ts","../../feed-store/dist/src/stream.d.ts","../../feed-store/dist/src/index.d.ts","../../../common/util/dist/src/complex.d.ts","../../../common/util/dist/src/json.d.ts","../../../common/util/dist/src/map.d.ts","../../../common/util/dist/src/range.d.ts","../../../common/util/dist/src/types.d.ts","../../../common/util/dist/src/randomInt.d.ts","../../../common/util/dist/src/subscription.d.ts","../../../common/util/dist/src/uint8array.d.ts","../../../common/util/dist/src/typeguards.d.ts","../../../common/util/dist/src/isNotNullOrUndefined.d.ts","../../../common/util/dist/src/index.d.ts","../../../halo/credentials/dist/src/keys/filter.d.ts","../../../../common/temp/node_modules/.pnpm/protobufjs@6.11.2/node_modules/protobufjs/index.d.ts","../../../common/codec-protobuf/dist/src/interface.d.ts","../../../common/codec-protobuf/dist/src/mapping.d.ts","../../../common/codec-protobuf/dist/src/codec.d.ts","../../../common/codec-protobuf/dist/src/stream.d.ts","../../../common/codec-protobuf/dist/src/service.d.ts","../../../common/codec-protobuf/dist/src/schema.d.ts","../../../common/codec-protobuf/dist/src/common.d.ts","../../../common/codec-protobuf/dist/src/substitutions/any.d.ts","../../../common/codec-protobuf/dist/src/substitutions/timestamp.d.ts","../../../common/codec-protobuf/dist/src/substitutions/index.d.ts","../../../common/codec-protobuf/dist/src/buffer-patch.d.ts","../../../common/codec-protobuf/dist/src/index.d.ts","../../../halo/credentials/dist/src/proto/substitutions.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/halo/keys.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/auth.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/greet.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/identity.d.ts","../../../halo/credentials/dist/src/proto/gen/dxos/credentials/party.d.ts","../../../halo/credentials/dist/src/proto/gen/google/protobuf.d.ts","../../../halo/credentials/dist/src/proto/gen/index.d.ts","../../../halo/credentials/dist/src/proto/any.d.ts","../../../halo/credentials/dist/src/proto/codec.d.ts","../../../halo/credentials/dist/src/proto/datetime.d.ts","../../../halo/credentials/dist/src/proto/index.d.ts","../../../halo/credentials/dist/src/typedefs.d.ts","../../../halo/credentials/dist/src/keys/keystore.d.ts","../../../halo/credentials/dist/src/keys/signer.d.ts","../../../halo/credentials/dist/src/keys/simple-metrics.d.ts","../../../halo/credentials/dist/src/keys/keyring.d.ts","../../../halo/credentials/dist/src/keys/keytype.d.ts","../../../halo/credentials/dist/src/keys/keyring-helpers.d.ts","../../../halo/credentials/dist/src/keys/index.d.ts","../../../halo/credentials/dist/src/auth/auth-message.d.ts","../../../mesh/protocol/dist/src/extension.d.ts","../../../mesh/protocol/dist/src/protocol.d.ts","../../../mesh/protocol/dist/src/errors.d.ts","../../../mesh/protocol/dist/src/index.d.ts","../../../halo/credentials/dist/src/party/events.d.ts","../../../halo/credentials/dist/src/party/party-credential.d.ts","../../../halo/credentials/dist/src/identity/events.d.ts","../../../halo/credentials/dist/src/identity/identity-message.d.ts","../../../halo/credentials/dist/src/identity/identity-message-processor.d.ts","../../../halo/credentials/dist/src/identity/index.d.ts","../../../halo/credentials/dist/src/party/party-state.d.ts","../../../halo/credentials/dist/src/party/party-invitation-manager.d.ts","../../../halo/credentials/dist/src/party/index.d.ts","../../../halo/credentials/dist/src/auth/authenticator.d.ts","../../../halo/credentials/dist/src/auth/auth-plugin.d.ts","../../../halo/credentials/dist/src/auth/index.d.ts","../../../halo/credentials/dist/src/greet/invitation.d.ts","../../../halo/credentials/dist/src/greet/greeter.d.ts","../../../halo/credentials/dist/src/greet/greeting-command-plugin.d.ts","../../../halo/credentials/dist/src/greet/greeting-message.d.ts","../../../halo/credentials/dist/src/greet/party-invitation-claim-handler.d.ts","../../../halo/credentials/dist/src/greet/passcode.d.ts","../../../halo/credentials/dist/src/greet/error-codes.d.ts","../../../halo/credentials/dist/src/greet/index.d.ts","../../../halo/credentials/dist/src/index.d.ts","../src/proto/substitutions.ts","../src/proto/gen/google/protobuf.ts","../src/proto/gen/dxos/halo/keys.ts","../src/proto/gen/dxos/echo/testing.ts","../src/proto/gen/dxos/echo/snapshot.ts","../src/proto/gen/dxos/echo/service.ts","../src/proto/gen/dxos/echo/metadata.ts","../src/proto/gen/dxos/echo/invitation.ts","../src/proto/gen/dxos/echo/feed.ts","../src/proto/gen/dxos/credentials.ts","../src/proto/gen/index.ts","../src/proto/messages.ts","../src/proto/index.ts","../src/types.ts","../src/spacetime/timeframe.ts","../src/spacetime/substitutions.ts","../src/spacetime/index.ts","../src/feeds/feed-store-iterator.ts","../../../../common/temp/node_modules/.pnpm/@types+pify@3.0.2/node_modules/@types/pify/index.d.ts","../src/feeds/feed-writer.ts","../src/feeds/index.ts","../src/index.ts","../../../../common/temp/node_modules/.pnpm/@types+faker@5.5.9/node_modules/@types/faker/index.d.ts","../src/feeds/feed-store-iterator.test.ts","../src/feeds/feed.test.ts","../src/spacetime/timeframe.test.ts","../../../../common/temp/node_modules/.pnpm/@types+chance@1.1.3/node_modules/@types/chance/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@26.0.24/node_modules/@types/jest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+duplexify@3.6.0/node_modules/@types/duplexify/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pumpify@1.4.1/node_modules/@types/pumpify/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"64e2803203b14d7f104f570f2152fde13abb6edc17b2ddb33d81ad86cf43d494","2c8d9e3331aec52d9a6d4040352c00282c3abaf48053ed0944528a4845c9caa3","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","64576aba4ff801004122056ccd049f0597aa471dcfd7670a6a0b877ee8dd97c0","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"cc829932ffaf5c49092f878bec18af1fa5d8591b45a45e2b7f757f793cb3b4ed","47db10fdc4e76c4f4598cf7c91ba6bfde6cf6d8082c51860fe751643bf359739","05d7d95e24bc2897bf20ce041c3dc3cca814e07148a93999145b1a0ad491094c","d1080e49778c0b2ce656042ebfa43f89dffb96ac00f86a34762188a21857ffd4","0ce99c641ea20b0c0c09d093fc28f18f5ab31dc80033707a1ac3154399de2559","f0c33a0b325d3499cc9aded7d32886f998c9a27b465097c6cc136944d0aafdaa","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","03c91e8833eef54dc44db99d7deb469b5e3cec82f23054b4286a2380e0e00996","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","9fef9de633d01cb7f01f68195626a890ededd25cf96a1e785617d08c8668230d","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"bf89ceb26132596b859cd4d129ce3f447134b444dec87966ba65cd7e8e9e0cb0","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","a11d4ba43bf0825d7285d54dec6cb951685cd458a4de3c5c1800f7cbf7799009","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","82e1723b20fa0b15a7da0d1a03fec88348f82f640f7a2f308d6c0fac780cfc7c","e0202c3e09775b86b902f21623e55896cea98750efbdf0691ca7473af06fe551","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","a2666b43d889b4882ac6ede1c48128bac351886854e94f832b20d3730e5062c5","7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"2a7d39ea70e483d3ebcde44031b6552940f295349bee8d486e8bdf6380162302","5e379df3d61561c2ed7789b5995b9ba2143bbba21a905e2381e16efe7d1fa424","0d8b40bf50af939b854673143c83b174d87f3a4fdaa0b7979ebb94f374b38306","c87085285d6c052f422ab0713098bc72c9f276ccb48337b471f277ab24e134e9","1610f2eadec0c6fc891f89330502bb099b539771a13746807e5d3b40180ec901","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","1d94be71c02681f0640fa6bb08f10378d50b0e38e521ba4624b159d9cb7a4e8c","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","9d347130d3dade8c804698d3f1ed7fa35799098480c0015ae647e5d38da4d424","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","a42919e6cb602e7e8ef516c6dd7966994340d429a43f95f88ef92482057b52d4","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd","fccc3ab2eb7278d4597fd8b2ae645ace954f1cb9d523acef67d876ed2b66e728","3c8c1a880d61c6ad2d46d9f63caaa17d94fceee883d5defa5446d083ca37315a","ecfc4878b54ea3d4ee526c371e41f6308abc1f0b80691cc9b51fdfc462ed5ca0","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","031401b9afec14ada845cfd7f16642df9b5ef001c74a6e0fd1f646654406372f","a9a709c0bfc23748ad2bb78cb1efceed410800b3b5a30ec72b6e2ee1abc065ef","106f53930d9468f7b1b99123b6439f30703727d7eea3d4763e3c92ca8a5c4396","c31c877dbcbeadafc390f966110476da63c11b6a4229e04dc634f13b88cf96f5","8b385d5fb8dd09036bede9d4044169e7a587a41cb35690486f15147f986e9363","79a7db8fb14b23b6e62a0a5384278438b9c2fe4e7eaa0a5f9b32aacaddee4bec","78b8a7c78a016a5c0d25d069486725542dd00de714a0707e6ba00655d06ba5f9","f60db18327504e39f42245b931aab5cf0bf66005108b1261bcfc41d2e45394b5","94d2099647a2fb7696308e5335b23d5a43b102ef3cd2ea993d6fd3a039d07664","998c58d75b97c4af2ae38310f7c5d3163740e092fd92025076d8970f2fed4b94","333842073ecc380ffea6306e8db1b27ef20eb261663cdeb32a1b46673fa41fd8","b21f5f6cdedacf419240be02ad6ed0e42807749ebf37bf36b838bd8f39fef52f","114c46e3c67d8c98d73854eca5ca7710a488e8e746e343b9e99f1463f6b3cde7","51bf8e51bd28a124f52aea4628556566eb8b1b67cf80c6769eb1269e88a3fd54","e2302ae00a4f260f699ae4b6896b17045e03b9ca10088a99f1163abb0a2b40d3","a20b5a48195999025be24ec88c203ffb5ee22cf76744cf6d5d30ef46fb23d765","90f00153202471120c8b2cd1fc2b19bd7727bdcb8e1c66abe9b67ac87e8474ba","725acc462432407d76398d07c284a80f68aeaab1a01a65eb4805fb4595e7e96b","33709a702cc8e378e68d26d37fa20e576e4d046bc4a6142ba3a870947536208c","a779b16e12d90ada85a0ff039d75a8116464e7d0c4319e677efb409cf6e24720","5e1ebf27dbc316b57c78663bf7f385e380f959ce48e5c6a55fa4795acc41ecc3","94142727c7c6030d654250986c7a1f4e52d9da648359ff54e57ff9719509cd6a","b518da82db039cf3667d49bb7d9a601d93c933a632f4cd21cc3f4b140263f97b","1a290dd6e2f6b4ab13ae5340b81792e46a8902b416b319491ba39287bf727cbd","f0a7de3eceef503a953cf2a4e96b785a46d133a9c7f16316091392060ea2fac7","1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da","0b181bbecdeb6becd582512ef095df3010f35da151c6f9b1f4672f37a564138f","216e1d84427fb19177419447edb7aea35482652ff24f4e3f157fca2138c51a0a","5a2c04c696b6f6b15d46a270979cacfa37faf5c0efdf7042f2d2944a917adf07","68c9339d07891f4573b8d91fb186362ae23c7bbc96e7175b5d34368fccf555f7","b835eabf1f7bd5a448c05645ad2b5d91658964486e7e7b597a77277b1cee1f4d","51324e9c9ef658b8516809bc521eadbfcb18ffecfed33bb69ce46d6d5f2c3366","0724b631bcad7be2efbbfee090de5ac9fb49a5180f8c3c106b5ad277764b700b","2e33b620891123f1bf70f4463f52b0d08b94a1a31c4b392f6bbfa882b8855970","773d53f5104b0adebf2b02cd35f567e74d148f003cc5de1b9f9dd58e4247336f","24c477490b4bde0038a611748d56d3c20cecd2ee4f35b8f03e43a98e37e0a668","9bcb66259e0252bafc327cdf187ebe67b3fd74c4440daf8b539ef88a4aebc800","b3c5ee5b6d1154b933eed766fa093760259b9001440ab8d4ce4f888214d969d6","716a341f653495f45d570425c3f22b4cc91ac7377d6b017bbbcf29342e2e9aeb","8080d43f7d665c373e8e905ae53b08e82ca0dd01bf04ba65ec2f5f54ebd1798b","e8a7579cf65f30a6d47f91168b31e5521b8276c10bfabcc0c3c2b543b12ac4d8","67a12dd44470bef9317f4d9fb4fa360ad69434bdc19521c485d362bc81fcef9b","707aa8051e8845644468296345348ef00b3224544c0b1b6a775900935fa4e6a7","f66429ac829e80529b11c420b2e381e6c42362732e6fbea8647a4fd0b33ddc54","de7c4ecc2822eef6a7348d63b30807a55f1ccdf17433b8f39a332688adf0e14d","37d345559005ca94bdebbeb2d1da37482570ab421511e1e14676ac325d3996e6","5ac008c4ceec64bb412fad85fbb59f0f426099836a7e43b1680772a0f019b058","6e248f5d6c770ed780de95d2502774421b9aa56a447ca87d191cbaec86f1664b","ea34df2f0765923687cbaf13a8479b7cd1a4efdf014c98043dae84a60ddb1efc","4ad83dcb71213b9ddbb1b39532ccc651ed08c69d7197e38eefcb63c416742feb","483af0d9d8a226667574dcfa2b20827ed9e0882b90941d1bebbadd262fc681c0","fb786c69309289a68c3092e504f06f20cb7f7210e4e82387a1143132231655a3","f81696cdd04c2ae11013453d2b8d9b0082990e81868ec1abf78d2bbad3accbca","4ee065ea0b35fd03c6ceaad7be308a57929af9d074e9885a6a218f62de401016","cdf1c5703f39ec5258551ebda4c45be9d5d470bdaa652e5014cd41d82c1dacbe","7a0f0a5593de664fe46b662a35277cbdbf2fcf8594f532768f26fb81e1c293e9","e2ea1898f1d8f2ccbafc6d6fd4c84369de5ace338707ad71167fea53500ab157","2065c8ea5e88bed5697ee485bf5de2b019ab221dae22bc8d9f784060fcbf9c05","dc9fd7d1e09b3052c7864ce2d1e0f029894a265b9f5ab6956ef17faa26aac083","9841353c5aaf5a90b1143526386213a51d66508794a493b97a12486a47195ca1","fd7d6542c78ada8ba78f89417176d68145dabae84727b9217fce2114060888bb","2362b5ba53abbe5576c3b81792907a3879701bbbef2883f7cf6624c83a37268a","18e9b1d85ef9167334b52058928a408c5074712d60ec73677e2c1d82971cf4f6","9f111b543341f21fe6a3825651c0ca3495c7fcac7756cbf5922993ca1766060b","abf9aa2b79294a8293a3c6c9dc7a90d27bf80d8de1257c4b83da17c8be57017e","c9b13668ab86d8412a80c4c60cb791d2da8a0b84e8d3f94ad45ca90e472c5f8c","1e65e227032deb15468100a6752573d8fb03569e3a189b7841070d14d411990e","d600a1c4944cfbe32edde7c3bc8eb217ff898ccde903ef33b99cc86199f41600","1ffeeb8da80fb81f7d9ea550decd130ae3c4572cbe9c59b286b9b5b6dd310f53","027ac2f2a5e39c63391da91d35a2c66106f272f3b9bd078d8e142d33f6cdb4de","7cef5d632a28153aed7ebe3a30d19482f3f2fb0b8df9b25a4bcecc9bcd324a1f","7db8cf9e950c16ae0b26a60e7cbd3856d429a413a6fae3834f4851b73bd9317d","aafbe3552fcc17060ddd1d82350acb1c2681608be16f49368cfb8609623902a9","09703b393cab9a645e30fb0f7089db7d0b2a936888f91843325ee0fe14856d18","0a1b2b901d661372cedff6b18fe7af3e9d545431599653bd9da37a17fc4051a0","dfc9cbefbea8565dd5c32c41b37169aeb3a62499a18f9b4d7e1e5e0ab77d2deb","7bd31265a153444a8bbe4d6ba4a22dbe763802973ae425014ea95b514f52b02a","07507e1c91d600abcec45e99f7567a5f4be478a6a8a9ce71f80dfae1214697dd","0d627e6e69008e8f61e0ac580b10ee3b01eff3a6106f0d239891787dc91f8ae5","f1e22e04800dabee11c86c0ca8d7fd438254e18a47d4358a1f2d66ab225051d4","d12b08387bf48fa83e83d50828b2455eb035f776ca25dad8039bd50f341f390a","48986946580b921bdfc80cfb809e65001a86e01eca60155f7ee2cdf352b1bb6e","207771195e262f1b0a069124f0f475dc54fa859cb2195ac1647e9e4e73ae003d","47dbb6cb9ee260f7ae9b3c606ca1294bf0e49d98ed4a51500ecc8698e3a430d0","50b4e348db4edbba8b8565ac2262dd5324b5a3a7d8830026da4a8acabd694c7f","587f8963d3e054acae6e391c5664bdfdc66c5e1173dfbdd6d8181e13409eb653","478fc968c818c5dd98caf13921f0b4652c04fe9f537b2843d89644834641044e","6502b2b508ef5f5d99801d578d82592e43301fd05f607471646b87e61676b975","37b8ae70f298fdbee90d38677c947e1bb2fcd1419a07717a585558548e276407","f759d273e1066bb3a542ae32b2b9e22c5127e3322964a58fccf9a8b009928510","79076aea4530ab3b97212b967a306fb3421152f4aeb83aa726cf57ef015732c0","4f37d41458a935a71c45ef80223a7f11a8d146520406f8bc02370b314cb4dd75","ce77401c428cd27c3ce1b14855f9fe4f0b4473a89bed84e33344dfcb761e2f10","eba2ac0192bffe97f33f6240af2f4463ee6a856fe6561bc5ef9770dc1f195a8d","36e70c76efa9a4c28888209c031d80b59ef58ef45bcd6de49110db805403ed2f","c28e6eedc4ff9877bfd0db38a6cd8408238b603c84ebdec886bfa079fd74580b","d7bbd80d74e6c39d3223fde22d6df8bc667beeda05e7bbc57b26b36ae39df8c4","c51021834fce828c4ebbe9ac29b23ac204b63ca030f4d95bbb079ed90e200386","87788b73e467858304506c91f62afc0c5f423a9d343c396451ace4f26b7bbc8d","50738289f1fad21e73e78b50937a12689805f0fb95ee6d918f22926c7960e8e1","0a45b881ec6d5bcd4fbf8ed31b7bc1332bbc3984b2b583a3aeba15a1e7d67b10","39ad62f854155ba8c8c7b3f0d481e010847e349fbbdc2a1cca463691946e441f","9f9c40caa225e16aba9c959b8b5e25326c8c51794fec91aae0b5242162581128","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","71b3b02c3336711443b4cffd9dd0447cc3b35eb021fcf416899a002bebc98dc2","e52174bca9a853aa44b1aca8230a6cf8c8c8d0639bd673037f475040eedd7ef0","1ebead1f76b33b267d5b2252fa33ae34d50f698098db96e3cc0fc8696ea46c97",{"version":"35df3991a30c880f5d745f98db7174936ab7e7f527bf6de0d84d602cc6da8683","affectsGlobalScope":true},"da7b1fd4841214bc430eb8c5d5f77b751fb074b2329ff923039802bce1f7342a","a3d40af00241a8717ef4ccaffe609d5ce220c075f9390ebcd70f20ab31e414d2","579cc05119ca5a8827025b320308dacae4d9aa9b4ed22b6d52fbdbca71477aca",{"version":"8f61ce98de9b42c0196fe17eae81d18cfac3fa0c3fd22421beda62a8b22d73d4","affectsGlobalScope":true},"d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"9b24f39665305b5b404f44937cd9d774e21e192c15d919961b15a831d8358c82","b8b664766c16d5e5eaa14671ae86fef4a53f4e9311f11074d9d489ea1bda1b13"],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[45],[76,93],[229,231],[47],[49],[50],[51,59,60,67,76],[51,52,59,67],[53,86],[54,55,60,68],[55,76],[56,57,59,67],[57],[58,59],[59],[59,60,61,76,85],[60,61],[62,67,76,85],[59,60,62,63,67,76,79,85],[62,64,76,79,85],[47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,85,86,87,88,89,90,91,92],[59,65],[66,85],[57,59,67,76],[68],[69],[49,70],[71,81],[72],[73],[59,74],[74,75,86,88],[59,76],[77],[78],[67,79],[80],[67,81],[73,85],[86],[76,87],[88],[89],[59,61,76,85,88,90],[76,91],[76,93,233],[76,93,94],[225,226],[225,226,227,228],[230],[82,83],[96,97,98,99,100,101,102,103,104],[93,139],[138,139,140,144],[144],[139,141,142,143,144,145,148,149],[138,145],[138,141,143,145],[138,142,144],[146,147],[106,107,108,109,110,111,112],[93,108,109],[86,93],[110],[93],[114,115,116,117],[114,115],[115,116],[126,127,128,129,130,131,132,133,134,135],[46,47,105,113,118,125,136,210,211,214,215,216,220],[46,47,95,105,113,125,211,214],[105,113,125,136,211,216],[113,118,125,210,216,217],[215,217],[210,211,214,218],[150,198,199,200,201,202,203,204,205,206],[150,198,199,200,201,202,203,204,205,207],[150,198,199,200,201,202,203,204,206,207],[150,198,199,200,201,202,203,205,206,207],[150,198,199,200,201,202,204,205,206,207],[150,198,199,200,201,203,204,205,206,207],[150,198,199,200,202,203,204,205,206,207],[150,198,199,201,202,203,204,205,206,207],[150,198,200,201,202,203,204,205,206,207],[150,198,199,200,201,202,203,204,205,206,207],[201,202,203,204,205,206,208,209],[206,208,211,214],[113,150,197,214],[212,213],[113,212],[46,113,212],[86,136,211],[113,197,210,212],[93,119],[93,113,118,119,120],[93,105,113,118,119,120,121],[119,121,122,123,124],[76,93,119],[93,113,163,171],[59,93,176,186],[93,163,185],[172,186,187],[93,113,163,164,189],[59,93,150,163,164,176],[93,163],[189,190,191,192,193,194,195],[93,113],[59,93,113,163,185],[163,171],[179,180,181],[163,171,182,185,188,196],[113],[137,165,166,167,168,169,170],[113,163,164,169],[93,105,113,137,163,164,165,166,167],[163],[93,152],[93,113,163],[177,178,183,184],[93,163,183],[59,93,113,163,171,182,184],[159],[150,159,163],[151,152],[151],[151,152,153],[151,153],[150,152,153,154,155,156,157,158],[152,153,154,155,156,157,160,161,162],[93,113,150],[93,150,174],[173,174,175],[93,105,150,173]],"referencedMap":[[46,1],[233,2],[232,3],[47,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[93,21],[65,22],[66,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,34],[78,35],[79,36],[80,37],[81,38],[85,39],[86,40],[87,41],[88,42],[89,43],[90,44],[91,45],[234,46],[95,47],[227,48],[229,49],[228,48],[231,50],[84,51],[105,52],[101,15],[149,53],[141,54],[145,55],[150,56],[140,57],[144,58],[143,59],[146,55],[148,60],[113,61],[110,62],[109,63],[111,64],[112,65],[118,66],[114,65],[116,67],[117,68],[136,69],[221,70],[215,71],[217,72],[222,73],[218,74],[219,75],[207,76],[206,77],[205,78],[204,79],[203,80],[202,81],[201,82],[200,83],[199,84],[208,85],[210,86],[209,87],[198,88],[214,89],[213,90],[223,91],[212,92],[211,93],[123,94],[121,95],[122,96],[119,65],[125,97],[124,98],[172,99],[187,100],[186,101],[188,102],[190,103],[191,104],[192,105],[196,106],[189,107],[193,105],[181,108],[180,109],[182,110],[197,111],[137,112],[171,113],[170,114],[168,115],[165,116],[169,117],[166,118],[185,119],[178,99],[184,120],[183,121],[160,122],[161,123],[153,124],[154,125],[155,124],[156,125],[157,126],[152,127],[159,128],[163,129],[151,130],[164,65],[173,131],[176,132],[174,133]],"exportedModulesMap":[[46,1],[233,2],[232,3],[47,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[93,21],[65,22],[66,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,34],[78,35],[79,36],[80,37],[81,38],[85,39],[86,40],[87,41],[88,42],[89,43],[90,44],[91,45],[234,46],[95,47],[227,48],[229,49],[228,48],[231,50],[84,51],[105,52],[101,15],[149,53],[141,54],[145,55],[150,56],[140,57],[144,58],[143,59],[146,55],[148,60],[113,61],[110,62],[109,63],[111,64],[112,65],[118,66],[114,65],[116,67],[117,68],[136,69],[221,70],[215,71],[217,72],[222,73],[218,74],[219,75],[207,76],[206,77],[205,78],[204,79],[203,80],[202,81],[201,82],[200,83],[199,84],[208,85],[210,86],[209,87],[198,88],[214,89],[213,90],[223,91],[212,92],[211,93],[123,94],[121,95],[122,96],[119,65],[125,97],[124,98],[172,99],[187,100],[186,101],[188,102],[190,103],[191,104],[192,105],[196,106],[189,107],[193,105],[181,108],[180,109],[182,110],[197,111],[137,112],[171,113],[170,114],[168,115],[165,116],[169,117],[166,118],[185,119],[178,99],[184,120],[183,121],[160,122],[161,123],[153,124],[154,125],[155,124],[156,125],[157,126],[152,127],[159,128],[163,129],[151,130],[164,65],[173,131],[176,132],[174,133]],"semanticDiagnosticsPerFile":[224,46,233,220,232,45,47,49,50,51,52,53,54,55,56,57,58,59,60,61,48,92,62,63,64,93,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,85,86,87,88,89,90,91,216,234,95,225,227,229,228,226,231,230,138,82,83,84,94,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,8,43,40,41,42,1,9,44,96,104,97,98,105,99,100,101,102,103,149,141,145,150,139,140,144,143,142,146,148,147,106,107,108,113,110,109,111,112,118,114,116,115,117,126,136,135,127,128,131,129,132,134,130,133,221,215,217,222,218,219,207,206,205,204,203,202,201,200,199,208,210,209,198,214,213,223,212,211,123,121,122,119,125,124,120,172,187,186,188,195,190,191,192,196,189,193,194,179,181,180,182,197,137,171,170,168,165,169,166,167,177,185,178,184,183,160,161,162,153,154,155,156,157,152,158,159,163,151,164,175,173,176,174]},"version":"4.5.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/echo-protocol",
3
- "version": "2.26.1",
3
+ "version": "2.27.0",
4
4
  "description": "ECHO protocol definitions and utilities.",
5
5
  "homepage": "https://github.com/dxos/protocols/tree/master/packages/echo",
6
6
  "bugs": {
@@ -18,20 +18,20 @@
18
18
  "src"
19
19
  ],
20
20
  "dependencies": {
21
- "@dxos/async": "2.26.1",
22
- "@dxos/codec-protobuf": "2.26.1",
23
- "@dxos/credentials": "2.26.1",
24
- "@dxos/crypto": "2.26.1",
25
- "@dxos/feed-store": "2.26.1",
26
- "@dxos/proto": "2.26.1",
27
- "@dxos/util": "2.26.1",
21
+ "@dxos/async": "2.27.0",
22
+ "@dxos/codec-protobuf": "2.27.0",
23
+ "@dxos/credentials": "2.27.0",
24
+ "@dxos/crypto": "2.27.0",
25
+ "@dxos/feed-store": "2.27.0",
26
+ "@dxos/proto": "2.27.0",
27
+ "@dxos/util": "2.27.0",
28
28
  "debug": "^4.3.3",
29
29
  "pify": "~5.0.0",
30
30
  "readable-stream": "^3.6.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@dxos/random-access-multi-storage": "2.26.1",
34
- "@dxos/toolchain-node-library": "2.26.1",
33
+ "@dxos/random-access-multi-storage": "2.27.0",
34
+ "@dxos/toolchain-node-library": "2.27.0",
35
35
  "@types/chance": "^1.1.0",
36
36
  "@types/debug": "^4.1.7",
37
37
  "@types/faker": "^5.5.1",
@@ -110,7 +110,7 @@ export class FeedStoreIterator implements AsyncIterable<FeedBlock> {
110
110
  */
111
111
  // TODO(burdon): Comment.
112
112
  private async _reevaluateFeeds () {
113
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
113
+ // eslint-disable-next-line unused-imports/no-unused-vars
114
114
  for (const [keyHex, feed] of this._openFeeds) {
115
115
  if (!this._feedSelector(feed.descriptor)) {
116
116
  feed.frozen = true;
@@ -183,7 +183,7 @@ export class FeedStoreIterator implements AsyncIterable<FeedBlock> {
183
183
  */
184
184
  // TODO(burdon): Comment.
185
185
  private _pollFeeds () {
186
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
186
+ // eslint-disable-next-line unused-imports/no-unused-vars
187
187
  for (const [_, feed] of this._openFeeds) {
188
188
  if (feed.sendQueue.length === 0) {
189
189
  // TODO(burdon): Then/catch?
@@ -14,3 +14,7 @@ message TestItemMutation {
14
14
  message TestListMutation {
15
15
  string data = 1;
16
16
  }
17
+
18
+ message TestItemSnapshot {
19
+ repeated TestItemMutation keys = 1;
20
+ }
@@ -33,6 +33,7 @@ export namespace SubscribeEntityStreamResponse {
33
33
  feedKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
34
34
  memberKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
35
35
  seq?: number;
36
+ timeframe?: ReturnType<typeof substitutions["dxos.echo.feed.TimeframeVector"]["decode"]>;
36
37
  }
37
38
  }
38
39
  }
@@ -30,10 +30,18 @@ export interface ItemSnapshot {
30
30
  model?: ModelSnapshot;
31
31
  }
32
32
  export interface ModelSnapshot {
33
- custom?: Uint8Array;
34
- array?: ModelMutationArray;
35
- }
36
- export interface ModelMutationArray {
33
+ /**
34
+ * Encoded model snapshot. Encoding is defined by model's codec.
35
+ *
36
+ * Can be missing. In that case the state machine is to be initialized in it's default state.
37
+ *
38
+ * Options:
39
+ * - proto3_optional = true
40
+ */
41
+ snapshot?: Uint8Array;
42
+ /**
43
+ * Mutations to be applied on top of the snapshotted state, or on top of initial state if the snapshot is missing.
44
+ */
37
45
  mutations?: ModelMutation[];
38
46
  }
39
47
  export interface ModelMutation {
@@ -15,3 +15,6 @@ export interface TestItemMutation {
15
15
  export interface TestListMutation {
16
16
  data?: string;
17
17
  }
18
+ export interface TestItemSnapshot {
19
+ keys?: TestItemMutation[];
20
+ }
@@ -34,7 +34,7 @@ export interface KeyRecord {
34
34
  /**
35
35
  * - The secret key as a Buffer (this will never be visible outside the Keyring).
36
36
  */
37
- secretKey?: PrivKey;
37
+ secretKey?: ReturnType<typeof substitutions["dxos.halo.keys.PrivKey"]["decode"]>;
38
38
  /**
39
39
  * - Is this key from a Greeting "hint"?
40
40
  */
@@ -39,11 +39,11 @@ export interface TYPES {
39
39
  "dxos.echo.snapshot.HaloStateSnapshot": dxos_echo_snapshot.HaloStateSnapshot;
40
40
  "dxos.echo.snapshot.ItemSnapshot": dxos_echo_snapshot.ItemSnapshot;
41
41
  "dxos.echo.snapshot.ModelMutation": dxos_echo_snapshot.ModelMutation;
42
- "dxos.echo.snapshot.ModelMutationArray": dxos_echo_snapshot.ModelMutationArray;
43
42
  "dxos.echo.snapshot.ModelMutationMeta": dxos_echo_snapshot.ModelMutationMeta;
44
43
  "dxos.echo.snapshot.ModelSnapshot": dxos_echo_snapshot.ModelSnapshot;
45
44
  "dxos.echo.snapshot.PartySnapshot": dxos_echo_snapshot.PartySnapshot;
46
45
  "dxos.echo.testing.TestItemMutation": dxos_echo_testing.TestItemMutation;
46
+ "dxos.echo.testing.TestItemSnapshot": dxos_echo_testing.TestItemSnapshot;
47
47
  "dxos.echo.testing.TestListMutation": dxos_echo_testing.TestListMutation;
48
48
  "dxos.halo.keys.KeyChain": dxos_halo_keys.KeyChain;
49
49
  "dxos.halo.keys.KeyRecord": dxos_halo_keys.KeyRecord;
@@ -57,5 +57,5 @@ export interface TYPES {
57
57
  export interface SERVICES {
58
58
  "dxos.echo.service.DataService": dxos_echo_service.DataService;
59
59
  }
60
- export const schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"credentials\":{\"nested\":{\"Message\":{\"fields\":{\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":1,\"comment\":null}},\"comment\":null},\"SignedMessage\":{\"fields\":{\"signed\":{\"rule\":\"required\",\"type\":\"Signed\",\"id\":1,\"comment\":null},\"signatures\":{\"rule\":\"repeated\",\"type\":\"Signature\",\"id\":2,\"comment\":null}},\"nested\":{\"Signature\":{\"fields\":{\"key\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"signature\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"keyChain\":{\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"Signed\":{\"fields\":{\"created\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1,\"comment\":null},\"nonce\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":10,\"comment\":null}},\"comment\":null}},\"comment\":\"A generic container message used whenever messages are signed (e.g. PartyCredential)\"}}},\"echo\":{\"nested\":{\"feed\":{\"nested\":{\"CredentialsMessage\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":\"A container for dxos.credentials.Message\"},\"EchoEnvelope\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"genesis\":{\"type\":\"ItemGenesis\",\"id\":10,\"comment\":null},\"itemMutation\":{\"type\":\"ItemMutation\",\"id\":11,\"comment\":null},\"mutation\":{\"type\":\"bytes\",\"id\":12,\"comment\":null},\"snapshot\":{\"type\":\"ModelSnapshot\",\"id\":13,\"comment\":\"Set the model to the provided snapshot.\"}},\"comment\":\"Wrapper for all ECHO messages.\"},\"FeedMessage\":{\"fields\":{\"halo\":{\"type\":\"CredentialsMessage\",\"id\":1,\"comment\":null},\"echo\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":\"Outer message type decoded by Codec.\\nThis is what is written to the feeds.\"},\"ItemGenesis\":{\"fields\":{\"itemType\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"link\":{\"type\":\"LinkData\",\"id\":4,\"comment\":null}},\"comment\":\"Item creation.\"},\"ItemMutation\":{\"fields\":{\"parentId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"action\":{\"type\":\"Action\",\"id\":2,\"comment\":null}},\"nested\":{\"Action\":{\"values\":{\"NOOP\":0,\"DELETE\":1,\"RESTORE\":2},\"comment\":null,\"comments\":{\"NOOP\":null,\"DELETE\":null,\"RESTORE\":null}}},\"comment\":\"Item mutation.\"},\"LinkData\":{\"fields\":{\"source\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"target\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TimeframeVector\":{\"fields\":{\"frames\":{\"rule\":\"repeated\",\"type\":\"Frame\",\"id\":1,\"comment\":null}},\"nested\":{\"Frame\":{\"fields\":{\"feedKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null}},\"comment\":null}},\"comment\":\"Vector timestamp used to order messages.\"}}},\"invitation\":{\"nested\":{\"InvitationDescriptor\":{\"fields\":{\"type\":{\"type\":\"Type\",\"id\":1,\"comment\":null},\"swarmKey\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"invitation\":{\"type\":\"bytes\",\"id\":3,\"comment\":null},\"identityKey\":{\"type\":\"bytes\",\"id\":4,\"comment\":\"Only present if type == OFFLINE.\"},\"secret\":{\"type\":\"bytes\",\"id\":5,\"comment\":\"Must be stripped out when passing to another peer.\"}},\"nested\":{\"Type\":{\"values\":{\"INTERACTIVE\":1,\"OFFLINE\":2},\"comment\":\"Defines an invitation type.\",\"comments\":{\"INTERACTIVE\":\"Interactive invitation is when both peers are online at the same time.\",\"OFFLINE\":\"Offline is when only a single peer needs to be online at the time.\"}}},\"comment\":null}}},\"metadata\":{\"nested\":{\"EchoMetadata\":{\"fields\":{\"version\":{\"type\":\"int32\",\"id\":1,\"comment\":\"Version number that is inceremnted every time there's a breaking change to the storage schema.\\n\\nThis is used to detect if the storage schema has changed since the last time the client was run.\\nLoading data from a different version will might result in an error.\"},\"parties\":{\"rule\":\"repeated\",\"type\":\"PartyMetadata\",\"id\":2,\"comment\":null},\"created\":{\"type\":\"google.protobuf.Timestamp\",\"id\":3,\"comment\":null},\"updated\":{\"type\":\"google.protobuf.Timestamp\",\"id\":4,\"comment\":null}},\"comment\":null},\"PartyMetadata\":{\"fields\":{\"key\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"feedKeys\":{\"rule\":\"repeated\",\"type\":\"PubKey\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"service\":{\"nested\":{\"DataService\":{\"methods\":{\"SubscribeEntitySet\":{\"requestType\":\"SubscribeEntitySetRequest\",\"responseType\":\"SubscribeEntitySetResponse\",\"responseStream\":true,\"comment\":null},\"SubscribeEntityStream\":{\"requestType\":\"SubscribeEntityStreamRequest\",\"responseType\":\"SubscribeEntityStreamResponse\",\"responseStream\":true,\"comment\":null},\"Write\":{\"requestType\":\"WriteRequest\",\"responseType\":\"MutationReceipt\",\"comment\":null}},\"comment\":null},\"MutationReceipt\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetResponse\":{\"fields\":{\"added\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"deleted\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"itemId\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamResponse\":{\"oneofs\":{\"kind\":{\"oneof\":[\"snapshot\",\"mutation\"],\"comment\":null}},\"fields\":{\"snapshot\":{\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"Mutation\",\"id\":2,\"comment\":null}},\"nested\":{\"Mutation\":{\"fields\":{\"data\":{\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"meta\":{\"type\":\"Metadata\",\"id\":2,\"comment\":null}},\"nested\":{\"Metadata\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"memberKey\":{\"type\":\"PubKey\",\"id\":2,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null}},\"comment\":null}},\"comment\":null}},\"comment\":null},\"WriteRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"snapshot\":{\"nested\":{\"DatabaseSnapshot\":{\"fields\":{\"items\":{\"rule\":\"repeated\",\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null}},\"comment\":null},\"HaloStateSnapshot\":{\"fields\":{\"messages\":{\"rule\":\"repeated\",\"type\":\"dxos.CredentialsMessage\",\"id\":1,\"comment\":null}},\"comment\":null},\"ItemSnapshot\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"itemType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":4,\"comment\":null},\"parentId\":{\"type\":\"string\",\"id\":5,\"comment\":null},\"model\":{\"type\":\"ModelSnapshot\",\"id\":6,\"comment\":null}},\"comment\":null},\"ModelMutation\":{\"fields\":{\"mutation\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"meta\":{\"rule\":\"required\",\"type\":\"ModelMutationMeta\",\"id\":2,\"comment\":null}},\"comment\":null},\"ModelMutationArray\":{\"fields\":{\"mutations\":{\"rule\":\"repeated\",\"type\":\"ModelMutation\",\"id\":1,\"comment\":null}},\"comment\":null},\"ModelMutationMeta\":{\"fields\":{\"feedKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"rule\":\"required\",\"type\":\"int32\",\"id\":2,\"comment\":null},\"memberKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":3,\"comment\":null}},\"comment\":null},\"ModelSnapshot\":{\"oneofs\":{\"snapshot\":{\"oneof\":[\"custom\",\"array\"],\"comment\":null}},\"fields\":{\"custom\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"array\":{\"type\":\"ModelMutationArray\",\"id\":2,\"comment\":null}},\"comment\":null},\"PartySnapshot\":{\"fields\":{\"partyKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"timestamp\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"halo\":{\"type\":\"HaloStateSnapshot\",\"id\":11,\"comment\":null},\"database\":{\"type\":\"DatabaseSnapshot\",\"id\":12,\"comment\":null}},\"comment\":null}}},\"testing\":{\"nested\":{\"TestItemMutation\":{\"fields\":{\"key\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"value\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TestListMutation\":{\"fields\":{\"data\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null}}}}},\"halo\":{\"nested\":{\"keys\":{\"nested\":{\"KeyChain\":{\"fields\":{\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"message\":{\"rule\":\"required\",\"type\":\"SignedMessage\",\"id\":2,\"comment\":null},\"parents\":{\"rule\":\"repeated\",\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"KeyRecord\":{\"fields\":{\"type\":{\"rule\":\"required\",\"type\":\"KeyType\",\"id\":1,\"comment\":\"- The `KeyType` type of the key. This is often unknown for keys from other sources.\"},\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":2,\"comment\":\"- The public key as a Buffer (required).\"},\"secretKey\":{\"type\":\"PrivKey\",\"id\":3,\"comment\":\"- The secret key as a Buffer (this will never be visible outside the Keyring).\"},\"hint\":{\"type\":\"bool\",\"id\":4,\"comment\":\"- Is this key from a Greeting \\\"hint\\\"?\"},\"own\":{\"type\":\"bool\",\"id\":5,\"comment\":\"- Is this our key? Usually true if `secretKey` is present,\\nmay be false for \\\"inception keys\\\" such as the Party key.\"},\"trusted\":{\"type\":\"bool\",\"id\":6,\"comment\":\"- Is this key to be trusted?\"},\"added\":{\"type\":\"string\",\"id\":7,\"comment\":\"- An RFC-3339 date/time string for when the key was added to the Keyring.\"},\"created\":{\"type\":\"string\",\"id\":8,\"comment\":\"- An RFC-3339 date/time string for when the key was created.\"}},\"comment\":null},\"KeyRecordList\":{\"fields\":{\"keys\":{\"rule\":\"repeated\",\"type\":\"KeyRecord\",\"id\":1,\"comment\":null}},\"comment\":null},\"KeyType\":{\"values\":{\"UNKNOWN\":0,\"IDENTITY\":1,\"DEVICE\":2,\"PARTY\":3,\"FEED\":4,\"DXNS\":5},\"comment\":null,\"comments\":{\"UNKNOWN\":null,\"IDENTITY\":null,\"DEVICE\":null,\"PARTY\":null,\"FEED\":null,\"DXNS\":null}},\"PrivKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null},\"PubKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null}}}}}}},\"google\":{\"nested\":{\"protobuf\":{\"nested\":{\"Any\":{\"fields\":{\"type_url\":{\"type\":\"string\",\"id\":1},\"value\":{\"type\":\"bytes\",\"id\":2}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null}}}}}}}");
60
+ export const schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"credentials\":{\"nested\":{\"Message\":{\"fields\":{\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":1,\"comment\":null}},\"comment\":null},\"SignedMessage\":{\"fields\":{\"signed\":{\"rule\":\"required\",\"type\":\"Signed\",\"id\":1,\"comment\":null},\"signatures\":{\"rule\":\"repeated\",\"type\":\"Signature\",\"id\":2,\"comment\":null}},\"nested\":{\"Signature\":{\"fields\":{\"key\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"signature\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"keyChain\":{\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"Signed\":{\"fields\":{\"created\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1,\"comment\":null},\"nonce\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":2,\"comment\":null},\"payload\":{\"rule\":\"required\",\"type\":\"google.protobuf.Any\",\"id\":10,\"comment\":null}},\"comment\":null}},\"comment\":\"A generic container message used whenever messages are signed (e.g. PartyCredential)\"}}},\"echo\":{\"nested\":{\"feed\":{\"nested\":{\"CredentialsMessage\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":\"A container for dxos.credentials.Message\"},\"EchoEnvelope\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"genesis\":{\"type\":\"ItemGenesis\",\"id\":10,\"comment\":null},\"itemMutation\":{\"type\":\"ItemMutation\",\"id\":11,\"comment\":null},\"mutation\":{\"type\":\"bytes\",\"id\":12,\"comment\":null},\"snapshot\":{\"type\":\"ModelSnapshot\",\"id\":13,\"comment\":\"Set the model to the provided snapshot.\"}},\"comment\":\"Wrapper for all ECHO messages.\"},\"FeedMessage\":{\"fields\":{\"halo\":{\"type\":\"CredentialsMessage\",\"id\":1,\"comment\":null},\"echo\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":\"Outer message type decoded by Codec.\\nThis is what is written to the feeds.\"},\"ItemGenesis\":{\"fields\":{\"itemType\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"link\":{\"type\":\"LinkData\",\"id\":4,\"comment\":null}},\"comment\":\"Item creation.\"},\"ItemMutation\":{\"fields\":{\"parentId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"action\":{\"type\":\"Action\",\"id\":2,\"comment\":null}},\"nested\":{\"Action\":{\"values\":{\"NOOP\":0,\"DELETE\":1,\"RESTORE\":2},\"comment\":null,\"comments\":{\"NOOP\":null,\"DELETE\":null,\"RESTORE\":null}}},\"comment\":\"Item mutation.\"},\"LinkData\":{\"fields\":{\"source\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"target\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TimeframeVector\":{\"fields\":{\"frames\":{\"rule\":\"repeated\",\"type\":\"Frame\",\"id\":1,\"comment\":null}},\"nested\":{\"Frame\":{\"fields\":{\"feedKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null}},\"comment\":null}},\"comment\":\"Vector timestamp used to order messages.\"}}},\"invitation\":{\"nested\":{\"InvitationDescriptor\":{\"fields\":{\"type\":{\"type\":\"Type\",\"id\":1,\"comment\":null},\"swarmKey\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"invitation\":{\"type\":\"bytes\",\"id\":3,\"comment\":null},\"identityKey\":{\"type\":\"bytes\",\"id\":4,\"comment\":\"Only present if type == OFFLINE.\"},\"secret\":{\"type\":\"bytes\",\"id\":5,\"comment\":\"Must be stripped out when passing to another peer.\"}},\"nested\":{\"Type\":{\"values\":{\"INTERACTIVE\":1,\"OFFLINE\":2},\"comment\":\"Defines an invitation type.\",\"comments\":{\"INTERACTIVE\":\"Interactive invitation is when both peers are online at the same time.\",\"OFFLINE\":\"Offline is when only a single peer needs to be online at the time.\"}}},\"comment\":null}}},\"metadata\":{\"nested\":{\"EchoMetadata\":{\"fields\":{\"version\":{\"type\":\"int32\",\"id\":1,\"comment\":\"Version number that is inceremnted every time there's a breaking change to the storage schema.\\n\\nThis is used to detect if the storage schema has changed since the last time the client was run.\\nLoading data from a different version will might result in an error.\"},\"parties\":{\"rule\":\"repeated\",\"type\":\"PartyMetadata\",\"id\":2,\"comment\":null},\"created\":{\"type\":\"google.protobuf.Timestamp\",\"id\":3,\"comment\":null},\"updated\":{\"type\":\"google.protobuf.Timestamp\",\"id\":4,\"comment\":null}},\"comment\":null},\"PartyMetadata\":{\"fields\":{\"key\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"feedKeys\":{\"rule\":\"repeated\",\"type\":\"PubKey\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"service\":{\"nested\":{\"DataService\":{\"methods\":{\"SubscribeEntitySet\":{\"requestType\":\"SubscribeEntitySetRequest\",\"responseType\":\"SubscribeEntitySetResponse\",\"responseStream\":true,\"comment\":null},\"SubscribeEntityStream\":{\"requestType\":\"SubscribeEntityStreamRequest\",\"responseType\":\"SubscribeEntityStreamResponse\",\"responseStream\":true,\"comment\":null},\"Write\":{\"requestType\":\"WriteRequest\",\"responseType\":\"MutationReceipt\",\"comment\":null}},\"comment\":null},\"MutationReceipt\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null}},\"comment\":null},\"SubscribeEntitySetResponse\":{\"fields\":{\"added\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"deleted\":{\"rule\":\"repeated\",\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"itemId\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"SubscribeEntityStreamResponse\":{\"oneofs\":{\"kind\":{\"oneof\":[\"snapshot\",\"mutation\"],\"comment\":null}},\"fields\":{\"snapshot\":{\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"Mutation\",\"id\":2,\"comment\":null}},\"nested\":{\"Mutation\":{\"fields\":{\"data\":{\"type\":\"EchoEnvelope\",\"id\":1,\"comment\":null},\"meta\":{\"type\":\"Metadata\",\"id\":2,\"comment\":null}},\"nested\":{\"Metadata\":{\"fields\":{\"feedKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"memberKey\":{\"type\":\"PubKey\",\"id\":2,\"comment\":null},\"seq\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":4,\"comment\":null}},\"comment\":null}},\"comment\":null}},\"comment\":null},\"WriteRequest\":{\"fields\":{\"partyKey\":{\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"mutation\":{\"type\":\"EchoEnvelope\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"snapshot\":{\"nested\":{\"DatabaseSnapshot\":{\"fields\":{\"items\":{\"rule\":\"repeated\",\"type\":\"ItemSnapshot\",\"id\":1,\"comment\":null}},\"comment\":null},\"HaloStateSnapshot\":{\"fields\":{\"messages\":{\"rule\":\"repeated\",\"type\":\"dxos.CredentialsMessage\",\"id\":1,\"comment\":null}},\"comment\":null},\"ItemSnapshot\":{\"fields\":{\"itemId\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"itemType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"modelType\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"modelVersion\":{\"type\":\"string\",\"id\":4,\"comment\":null},\"parentId\":{\"type\":\"string\",\"id\":5,\"comment\":null},\"model\":{\"type\":\"ModelSnapshot\",\"id\":6,\"comment\":null}},\"comment\":null},\"ModelMutation\":{\"fields\":{\"mutation\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"meta\":{\"rule\":\"required\",\"type\":\"ModelMutationMeta\",\"id\":2,\"comment\":null}},\"comment\":null},\"ModelMutationMeta\":{\"fields\":{\"feedKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null},\"seq\":{\"rule\":\"required\",\"type\":\"int32\",\"id\":2,\"comment\":null},\"memberKey\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":3,\"comment\":null}},\"comment\":null},\"ModelSnapshot\":{\"oneofs\":{\"_snapshot\":{\"oneof\":[\"snapshot\"]}},\"fields\":{\"snapshot\":{\"type\":\"bytes\",\"id\":1,\"options\":{\"proto3_optional\":true},\"comment\":\"Encoded model snapshot. Encoding is defined by model's codec.\\n\\nCan be missing. In that case the state machine is to be initialized in it's default state.\"},\"mutations\":{\"rule\":\"repeated\",\"type\":\"ModelMutation\",\"id\":2,\"comment\":\"Mutations to be applied on top of the snapshotted state, or on top of initial state if the snapshot is missing.\"}},\"comment\":null},\"PartySnapshot\":{\"fields\":{\"partyKey\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"timeframe\":{\"type\":\"TimeframeVector\",\"id\":2,\"comment\":null},\"timestamp\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"halo\":{\"type\":\"HaloStateSnapshot\",\"id\":11,\"comment\":null},\"database\":{\"type\":\"DatabaseSnapshot\",\"id\":12,\"comment\":null}},\"comment\":null}}},\"testing\":{\"nested\":{\"TestItemMutation\":{\"fields\":{\"key\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"value\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null},\"TestItemSnapshot\":{\"fields\":{\"keys\":{\"rule\":\"repeated\",\"type\":\"TestItemMutation\",\"id\":1,\"comment\":null}},\"comment\":null},\"TestListMutation\":{\"fields\":{\"data\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null}}}}},\"halo\":{\"nested\":{\"keys\":{\"nested\":{\"KeyChain\":{\"fields\":{\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":1,\"comment\":null},\"message\":{\"rule\":\"required\",\"type\":\"SignedMessage\",\"id\":2,\"comment\":null},\"parents\":{\"rule\":\"repeated\",\"type\":\"KeyChain\",\"id\":3,\"comment\":null}},\"comment\":null},\"KeyRecord\":{\"fields\":{\"type\":{\"rule\":\"required\",\"type\":\"KeyType\",\"id\":1,\"comment\":\"- The `KeyType` type of the key. This is often unknown for keys from other sources.\"},\"publicKey\":{\"rule\":\"required\",\"type\":\"PubKey\",\"id\":2,\"comment\":\"- The public key as a Buffer (required).\"},\"secretKey\":{\"type\":\"PrivKey\",\"id\":3,\"comment\":\"- The secret key as a Buffer (this will never be visible outside the Keyring).\"},\"hint\":{\"type\":\"bool\",\"id\":4,\"comment\":\"- Is this key from a Greeting \\\"hint\\\"?\"},\"own\":{\"type\":\"bool\",\"id\":5,\"comment\":\"- Is this our key? Usually true if `secretKey` is present,\\nmay be false for \\\"inception keys\\\" such as the Party key.\"},\"trusted\":{\"type\":\"bool\",\"id\":6,\"comment\":\"- Is this key to be trusted?\"},\"added\":{\"type\":\"string\",\"id\":7,\"comment\":\"- An RFC-3339 date/time string for when the key was added to the Keyring.\"},\"created\":{\"type\":\"string\",\"id\":8,\"comment\":\"- An RFC-3339 date/time string for when the key was created.\"}},\"comment\":null},\"KeyRecordList\":{\"fields\":{\"keys\":{\"rule\":\"repeated\",\"type\":\"KeyRecord\",\"id\":1,\"comment\":null}},\"comment\":null},\"KeyType\":{\"values\":{\"UNKNOWN\":0,\"IDENTITY\":1,\"DEVICE\":2,\"PARTY\":3,\"FEED\":4,\"DXNS\":5},\"comment\":null,\"comments\":{\"UNKNOWN\":null,\"IDENTITY\":null,\"DEVICE\":null,\"PARTY\":null,\"FEED\":null,\"DXNS\":null}},\"PrivKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null},\"PubKey\":{\"fields\":{\"data\":{\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null}}}}}}},\"google\":{\"nested\":{\"protobuf\":{\"nested\":{\"Any\":{\"fields\":{\"type_url\":{\"type\":\"string\",\"id\":1},\"value\":{\"type\":\"bytes\",\"id\":2}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null}}}}}}}");
61
61
  export const schema = Schema.fromJson<TYPES, SERVICES>(schemaJson, substitutions);
@@ -2,40 +2,19 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
+ import { timestampSubstitutions } from '@dxos/codec-protobuf';
5
6
  import { codec, Message } from '@dxos/credentials';
6
- import { PublicKey } from '@dxos/crypto';
7
+ import { publicKeySubstitutions } from '@dxos/crypto';
7
8
 
8
- import { Timeframe } from '../spacetime';
9
- import type { Timestamp } from './gen/google/protobuf';
9
+ import { timeframeSubstitutions } from '../spacetime';
10
10
 
11
11
  export default {
12
+ ...timestampSubstitutions,
13
+ ...publicKeySubstitutions,
14
+ ...timeframeSubstitutions,
12
15
  // TODO(marik-d): Temporary codec bridging logic until we can require proto declarations across package boundaries.
13
16
  'dxos.echo.feed.CredentialsMessage': {
14
17
  encode: (msg: Message) => ({ data: codec.encode(msg) }),
15
18
  decode: (msg: any): Message => codec.decode(msg.data)
16
- },
17
- 'dxos.echo.feed.TimeframeVector': {
18
- encode: (timeframe: Timeframe) => ({
19
- frames: timeframe.frames().map(([feedKey, seq]) => ({ feedKey: feedKey.asUint8Array(), seq }))
20
- }),
21
- decode: (vector: any) => new Timeframe(
22
- (vector.frames ?? [])
23
- .filter((frame: any) => frame.feedKey != null && frame.seq != null)
24
- .map((frame: any) => [PublicKey.from(new Uint8Array(frame.feedKey)), frame.seq])
25
- )
26
- },
27
- 'dxos.halo.keys.PubKey': {
28
- encode: (value: PublicKey) => ({ data: value.asUint8Array() }),
29
- decode: (value: any) => PublicKey.from(new Uint8Array(value.data))
30
- },
31
- 'google.protobuf.Timestamp': {
32
- encode: (value: Date): Timestamp => {
33
- const unixMilliseconds = value.getTime();
34
- return {
35
- seconds: (unixMilliseconds / 1000).toString(),
36
- nanos: (unixMilliseconds % 1000) * 1e6
37
- };
38
- },
39
- decode: (value: Timestamp): Date => new Date(parseInt(value.seconds ?? '0') * 1000 + (value.nanos ?? 0) / 1e6)
40
19
  }
41
20
  };
@@ -3,3 +3,4 @@
3
3
  //
4
4
 
5
5
  export * from './timeframe';
6
+ export * from './substitutions';
@@ -0,0 +1,20 @@
1
+ //
2
+ // Copyright 2022 DXOS.org
3
+ //
4
+
5
+ import { PublicKey } from '@dxos/crypto';
6
+
7
+ import { Timeframe } from './timeframe';
8
+
9
+ export const timeframeSubstitutions = {
10
+ 'dxos.echo.feed.TimeframeVector': {
11
+ encode: (timeframe: Timeframe) => ({
12
+ frames: timeframe.frames().map(([feedKey, seq]) => ({ feedKey: feedKey.asUint8Array(), seq }))
13
+ }),
14
+ decode: (vector: any) => new Timeframe(
15
+ (vector.frames ?? [])
16
+ .filter((frame: any) => frame.feedKey != null && frame.seq != null)
17
+ .map((frame: any) => [PublicKey.from(new Uint8Array(frame.feedKey)), frame.seq])
18
+ )
19
+ }
20
+ };
package/src/types.ts CHANGED
@@ -6,6 +6,7 @@ import { Message as HaloMessage } from '@dxos/credentials';
6
6
  import { PublicKey } from '@dxos/crypto';
7
7
 
8
8
  import { EchoEnvelope, FeedMessage } from './proto';
9
+ import { Timeframe } from './spacetime/timeframe';
9
10
 
10
11
  //
11
12
  // Keys.
@@ -33,6 +34,10 @@ export interface MutationMeta extends FeedMeta {
33
34
  memberKey: Uint8Array
34
35
  }
35
36
 
37
+ export interface MutationMetaWithTimeframe extends MutationMeta {
38
+ timeframe: Timeframe
39
+ }
40
+
36
41
  /**
37
42
  * Hypercore message.
38
43
  * https://github.com/hypercore-protocol/hypercore
@@ -64,7 +69,7 @@ export interface IHaloStream {
64
69
  }
65
70
 
66
71
  export interface IEchoStream {
67
- meta: MutationMeta;
72
+ meta: MutationMetaWithTimeframe;
68
73
  data: EchoEnvelope;
69
74
  }
70
75