@livestore/common 0.3.2-dev.9 → 0.4.0-dev.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 (162) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/ClientSessionLeaderThreadProxy.d.ts +2 -2
  3. package/dist/ClientSessionLeaderThreadProxy.d.ts.map +1 -1
  4. package/dist/adapter-types.d.ts +4 -4
  5. package/dist/adapter-types.d.ts.map +1 -1
  6. package/dist/debug-info.d.ts +17 -17
  7. package/dist/devtools/devtools-messages-client-session.d.ts +38 -38
  8. package/dist/devtools/devtools-messages-common.d.ts +6 -6
  9. package/dist/devtools/devtools-messages-leader.d.ts +28 -28
  10. package/dist/devtools/devtools-messages-leader.d.ts.map +1 -1
  11. package/dist/devtools/devtools-messages-leader.js.map +1 -1
  12. package/dist/leader-thread/LeaderSyncProcessor.js +3 -1
  13. package/dist/leader-thread/LeaderSyncProcessor.js.map +1 -1
  14. package/dist/leader-thread/make-leader-thread-layer.d.ts.map +1 -1
  15. package/dist/leader-thread/make-leader-thread-layer.js +21 -4
  16. package/dist/leader-thread/make-leader-thread-layer.js.map +1 -1
  17. package/dist/leader-thread/shutdown-channel.d.ts +2 -2
  18. package/dist/leader-thread/shutdown-channel.d.ts.map +1 -1
  19. package/dist/leader-thread/shutdown-channel.js +2 -2
  20. package/dist/leader-thread/shutdown-channel.js.map +1 -1
  21. package/dist/leader-thread/types.d.ts +1 -1
  22. package/dist/leader-thread/types.d.ts.map +1 -1
  23. package/dist/materializer-helper.d.ts +3 -3
  24. package/dist/materializer-helper.d.ts.map +1 -1
  25. package/dist/materializer-helper.js +2 -2
  26. package/dist/materializer-helper.js.map +1 -1
  27. package/dist/rematerialize-from-eventlog.js +1 -1
  28. package/dist/rematerialize-from-eventlog.js.map +1 -1
  29. package/dist/schema/EventDef.d.ts +104 -178
  30. package/dist/schema/EventSequenceNumber.d.ts +5 -0
  31. package/dist/schema/EventSequenceNumber.d.ts.map +1 -1
  32. package/dist/schema/EventSequenceNumber.js +7 -2
  33. package/dist/schema/EventSequenceNumber.js.map +1 -1
  34. package/dist/schema/EventSequenceNumber.test.js +2 -2
  35. package/dist/schema/LiveStoreEvent.d.ts +6 -5
  36. package/dist/schema/LiveStoreEvent.d.ts.map +1 -1
  37. package/dist/schema/LiveStoreEvent.js +5 -0
  38. package/dist/schema/LiveStoreEvent.js.map +1 -1
  39. package/dist/schema/schema.d.ts +3 -0
  40. package/dist/schema/schema.d.ts.map +1 -1
  41. package/dist/schema/schema.js.map +1 -1
  42. package/dist/schema/state/sqlite/client-document-def.d.ts +3 -2
  43. package/dist/schema/state/sqlite/client-document-def.d.ts.map +1 -1
  44. package/dist/schema/state/sqlite/client-document-def.js +6 -4
  45. package/dist/schema/state/sqlite/client-document-def.js.map +1 -1
  46. package/dist/schema/state/sqlite/client-document-def.test.js +76 -1
  47. package/dist/schema/state/sqlite/client-document-def.test.js.map +1 -1
  48. package/dist/schema/state/sqlite/column-annotations.d.ts +34 -0
  49. package/dist/schema/state/sqlite/column-annotations.d.ts.map +1 -0
  50. package/dist/schema/state/sqlite/column-annotations.js +50 -0
  51. package/dist/schema/state/sqlite/column-annotations.js.map +1 -0
  52. package/dist/schema/state/sqlite/column-annotations.test.d.ts +2 -0
  53. package/dist/schema/state/sqlite/column-annotations.test.d.ts.map +1 -0
  54. package/dist/schema/state/sqlite/column-annotations.test.js +179 -0
  55. package/dist/schema/state/sqlite/column-annotations.test.js.map +1 -0
  56. package/dist/schema/state/sqlite/column-spec.d.ts +11 -0
  57. package/dist/schema/state/sqlite/column-spec.d.ts.map +1 -0
  58. package/dist/schema/state/sqlite/column-spec.js +39 -0
  59. package/dist/schema/state/sqlite/column-spec.js.map +1 -0
  60. package/dist/schema/state/sqlite/column-spec.test.d.ts +2 -0
  61. package/dist/schema/state/sqlite/column-spec.test.d.ts.map +1 -0
  62. package/dist/schema/state/sqlite/column-spec.test.js +146 -0
  63. package/dist/schema/state/sqlite/column-spec.test.js.map +1 -0
  64. package/dist/schema/state/sqlite/db-schema/ast/sqlite.d.ts +1 -0
  65. package/dist/schema/state/sqlite/db-schema/ast/sqlite.d.ts.map +1 -1
  66. package/dist/schema/state/sqlite/db-schema/ast/sqlite.js +1 -0
  67. package/dist/schema/state/sqlite/db-schema/ast/sqlite.js.map +1 -1
  68. package/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts +17 -4
  69. package/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts.map +1 -1
  70. package/dist/schema/state/sqlite/db-schema/dsl/field-defs.js +2 -0
  71. package/dist/schema/state/sqlite/db-schema/dsl/field-defs.js.map +1 -1
  72. package/dist/schema/state/sqlite/db-schema/dsl/mod.d.ts +65 -165
  73. package/dist/schema/state/sqlite/db-schema/dsl/mod.d.ts.map +1 -1
  74. package/dist/schema/state/sqlite/db-schema/dsl/mod.js +1 -0
  75. package/dist/schema/state/sqlite/db-schema/dsl/mod.js.map +1 -1
  76. package/dist/schema/state/sqlite/mod.d.ts +2 -0
  77. package/dist/schema/state/sqlite/mod.d.ts.map +1 -1
  78. package/dist/schema/state/sqlite/mod.js +2 -0
  79. package/dist/schema/state/sqlite/mod.js.map +1 -1
  80. package/dist/schema/state/sqlite/query-builder/api.d.ts +309 -560
  81. package/dist/schema/state/sqlite/query-builder/api.d.ts.map +1 -1
  82. package/dist/schema/state/sqlite/query-builder/astToSql.d.ts +1 -0
  83. package/dist/schema/state/sqlite/query-builder/astToSql.d.ts.map +1 -1
  84. package/dist/schema/state/sqlite/query-builder/astToSql.js +8 -6
  85. package/dist/schema/state/sqlite/query-builder/astToSql.js.map +1 -1
  86. package/dist/schema/state/sqlite/system-tables.d.ts +464 -46
  87. package/dist/schema/state/sqlite/system-tables.d.ts.map +1 -1
  88. package/dist/schema/state/sqlite/table-def.d.ts +161 -152
  89. package/dist/schema/state/sqlite/table-def.d.ts.map +1 -1
  90. package/dist/schema/state/sqlite/table-def.js +251 -5
  91. package/dist/schema/state/sqlite/table-def.js.map +1 -1
  92. package/dist/schema/state/sqlite/table-def.test.d.ts +2 -0
  93. package/dist/schema/state/sqlite/table-def.test.d.ts.map +1 -0
  94. package/dist/schema/state/sqlite/table-def.test.js +635 -0
  95. package/dist/schema/state/sqlite/table-def.test.js.map +1 -0
  96. package/dist/schema-management/common.d.ts +1 -1
  97. package/dist/schema-management/common.d.ts.map +1 -1
  98. package/dist/schema-management/common.js +11 -2
  99. package/dist/schema-management/common.js.map +1 -1
  100. package/dist/schema-management/migrations.d.ts +0 -1
  101. package/dist/schema-management/migrations.d.ts.map +1 -1
  102. package/dist/schema-management/migrations.js +4 -30
  103. package/dist/schema-management/migrations.js.map +1 -1
  104. package/dist/schema-management/migrations.test.d.ts +2 -0
  105. package/dist/schema-management/migrations.test.d.ts.map +1 -0
  106. package/dist/schema-management/migrations.test.js +52 -0
  107. package/dist/schema-management/migrations.test.js.map +1 -0
  108. package/dist/sql-queries/types.d.ts +37 -133
  109. package/dist/sqlite-db-helper.d.ts +3 -1
  110. package/dist/sqlite-db-helper.d.ts.map +1 -1
  111. package/dist/sqlite-db-helper.js +16 -0
  112. package/dist/sqlite-db-helper.js.map +1 -1
  113. package/dist/sqlite-types.d.ts +4 -4
  114. package/dist/sqlite-types.d.ts.map +1 -1
  115. package/dist/sync/ClientSessionSyncProcessor.d.ts +2 -2
  116. package/dist/sync/ClientSessionSyncProcessor.d.ts.map +1 -1
  117. package/dist/sync/ClientSessionSyncProcessor.js +8 -7
  118. package/dist/sync/ClientSessionSyncProcessor.js.map +1 -1
  119. package/dist/sync/sync.d.ts.map +1 -1
  120. package/dist/sync/sync.js.map +1 -1
  121. package/dist/util.d.ts +3 -3
  122. package/dist/util.d.ts.map +1 -1
  123. package/dist/util.js.map +1 -1
  124. package/dist/version.d.ts +1 -1
  125. package/dist/version.js +1 -1
  126. package/package.json +4 -4
  127. package/src/ClientSessionLeaderThreadProxy.ts +2 -2
  128. package/src/adapter-types.ts +6 -4
  129. package/src/devtools/devtools-messages-leader.ts +3 -3
  130. package/src/leader-thread/LeaderSyncProcessor.ts +3 -1
  131. package/src/leader-thread/make-leader-thread-layer.ts +26 -7
  132. package/src/leader-thread/shutdown-channel.ts +2 -2
  133. package/src/leader-thread/types.ts +1 -1
  134. package/src/materializer-helper.ts +5 -11
  135. package/src/rematerialize-from-eventlog.ts +2 -2
  136. package/src/schema/EventSequenceNumber.test.ts +2 -2
  137. package/src/schema/EventSequenceNumber.ts +8 -2
  138. package/src/schema/LiveStoreEvent.ts +7 -1
  139. package/src/schema/schema.ts +4 -0
  140. package/src/schema/state/sqlite/client-document-def.test.ts +89 -1
  141. package/src/schema/state/sqlite/client-document-def.ts +7 -4
  142. package/src/schema/state/sqlite/column-annotations.test.ts +212 -0
  143. package/src/schema/state/sqlite/column-annotations.ts +77 -0
  144. package/src/schema/state/sqlite/column-spec.test.ts +223 -0
  145. package/src/schema/state/sqlite/column-spec.ts +42 -0
  146. package/src/schema/state/sqlite/db-schema/ast/sqlite.ts +2 -0
  147. package/src/schema/state/sqlite/db-schema/dsl/__snapshots__/field-defs.test.ts.snap +15 -0
  148. package/src/schema/state/sqlite/db-schema/dsl/field-defs.ts +20 -2
  149. package/src/schema/state/sqlite/db-schema/dsl/mod.ts +1 -0
  150. package/src/schema/state/sqlite/mod.ts +2 -0
  151. package/src/schema/state/sqlite/query-builder/api.ts +4 -3
  152. package/src/schema/state/sqlite/query-builder/astToSql.ts +9 -7
  153. package/src/schema/state/sqlite/table-def.test.ts +798 -0
  154. package/src/schema/state/sqlite/table-def.ts +472 -16
  155. package/src/schema-management/common.ts +10 -3
  156. package/src/schema-management/migrations.ts +4 -33
  157. package/src/sqlite-db-helper.ts +19 -1
  158. package/src/sqlite-types.ts +4 -4
  159. package/src/sync/ClientSessionSyncProcessor.ts +13 -8
  160. package/src/sync/sync.ts +2 -0
  161. package/src/util.ts +7 -2
  162. package/src/version.ts +1 -1
