@livestore/livestore 0.4.0-dev.2 → 0.4.0-dev.20

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 (1309) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/SqliteDbWrapper.d.ts.map +1 -1
  3. package/dist/SqliteDbWrapper.test.js +2 -1
  4. package/dist/SqliteDbWrapper.test.js.map +1 -1
  5. package/dist/effect/LiveStore.d.ts +3 -3
  6. package/dist/effect/LiveStore.d.ts.map +1 -1
  7. package/dist/effect/LiveStore.js +3 -5
  8. package/dist/effect/LiveStore.js.map +1 -1
  9. package/dist/live-queries/base-class.d.ts.map +1 -1
  10. package/dist/live-queries/base-class.js.map +1 -1
  11. package/dist/live-queries/client-document-get-query.js +3 -2
  12. package/dist/live-queries/client-document-get-query.js.map +1 -1
  13. package/dist/live-queries/db-query.d.ts.map +1 -1
  14. package/dist/live-queries/db-query.js +15 -10
  15. package/dist/live-queries/db-query.js.map +1 -1
  16. package/dist/live-queries/db-query.test.js +117 -28
  17. package/dist/live-queries/db-query.test.js.map +1 -1
  18. package/dist/mod.d.ts +3 -4
  19. package/dist/mod.d.ts.map +1 -1
  20. package/dist/mod.js +3 -3
  21. package/dist/mod.js.map +1 -1
  22. package/dist/reactive.d.ts +10 -10
  23. package/dist/reactive.d.ts.map +1 -1
  24. package/dist/reactive.js +36 -27
  25. package/dist/reactive.js.map +1 -1
  26. package/dist/reactive.test.js +115 -0
  27. package/dist/reactive.test.js.map +1 -1
  28. package/dist/store/create-store.d.ts +44 -12
  29. package/dist/store/create-store.d.ts.map +1 -1
  30. package/dist/store/create-store.js +17 -11
  31. package/dist/store/create-store.js.map +1 -1
  32. package/dist/store/devtools.d.ts +4 -15
  33. package/dist/store/devtools.d.ts.map +1 -1
  34. package/dist/store/devtools.js +36 -15
  35. package/dist/store/devtools.js.map +1 -1
  36. package/dist/store/store-types.d.ts +123 -7
  37. package/dist/store/store-types.d.ts.map +1 -1
  38. package/dist/store/store-types.js +28 -1
  39. package/dist/store/store-types.js.map +1 -1
  40. package/dist/store/store-types.test.d.ts +2 -0
  41. package/dist/store/store-types.test.d.ts.map +1 -0
  42. package/dist/store/store-types.test.js +39 -0
  43. package/dist/store/store-types.test.js.map +1 -0
  44. package/dist/store/store.d.ts +115 -59
  45. package/dist/store/store.d.ts.map +1 -1
  46. package/dist/store/store.js +323 -174
  47. package/dist/store/store.js.map +1 -1
  48. package/dist/utils/dev.d.ts +3 -0
  49. package/dist/utils/dev.d.ts.map +1 -1
  50. package/dist/utils/dev.js.map +1 -1
  51. package/dist/utils/tests/fixture.d.ts +4 -4
  52. package/dist/utils/tests/fixture.d.ts.map +1 -1
  53. package/dist/utils/tests/fixture.js +2 -1
  54. package/dist/utils/tests/fixture.js.map +1 -1
  55. package/dist/utils/tests/otel.d.ts +15 -14
  56. package/dist/utils/tests/otel.d.ts.map +1 -1
  57. package/dist/utils/tests/otel.js +20 -15
  58. package/dist/utils/tests/otel.js.map +1 -1
  59. package/docs/api/adapter-expo/README/index.md +9 -0
  60. package/docs/api/adapter-expo/functions/makePersistedAdapter/index.md +15 -0
  61. package/docs/api/adapter-expo/type-aliases/MakeDbOptions/index.md +74 -0
  62. package/docs/api/adapter-node/README/index.md +6 -0
  63. package/docs/api/adapter-node/functions/makeAdapter/index.md +17 -0
  64. package/docs/api/adapter-node/functions/makeWorkerAdapter/index.md +17 -0
  65. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerBootStatusStream/index.md +33 -0
  66. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExport/index.md +33 -0
  67. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExportEventlog/index.md +33 -0
  68. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExtraDevtoolsMessage/index.md +47 -0
  69. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderHead/index.md +33 -0
  70. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderSyncState/index.md +33 -0
  71. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetNetworkStatus/index.md +33 -0
  72. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetRecreateSnapshot/index.md +33 -0
  73. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerInitialMessage/index.md +153 -0
  74. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerNetworkStatusStream/index.md +33 -0
  75. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPullStream/index.md +75 -0
  76. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPushToLeader/index.md +47 -0
  77. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerShutdown/index.md +33 -0
  78. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerSyncStateStream/index.md +33 -0
  79. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterInitialMessage/index.md +83 -0
  80. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterRequest/index.md +79 -0
  81. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerRequest/index.md +29 -0
  82. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerUpdateMessagePort/index.md +89 -0
  83. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/LeaderWorkerInnerRequest/index.md +5 -0
  84. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageType/index.md +5 -0
  85. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeEncoded/index.md +5 -0
  86. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeOpfs/index.md +5 -0
  87. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/SyncBackendOptions/index.md +5 -0
  88. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/LeaderWorkerInnerRequest/index.md +5 -0
  89. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageType/index.md +5 -0
  90. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageTypeOpfs/index.md +5 -0
  91. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/SyncBackendOptions/index.md +5 -0
  92. package/docs/api/adapter-web/README/index.md +14 -0
  93. package/docs/api/adapter-web/functions/makeInMemoryAdapter/index.md +24 -0
  94. package/docs/api/adapter-web/functions/makePersistedAdapter/index.md +29 -0
  95. package/docs/api/adapter-web/type-aliases/WebAdapterOptions/index.md +124 -0
  96. package/docs/api/index.md +3 -0
  97. package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/Any/index.md +8 -0
  98. package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/AnyWithoutFn/index.md +9 -0
  99. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Composite/index.md +37 -0
  100. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositeInput/index.md +7 -0
  101. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositePair/index.md +23 -0
  102. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Type/index.md +7 -0
  103. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Composite/index.md +36 -0
  104. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/DEFAULT/index.md +13 -0
  105. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/REBASE_GENERATION_DEFAULT/index.md +7 -0
  106. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/ROOT/index.md +21 -0
  107. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Schema/index.md +7 -0
  108. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/compare/index.md +22 -0
  109. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/diff/index.md +29 -0
  110. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromGlobal/index.md +17 -0
  111. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromString/index.md +21 -0
  112. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isEqual/index.md +21 -0
  113. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThan/index.md +21 -0
  114. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThanOrEqual/index.md +21 -0
  115. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/make/index.md +13 -0
  116. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/max/index.md +21 -0
  117. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/nextPair/index.md +30 -0
  118. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/toString/index.md +19 -0
  119. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/type-aliases/Type/index.md +7 -0
  120. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/Schema/index.md +7 -0
  121. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/make/index.md +13 -0
  122. package/docs/api/livestore/@livestore/namespaces/FromInputSchema/type-aliases/DeriveSchema/index.md +11 -0
  123. package/docs/api/livestore/@livestore/namespaces/LiveQuery/type-aliases/Any/index.md +5 -0
  124. package/docs/api/livestore/@livestore/namespaces/LiveQueryDef/type-aliases/Any/index.md +5 -0
  125. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/classes/EncodedWithMeta/index.md +374 -0
  126. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Decoded/index.md +7 -0
  127. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Encoded/index.md +7 -0
  128. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/ForSchema/index.md +13 -0
  129. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Decoded/index.md +7 -0
  130. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Encoded/index.md +27 -0
  131. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/isEqualEncoded/index.md +22 -0
  132. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchema/index.md +30 -0
  133. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchemaMemo/index.md +23 -0
  134. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Decoded/index.md +61 -0
  135. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Encoded/index.md +61 -0
  136. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/ForRecord/index.md +13 -0
  137. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputDecoded/index.md +29 -0
  138. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputEncoded/index.md +29 -0
  139. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/type-aliases/Encoded/index.md +7 -0
  140. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/Encoded/index.md +20 -0
  141. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/toClientEncoded/index.md +41 -0
  142. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Decoded/index.md +7 -0
  143. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Encoded/index.md +7 -0
  144. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForRecord/index.md +13 -0
  145. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForSchema/index.md +13 -0
  146. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/Encoded/index.md +14 -0
  147. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/makeSchema/index.md +30 -0
  148. package/docs/api/livestore/@livestore/namespaces/LiveStoreSchema/type-aliases/Any/index.md +5 -0
  149. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Equality/index.md +5 -0
  150. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/In/index.md +5 -0
  151. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Like/index.md +5 -0
  152. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/MultiValue/index.md +5 -0
  153. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Order/index.md +5 -0
  154. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/SingleValue/index.md +5 -0
  155. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/Any/index.md +5 -0
  156. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFeature/index.md +5 -0
  157. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFull/index.md +513 -0
  158. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/FirstQueryBehaviour/index.md +49 -0
  159. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/OrderByParams/index.md +11 -0
  160. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereOps/index.md +5 -0
  161. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereParams/index.md +11 -0
  162. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/CountQuery/index.md +35 -0
  163. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/DeleteQuery/index.md +43 -0
  164. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/InsertQuery/index.md +51 -0
  165. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OnConflict/index.md +21 -0
  166. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OrderBy/index.md +19 -0
  167. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/RowQuery/index.md +35 -0
  168. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/SelectQuery/index.md +87 -0
  169. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/UpdateQuery/index.md +51 -0
  170. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/Where/index.md +27 -0
  171. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/type-aliases/WriteQuery/index.md +5 -0
  172. package/docs/api/livestore/@livestore/namespaces/Queryable/type-aliases/Result/index.md +19 -0
  173. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/DocumentResult/index.md +11 -0
  174. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetIdColumnType/index.md +11 -0
  175. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetOrCreateOptions/index.md +21 -0
  176. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/RequiredColumnsOptions/index.md +21 -0
  177. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/Result/index.md +11 -0
  178. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/ResultEncoded/index.md +11 -0
  179. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Blob/index.md +13 -0
  180. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/ColumnType/index.md +5 -0
  181. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Integer/index.md +13 -0
  182. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Null/index.md +13 -0
  183. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Real/index.md +13 -0
  184. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Text/index.md +13 -0
  185. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Column/index.md +69 -0
  186. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/DbSchema/index.md +21 -0
  187. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/ForeignKey/index.md +53 -0
  188. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Index/index.md +45 -0
  189. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Table/index.md +37 -0
  190. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/column/index.md +15 -0
  191. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/dbSchema/index.md +15 -0
  192. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/hash/index.md +18 -0
  193. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/index.md +27 -0
  194. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/structSchemaForTable/index.md +15 -0
  195. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/table/index.md +23 -0
  196. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/ColumnDefinition/type-aliases/Any/index.md +5 -0
  197. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +11 -0
  198. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowEncoded/index.md +11 -0
  199. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +11 -0
  200. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +11 -0
  201. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumns/index.md +11 -0
  202. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiresInsertValues/index.md +11 -0
  203. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecoded/index.md +11 -0
  204. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +11 -0
  205. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +11 -0
  206. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncoded/index.md +11 -0
  207. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodedAll/index.md +11 -0
  208. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/Columns/index.md +11 -0
  209. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +11 -0
  210. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecoded/index.md +11 -0
  211. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +11 -0
  212. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +11 -0
  213. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncoded/index.md +11 -0
  214. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/AnyIfConstained/index.md +15 -0
  215. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColDefFn/index.md +125 -0
  216. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultThunk/index.md +15 -0
  217. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultValue/index.md +11 -0
  218. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinition/index.md +81 -0
  219. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinitionInput/index.md +45 -0
  220. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Columns/index.md +5 -0
  221. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ConstraintColumns/index.md +16 -0
  222. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchema/index.md +9 -0
  223. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaFromInputSchema/index.md +15 -0
  224. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaInput/index.md +7 -0
  225. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DefaultEncodedForColumnType/index.md +11 -0
  226. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/EmptyObjIfConstained/index.md +11 -0
  227. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/FieldColumnType/index.md +5 -0
  228. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Index/index.md +35 -0
  229. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/InsertStructSchemaForColumns/index.md +11 -0
  230. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/IsSingleColumn/index.md +11 -0
  231. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/NoDefault/index.md +5 -0
  232. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SpecializedColDefFn/index.md +111 -0
  233. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SqlDefaultValue/index.md +13 -0
  234. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/StructSchemaForColumns/index.md +11 -0
  235. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/TableDefinition/index.md +47 -0
  236. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/NoDefault/index.md +5 -0
  237. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/blob/index.md +5 -0
  238. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/boolean/index.md +5 -0
  239. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/column/index.md +21 -0
  240. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetime/index.md +5 -0
  241. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetimeInteger/index.md +5 -0
  242. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/defaultSchemaForColumnType/index.md +21 -0
  243. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/insertStructSchemaForTable/index.md +21 -0
  244. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/integer/index.md +5 -0
  245. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isColumnDefinition/index.md +15 -0
  246. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isDefaultThunk/index.md +15 -0
  247. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isSqlDefaultValue/index.md +15 -0
  248. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/json/index.md +5 -0
  249. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/makeDbSchema/index.md +21 -0
  250. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/real/index.md +5 -0
  251. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/resolveColumnDefault/index.md +21 -0
  252. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/structSchemaForTable/index.md +21 -0
  253. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/table/index.md +37 -0
  254. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/text/index.md +5 -0
  255. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/functions/table/index.md +294 -0
  256. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/interfaces/Trait/index.md +149 -0
  257. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/Any/index.md +5 -0
  258. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/DefaultIdType/index.md +11 -0
  259. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/GetOptions/index.md +11 -0
  260. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/MakeGetQueryBuilder/index.md +19 -0
  261. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDef/index.md +19 -0
  262. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDefLike/index.md +65 -0
  263. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SqliteDef/index.md +15 -0
  264. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TableDefBase/index.md +15 -0
  265. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TraitAny/index.md +5 -0
  266. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/Input/index.md +43 -0
  267. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/WithDefaults/index.md +35 -0
  268. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +11 -0
  269. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +11 -0
  270. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +11 -0
  271. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecoded/index.md +11 -0
  272. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +11 -0
  273. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +11 -0
  274. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncoded/index.md +11 -0
  275. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/Columns/index.md +11 -0
  276. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +11 -0
  277. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecoded/index.md +11 -0
  278. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +11 -0
  279. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +11 -0
  280. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncoded/index.md +11 -0
  281. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/ColumnDefForType/index.md +15 -0
  282. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/FromTypes/index.md +15 -0
  283. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDef/type-aliases/Any/index.md +5 -0
  284. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForColumns/index.md +15 -0
  285. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForSchema/index.md +23 -0
  286. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDef/index.md +23 -0
  287. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDefSymbol/index.md +5 -0
  288. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableOptions/index.md +35 -0
  289. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDef/index.md +5 -0
  290. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDefConstrained/index.md +5 -0
  291. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/InputState/index.md +35 -0
  292. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/PrettifyFlat/index.md +11 -0
  293. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForInput/index.md +15 -0
  294. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForSchemaInput/index.md +23 -0
  295. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/StateType/index.md +5 -0
  296. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDef/index.md +45 -0
  297. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefBase/index.md +47 -0
  298. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefInternalsSymbol/index.md +5 -0
  299. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptions/index.md +15 -0
  300. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptionsInput/index.md +5 -0
  301. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ToColumns/index.md +11 -0
  302. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/WithDefaults/index.md +27 -0
  303. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/AutoIncrement/index.md +5 -0
  304. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ClientDocumentTableDefSymbol/index.md +5 -0
  305. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ColumnType/index.md +5 -0
  306. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Default/index.md +5 -0
  307. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/PrimaryKeyId/index.md +5 -0
  308. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/TableDefInternalsSymbol/index.md +5 -0
  309. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Unique/index.md +5 -0
  310. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/blob/index.md +5 -0
  311. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/boolean/index.md +5 -0
  312. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/clientDocument/index.md +56 -0
  313. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/column/index.md +21 -0
  314. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/createOptimisticEventSchema/index.md +43 -0
  315. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/datetime/index.md +5 -0
  316. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/getColumnDefForSchema/index.md +29 -0
  317. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/integer/index.md +5 -0
  318. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/isColumnDefinition/index.md +15 -0
  319. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/json/index.md +5 -0
  320. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeColumnSpec/index.md +22 -0
  321. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeState/index.md +21 -0
  322. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/real/index.md +5 -0
  323. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/tableIsClientDocumentTable/index.md +21 -0
  324. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/text/index.md +5 -0
  325. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withAutoIncrement/index.md +23 -0
  326. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withColumnType/index.md +61 -0
  327. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withDefault/index.md +61 -0
  328. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withPrimaryKey/index.md +23 -0
  329. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withUnique/index.md +23 -0
  330. package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderAstSymbol/index.md +5 -0
  331. package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderTypeId/index.md +5 -0
  332. package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderAstSymbol/index.md +5 -0
  333. package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderTypeId/index.md +5 -0
  334. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeContext/index.md +105 -0
  335. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResult/index.md +29 -0
  336. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultAdvance/index.md +125 -0
  337. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultRebase/index.md +125 -0
  338. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultReject/index.md +117 -0
  339. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultUnknownError/index.md +63 -0
  340. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/Payload/index.md +29 -0
  341. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadLocalPush/index.md +29 -0
  342. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstream/index.md +29 -0
  343. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamAdvance/index.md +29 -0
  344. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamRebase/index.md +31 -0
  345. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/SyncState/index.md +179 -0
  346. package/docs/api/livestore/@livestore/namespaces/SyncState/variables/findDivergencePoint/index.md +36 -0
  347. package/docs/api/livestore/@livestore/namespaces/SyncState/variables/merge/index.md +35 -0
  348. package/docs/api/livestore/@livestore/namespaces/SyncState/variables/payloadFromMergeResult/index.md +15 -0
  349. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/EventlogMetaRow/index.md +5 -0
  350. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaEventDefsMetaRow/index.md +5 -0
  351. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaMetaRow/index.md +5 -0
  352. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SessionChangesetMetaRow/index.md +5 -0
  353. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SyncStatusRow/index.md +5 -0
  354. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/EVENTLOG_META_TABLE/index.md +12 -0
  355. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_EVENT_DEFS_META_TABLE/index.md +5 -0
  356. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_META_TABLE/index.md +10 -0
  357. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SESSION_CHANGESET_META_TABLE/index.md +8 -0
  358. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SYNC_STATUS_TABLE/index.md +5 -0
  359. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogMetaTable/index.md +7 -0
  360. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogSystemTables/index.md +5 -0
  361. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/isStateSystemTable/index.md +15 -0
  362. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaEventDefsMetaTable/index.md +7 -0
  363. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaMetaTable/index.md +7 -0
  364. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/sessionChangesetMetaTable/index.md +5 -0
  365. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/stateSystemTables/index.md +5 -0
  366. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/syncStatusTable/index.md +7 -0
  367. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Callback/index.md +19 -0
  368. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingConfig/index.md +5 -0
  369. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingStrategy/index.md +5 -0
  370. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Reason/index.md +5 -0
  371. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/ResolveContext/index.md +5 -0
  372. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Resolved/index.md +5 -0
  373. package/docs/api/livestore/README/index.md +128 -0
  374. package/docs/api/livestore/classes/IntentionalShutdownCause/index.md +107 -0
  375. package/docs/api/livestore/classes/SqliteDbWrapper/index.md +538 -0
  376. package/docs/api/livestore/classes/Store/index.md +605 -0
  377. package/docs/api/livestore/classes/StoreInterrupted/index.md +107 -0
  378. package/docs/api/livestore/functions/computed/index.md +31 -0
  379. package/docs/api/livestore/functions/createStore/index.md +29 -0
  380. package/docs/api/livestore/functions/createStorePromise/index.md +31 -0
  381. package/docs/api/livestore/functions/emptyDebugInfo/index.md +25 -0
  382. package/docs/api/livestore/functions/exposeDebugUtils/index.md +9 -0
  383. package/docs/api/livestore/functions/extractStackInfoFromStackTrace/index.md +15 -0
  384. package/docs/api/livestore/functions/isQueryable/index.md +15 -0
  385. package/docs/api/livestore/functions/nanoid/index.md +39 -0
  386. package/docs/api/livestore/functions/signal/index.md +27 -0
  387. package/docs/api/livestore/functions/stackInfoToString/index.md +15 -0
  388. package/docs/api/livestore/interfaces/ClientSession/index.md +89 -0
  389. package/docs/api/livestore/interfaces/CreateStoreOptions/index.md +280 -0
  390. package/docs/api/livestore/interfaces/InputSchema/index.md +50 -0
  391. package/docs/api/livestore/interfaces/InternalState/index.md +33 -0
  392. package/docs/api/livestore/interfaces/LiveQuery/index.md +139 -0
  393. package/docs/api/livestore/interfaces/LiveQueryDef/index.md +95 -0
  394. package/docs/api/livestore/interfaces/LiveStoreSchema/index.md +83 -0
  395. package/docs/api/livestore/interfaces/PreparedStatement/index.md +71 -0
  396. package/docs/api/livestore/interfaces/RcRef/index.md +37 -0
  397. package/docs/api/livestore/interfaces/Signal/index.md +321 -0
  398. package/docs/api/livestore/interfaces/SignalDef/index.md +119 -0
  399. package/docs/api/livestore/interfaces/SqliteDb/index.md +249 -0
  400. package/docs/api/livestore/type-aliases/Adapter/index.md +15 -0
  401. package/docs/api/livestore/type-aliases/Bindable/index.md +5 -0
  402. package/docs/api/livestore/type-aliases/BootStatus/index.md +5 -0
  403. package/docs/api/livestore/type-aliases/BootStatus-1/index.md +5 -0
  404. package/docs/api/livestore/type-aliases/DebugInfo/index.md +5 -0
  405. package/docs/api/livestore/type-aliases/DebugInfo-1/index.md +5 -0
  406. package/docs/api/livestore/type-aliases/DefineEventOptions/index.md +100 -0
  407. package/docs/api/livestore/type-aliases/EventDef/index.md +172 -0
  408. package/docs/api/livestore/type-aliases/EventDefFact/index.md +7 -0
  409. package/docs/api/livestore/type-aliases/EventDefFactInput/index.md +18 -0
  410. package/docs/api/livestore/type-aliases/EventDefFacts/index.md +7 -0
  411. package/docs/api/livestore/type-aliases/EventDefFactsGroup/index.md +50 -0
  412. package/docs/api/livestore/type-aliases/EventDefFactsSnapshot/index.md +7 -0
  413. package/docs/api/livestore/type-aliases/EventDefKey/index.md +7 -0
  414. package/docs/api/livestore/type-aliases/EventDefMap/index.md +16 -0
  415. package/docs/api/livestore/type-aliases/EventDefRecord/index.md +21 -0
  416. package/docs/api/livestore/type-aliases/FactsCallback/index.md +60 -0
  417. package/docs/api/livestore/type-aliases/LiveStoreContext/index.md +5 -0
  418. package/docs/api/livestore/type-aliases/LiveStoreContextRunning/index.md +21 -0
  419. package/docs/api/livestore/type-aliases/LiveStoreSchemaSymbol/index.md +5 -0
  420. package/docs/api/livestore/type-aliases/Materializer/index.md +59 -0
  421. package/docs/api/livestore/type-aliases/MaterializerContextQuery/index.md +64 -0
  422. package/docs/api/livestore/type-aliases/MaterializerResult/index.md +12 -0
  423. package/docs/api/livestore/type-aliases/MutableDebugInfo/index.md +5 -0
  424. package/docs/api/livestore/type-aliases/MutableDebugInfo-1/index.md +5 -0
  425. package/docs/api/livestore/type-aliases/OtelOptions/index.md +21 -0
  426. package/docs/api/livestore/type-aliases/PreparedBindValues/index.md +5 -0
  427. package/docs/api/livestore/type-aliases/PreparedBindValues-1/index.md +5 -0
  428. package/docs/api/livestore/type-aliases/QueryBuilder/index.md +61 -0
  429. package/docs/api/livestore/type-aliases/QueryBuilderAst/index.md +5 -0
  430. package/docs/api/livestore/type-aliases/QueryDebugInfo/index.md +37 -0
  431. package/docs/api/livestore/type-aliases/Queryable/index.md +13 -0
  432. package/docs/api/livestore/type-aliases/RefreshReason/index.md +75 -0
  433. package/docs/api/livestore/type-aliases/SessionIdSymbol/index.md +5 -0
  434. package/docs/api/livestore/type-aliases/ShutdownDeferred/index.md +5 -0
  435. package/docs/api/livestore/type-aliases/StackFrame/index.md +21 -0
  436. package/docs/api/livestore/type-aliases/StackInfo/index.md +13 -0
  437. package/docs/api/livestore/type-aliases/StoreInternals/index.md +156 -0
  438. package/docs/api/livestore/type-aliases/StoreInternalsSymbol/index.md +5 -0
  439. package/docs/api/livestore/type-aliases/SubscribeOptions/index.md +73 -0
  440. package/docs/api/livestore/type-aliases/Unsubscribe/index.md +9 -0
  441. package/docs/api/livestore/variables/LiveStoreSchemaSymbol/index.md +5 -0
  442. package/docs/api/livestore/variables/SessionIdSymbol/index.md +26 -0
  443. package/docs/api/livestore/variables/StoreInternalsSymbol/index.md +5 -0
  444. package/docs/api/livestore/variables/UNKNOWN_EVENT_SCHEMA_HASH/index.md +5 -0
  445. package/docs/api/livestore/variables/clientOnly/index.md +54 -0
  446. package/docs/api/livestore/variables/deepEqual/index.md +25 -0
  447. package/docs/api/livestore/variables/defineEvent/index.md +49 -0
  448. package/docs/api/livestore/variables/defineFacts/index.md +42 -0
  449. package/docs/api/livestore/variables/defineMaterializer/index.md +39 -0
  450. package/docs/api/livestore/variables/getDefaultValuesDecoded/index.md +25 -0
  451. package/docs/api/livestore/variables/getDefaultValuesEncoded/index.md +25 -0
  452. package/docs/api/livestore/variables/getEventDef/index.md +33 -0
  453. package/docs/api/livestore/variables/isLiveStoreSchema/index.md +21 -0
  454. package/docs/api/livestore/variables/liveStoreVersion/index.md +5 -0
  455. package/docs/api/livestore/variables/makeSchema/index.md +21 -0
  456. package/docs/api/livestore/variables/makeShutdownDeferred/index.md +5 -0
  457. package/docs/api/livestore/variables/materializers/index.md +58 -0
  458. package/docs/api/livestore/variables/normalizeUnknownEventHandling/index.md +15 -0
  459. package/docs/api/livestore/variables/prepareBindValues/index.md +26 -0
  460. package/docs/api/livestore/variables/provideOtel/index.md +45 -0
  461. package/docs/api/livestore/variables/queryDb/index.md +115 -0
  462. package/docs/api/livestore/variables/resolveEventDef/index.md +28 -0
  463. package/docs/api/livestore/variables/sql/index.md +24 -0
  464. package/docs/api/livestore/variables/synced/index.md +55 -0
  465. package/docs/api/react/README/index.md +24 -0
  466. package/docs/api/react/functions/LiveStoreProvider/index.md +21 -0
  467. package/docs/api/react/functions/useQuery/index.md +37 -0
  468. package/docs/api/react/functions/useQueryRef/index.md +69 -0
  469. package/docs/api/react/functions/useStackInfo/index.md +9 -0
  470. package/docs/api/react/functions/useStore/index.md +21 -0
  471. package/docs/api/react/functions/withReactApi/index.md +21 -0
  472. package/docs/api/react/type-aliases/Dispatch/index.md +21 -0
  473. package/docs/api/react/type-aliases/ReactApi/index.md +21 -0
  474. package/docs/api/react/type-aliases/SetStateAction/index.md +11 -0
  475. package/docs/api/react/type-aliases/SetStateActionPartial/index.md +11 -0
  476. package/docs/api/react/type-aliases/StateSetters/index.md +11 -0
  477. package/docs/api/react/type-aliases/UseClientDocumentResult/index.md +11 -0
  478. package/docs/api/react/variables/LiveStoreContext/index.md +5 -0
  479. package/docs/api/react/variables/useClientDocument/index.md +91 -0
  480. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/ReadableStream/index.md +5 -0
  481. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Request/index.md +5 -0
  482. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Response/index.md +5 -0
  483. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Rpc/index.md +5 -0
  484. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocket/index.md +5 -0
  485. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketPair/index.md +5 -0
  486. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketRequestResponsePair/index.md +5 -0
  487. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortController/index.md +53 -0
  488. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortSignal/index.md +269 -0
  489. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Ai/index.md +175 -0
  490. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AiGateway/index.md +99 -0
  491. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AutoRAG/index.md +95 -0
  492. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiAutomaticSpeechRecognition/index.md +29 -0
  493. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageClassification/index.md +29 -0
  494. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageTextToText/index.md +29 -0
  495. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageToText/index.md +29 -0
  496. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiMultimodalEmbeddings/index.md +29 -0
  497. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiObjectDetection/index.md +29 -0
  498. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSentenceSimilarity/index.md +29 -0
  499. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSummarization/index.md +29 -0
  500. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextClassification/index.md +29 -0
  501. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextEmbeddings/index.md +29 -0
  502. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextGeneration/index.md +29 -0
  503. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToImage/index.md +29 -0
  504. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToSpeech/index.md +29 -0
  505. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTranslation/index.md +29 -0
  506. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Base_En_V1_5/index.md +29 -0
  507. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Large_En_V1_5/index.md +29 -0
  508. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_M3/index.md +29 -0
  509. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Reranker_Base/index.md +29 -0
  510. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Small_En_V1_5/index.md +29 -0
  511. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Black_Forest_Labs_Flux_1_Schnell/index.md +29 -0
  512. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Aura_1/index.md +29 -0
  513. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Nova_3/index.md +29 -0
  514. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Google_Gemma_3_12B_It/index.md +29 -0
  515. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Lucid_Origin/index.md +29 -0
  516. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Phoenix_1_0/index.md +29 -0
  517. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct/index.md +29 -0
  518. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast/index.md +29 -0
  519. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct/index.md +29 -0
  520. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_Guard_3_8B/index.md +29 -0
  521. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_M2M100_1_2B/index.md +29 -0
  522. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct/index.md +29 -0
  523. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_120B/index.md +29 -0
  524. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_20B/index.md +29 -0
  525. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper/index.md +29 -0
  526. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Large_V3_Turbo/index.md +29 -0
  527. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Tiny_En/index.md +29 -0
  528. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2/index.md +29 -0
  529. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct/index.md +29 -0
  530. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwq_32B/index.md +29 -0
  531. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Unum_Uform_Gen2_Qwen_500M/index.md +29 -0
  532. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Blob/index.md +151 -0
  533. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Body/index.md +112 -0
  534. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ByteLengthQueuingStrategy/index.md +79 -0
  535. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Cache/index.md +83 -0
  536. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CacheStorage/index.md +47 -0
  537. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CloseEvent/index.md +415 -0
  538. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CompressionStream/index.md +65 -0
  539. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CountQueuingStrategy/index.md +79 -0
  540. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Crypto/index.md +86 -0
  541. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CryptoKey/index.md +66 -0
  542. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CustomEvent/index.md +403 -0
  543. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1Database/index.md +113 -0
  544. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1DatabaseSession/index.md +70 -0
  545. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1PreparedStatement/index.md +161 -0
  546. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DOMException/index.md +451 -0
  547. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DecompressionStream/index.md +65 -0
  548. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DigestStream/index.md +137 -0
  549. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DurableObjectNamespace/index.md +135 -0
  550. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EmailEvent/index.md +413 -0
  551. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ErrorEvent/index.md +469 -0
  552. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Event/index.md +296 -0
  553. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventSource/index.md +345 -0
  554. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventTarget/index.md +127 -0
  555. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ExtendableEvent/index.md +409 -0
  556. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FetchEvent/index.md +451 -0
  557. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/File/index.md +211 -0
  558. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FixedLengthStream/index.md +69 -0
  559. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FormData/index.md +295 -0
  560. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/HTMLRewriter/index.md +73 -0
  561. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Headers/index.md +237 -0
  562. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/IdentityTransformStream/index.md +69 -0
  563. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/MessageEvent/index.md +439 -0
  564. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Performance/index.md +44 -0
  565. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/PromiseRejectionEvent/index.md +403 -0
  566. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Bucket/index.md +207 -0
  567. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Object/index.md +131 -0
  568. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamBYOBReader/index.md +123 -0
  569. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamDefaultReader/index.md +89 -0
  570. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ScheduledEvent/index.md +433 -0
  571. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageCursor/index.md +121 -0
  572. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageStatement/index.md +13 -0
  573. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SubtleCrypto/index.md +432 -0
  574. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TailEvent/index.md +421 -0
  575. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoder/index.md +79 -0
  576. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoderStream/index.md +111 -0
  577. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoder/index.md +75 -0
  578. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoderStream/index.md +73 -0
  579. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ToMarkdownService/index.md +69 -0
  580. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TransformStream/index.md +75 -0
  581. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URL/index.md +201 -0
  582. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLPattern/index.md +185 -0
  583. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLSearchParams/index.md +287 -0
  584. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Vectorize/index.md +189 -0
  585. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/VectorizeIndex/index.md +160 -0
  586. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WebSocketRequestResponsePair/index.md +53 -0
  587. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkerGlobalScope/index.md +145 -0
  588. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Workflow/index.md +92 -0
  589. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkflowInstance/index.md +117 -0
  590. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStream/index.md +105 -0
  591. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStreamDefaultWriter/index.md +143 -0
  592. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/addEventListener/index.md +29 -0
  593. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/atob/index.md +15 -0
  594. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/btoa/index.md +15 -0
  595. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearInterval/index.md +15 -0
  596. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearTimeout/index.md +15 -0
  597. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/dispatchEvent/index.md +19 -0
  598. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/fetch/index.md +19 -0
  599. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/queueMicrotask/index.md +15 -0
  600. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/removeEventListener/index.md +29 -0
  601. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/reportError/index.md +15 -0
  602. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setInterval/index.md +51 -0
  603. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setTimeout/index.md +51 -0
  604. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/structuredClone/index.md +25 -0
  605. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayInternalError/index.md +55 -0
  606. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayLogNotFound/index.md +55 -0
  607. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiInternalError/index.md +55 -0
  608. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiModels/index.md +611 -0
  609. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Input/index.md +29 -0
  610. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Output/index.md +23 -0
  611. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Input/index.md +23 -0
  612. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Output/index.md +13 -0
  613. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Aura_1_Input/index.md +63 -0
  614. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Input/index.md +369 -0
  615. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Output/index.md +47 -0
  616. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Input/index.md +73 -0
  617. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Output/index.md +13 -0
  618. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Phoenix_1_0_Input/index.md +73 -0
  619. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Async_Batch/index.md +11 -0
  620. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages/index.md +181 -0
  621. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages_Inner/index.md +181 -0
  622. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt/index.md +131 -0
  623. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt_Inner/index.md +131 -0
  624. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Input/index.md +61 -0
  625. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Output/index.md +57 -0
  626. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Input/index.md +63 -0
  627. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output/index.md +119 -0
  628. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Output/index.md +53 -0
  629. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Tiny_En_Output/index.md +53 -0
  630. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output/index.md +23 -0
  631. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Output/index.md +11 -0
  632. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AlarmInvocationInfo/index.md +19 -0
  633. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataPoint/index.md +27 -0
  634. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataset/index.md +21 -0
  635. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncBatch/index.md +75 -0
  636. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncResponse/index.md +13 -0
  637. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGInternalError/index.md +55 -0
  638. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNameNotSetError/index.md +55 -0
  639. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNotFoundError/index.md +55 -0
  640. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGUnauthorizedError/index.md +55 -0
  641. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding/index.md +21 -0
  642. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding1/index.md +21 -0
  643. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts/index.md +39 -0
  644. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts1/index.md +39 -0
  645. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputEmbedding/index.md +31 -0
  646. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputQuery/index.md +23 -0
  647. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OutputEmbeddingForContexts/index.md +29 -0
  648. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformations/index.md +115 -0
  649. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformationsGravityCoordinates/index.md +27 -0
  650. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BlobOptions/index.md +11 -0
  651. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CacheQueryOptions/index.md +11 -0
  652. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CloseEventInit/index.md +27 -0
  653. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Cloudflare/index.md +11 -0
  654. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Comment/index.md +97 -0
  655. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Console/index.md +439 -0
  656. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Container/index.md +155 -0
  657. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContainerStartupOptions/index.md +35 -0
  658. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContentOptions/index.md +11 -0
  659. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyAesKeyAlgorithm/index.md +19 -0
  660. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyArbitraryKeyAlgorithm/index.md +35 -0
  661. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyEllipticKeyAlgorithm/index.md +19 -0
  662. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyHmacKeyAlgorithm/index.md +27 -0
  663. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyKeyAlgorithm/index.md +11 -0
  664. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyPair/index.md +19 -0
  665. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyRsaKeyAlgorithm/index.md +35 -0
  666. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CustomEventCustomEventInit/index.md +35 -0
  667. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1ExecResult/index.md +19 -0
  668. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Meta/index.md +104 -0
  669. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Response/index.md +27 -0
  670. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DispatchNamespace/index.md +75 -0
  671. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Disposable/index.md +7 -0
  672. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Doctype/index.md +27 -0
  673. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DocumentEnd/index.md +25 -0
  674. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObject/index.md +113 -0
  675. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectClass/index.md +9 -0
  676. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetAlarmOptions/index.md +11 -0
  677. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetOptions/index.md +19 -0
  678. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectId/index.md +41 -0
  679. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectListOptions/index.md +67 -0
  680. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceGetDurableObjectOptions/index.md +11 -0
  681. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceNewUniqueIdOptions/index.md +11 -0
  682. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectPutOptions/index.md +27 -0
  683. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectSetAlarmOptions/index.md +19 -0
  684. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectState/index.md +237 -0
  685. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectStorage/index.md +387 -0
  686. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectTransaction/index.md +257 -0
  687. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchLimits/index.md +23 -0
  688. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchOptions/index.md +27 -0
  689. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Element/index.md +285 -0
  690. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EmailMessage/index.md +29 -0
  691. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EndTag/index.md +67 -0
  692. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ErrorEventErrorEventInit/index.md +43 -0
  693. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventInit/index.md +27 -0
  694. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventListenerObject/index.md +27 -0
  695. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventSourceEventSourceInit/index.md +55 -0
  696. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetAddEventListenerOptions/index.md +35 -0
  697. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetEventListenerOptions/index.md +11 -0
  698. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetHandlerObject/index.md +21 -0
  699. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExecutionContext/index.md +47 -0
  700. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExportedHandler/index.md +81 -0
  701. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FetcherPutOptions/index.md +19 -0
  702. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FileOptions/index.md +19 -0
  703. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ForwardableEmailMessage/index.md +145 -0
  704. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses/index.md +33 -0
  705. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses_Async/index.md +33 -0
  706. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses/index.md +33 -0
  707. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses_Async/index.md +33 -0
  708. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Messages/index.md +167 -0
  709. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Prompt/index.md +123 -0
  710. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterDocumentContentHandlers/index.md +75 -0
  711. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterElementContentHandlers/index.md +57 -0
  712. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HelloWorldBinding/index.md +39 -0
  713. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Hyperdrive/index.md +77 -0
  714. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IdentityTransformStreamQueuingStrategy/index.md +11 -0
  715. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformationResult/index.md +51 -0
  716. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformer/index.md +76 -0
  717. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesBinding/index.md +61 -0
  718. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesError/index.md +63 -0
  719. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBase/index.md +198 -0
  720. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagement/index.md +31 -0
  721. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementBase/index.md +62 -0
  722. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementEnterprise/index.md +48 -0
  723. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareAccessOrApiShield/index.md +24 -0
  724. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareForSaaSEnterprise/index.md +22 -0
  725. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesExportedAuthenticatorMetadata/index.md +69 -0
  726. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesGeographicInformation/index.md +189 -0
  727. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuth/index.md +256 -0
  728. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuthPlaceholder/index.md +141 -0
  729. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/InferenceUpstreamError/index.md +55 -0
  730. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JSONMode/index.md +19 -0
  731. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKey/index.md +151 -0
  732. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKeyWithKid/index.md +231 -0
  733. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespace/index.md +769 -0
  734. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetOptions/index.md +25 -0
  735. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetWithMetadataResult/index.md +37 -0
  736. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListKey/index.md +37 -0
  737. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListOptions/index.md +27 -0
  738. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespacePutOptions/index.md +27 -0
  739. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaBinding/index.md +30 -0
  740. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaError/index.md +66 -0
  741. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationGenerator/index.md +30 -0
  742. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationResult/index.md +54 -0
  743. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformer/index.md +30 -0
  744. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Message/index.md +71 -0
  745. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageBatch/index.md +55 -0
  746. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageEventInit/index.md +11 -0
  747. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePort/index.md +205 -0
  748. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePortPostMessageOptions/index.md +11 -0
  749. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageSendRequest/index.md +33 -0
  750. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Messages/index.md +161 -0
  751. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Messages/index.md +159 -0
  752. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Prompt/index.md +131 -0
  753. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Messages/index.md +173 -0
  754. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Prompt/index.md +123 -0
  755. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Prompt/index.md +131 -0
  756. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/PubSubMessage/index.md +75 -0
  757. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Queue/index.md +53 -0
  758. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueEvent/index.md +383 -0
  759. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueRetryOptions/index.md +11 -0
  760. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendBatchOptions/index.md +11 -0
  761. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendOptions/index.md +19 -0
  762. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategy/index.md +35 -0
  763. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategyInit/index.md +15 -0
  764. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Messages/index.md +159 -0
  765. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Prompt/index.md +131 -0
  766. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Messages/index.md +173 -0
  767. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Prompt/index.md +123 -0
  768. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Checksums/index.md +55 -0
  769. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Conditional/index.md +43 -0
  770. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Error/index.md +71 -0
  771. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2GetOptions/index.md +27 -0
  772. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2HTTPMetadata/index.md +51 -0
  773. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ListOptions/index.md +43 -0
  774. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartOptions/index.md +35 -0
  775. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartUpload/index.md +75 -0
  776. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ObjectBody/index.md +267 -0
  777. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2PutOptions/index.md +83 -0
  778. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2StringChecksums/index.md +43 -0
  779. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadPartOptions/index.md +11 -0
  780. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadedPart/index.md +19 -0
  781. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimit/index.md +29 -0
  782. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOptions/index.md +11 -0
  783. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOutcome/index.md +11 -0
  784. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableByteStreamController/index.md +103 -0
  785. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStream/index.md +195 -0
  786. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptions/index.md +11 -0
  787. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBRequest/index.md +83 -0
  788. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamDefaultController/index.md +91 -0
  789. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamGetReaderOptions/index.md +15 -0
  790. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamValuesOptions/index.md +11 -0
  791. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableWritablePair/index.md +33 -0
  792. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Request/index.md +263 -0
  793. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInit/index.md +81 -0
  794. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfProperties/index.md +154 -0
  795. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImage/index.md +372 -0
  796. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageDraw/index.md +222 -0
  797. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageMinify/index.md +27 -0
  798. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesR2/index.md +13 -0
  799. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Response/index.md +253 -0
  800. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ResponseInit/index.md +51 -0
  801. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RsaOtherPrimesInfo/index.md +27 -0
  802. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScheduledController/index.md +31 -0
  803. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Scheduler/index.md +25 -0
  804. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SchedulerWaitOptions/index.md +11 -0
  805. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScriptVersion/index.md +27 -0
  806. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SecretsStoreSecret/index.md +18 -0
  807. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SendEmail/index.md +23 -0
  808. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ServiceWorkerGlobalScope/index.md +1042 -0
  809. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Socket/index.md +117 -0
  810. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketAddress/index.md +19 -0
  811. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketInfo/index.md +19 -0
  812. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketOptions/index.md +27 -0
  813. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SqlStorage/index.md +61 -0
  814. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StreamPipeOptions/index.md +51 -0
  815. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StructuredSerializeOptions/index.md +11 -0
  816. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoDeriveKeyAlgorithm/index.md +51 -0
  817. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoEncryptAlgorithm/index.md +59 -0
  818. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoGenerateKeyAlgorithm/index.md +51 -0
  819. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoHashAlgorithm/index.md +11 -0
  820. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoImportKeyAlgorithm/index.md +43 -0
  821. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoSignAlgorithm/index.md +35 -0
  822. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvListOptions/index.md +51 -0
  823. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvStorage/index.md +97 -0
  824. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TestController/index.md +3 -0
  825. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Text/index.md +105 -0
  826. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderConstructorOptions/index.md +19 -0
  827. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderDecodeOptions/index.md +11 -0
  828. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderStreamTextDecoderStreamInit/index.md +19 -0
  829. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextEncoderEncodeIntoResult/index.md +19 -0
  830. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TlsOptions/index.md +11 -0
  831. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceDiagnosticChannelEvent/index.md +27 -0
  832. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceException/index.md +35 -0
  833. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItem/index.md +131 -0
  834. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemAlarmEventInfo/index.md +11 -0
  835. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemCustomEventInfo/index.md +3 -0
  836. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemEmailEventInfo/index.md +27 -0
  837. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfo/index.md +19 -0
  838. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoRequest/index.md +47 -0
  839. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoResponse/index.md +11 -0
  840. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfo/index.md +11 -0
  841. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoClose/index.md +27 -0
  842. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoError/index.md +11 -0
  843. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoMessage/index.md +11 -0
  844. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemJsRpcEventInfo/index.md +11 -0
  845. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemQueueEventInfo/index.md +19 -0
  846. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemScheduledEventInfo/index.md +19 -0
  847. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfo/index.md +11 -0
  848. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfoTailItem/index.md +11 -0
  849. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceLog/index.md +27 -0
  850. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceMetrics/index.md +19 -0
  851. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TransformStreamDefaultController/index.md +91 -0
  852. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Transformer/index.md +113 -0
  853. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternComponentResult/index.md +19 -0
  854. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternInit/index.md +75 -0
  855. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternOptions/index.md +11 -0
  856. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternResult/index.md +75 -0
  857. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingByteSource/index.md +73 -0
  858. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSink/index.md +87 -0
  859. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSource/index.md +79 -0
  860. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnsafeTraceMetrics/index.md +21 -0
  861. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeAsyncMutation/index.md +16 -0
  862. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeError/index.md +19 -0
  863. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexDetails/index.md +58 -0
  864. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexInfo/index.md +45 -0
  865. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeMatches/index.md +21 -0
  866. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeQueryOptions/index.md +43 -0
  867. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVector/index.md +45 -0
  868. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVectorMutation/index.md +25 -0
  869. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WebSocket/index.md +255 -0
  870. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoader/index.md +25 -0
  871. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderModule/index.md +59 -0
  872. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderWorkerCode/index.md +147 -0
  873. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStub/index.md +31 -0
  874. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStubEntrypointOptions/index.md +11 -0
  875. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowError/index.md +19 -0
  876. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowInstanceCreateOptions/index.md +48 -0
  877. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WritableStreamDefaultController/index.md +47 -0
  878. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/Env/index.md +3 -0
  879. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/GlobalProps/index.md +3 -0
  880. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/Exports/index.md +5 -0
  881. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/GlobalProp/index.md +15 -0
  882. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/MainModule/index.md +5 -0
  883. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/DurableObject/index.md +161 -0
  884. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/RpcTarget/index.md +29 -0
  885. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkerEntrypoint/index.md +195 -0
  886. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowEntrypoint/index.md +73 -0
  887. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowStep/index.md +151 -0
  888. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/functions/waitUntil/index.md +15 -0
  889. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/RpcStub/index.md +11 -0
  890. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowBackoff/index.md +5 -0
  891. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDelayDuration/index.md +5 -0
  892. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDurationLabel/index.md +5 -0
  893. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowEvent/index.md +35 -0
  894. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowRetentionDuration/index.md +5 -0
  895. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowSleepDuration/index.md +5 -0
  896. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepConfig/index.md +33 -0
  897. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepEvent/index.md +35 -0
  898. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowTimeoutDuration/index.md +5 -0
  899. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/RpcStub/index.md +15 -0
  900. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/env/index.md +5 -0
  901. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/DurableObjectBranded/index.md +11 -0
  902. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/RpcTargetBranded/index.md +11 -0
  903. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/StubBase/index.md +33 -0
  904. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkerEntrypointBranded/index.md +11 -0
  905. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkflowEntrypointBranded/index.md +11 -0
  906. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/BaseType/index.md +5 -0
  907. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/EntrypointBranded/index.md +5 -0
  908. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeCallableProvider/index.md +11 -0
  909. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeDisposable/index.md +11 -0
  910. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeProvider/index.md +11 -0
  911. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MethodOrProperty/index.md +11 -0
  912. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Provider/index.md +15 -0
  913. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Result/index.md +11 -0
  914. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Serializable/index.md +11 -0
  915. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stub/index.md +11 -0
  916. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubable/index.md +5 -0
  917. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubify/index.md +11 -0
  918. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Unstubify/index.md +11 -0
  919. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/UnstubifyAll/index.md +11 -0
  920. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/DURABLE_OBJECT_BRAND/index.md +5 -0
  921. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_STUB_BRAND/index.md +5 -0
  922. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_TARGET_BRAND/index.md +5 -0
  923. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKER_ENTRYPOINT_BRAND/index.md +5 -0
  924. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKFLOW_ENTRYPOINT_BRAND/index.md +5 -0
  925. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/AlarmEventInfo/index.md +19 -0
  926. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attribute/index.md +19 -0
  927. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attributes/index.md +19 -0
  928. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/CustomEventInfo/index.md +11 -0
  929. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/DiagnosticChannelEvent/index.md +27 -0
  930. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/EmailEventInfo/index.md +35 -0
  931. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Exception/index.md +35 -0
  932. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchEventInfo/index.md +43 -0
  933. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchResponseInfo/index.md +19 -0
  934. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Header/index.md +19 -0
  935. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfo/index.md +19 -0
  936. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoClose/index.md +27 -0
  937. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoError/index.md +11 -0
  938. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoMessage/index.md +11 -0
  939. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/JsRpcEventInfo/index.md +11 -0
  940. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Log/index.md +27 -0
  941. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Onset/index.md +83 -0
  942. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Outcome/index.md +35 -0
  943. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/QueueEventInfo/index.md +27 -0
  944. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Return/index.md +19 -0
  945. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScheduledEventInfo/index.md +27 -0
  946. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScriptVersion/index.md +27 -0
  947. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanClose/index.md +19 -0
  948. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanContext/index.md +19 -0
  949. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanOpen/index.md +35 -0
  950. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TailEvent/index.md +49 -0
  951. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TraceEventInfo/index.md +19 -0
  952. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventOutcome/index.md +5 -0
  953. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventType/index.md +5 -0
  954. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandler/index.md +21 -0
  955. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerObject/index.md +69 -0
  956. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerType/index.md +5 -0
  957. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/CompileError/index.md +199 -0
  958. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Global/index.md +45 -0
  959. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Instance/index.md +33 -0
  960. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Memory/index.md +47 -0
  961. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Module/index.md +71 -0
  962. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/RuntimeError/index.md +199 -0
  963. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Table/index.md +95 -0
  964. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/instantiate/index.md +19 -0
  965. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/validate/index.md +15 -0
  966. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/GlobalDescriptor/index.md +19 -0
  967. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/MemoryDescriptor/index.md +27 -0
  968. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleExportDescriptor/index.md +19 -0
  969. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleImportDescriptor/index.md +27 -0
  970. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/TableDescriptor/index.md +27 -0
  971. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ExportValue/index.md +5 -0
  972. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Exports/index.md +5 -0
  973. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportExportKind/index.md +5 -0
  974. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportValue/index.md +5 -0
  975. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Imports/index.md +5 -0
  976. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ModuleImports/index.md +5 -0
  977. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/TableKind/index.md +5 -0
  978. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ValueType/index.md +5 -0
  979. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayHeaders/index.md +113 -0
  980. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayProviders/index.md +5 -0
  981. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayUniversalRequest/index.md +37 -0
  982. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionInput/index.md +13 -0
  983. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionOutput/index.md +41 -0
  984. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayLog/index.md +205 -0
  985. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayPatchLog/index.md +29 -0
  986. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiIMultimodalEmbeddingsOutput/index.md +21 -0
  987. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationInput/index.md +13 -0
  988. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationOutput/index.md +15 -0
  989. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextInput/index.md +109 -0
  990. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextOutput/index.md +13 -0
  991. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextInput/index.md +101 -0
  992. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextOutput/index.md +13 -0
  993. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelListType/index.md +5 -0
  994. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchObject/index.md +81 -0
  995. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchParams/index.md +61 -0
  996. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiMultimodalEmbeddingsInput/index.md +21 -0
  997. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionInput/index.md +13 -0
  998. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionOutput/index.md +15 -0
  999. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiOptions/index.md +58 -0
  1000. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityInput/index.md +21 -0
  1001. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityOutput/index.md +5 -0
  1002. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationInput/index.md +21 -0
  1003. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationOutput/index.md +13 -0
  1004. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationInput/index.md +13 -0
  1005. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationOutput/index.md +15 -0
  1006. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsInput/index.md +13 -0
  1007. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsOutput/index.md +21 -0
  1008. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationFunctionsInput/index.md +21 -0
  1009. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationInput/index.md +125 -0
  1010. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationOutput/index.md +29 -0
  1011. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationResponseFormat/index.md +21 -0
  1012. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolInput/index.md +49 -0
  1013. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyInput/index.md +45 -0
  1014. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyOutput/index.md +21 -0
  1015. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolOutput/index.md +37 -0
  1016. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageInput/index.md +93 -0
  1017. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageOutput/index.md +5 -0
  1018. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechInput/index.md +21 -0
  1019. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechOutput/index.md +5 -0
  1020. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationInput/index.md +29 -0
  1021. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationOutput/index.md +13 -0
  1022. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Input/index.md +27 -0
  1023. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Output/index.md +27 -0
  1024. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Input/index.md +27 -0
  1025. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Output/index.md +27 -0
  1026. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Input/index.md +19 -0
  1027. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Output/index.md +5 -0
  1028. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Input/index.md +27 -0
  1029. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Output/index.md +27 -0
  1030. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Deepgram_Aura_1_Output/index.md +7 -0
  1031. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Input/index.md +5 -0
  1032. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Output/index.md +65 -0
  1033. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Leonardo_Phoenix_1_0_Output/index.md +7 -0
  1034. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Input/index.md +5 -0
  1035. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Output/index.md +37 -0
  1036. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Input/index.md +5 -0
  1037. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Output/index.md +49 -0
  1038. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Input/index.md +5 -0
  1039. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output/index.md +83 -0
  1040. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Input/index.md +35 -0
  1041. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Output/index.md +17 -0
  1042. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Input/index.md +5 -0
  1043. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Output/index.md +65 -0
  1044. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Input/index.md +5 -0
  1045. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Output/index.md +5 -0
  1046. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Input/index.md +5 -0
  1047. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Output/index.md +5 -0
  1048. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Input/index.md +17 -0
  1049. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Tiny_En_Input/index.md +17 -0
  1050. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Input/index.md +43 -0
  1051. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Input/index.md +5 -0
  1052. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Output/index.md +65 -0
  1053. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Input/index.md +5 -0
  1054. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Output/index.md +65 -0
  1055. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Input/index.md +69 -0
  1056. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequest/index.md +15 -0
  1057. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequestStreaming/index.md +11 -0
  1058. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchResponse/index.md +11 -0
  1059. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagListResponse/index.md +35 -0
  1060. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchRequest/index.md +69 -0
  1061. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchResponse/index.md +65 -0
  1062. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BodyInit/index.md +5 -0
  1063. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BufferSource/index.md +5 -0
  1064. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CertVerificationStatus/index.md +7 -0
  1065. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CfProperties/index.md +11 -0
  1066. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ComparisonFilter/index.md +29 -0
  1067. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CompoundFilter/index.md +21 -0
  1068. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ContinentCode/index.md +7 -0
  1069. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionOptions/index.md +59 -0
  1070. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionRequestOptions/index.md +29 -0
  1071. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionResponse/index.md +5 -0
  1072. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1Result/index.md +17 -0
  1073. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionBookmark/index.md +5 -0
  1074. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionConstraint/index.md +5 -0
  1075. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectJurisdiction/index.md +5 -0
  1076. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectLocationHint/index.md +5 -0
  1077. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectStub/index.md +21 -0
  1078. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmailExportedHandler/index.md +29 -0
  1079. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmbeddedImageConversionOptions/index.md +15 -0
  1080. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventContext/index.md +121 -0
  1081. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListener/index.md +21 -0
  1082. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListenerOrEventListenerObject/index.md +11 -0
  1083. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventPluginContext/index.md +133 -0
  1084. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerFetchHandler/index.md +33 -0
  1085. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerQueueHandler/index.md +33 -0
  1086. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerScheduledHandler/index.md +29 -0
  1087. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailHandler/index.md +29 -0
  1088. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailStreamHandler/index.md +29 -0
  1089. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTestHandler/index.md +29 -0
  1090. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTraceHandler/index.md +29 -0
  1091. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Fetcher/index.md +53 -0
  1092. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayOptions/index.md +77 -0
  1093. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayRetries/index.md +29 -0
  1094. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/HeadersInit/index.md +5 -0
  1095. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageConversionOptions/index.md +13 -0
  1096. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageDrawOptions/index.md +53 -0
  1097. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInfoResponse/index.md +5 -0
  1098. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInputOptions/index.md +13 -0
  1099. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageOutputOptions/index.md +37 -0
  1100. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransform/index.md +133 -0
  1101. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransformationOutputOptions/index.md +13 -0
  1102. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfProperties/index.md +13 -0
  1103. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfPropertiesEdgeRequestKeepAliveStatus/index.md +7 -0
  1104. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/InstanceStatus/index.md +29 -0
  1105. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Iso3166Alpha2Code/index.md +7 -0
  1106. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/KVNamespaceListResult/index.md +15 -0
  1107. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackDurableObjectClass/index.md +11 -0
  1108. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackForExport/index.md +11 -0
  1109. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackServiceStub/index.md +11 -0
  1110. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MarkdownDocument/index.md +21 -0
  1111. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationInputOptions/index.md +38 -0
  1112. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationOutputOptions/index.md +68 -0
  1113. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesFunction/index.md +29 -0
  1114. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesPluginFunction/index.md +33 -0
  1115. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Params/index.md +11 -0
  1116. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/QueueContentType/index.md +5 -0
  1117. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Objects/index.md +15 -0
  1118. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Range/index.md +5 -0
  1119. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ReadableStreamReadResult/index.md +11 -0
  1120. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RequestInfo/index.md +15 -0
  1121. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RoleScopedChatInput/index.md +29 -0
  1122. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Service/index.md +11 -0
  1123. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SqlStorageValue/index.md +5 -0
  1124. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SupportedFileFormat/index.md +21 -0
  1125. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/TypedArray/index.md +5 -0
  1126. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UniversalGatewayOptions/index.md +17 -0
  1127. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UsageTags/index.md +29 -0
  1128. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorFloatArray/index.md +5 -0
  1129. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeDistanceMetric/index.md +8 -0
  1130. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeIndexConfig/index.md +7 -0
  1131. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMatch/index.md +15 -0
  1132. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMetadataRetrievalLevel/index.md +9 -0
  1133. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadata/index.md +7 -0
  1134. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilter/index.md +11 -0
  1135. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterCollectionOp/index.md +5 -0
  1136. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterOp/index.md +9 -0
  1137. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataValue/index.md +7 -0
  1138. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WebSocketEventMap/index.md +37 -0
  1139. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerGlobalScopeEventMap/index.md +45 -0
  1140. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerVersionMetadata/index.md +38 -0
  1141. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowDurationLabel/index.md +5 -0
  1142. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowRetentionDuration/index.md +5 -0
  1143. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowSleepDuration/index.md +5 -0
  1144. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Cloudflare/index.md +5 -0
  1145. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/ReadableStream/index.md +51 -0
  1146. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Request/index.md +29 -0
  1147. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Response/index.md +73 -0
  1148. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocket/index.md +61 -0
  1149. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocketPair/index.md +17 -0
  1150. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/caches/index.md +9 -0
  1151. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/console/index.md +5 -0
  1152. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/crypto/index.md +12 -0
  1153. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/onmessage/index.md +5 -0
  1154. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/origin/index.md +5 -0
  1155. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/performance/index.md +10 -0
  1156. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/scheduler/index.md +5 -0
  1157. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/self/index.md +5 -0
  1158. package/docs/api/sync-cf/README/index.md +37 -0
  1159. package/docs/api/sync-cf/functions/handleSyncRequest/index.md +117 -0
  1160. package/docs/api/sync-cf/functions/makeWorker/index.md +35 -0
  1161. package/docs/api/sync-cf/functions/matchSyncRequest/index.md +19 -0
  1162. package/docs/api/sync-cf/interfaces/SyncBackendRpcInterface/index.md +31 -0
  1163. package/docs/api/sync-cf/type-aliases/CFWorker/index.md +47 -0
  1164. package/docs/api/sync-cf/type-aliases/DoObject/index.md +11 -0
  1165. package/docs/api/sync-cf/type-aliases/DoState/index.md +5 -0
  1166. package/docs/api/sync-cf/type-aliases/DurableObjectId/index.md +5 -0
  1167. package/docs/api/sync-cf/type-aliases/Env/index.md +5 -0
  1168. package/docs/api/sync-cf/type-aliases/MakeDurableObjectClass/index.md +29 -0
  1169. package/docs/api/sync-cf/type-aliases/MakeDurableObjectClassOptions/index.md +179 -0
  1170. package/docs/api/sync-cf/type-aliases/MakeWorkerOptions/index.md +80 -0
  1171. package/docs/api/sync-cf/type-aliases/RpcSubscription/index.md +55 -0
  1172. package/docs/api/sync-cf/type-aliases/StoreId/index.md +5 -0
  1173. package/docs/api/sync-cf/variables/PERSISTENCE_FORMAT_VERSION/index.md +20 -0
  1174. package/docs/api/sync-cf/variables/WebSocketAttachmentSchema/index.md +5 -0
  1175. package/docs/api/sync-cf/variables/encodeIncomingMessage/index.md +27 -0
  1176. package/docs/api/sync-cf/variables/encodeOutgoingMessage/index.md +19 -0
  1177. package/docs/api/sync-cf/variables/makeDurableObject/index.md +39 -0
  1178. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ApiPayload/index.md +5 -0
  1179. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ArgsSchema/index.md +5 -0
  1180. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PullPayload/index.md +5 -0
  1181. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PushPayload/index.md +5 -0
  1182. package/docs/api/sync-electric/README/index.md +29 -0
  1183. package/docs/api/sync-electric/classes/InvalidOperationError/index.md +99 -0
  1184. package/docs/api/sync-electric/functions/makeElectricUrl/index.md +69 -0
  1185. package/docs/api/sync-electric/functions/makeSyncBackend/index.md +15 -0
  1186. package/docs/api/sync-electric/functions/syncBackendOptions/index.md +21 -0
  1187. package/docs/api/sync-electric/functions/toTableName/index.md +15 -0
  1188. package/docs/api/sync-electric/interfaces/SyncBackendOptions/index.md +67 -0
  1189. package/docs/api/sync-electric/type-aliases/SyncMetadata/index.md +5 -0
  1190. package/docs/api/sync-electric/variables/PERSISTENCE_FORMAT_VERSION/index.md +28 -0
  1191. package/docs/api/sync-electric/variables/SyncMetadata/index.md +5 -0
  1192. package/docs/contributing/contributing/index.md +63 -0
  1193. package/docs/contributing/docs/index.md +19 -0
  1194. package/docs/contributing/monorepo/index.md +195 -0
  1195. package/docs/data-modeling/ai-agent/index.md +5 -0
  1196. package/docs/data-modeling/complex-ui-state/index.md +5 -0
  1197. package/docs/data-modeling/index.md +30 -0
  1198. package/docs/data-modeling/todo-workspaces/index.md +891 -0
  1199. package/docs/data-modeling/turnbased-game/index.md +7 -0
  1200. package/docs/evaluation/design-decisions/index.md +33 -0
  1201. package/docs/evaluation/event-sourcing/index.md +40 -0
  1202. package/docs/evaluation/how-livestore-works/index.md +56 -0
  1203. package/docs/evaluation/performance/index.md +25 -0
  1204. package/docs/evaluation/state-of-the-project/index.md +37 -0
  1205. package/docs/evaluation/technology-comparison/index.md +40 -0
  1206. package/docs/evaluation/when-livestore/index.md +81 -0
  1207. package/docs/examples/cloudflare-adapter/index.md +44 -0
  1208. package/docs/examples/expo-adapter/index.md +44 -0
  1209. package/docs/examples/index.md +55 -0
  1210. package/docs/examples/node-adapter/index.md +44 -0
  1211. package/docs/examples/web-adapter/index.md +52 -0
  1212. package/docs/getting-started/expo/index.md +736 -0
  1213. package/docs/getting-started/node/index.md +115 -0
  1214. package/docs/getting-started/react-web/index.md +573 -0
  1215. package/docs/getting-started/solid/index.md +3 -0
  1216. package/docs/getting-started/vue/index.md +286 -0
  1217. package/docs/index.md +164 -0
  1218. package/docs/llms.txt +104 -0
  1219. package/docs/misc/CODE_OF_CONDUCT/index.md +133 -0
  1220. package/docs/misc/FAQ/index.md +37 -0
  1221. package/docs/misc/community/index.md +87 -0
  1222. package/docs/misc/credits/index.md +14 -0
  1223. package/docs/misc/design-partners/index.md +13 -0
  1224. package/docs/misc/package-management/index.md +21 -0
  1225. package/docs/misc/resources/index.md +46 -0
  1226. package/docs/misc/sponsoring/index.md +104 -0
  1227. package/docs/misc/troubleshooting/index.md +82 -0
  1228. package/docs/patterns/ai/index.md +15 -0
  1229. package/docs/patterns/anonymous-user-transition/index.md +10 -0
  1230. package/docs/patterns/app-evolution/index.md +72 -0
  1231. package/docs/patterns/auth/index.md +226 -0
  1232. package/docs/patterns/effect/index.md +1495 -0
  1233. package/docs/patterns/encryption/index.md +6 -0
  1234. package/docs/patterns/external-data/index.md +5 -0
  1235. package/docs/patterns/file-management/index.md +11 -0
  1236. package/docs/patterns/file-structure/index.md +14 -0
  1237. package/docs/patterns/list-ordering/index.md +369 -0
  1238. package/docs/patterns/offline/index.md +32 -0
  1239. package/docs/patterns/orm/index.md +18 -0
  1240. package/docs/patterns/presence/index.md +11 -0
  1241. package/docs/patterns/rich-text-editing/index.md +66 -0
  1242. package/docs/patterns/side-effects/index.md +11 -0
  1243. package/docs/patterns/state-machines/index.md +11 -0
  1244. package/docs/patterns/storybook/index.md +192 -0
  1245. package/docs/patterns/undo-redo/index.md +9 -0
  1246. package/docs/patterns/version-control/index.md +8 -0
  1247. package/docs/reference/cli/index.md +57 -0
  1248. package/docs/reference/concepts/index.md +78 -0
  1249. package/docs/reference/debugging/index.md +17 -0
  1250. package/docs/reference/devtools/index.md +79 -0
  1251. package/docs/reference/events/index.md +340 -0
  1252. package/docs/reference/framework-integrations/custom-elements/index.md +142 -0
  1253. package/docs/reference/framework-integrations/react-integration/index.md +906 -0
  1254. package/docs/reference/framework-integrations/solid-integration/index.md +293 -0
  1255. package/docs/reference/framework-integrations/svelte-integration/index.md +42 -0
  1256. package/docs/reference/framework-integrations/vue-integration/index.md +98 -0
  1257. package/docs/reference/mcp/index.md +165 -0
  1258. package/docs/reference/opentelemetry/index.md +36 -0
  1259. package/docs/reference/platform-adapters/cloudflare-durable-object-adapter/index.md +453 -0
  1260. package/docs/reference/platform-adapters/electron-adapter/index.md +15 -0
  1261. package/docs/reference/platform-adapters/expo-adapter/index.md +43 -0
  1262. package/docs/reference/platform-adapters/node-adapter/index.md +160 -0
  1263. package/docs/reference/platform-adapters/tauri-adapter/index.md +15 -0
  1264. package/docs/reference/platform-adapters/web-adapter/index.md +218 -0
  1265. package/docs/reference/reactivity-system/index.md +202 -0
  1266. package/docs/reference/state/materializers/index.md +300 -0
  1267. package/docs/reference/state/sql-queries/index.md +72 -0
  1268. package/docs/reference/state/sqlite/index.md +45 -0
  1269. package/docs/reference/state/sqlite-schema/index.md +306 -0
  1270. package/docs/reference/state/sqlite-schema-effect/index.md +300 -0
  1271. package/docs/reference/store/index.md +253 -0
  1272. package/docs/reference/syncing/index.md +136 -0
  1273. package/docs/reference/syncing/server-side-clients/index.md +49 -0
  1274. package/docs/reference/syncing/sync-provider/cloudflare/index.md +773 -0
  1275. package/docs/reference/syncing/sync-provider/custom/index.md +65 -0
  1276. package/docs/reference/syncing/sync-provider/electricsql/index.md +159 -0
  1277. package/docs/reference/syncing/sync-provider/s2/index.md +230 -0
  1278. package/docs/tutorial/0-welcome/index.md +48 -0
  1279. package/docs/tutorial/1-setup-starter-project/index.md +105 -0
  1280. package/docs/tutorial/2-deploy-to-cloudflare/index.md +195 -0
  1281. package/docs/tutorial/3-read-and-write-todos-via-livestore/index.md +511 -0
  1282. package/docs/tutorial/4-sync-data-via-cloudflare/index.md +210 -0
  1283. package/docs/tutorial/5-expand-business-logic/index.md +174 -0
  1284. package/docs/tutorial/6-persist-ui-state/index.md +453 -0
  1285. package/docs/tutorial/7-next-steps/index.md +22 -0
  1286. package/package.json +10 -9
  1287. package/src/SqliteDbWrapper.test.ts +2 -2
  1288. package/src/ambient.d.ts +3 -3
  1289. package/src/effect/LiveStore.ts +8 -8
  1290. package/src/live-queries/__snapshots__/db-query.test.ts.snap +589 -145
  1291. package/src/live-queries/base-class.ts +6 -3
  1292. package/src/live-queries/client-document-get-query.ts +3 -3
  1293. package/src/live-queries/db-query.test.ts +172 -29
  1294. package/src/live-queries/db-query.ts +16 -10
  1295. package/src/mod.ts +19 -2
  1296. package/src/reactive.test.ts +150 -1
  1297. package/src/reactive.ts +47 -39
  1298. package/src/store/create-store.ts +96 -28
  1299. package/src/store/devtools.ts +42 -28
  1300. package/src/store/store-types.test.ts +50 -0
  1301. package/src/store/store-types.ts +193 -16
  1302. package/src/store/store.ts +458 -300
  1303. package/src/utils/dev.ts +4 -0
  1304. package/src/utils/tests/fixture.ts +2 -1
  1305. package/src/utils/tests/otel.ts +31 -20
  1306. package/dist/store/store-shutdown.test.d.ts +0 -2
  1307. package/dist/store/store-shutdown.test.d.ts.map +0 -1
  1308. package/dist/store/store-shutdown.test.js +0 -103
  1309. package/dist/store/store-shutdown.test.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { type Adapter, type BootStatus, type ClientSessionSyncProcessorSimulationParams, type MigrationsReport, UnexpectedError } from '@livestore/common';
1
+ import { type Adapter, type BootStatus, type ClientSessionSyncProcessorSimulationParams, LogConfig, type MigrationsReport, UnknownError } from '@livestore/common';
2
2
  import type { LiveStoreSchema } from '@livestore/common/schema';
3
- import { Context, Deferred, Effect, Layer, OtelTracer, type Schema, Scope } from '@livestore/utils/effect';
3
+ import { Context, Deferred, Effect, Layer, OtelTracer, Schema, Scope } from '@livestore/utils/effect';
4
4
  import * as otel from '@opentelemetry/api';
5
5
  import { Store } from './store.ts';
6
6
  import type { LiveStoreContextRunning as LiveStoreContextRunning_, OtelOptions, ShutdownDeferred } from './store-types.ts';
@@ -9,12 +9,12 @@ export declare const DEFAULT_PARAMS: {
9
9
  };
10
10
  declare const LiveStoreContextRunning_base: Context.TagClass<LiveStoreContextRunning, "@livestore/livestore/effect/LiveStoreContextRunning", LiveStoreContextRunning_>;
11
11
  export declare class LiveStoreContextRunning extends LiveStoreContextRunning_base {
12
- static fromDeferred: Layer.Layer<LiveStoreContextRunning, UnexpectedError, DeferredStoreContext>;
12
+ static fromDeferred: Layer.Layer<LiveStoreContextRunning, UnknownError, DeferredStoreContext>;
13
13
  }