@@ -23,8 +23,8 @@ export interface ClientSessionLeaderThreadProxy {
23
23
  /** The migrations report from the leader thread */
24
24
  readonly migrationsReport: MigrationsReport;
25
25
  };
26
- export: Effect.Effect<Uint8Array, UnexpectedError>;
27
- getEventlogData: Effect.Effect<Uint8Array, UnexpectedError>;
26
+ export: Effect.Effect<Uint8Array<ArrayBuffer>, UnexpectedError>;
27
+ getEventlogData: Effect.Effect<Uint8Array<ArrayBuffer>, UnexpectedError>;
28
28
  getSyncState: Effect.Effect<SyncState, UnexpectedError>;
29
29
  /** For debugging purposes it can be useful to manually trigger devtools messages (e.g. to reset the database) */
30
30
  sendDevtoolsMessage: (message: Devtools.Leader.MessageToApp) => Effect.Effect<void, UnexpectedError>;
@@ -1 +1 @@
1
- {"version":3,"file":"ClientSessionLeaderThreadProxy.d.ts","sourceRoot":"","sources":["../src/ClientSessionLeaderThreadProxy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,KAAK,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAErE,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,IAAI,EAAE;YACX,MAAM,EAAE,mBAAmB,CAAC,mBAAmB,CAAA;SAChD,KAAK,MAAM,CAAC,MAAM,CAAC;YAAE,OAAO,EAAE,OAAO,eAAe,CAAC,IAAI,CAAA;SAAE,EAAE,eAAe,CAAC,CAAA;QAC9E,6EA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AAC,CAAA;CACrG;AAED,eAAO,MAAM,EAAE,GACb,OAAO,8BAA8B,EACrC,UAAU;IAAE,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,8BAA8B,KAAK,OAAO,CAAC,8BAA8B,CAAC,CAAA;CAAE,KAC9G,8BAIF,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type Cause, type Effect, type Queue, Schema, type Scope, type SubscriptionRef, type WebChannel } from '@livestore/utils/effect';
1
+ import { type Effect, type Exit, type Queue, Schema, type Scope, type SubscriptionRef, type WebChannel } from '@livestore/utils/effect';
2
2
  import type { ClientSessionLeaderThreadProxy } from './ClientSessionLeaderThreadProxy.ts';
3
3
  import type * as Devtools from './devtools/mod.ts';
4
4
  import type { IntentionalShutdownCause, SyncError, UnexpectedError } from './errors.ts';
@@ -22,7 +22,7 @@ export interface ClientSession {
22
22
  sessionId: string;
23
23
  /** Status info whether current session is leader or not */
24
24
  lockStatus: SubscriptionRef.SubscriptionRef<LockStatus>;
25
- shutdown: (cause: Cause.Cause<UnexpectedError | IntentionalShutdownCause | SyncError>) => Effect.Effect<void>;
25
+ shutdown: (cause: Exit.Exit<IntentionalShutdownCause, UnexpectedError | SyncError>) => Effect.Effect<void>;
26
26
  /** A proxy API to communicate with the leader thread */
27
27
  leaderThread: ClientSessionLeaderThreadProxy;
28
28
  /** A unique identifier for the current instance of the client session. Used for debugging purposes. */
@@ -90,7 +90,7 @@ export type MigrationOptions = {
90
90
  };
91
91
  } | {
92
92
  strategy: 'manual';
93
- migrate: (oldDb: Uint8Array) => Uint8Array | Promise<Uint8Array> | Effect.Effect<Uint8Array, unknown>;
93
+ migrate: (oldDb: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer> | Promise<Uint8Array<ArrayBuffer>> | Effect.Effect<Uint8Array<ArrayBuffer>, unknown>;
94
94
  };
95
95
  export type MigrationHooks = {
96
96
  /** Runs on the empty in-memory database with no database schemas applied yet */
@@ -111,7 +111,7 @@ export interface AdapterArgs {
111
111
  devtoolsEnabled: boolean;
112
112
  debugInstanceId: string;
113
113
  bootStatusQueue: Queue.Queue<BootStatus>;
114
- shutdown: (cause: Cause.Cause<any>) => Effect.Effect<void>;
114
+ shutdown: (exit: Exit.Exit<IntentionalShutdownCause, UnexpectedError | SyncError>) => Effect.Effect<void>;
115
115
  connectDevtoolsToStore: ConnectDevtoolsToStore;
116
116
  /**
117
117
  * Payload that will be passed to the sync backend when connecting
@@ -1 +1 @@
1
- {"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,KAAK,EACV,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAA;AACzF,OAAO,KAAK,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,KAAK,8BAA8B,MAAM,qCAAqC,CAAA;AACrF,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AAEjC,MAAM,WAAW,aAAa;IAC5B,0FAA0F;IAC1F,QAAQ,EAAE,QAAQ,CAAA;IAClB,QAAQ,EAAE;QAAE,OAAO,EAAE,KAAK,CAAA;KAAE,GAAG;QAAE,OAAO,EAAE,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC,KAAK,CAAA;KAAE,CAAA;IAClG,QAAQ,EAAE,MAAM,CAAA;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,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC;CAAG;AAE9G,MAAM,MAAM,sBAAsB,GAAG,CACnC,oBAAoB,EAAE,4BAA4B,KAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,CAAA;AAEtD,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE,WAAW,KAAK,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,CAAA;AAEvG,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,eAAe,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACxC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,wBAAwB,EAAE,eAAe,GAAG,SAAS,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IACzG,sBAAsB,EAAE,sBAAsB,CAAA;IAC9C;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS,CAAA;CAC1C"}
@@ -11,7 +11,7 @@ export type SlowQueryInfo = {
11
11
  };
12
12
  export declare const SlowQueryInfo: Schema.Struct<{
13
13
  queryStr: typeof Schema.String;
14
- bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, typeof Schema.Uint8Array, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, typeof Schema.Uint8Array, typeof Schema.Null]>>]>, "PreparedBindValues">>;
14
+ bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>]>, "PreparedBindValues">>;
15
15
  durationMs: typeof Schema.Number;
16
16
  rowsCount: Schema.UndefinedOr<typeof Schema.Number>;
17
17
  queriedTables: Schema.ReadonlySet$<typeof Schema.String>;
@@ -26,8 +26,8 @@ export declare const DebugInfo: Schema.Struct<{
26
26
  size: typeof Schema.Number;
27
27
  items: Schema.Array$<Schema.Schema<{
28
28
  readonly queryStr: string;
29
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
30
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
29
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
30
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
31
31
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
32
32
  readonly durationMs: number;
33
33
  readonly rowsCount: number | undefined;
@@ -35,8 +35,8 @@ export declare const DebugInfo: Schema.Struct<{
35
35
  readonly startTimePerfNow: number;
36
36
  }, {
37
37
  readonly queryStr: string;
38
- readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
39
- readonly [x: string]: string | number | readonly number[] | null;
38
+ readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
39
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
40
40
  } | undefined;
41
41
  readonly durationMs: number;
42
42
  readonly rowsCount: number | undefined;
@@ -45,8 +45,8 @@ export declare const DebugInfo: Schema.Struct<{
45
45
  }, never>>;
46
46
  }>, Schema.Schema<BoundArray<{
47
47
  readonly queryStr: string;
48
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
49
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
48
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
49
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
50
50
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
51
51
  readonly durationMs: number;
52
52
  readonly rowsCount: number | undefined;
@@ -54,8 +54,8 @@ export declare const DebugInfo: Schema.Struct<{
54
54
  readonly startTimePerfNow: number;
55
55
  }>, BoundArray<{
56
56
  readonly queryStr: string;
57
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
58
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
57
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
58
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
59
59
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
60
60
  readonly durationMs: number;
61
61
  readonly rowsCount: number | undefined;
@@ -75,8 +75,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
75
75
  size: typeof Schema.Number;
76
76
  items: Schema.Array$<Schema.Schema<{
77
77
  readonly queryStr: string;
78
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
79
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
78
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
79
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
80
80
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
81
81
  readonly durationMs: number;
82
82
  readonly rowsCount: number | undefined;
@@ -84,8 +84,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
84
84
  readonly startTimePerfNow: number;
85
85
  }, {
86
86
  readonly queryStr: string;
87
- readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
88
- readonly [x: string]: string | number | readonly number[] | null;
87
+ readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
88
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
89
89
  } | undefined;
90
90
  readonly durationMs: number;
91
91
  readonly rowsCount: number | undefined;
@@ -94,8 +94,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
94
94
  }, never>>;
95
95
  }>, Schema.Schema<BoundArray<{
96
96
  readonly queryStr: string;
97
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
98
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
97
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
98
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
99
99
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
100
100
  readonly durationMs: number;
101
101
  readonly rowsCount: number | undefined;
@@ -103,8 +103,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
103
103
  readonly startTimePerfNow: number;
104
104
  }>, BoundArray<{
105
105
  readonly queryStr: string;
106
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
107
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
106
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
107
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
108
108
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
109
109
  readonly durationMs: number;
110
110
  readonly rowsCount: number | undefined;
@@ -2,7 +2,7 @@ import { Schema } from '@livestore/utils/effect';
2
2
  declare const DebugInfoReq_base: Schema.Struct<{
3
3
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoReq">;
4
4
  } & {
5
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
5
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
6
6
  } & {
7
7
  clientId: typeof Schema.String;
8
8
  sessionId: typeof Schema.String;
@@ -13,7 +13,7 @@ export declare class DebugInfoReq extends DebugInfoReq_base {
13
13
  declare const DebugInfoRes_base: Schema.Struct<{
14
14
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoRes">;
15
15
  } & {
16
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
16
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
17
17
  } & {
18
18
  clientId: typeof Schema.String;
19
19
  sessionId: typeof Schema.String;
@@ -24,8 +24,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
24
24
  size: typeof Schema.Number;
25
25
  items: Schema.Array$<Schema.Schema<{
26
26
  readonly queryStr: string;
27
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
28
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
27
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
28
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
29
29
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
30
30
  readonly durationMs: number;
31
31
  readonly rowsCount: number | undefined;
@@ -33,8 +33,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
33
33
  readonly startTimePerfNow: number;
34
34
  }, {
35
35
  readonly queryStr: string;
36
- readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
37
- readonly [x: string]: string | number | readonly number[] | null;
36
+ readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
37
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
38
38
  } | undefined;
39
39
  readonly durationMs: number;
40
40
  readonly rowsCount: number | undefined;
@@ -43,8 +43,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
43
43
  }, never>>;
44
44
  }>, Schema.Schema<import("../bounded-collections.ts").BoundArray<{
45
45
  readonly queryStr: string;
46
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
47
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
46
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
47
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
48
48
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
49
49
  readonly durationMs: number;
50
50
  readonly rowsCount: number | undefined;
@@ -52,8 +52,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
52
52
  readonly startTimePerfNow: number;
53
53
  }>, import("../bounded-collections.ts").BoundArray<{
54
54
  readonly queryStr: string;
55
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
56
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
55
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
56
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
57
57
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
58
58
  readonly durationMs: number;
59
59
  readonly rowsCount: number | undefined;
@@ -73,7 +73,7 @@ export declare class DebugInfoRes extends DebugInfoRes_base {
73
73
  declare const DebugInfoHistorySubscribe_base: Schema.Struct<{
74
74
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoHistorySubscribe">;
75
75
  } & {
76
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
76
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
77
77
  } & {
78
78
  clientId: typeof Schema.String;
79
79
  sessionId: typeof Schema.String;
@@ -86,7 +86,7 @@ export declare class DebugInfoHistorySubscribe extends DebugInfoHistorySubscribe
86
86
  declare const DebugInfoHistoryRes_base: Schema.Struct<{
87
87
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoHistoryRes">;
88
88
  } & {
89
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
89
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
90
90
  } & {
91
91
  clientId: typeof Schema.String;
92
92
  sessionId: typeof Schema.String;
@@ -97,8 +97,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
97
97
  size: typeof Schema.Number;
98
98
  items: Schema.Array$<Schema.Schema<{
99
99
  readonly queryStr: string;
100
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
101
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
100
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
101
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
102
102
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
103
103
  readonly durationMs: number;
104
104
  readonly rowsCount: number | undefined;
@@ -106,8 +106,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
106
106
  readonly startTimePerfNow: number;
107
107
  }, {
108
108
  readonly queryStr: string;
109
- readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
110
- readonly [x: string]: string | number | readonly number[] | null;
109
+ readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
110
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
111
111
  } | undefined;
112
112
  readonly durationMs: number;
113
113
  readonly rowsCount: number | undefined;
@@ -116,8 +116,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
116
116
  }, never>>;
117
117
  }>, Schema.Schema<import("../bounded-collections.ts").BoundArray<{
118
118
  readonly queryStr: string;
119
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
120
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
119
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
120
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
121
121
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
122
122
  readonly durationMs: number;
123
123
  readonly rowsCount: number | undefined;
@@ -125,8 +125,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
125
125
  readonly startTimePerfNow: number;
126
126
  }>, import("../bounded-collections.ts").BoundArray<{
127
127
  readonly queryStr: string;
128
- readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
129
- readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
128
+ readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
129
+ readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
130
130
  }) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
131
131
  readonly durationMs: number;
132
132
  readonly rowsCount: number | undefined;
@@ -147,7 +147,7 @@ export declare class DebugInfoHistoryRes extends DebugInfoHistoryRes_base {
147
147
  declare const DebugInfoHistoryUnsubscribe_base: Schema.Struct<{
148
148
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoHistoryUnsubscribe">;
149
149
  } & {
150
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
150
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
151
151
  } & {
152
152
  clientId: typeof Schema.String;
153
153
  sessionId: typeof Schema.String;
@@ -160,7 +160,7 @@ export declare class DebugInfoHistoryUnsubscribe extends DebugInfoHistoryUnsubsc
160
160
  declare const DebugInfoResetReq_base: Schema.Struct<{
161
161
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoResetReq">;
162
162
  } & {
163
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
163
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
164
164
  } & {
165
165
  clientId: typeof Schema.String;
166
166
  sessionId: typeof Schema.String;
@@ -171,7 +171,7 @@ export declare class DebugInfoResetReq extends DebugInfoResetReq_base {
171
171
  declare const DebugInfoResetRes_base: Schema.Struct<{
172
172
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoResetRes">;
173
173
  } & {
174
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
174
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
175
175
  } & {
176
176
  clientId: typeof Schema.String;
177
177
  sessionId: typeof Schema.String;
@@ -182,14 +182,14 @@ export declare class DebugInfoResetRes extends DebugInfoResetRes_base {
182
182
  declare const DebugInfoRerunQueryReq_base: Schema.Struct<{
183
183
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoRerunQueryReq">;
184
184
  } & {
185
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
185
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
186
186
  } & {
187
187
  clientId: typeof Schema.String;
188
188
  sessionId: typeof Schema.String;
189
189
  requestId: typeof Schema.String;
190
190
  } & {
191
191
  queryStr: typeof Schema.String;
192
- bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, typeof Schema.Uint8Array, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, typeof Schema.Uint8Array, typeof Schema.Null]>>]>, "PreparedBindValues">>;
192
+ bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>]>, "PreparedBindValues">>;
193
193
  queriedTables: Schema.ReadonlySet$<typeof Schema.String>;
194
194
  }>;
195
195
  export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base {
@@ -197,7 +197,7 @@ export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base
197
197
  declare const DebugInfoRerunQueryRes_base: Schema.Struct<{
198
198
  _tag: Schema.tag<"LSD.ClientSession.DebugInfoRerunQueryRes">;
199
199
  } & {
200
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
200
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
201
201
  } & {
202
202
  clientId: typeof Schema.String;
203
203
  sessionId: typeof Schema.String;
@@ -208,7 +208,7 @@ export declare class DebugInfoRerunQueryRes extends DebugInfoRerunQueryRes_base
208
208
  declare const SyncHeadSubscribe_base: Schema.Struct<{
209
209
  _tag: Schema.tag<"LSD.ClientSession.SyncHeadSubscribe">;
210
210
  } & {
211
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
211
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
212
212
  } & {
213
213
  clientId: typeof Schema.String;
214
214
  sessionId: typeof Schema.String;
@@ -221,7 +221,7 @@ export declare class SyncHeadSubscribe extends SyncHeadSubscribe_base {
221
221
  declare const SyncHeadUnsubscribe_base: Schema.Struct<{
222
222
  _tag: Schema.tag<"LSD.ClientSession.SyncHeadUnsubscribe">;
223
223
  } & {
224
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
224
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
225
225
  } & {
226
226
  clientId: typeof Schema.String;
227
227
  sessionId: typeof Schema.String;
@@ -234,7 +234,7 @@ export declare class SyncHeadUnsubscribe extends SyncHeadUnsubscribe_base {
234
234
  declare const SyncHeadRes_base: Schema.Struct<{
235
235
  _tag: Schema.tag<"LSD.ClientSession.SyncHeadRes">;
236
236
  } & {
237
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
237
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
238
238
  } & {
239
239
  clientId: typeof Schema.String;
240
240
  sessionId: typeof Schema.String;
@@ -257,7 +257,7 @@ export declare class SyncHeadRes extends SyncHeadRes_base {
257
257
  declare const ReactivityGraphSubscribe_base: Schema.Struct<{
258
258
  _tag: Schema.tag<"LSD.ClientSession.ReactivityGraphSubscribe">;
259
259
  } & {
260
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
260
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
261
261
  } & {
262
262
  clientId: typeof Schema.String;
263
263
  sessionId: typeof Schema.String;
@@ -271,7 +271,7 @@ export declare class ReactivityGraphSubscribe extends ReactivityGraphSubscribe_b
271
271
  declare const ReactivityGraphUnsubscribe_base: Schema.Struct<{
272
272
  _tag: Schema.tag<"LSD.ClientSession.ReactivityGraphUnsubscribe">;
273
273
  } & {
274
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
274
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
275
275
  } & {
276
276
  clientId: typeof Schema.String;
277
277
  sessionId: typeof Schema.String;
@@ -284,7 +284,7 @@ export declare class ReactivityGraphUnsubscribe extends ReactivityGraphUnsubscri
284
284
  declare const ReactivityGraphRes_base: Schema.Struct<{
285
285
  _tag: Schema.tag<"LSD.ClientSession.ReactivityGraphRes">;
286
286
  } & {
287
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
287
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
288
288
  } & {
289
289
  clientId: typeof Schema.String;
290
290
  sessionId: typeof Schema.String;
@@ -298,7 +298,7 @@ export declare class ReactivityGraphRes extends ReactivityGraphRes_base {
298
298
  declare const LiveQueriesSubscribe_base: Schema.Struct<{
299
299
  _tag: Schema.tag<"LSD.ClientSession.LiveQueriesSubscribe">;
300
300
  } & {
301
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
301
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
302
302
  } & {
303
303
  clientId: typeof Schema.String;
304
304
  sessionId: typeof Schema.String;
@@ -311,7 +311,7 @@ export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
311
311
  declare const LiveQueriesUnsubscribe_base: Schema.Struct<{
312
312
  _tag: Schema.tag<"LSD.ClientSession.LiveQueriesUnsubscribe">;
313
313
  } & {
314
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
314
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
315
315
  } & {
316
316
  clientId: typeof Schema.String;
317
317
  sessionId: typeof Schema.String;
@@ -341,7 +341,7 @@ export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
341
341
  declare const LiveQueriesRes_base: Schema.Struct<{
342
342
  _tag: Schema.tag<"LSD.ClientSession.LiveQueriesRes">;
343
343
  } & {
344
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
344
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
345
345
  } & {
346
346
  clientId: typeof Schema.String;
347
347
  sessionId: typeof Schema.String;
@@ -355,7 +355,7 @@ export declare class LiveQueriesRes extends LiveQueriesRes_base {
355
355
  declare const Ping_base: Schema.Struct<{
356
356
  _tag: Schema.tag<"LSD.ClientSession.Ping">;
357
357
  } & {
358
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
358
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
359
359
  } & {
360
360
  clientId: typeof Schema.String;
361
361
  sessionId: typeof Schema.String;
@@ -366,7 +366,7 @@ export declare class Ping extends Ping_base {
366
366
  declare const Pong_base: Schema.Struct<{
367
367
  _tag: Schema.tag<"LSD.ClientSession.Pong">;
368
368
  } & {
369
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
369
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
370
370
  } & {
371
371
  clientId: typeof Schema.String;
372
372
  sessionId: typeof Schema.String;
@@ -377,7 +377,7 @@ export declare class Pong extends Pong_base {
377
377
  declare const Disconnect_base: Schema.Struct<{
378
378
  _tag: Schema.tag<"LSD.ClientSession.Disconnect">;
379
379
  } & {
380
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
380
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
381
381
  } & {
382
382
  clientId: typeof Schema.String;
383
383
  sessionId: typeof Schema.String;
@@ -9,23 +9,23 @@ export type NetworkStatus = typeof NetworkStatus.Type;
9
9
  export declare const requestId: typeof Schema.String;
10
10
  export declare const clientId: typeof Schema.String;
11
11
  export declare const sessionId: typeof Schema.String;
12
- export declare const liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
12
+ export declare const liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
13
13
  export declare const LSDMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
14
14
  _tag: Schema.tag<Tag>;
15
15
  } & {
16
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
16
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
17
17
  } & Fields>;
18
18
  export declare const LSDChannelMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
19
19
  _tag: Schema.tag<Tag>;
20
20
  } & {
21
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
21
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
22
22
  } & {
23
23
  clientId: typeof Schema.String;
24
24
  } & Fields>;
25
25
  export declare const LSDClientSessionChannelMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
26
26
  _tag: Schema.tag<Tag>;
27
27
  } & {
28
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
28
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
29
29
  } & {
30
30
  clientId: typeof Schema.String;
31
31
  sessionId: typeof Schema.String;
@@ -33,7 +33,7 @@ export declare const LSDClientSessionChannelMessage: <Tag extends string, Fields
33
33
  export declare const LSDClientSessionReqResMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
34
34
  _tag: Schema.tag<Tag>;
35
35
  } & {
36
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
36
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
37
37
  } & {
38
38
  clientId: typeof Schema.String;
39
39
  sessionId: typeof Schema.String;
@@ -42,7 +42,7 @@ export declare const LSDClientSessionReqResMessage: <Tag extends string, Fields
42
42
  export declare const LSDReqResMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
43
43
  _tag: Schema.tag<Tag>;
44
44
  } & {
45
- liveStoreVersion: Schema.Literal<["0.3.2-dev.9"]>;
45
+ liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
46
46
  } & {
47
47
  clientId: typeof Schema.String;
48
48
  } & {