14
- declare const DeferredStoreContext_base: Context.TagClass<DeferredStoreContext, "@livestore/livestore/effect/DeferredStoreContext", Deferred.Deferred<LiveStoreContextRunning_, UnexpectedError>>;
14
+ declare const DeferredStoreContext_base: Context.TagClass<DeferredStoreContext, "@livestore/livestore/effect/DeferredStoreContext", Deferred.Deferred<LiveStoreContextRunning_, UnknownError>>;
15
15
  export declare class DeferredStoreContext extends DeferredStoreContext_base {
16
16
  }
17
- export type LiveStoreContextProps<TSchema extends LiveStoreSchema, TContext = {}> = {
17
+ export type LiveStoreContextProps<TSchema extends LiveStoreSchema, TContext = {}, TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue> = {
18
18
  schema: TSchema;
19
19
  /**
20
20
  * The `storeId` can be used to isolate multiple stores from each other.
@@ -37,8 +37,27 @@ export type LiveStoreContextProps<TSchema extends LiveStoreSchema, TContext = {}
37
37
  disableDevtools?: boolean | 'auto';
38
38
  onBootStatus?: (status: BootStatus) => void;
39
39
  batchUpdates: (run: () => void) => void;
40
+ /**
41
+ * Schema describing the shape of the sync payload and used to encode it.
42
+ *
43
+ * - If omitted, `Schema.JsonValue` is used (no additional typing/validation).
44
+ * - Prefer exporting a schema from your app (e.g. `export const SyncPayload = Schema.Struct({ authToken: Schema.String })`)
45
+ * and pass it here to get end-to-end type safety and validation.
46
+ */
47
+ syncPayloadSchema?: TSyncPayloadSchema;
48
+ /**
49
+ * Payload that is sent to the sync backend during connection establishment.
50
+ *
51
+ * - Its TypeScript type is inferred from `syncPayloadSchema` (i.e. `typeof SyncPayload.Type`).
52
+ * - At runtime this value is encoded with `syncPayloadSchema` before being handed to the adapter.
53
+ *
54
+ * Example:
55
+ * const SyncPayload = Schema.Struct({ authToken: Schema.String })
56
+ * <LiveStoreProvider syncPayloadSchema={SyncPayload} syncPayload={{ authToken: '...' }} />
57
+ */
58
+ syncPayload?: Schema.Schema.Type<TSyncPayloadSchema>;
40
59
  };
41
- export interface CreateStoreOptions<TSchema extends LiveStoreSchema, TContext = {}> {
60
+ export interface CreateStoreOptions<TSchema extends LiveStoreSchema, TContext = {}, TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue> extends LogConfig.WithLoggerOptions {
42
61
  schema: TSchema;
43
62
  adapter: Adapter;
44
63
  storeId: string;
@@ -64,11 +83,23 @@ export interface CreateStoreOptions<TSchema extends LiveStoreSchema, TContext =
64
83
  */
65
84
  confirmUnsavedChanges?: boolean;
66
85
  /**
67
- * Payload that will be passed to the sync backend when connecting
86
+ * Schema describing the shape of the sync payload and used to encode it.
87
+ *
88
+ * - If omitted, `Schema.JsonValue` is used (no additional typing/validation).
89
+ * - Prefer exporting a schema from your app (e.g. `export const SyncPayload = Schema.Struct({ authToken: Schema.String })`)
90
+ * and pass it here to get end-to-end type safety and validation.
91
+ */
92
+ syncPayloadSchema?: TSyncPayloadSchema;
93
+ /**
94
+ * Payload that is sent to the sync backend during connection establishment.
95
+ *
96
+ * - Its TypeScript type is inferred from `syncPayloadSchema` (i.e. `typeof SyncPayload.Type`).
97
+ * - At runtime this value is encoded with `syncPayloadSchema` and carried through the adapter
98
+ * to the backend where it can be decoded with the same schema.
68
99
  *
69
100
  * @default undefined
70
101
  */
71
- syncPayload?: Schema.JsonValue;
102
+ syncPayload?: Schema.Schema.Type<TSyncPayloadSchema>;
72
103
  params?: {
73
104
  leaderPushBatchSize?: number;
74
105
  simulation?: {
@@ -79,11 +110,12 @@ export interface CreateStoreOptions<TSchema extends LiveStoreSchema, TContext =
79
110
  instanceId?: string;
80
111
  };
81
112
  }
82
- /** Create a new LiveStore Store */
83
- export declare const createStorePromise: <TSchema extends LiveStoreSchema = LiveStoreSchema.Any, TContext = {}>({ signal, otelOptions, ...options }: CreateStoreOptions<TSchema, TContext> & {
113
+ export type CreateStoreOptionsPromise<TSchema extends LiveStoreSchema = LiveStoreSchema.Any, TContext = {}, TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue> = CreateStoreOptions<TSchema, TContext, TSyncPayloadSchema> & {
84
114
  signal?: AbortSignal;
85
115
  otelOptions?: Partial<OtelOptions>;
86
- }) => Promise<Store<TSchema, TContext>>;
87
- export declare const createStore: <TSchema extends LiveStoreSchema = LiveStoreSchema.Any, TContext = {}>({ schema, adapter, storeId, context, boot, batchUpdates, disableDevtools, onBootStatus, shutdownDeferred, params, debug, confirmUnsavedChanges, syncPayload, }: CreateStoreOptions<TSchema, TContext>) => Effect.Effect<Store<TSchema, TContext>, UnexpectedError, Scope.Scope | OtelTracer.OtelTracer>;
116
+ };
117
+ /** Create a new LiveStore Store */
118
+ export declare const createStorePromise: <TSchema extends LiveStoreSchema = LiveStoreSchema.Any, TContext = {}, TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue>({ signal, otelOptions, ...options }: CreateStoreOptionsPromise<TSchema, TContext, TSyncPayloadSchema>) => Promise<Store<TSchema, TContext>>;
119
+ export declare const createStore: <TSchema extends LiveStoreSchema = LiveStoreSchema.Any, TContext = {}, TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue>({ schema, adapter, storeId, context, boot, batchUpdates, disableDevtools, onBootStatus, shutdownDeferred, params, debug, confirmUnsavedChanges, syncPayload, syncPayloadSchema, }: CreateStoreOptions<TSchema, TContext, TSyncPayloadSchema>) => Effect.Effect<Store<TSchema, TContext>, UnknownError, Scope.Scope | OtelTracer.OtelTracer>;
88
120
  export {};
89
121
  //# sourceMappingURL=create-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-store.d.ts","sourceRoot":"","sources":["../../src/store/create-store.ts"],"names":[],"mappings":"AAAA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AG;IAC9D,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;CACnC,CAAA;AAED,mCAAmC;AACnC,eAAO,MAAM,kBAAkB,GAC7B,OAAO,SAAS,eAAe,GAAG,eAAe,CAAC,GAAG,EACrD,QAAQ,GAAG,EAAE,EACb,kBAAkB,SAAS,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,MAAM,CAAC,SAAS,EACvE,qCAIC,yBAAyB,CAAC,OAAO,EAAE,QAAQ,EAAE,kBAAkB,CAAC,KAAG,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAqBnG,CAAA;AAEH,eAAO,MAAM,WAAW,GACtB,OAAO,SAAS,eAAe,GAAG,eAAe,CAAC,GAAG,EACrD,QAAQ,GAAG,EAAE,EACb,kBAAkB,SAAS,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,MAAM,CAAC,SAAS,EACvE,mLAeC,kBAAkB,CAAC,OAAO,EAAE,QAAQ,EAAE,kBAAkB,CAAC,KAAG,MAAM,CAAC,MAAM,CAC1E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,EACxB,YAAY,EACZ,KAAK,CAAC,KAAK,GAAG,UAAU,CAAC,UAAU,CAkJjC,CAAA"}
@@ -1,10 +1,11 @@
1
- import { provideOtel, UnexpectedError, } from '@livestore/common';
2
- import { isDevEnv, LS_DEV } from '@livestore/utils';
3
- import { Context, Deferred, Effect, Exit, Fiber, identity, Layer, Logger, LogLevel, OtelTracer, Queue, Runtime, Scope, TaskTracing, } from '@livestore/utils/effect';
1
+ import { LogConfig, provideOtel, UnknownError, } from '@livestore/common';
2
+ import { isDevEnv, LS_DEV, omitUndefineds } from '@livestore/utils';
3
+ import { Context, Deferred, Effect, Exit, Fiber, identity, Layer, OtelTracer, Queue, Runtime, Schema, Scope, TaskTracing, } from '@livestore/utils/effect';
4
4
  import { nanoid } from '@livestore/utils/nanoid';
5
5
  import * as otel from '@opentelemetry/api';
6
6
  import { connectDevtoolsToStore } from "./devtools.js";
7
7
  import { Store } from "./store.js";
8
+ import { StoreInternalsSymbol } from "./store-types.js";
8
9
  export const DEFAULT_PARAMS = {
9
10
  leaderPushBatchSize: 100,
10
11
  };
@@ -29,12 +30,13 @@ export const createStorePromise = async ({ signal, otelOptions, ...options }) =>
29
30
  return yield* createStore({ ...options }).pipe(Scope.extend(scope));
30
31
  }).pipe(Effect.withSpan('createStore', {
31
32
  attributes: { storeId: options.storeId, disableDevtools: options.disableDevtools },
32
- }), provideOtel({ parentSpanContext: otelOptions?.rootSpanContext, otelTracer: otelOptions?.tracer }), Effect.tapCauseLogPretty, Effect.annotateLogs({ thread: 'window' }), Effect.provide(Logger.prettyWithThread('window')), Logger.withMinimumLogLevel(LogLevel.Debug), Effect.runPromise);
33
- export const createStore = ({ schema, adapter, storeId, context = {}, boot, batchUpdates, disableDevtools, onBootStatus, shutdownDeferred, params, debug, confirmUnsavedChanges = true, syncPayload, }) => Effect.gen(function* () {
33
+ }), provideOtel(omitUndefineds({ parentSpanContext: otelOptions?.rootSpanContext, otelTracer: otelOptions?.tracer })), Effect.tapCauseLogPretty, Effect.annotateLogs({ thread: 'window' }), LogConfig.withLoggerConfig(options, { threadName: 'window' }), Effect.runPromise);
34
+ export const createStore = ({ schema, adapter, storeId, context = {}, boot, batchUpdates, disableDevtools, onBootStatus, shutdownDeferred, params, debug, confirmUnsavedChanges = true, syncPayload, syncPayloadSchema, }) => Effect.gen(function* () {
34
35
  const lifetimeScope = yield* Scope.make();
35
36
  yield* validateStoreId(storeId);
36
37
  yield* Effect.addFinalizer((_) => Scope.close(lifetimeScope, _));
37
38
  const debugInstanceId = debug?.instanceId ?? nanoid(10);
39
+ const resolvedSyncPayloadSchema = (syncPayloadSchema ?? Schema.JsonValue);
38
40
  return yield* Effect.gen(function* () {
39
41
  const span = yield* OtelTracer.currentOtelSpan.pipe(Effect.orDie);
40
42
  const otelRootSpanContext = otel.trace.setSpan(otel.context.active(), span);
@@ -57,6 +59,9 @@ export const createStore = ({ schema, adapter, storeId, context = {}, boot, batc
57
59
  // Given that the shutdown flow might also interrupt the effect that is calling the shutdown,
58
60
  // we want to detach the shutdown effect so it's not interrupted by itself
59
61
  Effect.runFork, Fiber.join);
62
+ const syncPayloadEncoded = syncPayload === undefined
63
+ ? undefined
64
+ : yield* Schema.encode(resolvedSyncPayloadSchema)(syncPayload).pipe(UnknownError.mapToUnknownError);
60
65
  const clientSession = yield* adapter({
61
66
  schema,
62
67
  storeId,
@@ -65,7 +70,8 @@ export const createStore = ({ schema, adapter, storeId, context = {}, boot, batc
65
70
  shutdown,
66
71
  connectDevtoolsToStore: connectDevtoolsToStore_,
67
72
  debugInstanceId,
68
- syncPayload,
73
+ syncPayloadSchema: resolvedSyncPayloadSchema,
74
+ syncPayloadEncoded,
69
75
  }).pipe(Effect.withPerformanceMeasure('livestore:makeAdapter'), Effect.withSpan('createStore:makeAdapter'));
70
76
  if (LS_DEV && clientSession.leaderThread.initialState.migrationsReport.migrations.length > 0) {
71
77
  yield* Effect.logDebug('[@livestore/livestore:createStore] migrationsReport', ...clientSession.leaderThread.initialState.migrationsReport.migrations.map((m) => m.hashes.actual === undefined
@@ -88,20 +94,20 @@ export const createStore = ({ schema, adapter, storeId, context = {}, boot, batc
88
94
  storeId,
89
95
  params: {
90
96
  leaderPushBatchSize: params?.leaderPushBatchSize ?? DEFAULT_PARAMS.leaderPushBatchSize,
91
- simulation: params?.simulation,
97
+ ...omitUndefineds({ simulation: params?.simulation }),
92
98
  },
93
99
  });
94
100
  // Starts background fibers (syncing, event processing, etc) for store
95
- yield* store.boot;
101
+ yield* store[StoreInternalsSymbol].boot;
96
102
  if (boot !== undefined) {
97
103
  // TODO also incorporate `boot` function progress into `bootStatusQueue`
98
- yield* Effect.tryAll(() => boot(store, { migrationsReport: clientSession.leaderThread.initialState.migrationsReport, parentSpan: span })).pipe(UnexpectedError.mapToUnexpectedError, Effect.provide(Layer.succeed(LiveStoreContextRunning, { stage: 'running', store: store })), Effect.withSpan('createStore:boot'));
104
+ yield* Effect.tryAll(() => boot(store, { migrationsReport: clientSession.leaderThread.initialState.migrationsReport, parentSpan: span })).pipe(UnknownError.mapToUnknownError, Effect.provide(Layer.succeed(LiveStoreContextRunning, { stage: 'running', store: store })), Effect.withSpan('createStore:boot'));
99
105
  }
100
106
  // NOTE it's important to yield here to allow the forked Effect in the store constructor to run
101
107
  yield* Effect.yieldNow();
102
108
  if (batchUpdates !== undefined) {
103
109
  // Replacing the default batchUpdates function with the provided one after boot
104
- store.reactivityGraph.context.effectsWrapper = batchUpdates;
110
+ store[StoreInternalsSymbol].reactivityGraph.context.effectsWrapper = batchUpdates;
105
111
  }
106
112
  yield* Deferred.succeed(storeDeferred, store);
107
113
  return store;
@@ -110,7 +116,7 @@ export const createStore = ({ schema, adapter, storeId, context = {}, boot, batc
110
116
  const validateStoreId = (storeId) => Effect.gen(function* () {
111
117
  const validChars = /^[a-zA-Z0-9_-]+$/;
112
118
  if (!validChars.test(storeId)) {
113
- return yield* UnexpectedError.make({
119
+ return yield* UnknownError.make({
114
120
  cause: `Invalid storeId: ${storeId}. Only alphanumeric characters, underscores, and hyphens are allowed.`,
115
121
  payload: { storeId },
116
122
  });
@@ -1 +1 @@
1
- {"version":3,"file":"create-store.js","sourceRoot":"","sources":["../../src/store/create-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,WAAW,EAEX,eAAe,GAChB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,MAAM,EACN,QAAQ,EACR,UAAU,EACV,KAAK,EACL,OAAO,EAEP,KAAK,EACL,WAAW,GACZ,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,M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A6C;IAC7C,IAAI,eAAe,KAAK,IAAI,IAAI,eAAe,KAAK,KAAK,EAAE,CAAC;QAC1D,OAAO,CAAC,eAAe,CAAA;IACzB,CAAC;IAED,IAAI,QAAQ,EAAE,KAAK,IAAI,EAAE,CAAC;QACxB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC,CAAA"}
@@ -1,20 +1,9 @@
1
- import type { ClientSession, ClientSessionSyncProcessor } from '@livestore/common';
2
- import { Devtools, UnexpectedError } from '@livestore/common';
1
+ import { Devtools, UnknownError } from '@livestore/common';
3
2
  import type { WebChannel } from '@livestore/utils/effect';
4
3
  import { Effect } from '@livestore/utils/effect';
5
- import type { LiveQuery, ReactivityGraph } from '../live-queries/base-class.ts';
6
- import type { SqliteDbWrapper } from '../SqliteDbWrapper.ts';
7
- import type { ReferenceCountedSet } from '../utils/data-structures.ts';
8
- type IStore = {
9
- clientSession: ClientSession;
10
- reactivityGraph: ReactivityGraph;
11
- sqliteDbWrapper: SqliteDbWrapper;
12
- activeQueries: ReferenceCountedSet<LiveQuery<any>>;
13
- syncProcessor: ClientSessionSyncProcessor;
14
- };
4
+ import type { Store } from './store.ts';
15
5
  export declare const connectDevtoolsToStore: ({ storeDevtoolsChannel, store, }: {
16
6
  storeDevtoolsChannel: WebChannel.WebChannel<Devtools.ClientSession.MessageToApp, Devtools.ClientSession.MessageFromApp>;
17
- store: IStore;
18
- }) => Effect.Effect<void, UnexpectedError, import("effect/Scope").Scope>;
19
- export {};
7
+ store: Store;
8
+ }) => Effect.Effect<void, UnknownError, import("effect/Scope").Scope>;
20
9
  //# sourceMappingURL=devtools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools.d.ts","sourceRoot":"","sources":["../../src/store/devtools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,0BAA0B,EAAwB,MAAM,mBAAmB,CAAA;AACxG,OAAO,EAAE,QAAQ,EAAoB,eAAe,EA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AA;IACD,KAAK,EAAE,KAAK,CAAA;CACb,oEA4SgG,CAAA"}
@@ -1,9 +1,10 @@
1
- import { Devtools, liveStoreVersion, UnexpectedError } from '@livestore/common';
1
+ import { Devtools, liveStoreVersion, UnknownError } from '@livestore/common';
2
2
  import { throttle } from '@livestore/utils';
3
3
  import { Effect, Stream } from '@livestore/utils/effect';
4
4
  import { nanoid } from '@livestore/utils/nanoid';
5
5
  import { NOT_REFRESHED_YET } from "../reactive.js";
6
6
  import { emptyDebugInfo as makeEmptyDebugInfo } from "../SqliteDbWrapper.js";
7
+ import { StoreInternalsSymbol } from "./store-types.js";
7
8
  // When running this code in Node.js, we need to use `setTimeout` instead of `requestAnimationFrame`
8
9
  const requestNextTick = globalThis.requestAnimationFrame === undefined
9
10
  ? (cb) => setTimeout(cb, 1000)
@@ -14,7 +15,7 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
14
15
  const liveQueriesSubscriptions = new Map();
15
16
  const debugInfoHistorySubscriptions = new Map();
16
17
  const syncHeadClientSessionSubscriptions = new Map();
17
- const { clientId, sessionId } = store.clientSession;
18
+ const { clientId, sessionId } = store[StoreInternalsSymbol].clientSession;
18
19
  yield* Effect.addFinalizer(() => Effect.sync(() => {
19
20
  for (const unsub of reactivityGraphSubcriptions.values())
20
21
  unsub();
@@ -34,7 +35,24 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
34
35
  return;
35
36
  }
36
37
  if (decodedMessage._tag === 'LSD.ClientSession.Disconnect') {
37
- // console.error('TODO handle disconnect properly in store')
38
+ // Gracefully tear down all DevTools subscriptions and close the channel.
39
+ // This prevents background fibers from lingering after DevTools closes
40
+ // (e.g. when a window is closed without sending explicit unsubs).
41
+ for (const unsub of reactivityGraphSubcriptions.values())
42
+ unsub();
43
+ reactivityGraphSubcriptions.clear();
44
+ for (const unsub of liveQueriesSubscriptions.values())
45
+ unsub();
46
+ liveQueriesSubscriptions.clear();
47
+ for (const unsub of debugInfoHistorySubscriptions.values())
48
+ unsub();
49
+ debugInfoHistorySubscriptions.clear();
50
+ for (const unsub of syncHeadClientSessionSubscriptions.values())
51
+ unsub();
52
+ syncHeadClientSessionSubscriptions.clear();
53
+ // Signal the WebChannel to shut down; this causes the `listen` stream
54
+ // to complete and allows the surrounding scoped fiber to exit.
55
+ storeDevtoolsChannel.shutdown.pipe(Effect.runFork);
38
56
  return;
39
57
  }
40
58
  const requestId = decodedMessage.requestId;
@@ -55,7 +73,7 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
55
73
  // In order to not add more work to the current tick, we use requestIdleCallback
56
74
  // to send the reactivity graph updates to the devtools
57
75
  requestIdleCallback(() => sendToDevtools(Devtools.ClientSession.ReactivityGraphRes.make({
58
- reactivityGraph: store.reactivityGraph.getSnapshot({ includeResults }),
76
+ reactivityGraph: store[StoreInternalsSymbol].reactivityGraph.getSnapshot({ includeResults }),
59
77
  requestId: nanoid(10),
60
78
  clientId,
61
79
  sessionId,
@@ -67,12 +85,12 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
67
85
  // so we throttle the updates to avoid sending too much data
68
86
  // This might need to be tweaked further and possibly be exposed to the user in some way.
69
87
  const throttledSend = throttle(send, 20);
70
- reactivityGraphSubcriptions.set(subscriptionId, store.reactivityGraph.subscribeToRefresh(throttledSend));
88
+ reactivityGraphSubcriptions.set(subscriptionId, store[StoreInternalsSymbol].reactivityGraph.subscribeToRefresh(throttledSend));
71
89
  break;
72
90
  }
73
91
  case 'LSD.ClientSession.DebugInfoReq': {
74
92
  sendToDevtools(Devtools.ClientSession.DebugInfoRes.make({
75
- debugInfo: store.sqliteDbWrapper.debugInfo,
93
+ debugInfo: store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo,
76
94
  requestId,
77
95
  clientId,
78
96
  sessionId,
@@ -86,12 +104,12 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
86
104
  let hasStopped = false;
87
105
  let tickHandle;
88
106
  const tick = () => {
89
- buffer.push(store.sqliteDbWrapper.debugInfo);
107
+ buffer.push(store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo);
90
108
  // NOTE this resets the debug info, so all other "readers" e.g. in other `requestAnimationFrame` loops,
91
109
  // will get the empty debug info
92
110
  // TODO We need to come up with a more graceful way to do store. Probably via a single global
93
111
  // `requestAnimationFrame` loop that is passed in somehow.
94
- store.sqliteDbWrapper.debugInfo = makeEmptyDebugInfo();
112
+ store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo = makeEmptyDebugInfo();
95
113
  if (buffer.length > 10) {
96
114
  sendToDevtools(Devtools.ClientSession.DebugInfoHistoryRes.make({
97
115
  debugInfoHistory: buffer,
@@ -127,13 +145,16 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
127
145
  break;
128
146
  }
129
147
  case 'LSD.ClientSession.DebugInfoResetReq': {
130
- store.sqliteDbWrapper.debugInfo.slowQueries.clear();
148
+ store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo.slowQueries.clear();
131
149
  sendToDevtools(Devtools.ClientSession.DebugInfoResetRes.make({ requestId, clientId, sessionId, liveStoreVersion }));
132
150
  break;
133
151
  }
134
152
  case 'LSD.ClientSession.DebugInfoRerunQueryReq': {
135
153
  const { queryStr, bindValues, queriedTables } = decodedMessage;
136
- store.sqliteDbWrapper.cachedSelect(queryStr, bindValues, { queriedTables, skipCache: true });
154
+ store[StoreInternalsSymbol].sqliteDbWrapper.cachedSelect(queryStr, bindValues, {
155
+ queriedTables,
156
+ skipCache: true,
157
+ });
137
158
  sendToDevtools(Devtools.ClientSession.DebugInfoRerunQueryRes.make({ requestId, clientId, sessionId, liveStoreVersion }));
138
159
  break;
139
160
  }
@@ -148,7 +169,7 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
148
169
  case 'LSD.ClientSession.LiveQueriesSubscribe': {
149
170
  const { subscriptionId } = decodedMessage;
150
171
  const send = () => requestIdleCallback(() => sendToDevtools(Devtools.ClientSession.LiveQueriesRes.make({
151
- liveQueries: [...store.activeQueries].map((q) => ({
172
+ liveQueries: [...store[StoreInternalsSymbol].activeQueries].map((q) => ({
152
173
  _tag: q._tag,
153
174
  id: q.id,
154
175
  label: q.label,
@@ -169,7 +190,7 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
169
190
  send();
170
191
  // Same as in the reactivity graph subscription case above, we need to throttle the updates
171
192
  const throttledSend = throttle(send, 20);
172
- liveQueriesSubscriptions.set(subscriptionId, store.reactivityGraph.subscribeToRefresh(throttledSend));
193
+ liveQueriesSubscriptions.set(subscriptionId, store[StoreInternalsSymbol].reactivityGraph.subscribeToRefresh(throttledSend));
173
194
  break;
174
195
  }
175
196
  case 'LSD.ClientSession.LiveQueriesUnsubscribe': {
@@ -191,8 +212,8 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
191
212
  liveStoreVersion,
192
213
  subscriptionId,
193
214
  }));
194
- send(store.syncProcessor.syncState.pipe(Effect.runSync));
195
- syncHeadClientSessionSubscriptions.set(subscriptionId, store.syncProcessor.syncState.changes.pipe(Stream.tap((syncState) => send(syncState)), Stream.runDrain, Effect.interruptible, Effect.tapCauseLogPretty, Effect.runCallback));
215
+ send(store[StoreInternalsSymbol].syncProcessor.syncState.pipe(Effect.runSync));
216
+ syncHeadClientSessionSubscriptions.set(subscriptionId, store[StoreInternalsSymbol].syncProcessor.syncState.changes.pipe(Stream.tap((syncState) => send(syncState)), Stream.runDrain, Effect.interruptible, Effect.tapCauseLogPretty, Effect.runCallback));
196
217
  break;
197
218
  }
198
219
  case 'LSD.ClientSession.SyncHeadUnsubscribe': {
@@ -215,5 +236,5 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
215
236
  yield* storeDevtoolsChannel.listen.pipe(
216
237
  // Stream.tapLogWithLabel('@livestore/livestore:store:devtools:onMessage'),
217
238
  Stream.flatten(), Stream.tapSync((message) => onMessage(message)), Stream.runDrain, Effect.withSpan('LSD.devtools.onMessage'));
218
- }).pipe(UnexpectedError.mapToUnexpectedError, Effect.withSpan('LSD.devtools.connectStoreToDevtools'));
239
+ }).pipe(UnknownError.mapToUnknownError, Effect.withSpan('LSD.devtools.connectStoreToDevtools'));
219
240
  //# sourceMappingURL=devtools.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools.js","sourceRoot":"","sources":["../../src/store/devtools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAGhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAElD,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAe5E,oGAAoG;AACpG,MAAM,eAAe,GACnB,UAAU,CAAC,qBAAqB,KAAK,SAAS;IAC5C,CAAC,CAAC,CAAC,EAAc,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,IAAI,CAAsB;IAC/D,CAAC,CAAC,UAAU,CAAC,qBAAqB,CAAA;AAEtC,MAAM,UAAU,GACd,UAAU,CAAC,oBAAoB,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAU,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAA;AAEpH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACrC,oBAAoB,EACpB,KAAK,GAON,EAAE,EAAE,CACH,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,2BAA2B,GAAW,IAAI,GAAG,EAAE,CAAA;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P,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACR,OAAO,CAAC,IAAI,CAAC,qCAAqC,EAAE,cAAc,CAAC,CAAA;YACrE,CAAC;QACH,CAAC;IACH,CAAC,CAAA;IAED,KAAK,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,IAAI;IACrC,2EAA2E;IAC3E,MAAM,CAAC,OAAO,EAAE,EAChB,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAC/C,MAAM,CAAC,QAAQ,EACf,MAAM,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAC1C,CAAA;AACH,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,qCAAqC,CAAC,CAAC,CAAA"}
@@ -1,19 +1,22 @@
1
- import type { ClientSession, ClientSessionSyncProcessorSimulationParams, IntentionalShutdownCause, StoreInterrupted, SyncError, UnexpectedError } from '@livestore/common';
1
+ import { type ClientSession, type ClientSessionSyncProcessor, type ClientSessionSyncProcessorSimulationParams, type IntentionalShutdownCause, type InvalidPullError, type IsOfflineError, type MaterializeError, type QueryBuilder, type StoreInterrupted, type SyncError, type UnknownError } from '@livestore/common';
2
2
  import type { EventSequenceNumber, LiveStoreEvent, LiveStoreSchema } from '@livestore/common/schema';
3
- import type { Effect, Runtime, Scope } from '@livestore/utils/effect';
3
+ import type { Effect, Runtime, Schema, Scope } from '@livestore/utils/effect';
4
4
  import { Deferred } from '@livestore/utils/effect';
5
5
  import type * as otel from '@opentelemetry/api';
6
- import type { DebugRefreshReasonBase } from '../reactive.ts';
6
+ import type { LiveQuery, LiveQueryDef, ReactivityGraph, ReactivityGraphContext, SignalDef } from '../live-queries/base-class.ts';
7
+ import type { DebugRefreshReasonBase, Ref } from '../reactive.ts';
8
+ import type { SqliteDbWrapper } from '../SqliteDbWrapper.ts';
9
+ import type { ReferenceCountedSet } from '../utils/data-structures.ts';
7
10
  import type { StackInfo } from '../utils/stack-info.ts';
8
11
  import type { Store } from './store.ts';
9
12
  export type LiveStoreContext = LiveStoreContextRunning | {
10
13
  stage: 'error';
11
- error: UnexpectedError | unknown;
14
+ error: UnknownError | unknown;
12
15
  } | {
13
16
  stage: 'shutdown';
14
17
  cause: IntentionalShutdownCause | StoreInterrupted | SyncError;
15
18
  };
16
- export type ShutdownDeferred = Deferred.Deferred<IntentionalShutdownCause, UnexpectedError | SyncError | StoreInterrupted>;
19
+ export type ShutdownDeferred = Deferred.Deferred<IntentionalShutdownCause, UnknownError | SyncError | StoreInterrupted | MaterializeError | InvalidPullError | IsOfflineError>;
17
20
  export declare const makeShutdownDeferred: Effect.Effect<ShutdownDeferred>;
18
21
  export type LiveStoreContextRunning = {
19
22
  stage: 'running';
@@ -23,6 +26,89 @@ export type OtelOptions = {
23
26
  tracer: otel.Tracer;
24
27
  rootSpanContext: otel.Context;
25
28
  };
29
+ export declare const StoreInternalsSymbol: unique symbol;
30
+ export type StoreInternalsSymbol = typeof StoreInternalsSymbol;
31
+ /**
32
+ * Opaque bag containing the Store's implementation details.
33
+ *
34
+ * Not part of the public API — shapes and semantics may change without notice.
35
+ * Access only from within the @livestore/livestore package (and Devtools) via
36
+ * `StoreInternalsSymbol` to avoid accidental coupling in application code.
37
+ */
38
+ export type StoreInternals = {
39
+ /**
40
+ * Runtime event schema used for encoding/decoding events.
41
+ *
42
+ * Exposed primarily for Devtools (e.g. databrowser) to validate ad‑hoc
43
+ * event payloads. Application code should not depend on it directly.
44
+ */
45
+ readonly eventSchema: Schema.Schema<LiveStoreEvent.Client.Decoded, LiveStoreEvent.Client.Encoded>;
46
+ /**
47
+ * The active client session backing this Store. Provides access to the
48
+ * leader thread, network status, and shutdown signaling.
49
+ *
50
+ * Do not close or mutate directly — use `store.shutdown(...)`.
51
+ */
52
+ readonly clientSession: ClientSession;
53
+ /**
54
+ * Wrapper around the local SQLite state database. Centralizes query
55
+ * planning, caching, and change tracking used by reads and materializers.
56
+ */
57
+ readonly sqliteDbWrapper: SqliteDbWrapper;
58
+ /**
59
+ * Effect runtime and scope used to fork background fibers for the Store.
60
+ *
61
+ * - `runtime` executes effects from imperative Store APIs.
62
+ * - `lifetimeScope` owns forked fibers; closed during Store shutdown.
63
+ */
64
+ readonly effectContext: {
65
+ /** Effect runtime to run Store effects with proper environment. */
66
+ readonly runtime: Runtime.Runtime<Scope.Scope>;
67
+ /** Scope that owns all long‑lived fibers spawned by the Store. */
68
+ readonly lifetimeScope: Scope.Scope;
69
+ };
70
+ /**
71
+ * OpenTelemetry primitives used for instrumentation of commits, queries,
72
+ * and Store boot lifecycle.
73
+ */
74
+ readonly otel: StoreOtel;
75
+ /**
76
+ * The Store's reactive graph instance used to model dependencies and
77
+ * propagate updates. Provides APIs to create refs/thunks/effects and to
78
+ * subscribe to refresh cycles.
79
+ */
80
+ readonly reactivityGraph: ReactivityGraph;
81
+ /**
82
+ * Per‑table reactive refs used to broadcast invalidations when materializers
83
+ * write to tables. Values are always `null`; equality is intentionally
84
+ * `false` to force recomputation.
85
+ *
86
+ * Keys are SQLite table names (user tables; some system tables may be
87
+ * intentionally excluded from refresh).
88
+ */
89
+ readonly tableRefs: Readonly<Record<string, Ref<null, ReactivityGraphContext, RefreshReason>>>;
90
+ /**
91
+ * Set of currently subscribed LiveQuery instances (reference‑counted).
92
+ * Used for Devtools and diagnostics.
93
+ */
94
+ readonly activeQueries: ReferenceCountedSet<LiveQuery<any>>;
95
+ /**
96
+ * Client‑session sync processor orchestrating push/pull and materialization
97
+ * of events into local state.
98
+ */
99
+ readonly syncProcessor: ClientSessionSyncProcessor;
100
+ /**
101
+ * Starts background fibers for sync and observation. Must be run exactly
102
+ * once per Store instance. Scoped; installs finalizers to end spans and
103
+ * detach reactive refs.
104
+ */
105
+ readonly boot: Effect.Effect<void, UnknownError, Scope.Scope>;
106
+ /**
107
+ * Tracks whether the Store has been shut down. When true, mutating APIs
108
+ * should reject via `checkShutdown`.
109
+ */
110
+ isShutdown: boolean;
111
+ };
26
112
  export type StoreOptions<TSchema extends LiveStoreSchema = LiveStoreSchema.Any, TContext = {}> = {
27
113
  clientSession: ClientSession;
28
114
  schema: TSchema;
@@ -46,7 +132,7 @@ export type StoreOptions<TSchema extends LiveStoreSchema = LiveStoreSchema.Any,
46
132
  export type RefreshReason = DebugRefreshReasonBase | {
47
133
  _tag: 'commit';
48
134
  /** The events that were applied */
49
- events: ReadonlyArray<LiveStoreEvent.AnyDecoded | LiveStoreEvent.PartialAnyDecoded>;
135
+ events: ReadonlyArray<LiveStoreEvent.Client.Decoded | LiveStoreEvent.Input.Decoded>;
50
136
  /** The tables that were written to by the event */
51
137
  writeTables: ReadonlyArray<string>;
52
138
  } | {
@@ -87,7 +173,7 @@ export type StoreEventsOptions<TSchema extends LiveStoreSchema> = {
87
173
  * By default only new events are returned.
88
174
  * Use this to get all events from a specific point in time.
89
175
  */
90
- cursor?: EventSequenceNumber.EventSequenceNumber;
176
+ cursor?: EventSequenceNumber.Client.Composite;
91
177
  /**
92
178
  * Only include events of the given names
93
179
  * @default undefined (include all)
@@ -105,4 +191,34 @@ export type StoreEventsOptions<TSchema extends LiveStoreSchema> = {
105
191
  excludeUnpushed?: boolean;
106
192
  };
107
193
  export type Unsubscribe = () => void;
194
+ export type SubscribeOptions<TResult> = {
195
+ onSubscribe?: (query$: LiveQuery<TResult>) => void;
196
+ onUnsubsubscribe?: () => void;
197
+ label?: string;
198
+ skipInitialRun?: boolean;
199
+ otelContext?: otel.Context;
200
+ stackInfo?: StackInfo;
201
+ };
202
+ /** All query definitions or instances the store can execute or subscribe to. */
203
+ export type Queryable<TResult> = LiveQueryDef<TResult> | SignalDef<TResult> | LiveQuery<TResult> | QueryBuilder<TResult, any, any>;
204
+ /**
205
+ * Helper types for `Queryable`.
206
+ *
207
+ * Provides type-level utilities to work with `Queryable` values.
208
+ */
209
+ export declare namespace Queryable {
210
+ /**
211
+ * Extracts the result type from a `Queryable`.
212
+ *
213
+ * Example:
214
+ * - `Queryable.Result<LiveQueryDef<number>>` → `number`
215
+ * - `Queryable.Result<SignalDef<string>>` → `string`
216
+ * - `Queryable.Result<LiveQuery<{ id: string }>>` → `{ id: string }`
217
+ * - `Queryable.Result<LiveQueryDef<A> | SignalDef<B>>` → `A | B`
218
+ */
219
+ type Result<TQueryable extends Queryable<any>> = TQueryable extends Queryable<infer TResult> ? TResult : never;
220
+ }
221
+ export declare const isLiveQueryDef: (value: unknown) => value is LiveQueryDef<any> | SignalDef<any>;
222
+ export declare const isLiveQueryInstance: (value: unknown) => value is LiveQuery<any>;
223
+ export declare const isQueryable: (value: unknown) => value is Queryable<unknown>;
108
224
  //# sourceMappingURL=store-types.d.ts.map