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

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 (1295) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/effect/LiveStore.d.ts +123 -2
  3. package/dist/effect/LiveStore.d.ts.map +1 -1
  4. package/dist/effect/LiveStore.js +195 -1
  5. package/dist/effect/LiveStore.js.map +1 -1
  6. package/dist/effect/mod.d.ts +1 -1
  7. package/dist/effect/mod.d.ts.map +1 -1
  8. package/dist/effect/mod.js +3 -1
  9. package/dist/effect/mod.js.map +1 -1
  10. package/dist/live-queries/base-class.d.ts +107 -4
  11. package/dist/live-queries/base-class.d.ts.map +1 -1
  12. package/dist/live-queries/base-class.js.map +1 -1
  13. package/dist/live-queries/computed.d.ts +56 -0
  14. package/dist/live-queries/computed.d.ts.map +1 -1
  15. package/dist/live-queries/computed.js +56 -0
  16. package/dist/live-queries/computed.js.map +1 -1
  17. package/dist/live-queries/signal.d.ts +49 -0
  18. package/dist/live-queries/signal.d.ts.map +1 -1
  19. package/dist/live-queries/signal.js +49 -0
  20. package/dist/live-queries/signal.js.map +1 -1
  21. package/dist/mod.d.ts +1 -0
  22. package/dist/mod.d.ts.map +1 -1
  23. package/dist/mod.js +1 -0
  24. package/dist/mod.js.map +1 -1
  25. package/dist/store/StoreRegistry.d.ts +190 -0
  26. package/dist/store/StoreRegistry.d.ts.map +1 -0
  27. package/dist/store/StoreRegistry.js +244 -0
  28. package/dist/store/StoreRegistry.js.map +1 -0
  29. package/dist/store/StoreRegistry.test.d.ts +2 -0
  30. package/dist/store/StoreRegistry.test.d.ts.map +1 -0
  31. package/dist/store/StoreRegistry.test.js +380 -0
  32. package/dist/store/StoreRegistry.test.js.map +1 -0
  33. package/dist/store/create-store.d.ts +51 -7
  34. package/dist/store/create-store.d.ts.map +1 -1
  35. package/dist/store/create-store.js +22 -5
  36. package/dist/store/create-store.js.map +1 -1
  37. package/dist/store/devtools.d.ts.map +1 -1
  38. package/dist/store/devtools.js +13 -0
  39. package/dist/store/devtools.js.map +1 -1
  40. package/dist/store/store-eventstream.test.d.ts +2 -0
  41. package/dist/store/store-eventstream.test.d.ts.map +1 -0
  42. package/dist/store/store-eventstream.test.js +65 -0
  43. package/dist/store/store-eventstream.test.js.map +1 -0
  44. package/dist/store/store-types.d.ts +119 -42
  45. package/dist/store/store-types.d.ts.map +1 -1
  46. package/dist/store/store-types.js +49 -0
  47. package/dist/store/store-types.js.map +1 -1
  48. package/dist/store/store.d.ts +64 -11
  49. package/dist/store/store.d.ts.map +1 -1
  50. package/dist/store/store.js +84 -13
  51. package/dist/store/store.js.map +1 -1
  52. package/dist/utils/tests/fixture.d.ts +15 -0
  53. package/dist/utils/tests/fixture.d.ts.map +1 -1
  54. package/dist/utils/tests/fixture.js +7 -0
  55. package/dist/utils/tests/fixture.js.map +1 -1
  56. package/docs/api/index.md +1 -1
  57. package/docs/{data-modeling → building-with-livestore}/complex-ui-state/index.md +0 -2
  58. package/docs/building-with-livestore/crud/index.md +3 -0
  59. package/docs/{data-modeling → building-with-livestore/data-modeling}/index.md +1 -1
  60. package/docs/{reference → building-with-livestore}/debugging/index.md +2 -2
  61. package/docs/{reference → building-with-livestore}/devtools/index.md +1 -1
  62. package/docs/{reference → building-with-livestore}/events/index.md +17 -2
  63. package/docs/{data-modeling → building-with-livestore/examples}/todo-workspaces/index.md +3 -9
  64. package/docs/building-with-livestore/opentelemetry/index.md +227 -0
  65. package/docs/building-with-livestore/production-checklist/index.md +5 -0
  66. package/docs/{reference → building-with-livestore}/reactivity-system/index.md +1 -1
  67. package/docs/building-with-livestore/rules-for-ai-agents/index.md +9 -0
  68. package/docs/{reference → building-with-livestore}/state/materializers/index.md +1 -1
  69. package/docs/{reference → building-with-livestore}/state/sql-queries/index.md +24 -2
  70. package/docs/{reference → building-with-livestore}/state/sqlite-schema/index.md +11 -11
  71. package/docs/{reference → building-with-livestore}/state/sqlite-schema-effect/index.md +17 -17
  72. package/docs/building-with-livestore/store/index.md +625 -0
  73. package/docs/{reference → building-with-livestore}/syncing/index.md +5 -5
  74. package/docs/building-with-livestore/tools/cli/index.md +177 -0
  75. package/docs/{reference → building-with-livestore/tools}/mcp/index.md +30 -8
  76. package/docs/examples/cloudflare-adapter/index.md +1 -1
  77. package/docs/examples/expo-adapter/index.md +1 -1
  78. package/docs/examples/index.md +3 -3
  79. package/docs/examples/node-adapter/index.md +1 -1
  80. package/docs/examples/web-adapter/index.md +1 -1
  81. package/docs/{reference/framework-integrations → framework-integrations}/custom-elements/index.md +1 -1
  82. package/docs/{reference/framework-integrations → framework-integrations}/react-integration/index.md +358 -327
  83. package/docs/framework-integrations/vue-integration/index.md +294 -0
  84. package/docs/getting-started/expo/index.md +190 -44
  85. package/docs/getting-started/react-web/index.md +79 -26
  86. package/docs/getting-started/vue/index.md +210 -25
  87. package/docs/index.md +150 -106
  88. package/docs/llms.txt +138 -96
  89. package/docs/misc/CODE_OF_CONDUCT/index.md +1 -1
  90. package/docs/misc/FAQ/index.md +1 -1
  91. package/docs/misc/community/index.md +2 -1
  92. package/docs/misc/design-partners/index.md +1 -1
  93. package/docs/misc/package-management/index.md +1 -1
  94. package/docs/misc/resources/index.md +1 -1
  95. package/docs/misc/troubleshooting/index.md +3 -3
  96. package/docs/{reference → overview}/concepts/index.md +8 -8
  97. package/docs/{evaluation → overview}/how-livestore-works/index.md +10 -10
  98. package/docs/overview/introduction/index.md +413 -0
  99. package/docs/{evaluation → overview}/technology-comparison/index.md +2 -2
  100. package/docs/{evaluation → overview}/when-livestore/index.md +2 -2
  101. package/docs/overview/why-livestore/index.md +111 -0
  102. package/docs/patterns/app-evolution/index.md +2 -2
  103. package/docs/patterns/auth/index.md +188 -37
  104. package/docs/patterns/effect/index.md +21 -11
  105. package/docs/patterns/external-data/index.md +1 -1
  106. package/docs/patterns/file-management/index.md +1 -1
  107. package/docs/patterns/file-structure/index.md +1 -1
  108. package/docs/patterns/offline/index.md +1 -1
  109. package/docs/patterns/rich-text-editing/index.md +6 -61
  110. package/docs/patterns/server-side-clients/index.md +97 -0
  111. package/docs/patterns/state-machines/index.md +1 -1
  112. package/docs/patterns/storybook/index.md +44 -27
  113. package/docs/{reference/platform-adapters → platform-adapters}/cloudflare-durable-object-adapter/index.md +2 -2
  114. package/docs/{reference/platform-adapters → platform-adapters}/electron-adapter/index.md +2 -2
  115. package/docs/platform-adapters/expo-adapter/index.md +262 -0
  116. package/docs/{reference/platform-adapters → platform-adapters}/node-adapter/index.md +1 -1
  117. package/docs/{reference/platform-adapters → platform-adapters}/tauri-adapter/index.md +2 -2
  118. package/docs/{reference/platform-adapters → platform-adapters}/web-adapter/index.md +73 -4
  119. package/docs/sustainable-open-source/contributing/docs/index.md +94 -0
  120. package/docs/{contributing/contributing → sustainable-open-source/contributing/info}/index.md +1 -1
  121. package/docs/{contributing → sustainable-open-source/contributing}/monorepo/index.md +1 -1
  122. package/docs/{misc → sustainable-open-source}/sponsoring/index.md +4 -4
  123. package/docs/{reference/syncing/sync-provider → sync-providers}/cloudflare/index.md +15 -15
  124. package/docs/{reference/syncing/sync-provider → sync-providers}/electricsql/index.md +4 -4
  125. package/docs/{reference/syncing/sync-provider → sync-providers}/s2/index.md +12 -12
  126. package/docs/tutorial/0-welcome/index.md +1 -1
  127. package/docs/tutorial/1-setup-starter-project/index.md +5 -5
  128. package/docs/tutorial/3-read-and-write-todos-via-livestore/index.md +62 -43
  129. package/docs/tutorial/4-sync-data-via-cloudflare/index.md +2 -2
  130. package/docs/tutorial/5-expand-business-logic/index.md +1 -1
  131. package/docs/tutorial/6-persist-ui-state/index.md +12 -12
  132. package/docs/{evaluation → understanding-livestore}/design-decisions/index.md +2 -2
  133. package/docs/{evaluation → understanding-livestore}/event-sourcing/index.md +1 -1
  134. package/package.json +6 -6
  135. package/src/effect/LiveStore.ts +385 -3
  136. package/src/effect/mod.ts +13 -1
  137. package/src/live-queries/base-class.ts +113 -19
  138. package/src/live-queries/computed.ts +56 -0
  139. package/src/live-queries/signal.ts +49 -0
  140. package/src/mod.ts +1 -0
  141. package/src/store/StoreRegistry.test.ts +516 -0
  142. package/src/store/StoreRegistry.ts +393 -0
  143. package/src/store/create-store.ts +54 -10
  144. package/src/store/devtools.ts +15 -0
  145. package/src/store/store-eventstream.test.ts +112 -0
  146. package/src/store/store-types.ts +130 -23
  147. package/src/store/store.ts +101 -16
  148. package/src/utils/tests/fixture.ts +7 -0
  149. package/docs/api/adapter-expo/README/index.md +0 -9
  150. package/docs/api/adapter-expo/functions/makePersistedAdapter/index.md +0 -15
  151. package/docs/api/adapter-expo/type-aliases/MakeDbOptions/index.md +0 -74
  152. package/docs/api/adapter-node/README/index.md +0 -6
  153. package/docs/api/adapter-node/functions/makeAdapter/index.md +0 -17
  154. package/docs/api/adapter-node/functions/makeWorkerAdapter/index.md +0 -17
  155. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerBootStatusStream/index.md +0 -33
  156. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExport/index.md +0 -33
  157. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExportEventlog/index.md +0 -33
  158. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExtraDevtoolsMessage/index.md +0 -47
  159. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderHead/index.md +0 -33
  160. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderSyncState/index.md +0 -33
  161. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetNetworkStatus/index.md +0 -33
  162. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetRecreateSnapshot/index.md +0 -33
  163. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerInitialMessage/index.md +0 -153
  164. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerNetworkStatusStream/index.md +0 -33
  165. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPullStream/index.md +0 -75
  166. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPushToLeader/index.md +0 -47
  167. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerShutdown/index.md +0 -33
  168. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerSyncStateStream/index.md +0 -33
  169. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterInitialMessage/index.md +0 -83
  170. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterRequest/index.md +0 -79
  171. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerRequest/index.md +0 -29
  172. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerUpdateMessagePort/index.md +0 -89
  173. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/LeaderWorkerInnerRequest/index.md +0 -5
  174. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageType/index.md +0 -5
  175. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeEncoded/index.md +0 -5
  176. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeOpfs/index.md +0 -5
  177. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/SyncBackendOptions/index.md +0 -5
  178. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/LeaderWorkerInnerRequest/index.md +0 -5
  179. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageType/index.md +0 -5
  180. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageTypeOpfs/index.md +0 -5
  181. package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/SyncBackendOptions/index.md +0 -5
  182. package/docs/api/adapter-web/README/index.md +0 -14
  183. package/docs/api/adapter-web/functions/makeInMemoryAdapter/index.md +0 -24
  184. package/docs/api/adapter-web/functions/makePersistedAdapter/index.md +0 -29
  185. package/docs/api/adapter-web/type-aliases/WebAdapterOptions/index.md +0 -124
  186. package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/Any/index.md +0 -8
  187. package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/AnyWithoutFn/index.md +0 -9
  188. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Composite/index.md +0 -37
  189. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositeInput/index.md +0 -7
  190. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositePair/index.md +0 -23
  191. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Type/index.md +0 -7
  192. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Composite/index.md +0 -36
  193. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/DEFAULT/index.md +0 -13
  194. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/REBASE_GENERATION_DEFAULT/index.md +0 -7
  195. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/ROOT/index.md +0 -21
  196. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Schema/index.md +0 -7
  197. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/compare/index.md +0 -22
  198. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/diff/index.md +0 -29
  199. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromGlobal/index.md +0 -17
  200. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromString/index.md +0 -21
  201. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isEqual/index.md +0 -21
  202. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThan/index.md +0 -21
  203. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThanOrEqual/index.md +0 -21
  204. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/make/index.md +0 -13
  205. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/max/index.md +0 -21
  206. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/nextPair/index.md +0 -30
  207. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/toString/index.md +0 -19
  208. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/type-aliases/Type/index.md +0 -7
  209. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/Schema/index.md +0 -7
  210. package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/make/index.md +0 -13
  211. package/docs/api/livestore/@livestore/namespaces/FromInputSchema/type-aliases/DeriveSchema/index.md +0 -11
  212. package/docs/api/livestore/@livestore/namespaces/LiveQuery/type-aliases/Any/index.md +0 -5
  213. package/docs/api/livestore/@livestore/namespaces/LiveQueryDef/type-aliases/Any/index.md +0 -5
  214. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/classes/EncodedWithMeta/index.md +0 -374
  215. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Decoded/index.md +0 -7
  216. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Encoded/index.md +0 -7
  217. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/ForSchema/index.md +0 -13
  218. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Decoded/index.md +0 -7
  219. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Encoded/index.md +0 -27
  220. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/isEqualEncoded/index.md +0 -22
  221. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchema/index.md +0 -30
  222. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchemaMemo/index.md +0 -23
  223. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Decoded/index.md +0 -61
  224. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Encoded/index.md +0 -61
  225. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/ForRecord/index.md +0 -13
  226. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputDecoded/index.md +0 -29
  227. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputEncoded/index.md +0 -29
  228. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/type-aliases/Encoded/index.md +0 -7
  229. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/Encoded/index.md +0 -20
  230. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/toClientEncoded/index.md +0 -41
  231. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Decoded/index.md +0 -7
  232. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Encoded/index.md +0 -7
  233. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForRecord/index.md +0 -13
  234. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForSchema/index.md +0 -13
  235. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/Encoded/index.md +0 -14
  236. package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/makeSchema/index.md +0 -30
  237. package/docs/api/livestore/@livestore/namespaces/LiveStoreSchema/type-aliases/Any/index.md +0 -5
  238. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Equality/index.md +0 -5
  239. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/In/index.md +0 -5
  240. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Like/index.md +0 -5
  241. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/MultiValue/index.md +0 -5
  242. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Order/index.md +0 -5
  243. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/SingleValue/index.md +0 -5
  244. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/Any/index.md +0 -5
  245. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFeature/index.md +0 -5
  246. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFull/index.md +0 -513
  247. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/FirstQueryBehaviour/index.md +0 -49
  248. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/OrderByParams/index.md +0 -11
  249. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereOps/index.md +0 -5
  250. package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereParams/index.md +0 -11
  251. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/CountQuery/index.md +0 -35
  252. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/DeleteQuery/index.md +0 -43
  253. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/InsertQuery/index.md +0 -51
  254. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OnConflict/index.md +0 -21
  255. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OrderBy/index.md +0 -19
  256. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/RowQuery/index.md +0 -35
  257. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/SelectQuery/index.md +0 -87
  258. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/UpdateQuery/index.md +0 -51
  259. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/Where/index.md +0 -27
  260. package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/type-aliases/WriteQuery/index.md +0 -5
  261. package/docs/api/livestore/@livestore/namespaces/Queryable/type-aliases/Result/index.md +0 -19
  262. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/DocumentResult/index.md +0 -11
  263. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetIdColumnType/index.md +0 -11
  264. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetOrCreateOptions/index.md +0 -21
  265. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/RequiredColumnsOptions/index.md +0 -21
  266. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/Result/index.md +0 -11
  267. package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/ResultEncoded/index.md +0 -11
  268. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Blob/index.md +0 -13
  269. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/ColumnType/index.md +0 -5
  270. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Integer/index.md +0 -13
  271. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Null/index.md +0 -13
  272. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Real/index.md +0 -13
  273. package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Text/index.md +0 -13
  274. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Column/index.md +0 -69
  275. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/DbSchema/index.md +0 -21
  276. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/ForeignKey/index.md +0 -53
  277. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Index/index.md +0 -45
  278. package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Table/index.md +0 -37
  279. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/column/index.md +0 -15
  280. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/dbSchema/index.md +0 -15
  281. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/hash/index.md +0 -18
  282. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/index.md +0 -27
  283. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/structSchemaForTable/index.md +0 -15
  284. package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/table/index.md +0 -23
  285. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/ColumnDefinition/type-aliases/Any/index.md +0 -5
  286. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +0 -11
  287. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowEncoded/index.md +0 -11
  288. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +0 -11
  289. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +0 -11
  290. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumns/index.md +0 -11
  291. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiresInsertValues/index.md +0 -11
  292. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecoded/index.md +0 -11
  293. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +0 -11
  294. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +0 -11
  295. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncoded/index.md +0 -11
  296. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodedAll/index.md +0 -11
  297. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/Columns/index.md +0 -11
  298. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +0 -11
  299. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecoded/index.md +0 -11
  300. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +0 -11
  301. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +0 -11
  302. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncoded/index.md +0 -11
  303. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/AnyIfConstained/index.md +0 -15
  304. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColDefFn/index.md +0 -125
  305. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultThunk/index.md +0 -15
  306. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultValue/index.md +0 -11
  307. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinition/index.md +0 -81
  308. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinitionInput/index.md +0 -45
  309. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Columns/index.md +0 -5
  310. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ConstraintColumns/index.md +0 -16
  311. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchema/index.md +0 -9
  312. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaFromInputSchema/index.md +0 -15
  313. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaInput/index.md +0 -7
  314. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DefaultEncodedForColumnType/index.md +0 -11
  315. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/EmptyObjIfConstained/index.md +0 -11
  316. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/FieldColumnType/index.md +0 -5
  317. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Index/index.md +0 -35
  318. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/InsertStructSchemaForColumns/index.md +0 -11
  319. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/IsSingleColumn/index.md +0 -11
  320. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/NoDefault/index.md +0 -5
  321. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SpecializedColDefFn/index.md +0 -111
  322. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SqlDefaultValue/index.md +0 -13
  323. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/StructSchemaForColumns/index.md +0 -11
  324. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/TableDefinition/index.md +0 -47
  325. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/NoDefault/index.md +0 -5
  326. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/blob/index.md +0 -5
  327. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/boolean/index.md +0 -5
  328. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/column/index.md +0 -21
  329. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetime/index.md +0 -5
  330. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetimeInteger/index.md +0 -5
  331. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/defaultSchemaForColumnType/index.md +0 -21
  332. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/insertStructSchemaForTable/index.md +0 -21
  333. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/integer/index.md +0 -5
  334. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isColumnDefinition/index.md +0 -15
  335. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isDefaultThunk/index.md +0 -15
  336. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isSqlDefaultValue/index.md +0 -15
  337. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/json/index.md +0 -5
  338. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/makeDbSchema/index.md +0 -21
  339. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/real/index.md +0 -5
  340. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/resolveColumnDefault/index.md +0 -21
  341. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/structSchemaForTable/index.md +0 -21
  342. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/table/index.md +0 -37
  343. package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/text/index.md +0 -5
  344. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/functions/table/index.md +0 -294
  345. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/interfaces/Trait/index.md +0 -149
  346. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/Any/index.md +0 -5
  347. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/DefaultIdType/index.md +0 -11
  348. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/GetOptions/index.md +0 -11
  349. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/MakeGetQueryBuilder/index.md +0 -19
  350. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDef/index.md +0 -19
  351. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDefLike/index.md +0 -65
  352. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SqliteDef/index.md +0 -15
  353. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TableDefBase/index.md +0 -15
  354. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TraitAny/index.md +0 -5
  355. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/Input/index.md +0 -43
  356. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/WithDefaults/index.md +0 -35
  357. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +0 -11
  358. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +0 -11
  359. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +0 -11
  360. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecoded/index.md +0 -11
  361. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +0 -11
  362. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +0 -11
  363. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncoded/index.md +0 -11
  364. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/Columns/index.md +0 -11
  365. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +0 -11
  366. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecoded/index.md +0 -11
  367. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +0 -11
  368. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +0 -11
  369. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncoded/index.md +0 -11
  370. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/ColumnDefForType/index.md +0 -15
  371. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/FromTypes/index.md +0 -15
  372. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDef/type-aliases/Any/index.md +0 -5
  373. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForColumns/index.md +0 -15
  374. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForSchema/index.md +0 -23
  375. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDef/index.md +0 -23
  376. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDefSymbol/index.md +0 -5
  377. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableOptions/index.md +0 -35
  378. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDef/index.md +0 -5
  379. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDefConstrained/index.md +0 -5
  380. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/InputState/index.md +0 -35
  381. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/PrettifyFlat/index.md +0 -11
  382. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForInput/index.md +0 -15
  383. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForSchemaInput/index.md +0 -23
  384. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/StateType/index.md +0 -5
  385. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDef/index.md +0 -45
  386. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefBase/index.md +0 -47
  387. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefInternalsSymbol/index.md +0 -5
  388. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptions/index.md +0 -15
  389. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptionsInput/index.md +0 -5
  390. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ToColumns/index.md +0 -11
  391. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/WithDefaults/index.md +0 -27
  392. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/AutoIncrement/index.md +0 -5
  393. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ClientDocumentTableDefSymbol/index.md +0 -5
  394. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ColumnType/index.md +0 -5
  395. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Default/index.md +0 -5
  396. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/PrimaryKeyId/index.md +0 -5
  397. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/TableDefInternalsSymbol/index.md +0 -5
  398. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Unique/index.md +0 -5
  399. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/blob/index.md +0 -5
  400. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/boolean/index.md +0 -5
  401. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/clientDocument/index.md +0 -56
  402. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/column/index.md +0 -21
  403. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/createOptimisticEventSchema/index.md +0 -43
  404. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/datetime/index.md +0 -5
  405. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/getColumnDefForSchema/index.md +0 -29
  406. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/integer/index.md +0 -5
  407. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/isColumnDefinition/index.md +0 -15
  408. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/json/index.md +0 -5
  409. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeColumnSpec/index.md +0 -22
  410. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeState/index.md +0 -21
  411. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/real/index.md +0 -5
  412. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/tableIsClientDocumentTable/index.md +0 -21
  413. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/text/index.md +0 -5
  414. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withAutoIncrement/index.md +0 -23
  415. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withColumnType/index.md +0 -61
  416. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withDefault/index.md +0 -61
  417. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withPrimaryKey/index.md +0 -23
  418. package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withUnique/index.md +0 -23
  419. package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderAstSymbol/index.md +0 -5
  420. package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderTypeId/index.md +0 -5
  421. package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderAstSymbol/index.md +0 -5
  422. package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderTypeId/index.md +0 -5
  423. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeContext/index.md +0 -105
  424. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResult/index.md +0 -29
  425. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultAdvance/index.md +0 -125
  426. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultRebase/index.md +0 -125
  427. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultReject/index.md +0 -117
  428. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultUnknownError/index.md +0 -63
  429. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/Payload/index.md +0 -29
  430. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadLocalPush/index.md +0 -29
  431. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstream/index.md +0 -29
  432. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamAdvance/index.md +0 -29
  433. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamRebase/index.md +0 -31
  434. package/docs/api/livestore/@livestore/namespaces/SyncState/classes/SyncState/index.md +0 -179
  435. package/docs/api/livestore/@livestore/namespaces/SyncState/variables/findDivergencePoint/index.md +0 -36
  436. package/docs/api/livestore/@livestore/namespaces/SyncState/variables/merge/index.md +0 -35
  437. package/docs/api/livestore/@livestore/namespaces/SyncState/variables/payloadFromMergeResult/index.md +0 -15
  438. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/EventlogMetaRow/index.md +0 -5
  439. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaEventDefsMetaRow/index.md +0 -5
  440. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaMetaRow/index.md +0 -5
  441. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SessionChangesetMetaRow/index.md +0 -5
  442. package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SyncStatusRow/index.md +0 -5
  443. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/EVENTLOG_META_TABLE/index.md +0 -12
  444. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_EVENT_DEFS_META_TABLE/index.md +0 -5
  445. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_META_TABLE/index.md +0 -10
  446. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SESSION_CHANGESET_META_TABLE/index.md +0 -8
  447. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SYNC_STATUS_TABLE/index.md +0 -5
  448. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogMetaTable/index.md +0 -7
  449. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogSystemTables/index.md +0 -5
  450. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/isStateSystemTable/index.md +0 -15
  451. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaEventDefsMetaTable/index.md +0 -7
  452. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaMetaTable/index.md +0 -7
  453. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/sessionChangesetMetaTable/index.md +0 -5
  454. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/stateSystemTables/index.md +0 -5
  455. package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/syncStatusTable/index.md +0 -7
  456. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Callback/index.md +0 -19
  457. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingConfig/index.md +0 -5
  458. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingStrategy/index.md +0 -5
  459. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Reason/index.md +0 -5
  460. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/ResolveContext/index.md +0 -5
  461. package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Resolved/index.md +0 -5
  462. package/docs/api/livestore/README/index.md +0 -128
  463. package/docs/api/livestore/classes/IntentionalShutdownCause/index.md +0 -107
  464. package/docs/api/livestore/classes/SqliteDbWrapper/index.md +0 -538
  465. package/docs/api/livestore/classes/Store/index.md +0 -605
  466. package/docs/api/livestore/classes/StoreInterrupted/index.md +0 -107
  467. package/docs/api/livestore/functions/computed/index.md +0 -31
  468. package/docs/api/livestore/functions/createStore/index.md +0 -29
  469. package/docs/api/livestore/functions/createStorePromise/index.md +0 -31
  470. package/docs/api/livestore/functions/emptyDebugInfo/index.md +0 -25
  471. package/docs/api/livestore/functions/exposeDebugUtils/index.md +0 -9
  472. package/docs/api/livestore/functions/extractStackInfoFromStackTrace/index.md +0 -15
  473. package/docs/api/livestore/functions/isQueryable/index.md +0 -15
  474. package/docs/api/livestore/functions/nanoid/index.md +0 -39
  475. package/docs/api/livestore/functions/signal/index.md +0 -27
  476. package/docs/api/livestore/functions/stackInfoToString/index.md +0 -15
  477. package/docs/api/livestore/interfaces/ClientSession/index.md +0 -89
  478. package/docs/api/livestore/interfaces/CreateStoreOptions/index.md +0 -280
  479. package/docs/api/livestore/interfaces/InputSchema/index.md +0 -50
  480. package/docs/api/livestore/interfaces/InternalState/index.md +0 -33
  481. package/docs/api/livestore/interfaces/LiveQuery/index.md +0 -139
  482. package/docs/api/livestore/interfaces/LiveQueryDef/index.md +0 -95
  483. package/docs/api/livestore/interfaces/LiveStoreSchema/index.md +0 -83
  484. package/docs/api/livestore/interfaces/PreparedStatement/index.md +0 -71
  485. package/docs/api/livestore/interfaces/RcRef/index.md +0 -37
  486. package/docs/api/livestore/interfaces/Signal/index.md +0 -321
  487. package/docs/api/livestore/interfaces/SignalDef/index.md +0 -119
  488. package/docs/api/livestore/interfaces/SqliteDb/index.md +0 -249
  489. package/docs/api/livestore/type-aliases/Adapter/index.md +0 -15
  490. package/docs/api/livestore/type-aliases/Bindable/index.md +0 -5
  491. package/docs/api/livestore/type-aliases/BootStatus/index.md +0 -5
  492. package/docs/api/livestore/type-aliases/BootStatus-1/index.md +0 -5
  493. package/docs/api/livestore/type-aliases/DebugInfo/index.md +0 -5
  494. package/docs/api/livestore/type-aliases/DebugInfo-1/index.md +0 -5
  495. package/docs/api/livestore/type-aliases/DefineEventOptions/index.md +0 -100
  496. package/docs/api/livestore/type-aliases/EventDef/index.md +0 -172
  497. package/docs/api/livestore/type-aliases/EventDefFact/index.md +0 -7
  498. package/docs/api/livestore/type-aliases/EventDefFactInput/index.md +0 -18
  499. package/docs/api/livestore/type-aliases/EventDefFacts/index.md +0 -7
  500. package/docs/api/livestore/type-aliases/EventDefFactsGroup/index.md +0 -50
  501. package/docs/api/livestore/type-aliases/EventDefFactsSnapshot/index.md +0 -7
  502. package/docs/api/livestore/type-aliases/EventDefKey/index.md +0 -7
  503. package/docs/api/livestore/type-aliases/EventDefMap/index.md +0 -16
  504. package/docs/api/livestore/type-aliases/EventDefRecord/index.md +0 -21
  505. package/docs/api/livestore/type-aliases/FactsCallback/index.md +0 -60
  506. package/docs/api/livestore/type-aliases/LiveStoreContext/index.md +0 -5
  507. package/docs/api/livestore/type-aliases/LiveStoreContextRunning/index.md +0 -21
  508. package/docs/api/livestore/type-aliases/LiveStoreSchemaSymbol/index.md +0 -5
  509. package/docs/api/livestore/type-aliases/Materializer/index.md +0 -59
  510. package/docs/api/livestore/type-aliases/MaterializerContextQuery/index.md +0 -64
  511. package/docs/api/livestore/type-aliases/MaterializerResult/index.md +0 -12
  512. package/docs/api/livestore/type-aliases/MutableDebugInfo/index.md +0 -5
  513. package/docs/api/livestore/type-aliases/MutableDebugInfo-1/index.md +0 -5
  514. package/docs/api/livestore/type-aliases/OtelOptions/index.md +0 -21
  515. package/docs/api/livestore/type-aliases/PreparedBindValues/index.md +0 -5
  516. package/docs/api/livestore/type-aliases/PreparedBindValues-1/index.md +0 -5
  517. package/docs/api/livestore/type-aliases/QueryBuilder/index.md +0 -61
  518. package/docs/api/livestore/type-aliases/QueryBuilderAst/index.md +0 -5
  519. package/docs/api/livestore/type-aliases/QueryDebugInfo/index.md +0 -37
  520. package/docs/api/livestore/type-aliases/Queryable/index.md +0 -13
  521. package/docs/api/livestore/type-aliases/RefreshReason/index.md +0 -75
  522. package/docs/api/livestore/type-aliases/SessionIdSymbol/index.md +0 -5
  523. package/docs/api/livestore/type-aliases/ShutdownDeferred/index.md +0 -5
  524. package/docs/api/livestore/type-aliases/StackFrame/index.md +0 -21
  525. package/docs/api/livestore/type-aliases/StackInfo/index.md +0 -13
  526. package/docs/api/livestore/type-aliases/StoreInternals/index.md +0 -156
  527. package/docs/api/livestore/type-aliases/StoreInternalsSymbol/index.md +0 -5
  528. package/docs/api/livestore/type-aliases/SubscribeOptions/index.md +0 -73
  529. package/docs/api/livestore/type-aliases/Unsubscribe/index.md +0 -9
  530. package/docs/api/livestore/variables/LiveStoreSchemaSymbol/index.md +0 -5
  531. package/docs/api/livestore/variables/SessionIdSymbol/index.md +0 -26
  532. package/docs/api/livestore/variables/StoreInternalsSymbol/index.md +0 -5
  533. package/docs/api/livestore/variables/UNKNOWN_EVENT_SCHEMA_HASH/index.md +0 -5
  534. package/docs/api/livestore/variables/clientOnly/index.md +0 -54
  535. package/docs/api/livestore/variables/deepEqual/index.md +0 -25
  536. package/docs/api/livestore/variables/defineEvent/index.md +0 -49
  537. package/docs/api/livestore/variables/defineFacts/index.md +0 -42
  538. package/docs/api/livestore/variables/defineMaterializer/index.md +0 -39
  539. package/docs/api/livestore/variables/getDefaultValuesDecoded/index.md +0 -25
  540. package/docs/api/livestore/variables/getDefaultValuesEncoded/index.md +0 -25
  541. package/docs/api/livestore/variables/getEventDef/index.md +0 -33
  542. package/docs/api/livestore/variables/isLiveStoreSchema/index.md +0 -21
  543. package/docs/api/livestore/variables/liveStoreVersion/index.md +0 -5
  544. package/docs/api/livestore/variables/makeSchema/index.md +0 -21
  545. package/docs/api/livestore/variables/makeShutdownDeferred/index.md +0 -5
  546. package/docs/api/livestore/variables/materializers/index.md +0 -58
  547. package/docs/api/livestore/variables/normalizeUnknownEventHandling/index.md +0 -15
  548. package/docs/api/livestore/variables/prepareBindValues/index.md +0 -26
  549. package/docs/api/livestore/variables/provideOtel/index.md +0 -45
  550. package/docs/api/livestore/variables/queryDb/index.md +0 -115
  551. package/docs/api/livestore/variables/resolveEventDef/index.md +0 -28
  552. package/docs/api/livestore/variables/sql/index.md +0 -24
  553. package/docs/api/livestore/variables/synced/index.md +0 -55
  554. package/docs/api/react/README/index.md +0 -24
  555. package/docs/api/react/functions/LiveStoreProvider/index.md +0 -21
  556. package/docs/api/react/functions/useQuery/index.md +0 -37
  557. package/docs/api/react/functions/useQueryRef/index.md +0 -69
  558. package/docs/api/react/functions/useStackInfo/index.md +0 -9
  559. package/docs/api/react/functions/useStore/index.md +0 -21
  560. package/docs/api/react/functions/withReactApi/index.md +0 -21
  561. package/docs/api/react/type-aliases/Dispatch/index.md +0 -21
  562. package/docs/api/react/type-aliases/ReactApi/index.md +0 -21
  563. package/docs/api/react/type-aliases/SetStateAction/index.md +0 -11
  564. package/docs/api/react/type-aliases/SetStateActionPartial/index.md +0 -11
  565. package/docs/api/react/type-aliases/StateSetters/index.md +0 -11
  566. package/docs/api/react/type-aliases/UseClientDocumentResult/index.md +0 -11
  567. package/docs/api/react/variables/LiveStoreContext/index.md +0 -5
  568. package/docs/api/react/variables/useClientDocument/index.md +0 -91
  569. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/ReadableStream/index.md +0 -5
  570. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Request/index.md +0 -5
  571. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Response/index.md +0 -5
  572. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Rpc/index.md +0 -5
  573. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocket/index.md +0 -5
  574. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketPair/index.md +0 -5
  575. package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketRequestResponsePair/index.md +0 -5
  576. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortController/index.md +0 -53
  577. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortSignal/index.md +0 -269
  578. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Ai/index.md +0 -175
  579. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AiGateway/index.md +0 -99
  580. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AutoRAG/index.md +0 -95
  581. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiAutomaticSpeechRecognition/index.md +0 -29
  582. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageClassification/index.md +0 -29
  583. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageTextToText/index.md +0 -29
  584. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageToText/index.md +0 -29
  585. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiMultimodalEmbeddings/index.md +0 -29
  586. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiObjectDetection/index.md +0 -29
  587. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSentenceSimilarity/index.md +0 -29
  588. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSummarization/index.md +0 -29
  589. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextClassification/index.md +0 -29
  590. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextEmbeddings/index.md +0 -29
  591. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextGeneration/index.md +0 -29
  592. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToImage/index.md +0 -29
  593. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToSpeech/index.md +0 -29
  594. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTranslation/index.md +0 -29
  595. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Base_En_V1_5/index.md +0 -29
  596. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Large_En_V1_5/index.md +0 -29
  597. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_M3/index.md +0 -29
  598. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Reranker_Base/index.md +0 -29
  599. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Small_En_V1_5/index.md +0 -29
  600. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Black_Forest_Labs_Flux_1_Schnell/index.md +0 -29
  601. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Aura_1/index.md +0 -29
  602. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Nova_3/index.md +0 -29
  603. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Google_Gemma_3_12B_It/index.md +0 -29
  604. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Lucid_Origin/index.md +0 -29
  605. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Phoenix_1_0/index.md +0 -29
  606. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct/index.md +0 -29
  607. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast/index.md +0 -29
  608. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct/index.md +0 -29
  609. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_Guard_3_8B/index.md +0 -29
  610. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_M2M100_1_2B/index.md +0 -29
  611. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct/index.md +0 -29
  612. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_120B/index.md +0 -29
  613. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_20B/index.md +0 -29
  614. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper/index.md +0 -29
  615. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Large_V3_Turbo/index.md +0 -29
  616. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Tiny_En/index.md +0 -29
  617. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2/index.md +0 -29
  618. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct/index.md +0 -29
  619. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwq_32B/index.md +0 -29
  620. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Unum_Uform_Gen2_Qwen_500M/index.md +0 -29
  621. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Blob/index.md +0 -151
  622. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Body/index.md +0 -112
  623. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ByteLengthQueuingStrategy/index.md +0 -79
  624. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Cache/index.md +0 -83
  625. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CacheStorage/index.md +0 -47
  626. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CloseEvent/index.md +0 -415
  627. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CompressionStream/index.md +0 -65
  628. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CountQueuingStrategy/index.md +0 -79
  629. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Crypto/index.md +0 -86
  630. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CryptoKey/index.md +0 -66
  631. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CustomEvent/index.md +0 -403
  632. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1Database/index.md +0 -113
  633. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1DatabaseSession/index.md +0 -70
  634. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1PreparedStatement/index.md +0 -161
  635. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DOMException/index.md +0 -451
  636. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DecompressionStream/index.md +0 -65
  637. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DigestStream/index.md +0 -137
  638. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DurableObjectNamespace/index.md +0 -135
  639. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EmailEvent/index.md +0 -413
  640. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ErrorEvent/index.md +0 -469
  641. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Event/index.md +0 -296
  642. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventSource/index.md +0 -345
  643. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventTarget/index.md +0 -127
  644. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ExtendableEvent/index.md +0 -409
  645. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FetchEvent/index.md +0 -451
  646. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/File/index.md +0 -211
  647. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FixedLengthStream/index.md +0 -69
  648. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FormData/index.md +0 -295
  649. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/HTMLRewriter/index.md +0 -73
  650. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Headers/index.md +0 -237
  651. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/IdentityTransformStream/index.md +0 -69
  652. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/MessageEvent/index.md +0 -439
  653. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Performance/index.md +0 -44
  654. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/PromiseRejectionEvent/index.md +0 -403
  655. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Bucket/index.md +0 -207
  656. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Object/index.md +0 -131
  657. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamBYOBReader/index.md +0 -123
  658. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamDefaultReader/index.md +0 -89
  659. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ScheduledEvent/index.md +0 -433
  660. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageCursor/index.md +0 -121
  661. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageStatement/index.md +0 -13
  662. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SubtleCrypto/index.md +0 -432
  663. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TailEvent/index.md +0 -421
  664. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoder/index.md +0 -79
  665. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoderStream/index.md +0 -111
  666. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoder/index.md +0 -75
  667. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoderStream/index.md +0 -73
  668. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ToMarkdownService/index.md +0 -69
  669. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TransformStream/index.md +0 -75
  670. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URL/index.md +0 -201
  671. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLPattern/index.md +0 -185
  672. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLSearchParams/index.md +0 -287
  673. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Vectorize/index.md +0 -189
  674. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/VectorizeIndex/index.md +0 -160
  675. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WebSocketRequestResponsePair/index.md +0 -53
  676. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkerGlobalScope/index.md +0 -145
  677. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Workflow/index.md +0 -92
  678. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkflowInstance/index.md +0 -117
  679. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStream/index.md +0 -105
  680. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStreamDefaultWriter/index.md +0 -143
  681. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/addEventListener/index.md +0 -29
  682. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/atob/index.md +0 -15
  683. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/btoa/index.md +0 -15
  684. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearInterval/index.md +0 -15
  685. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearTimeout/index.md +0 -15
  686. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/dispatchEvent/index.md +0 -19
  687. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/fetch/index.md +0 -19
  688. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/queueMicrotask/index.md +0 -15
  689. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/removeEventListener/index.md +0 -29
  690. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/reportError/index.md +0 -15
  691. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setInterval/index.md +0 -51
  692. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setTimeout/index.md +0 -51
  693. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/structuredClone/index.md +0 -25
  694. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayInternalError/index.md +0 -55
  695. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayLogNotFound/index.md +0 -55
  696. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiInternalError/index.md +0 -55
  697. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiModels/index.md +0 -611
  698. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Input/index.md +0 -29
  699. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Output/index.md +0 -23
  700. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Input/index.md +0 -23
  701. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Output/index.md +0 -13
  702. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Aura_1_Input/index.md +0 -63
  703. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Input/index.md +0 -369
  704. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Output/index.md +0 -47
  705. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Input/index.md +0 -73
  706. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Output/index.md +0 -13
  707. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Phoenix_1_0_Input/index.md +0 -73
  708. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Async_Batch/index.md +0 -11
  709. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages/index.md +0 -181
  710. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages_Inner/index.md +0 -181
  711. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt/index.md +0 -131
  712. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt_Inner/index.md +0 -131
  713. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Input/index.md +0 -61
  714. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Output/index.md +0 -57
  715. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Input/index.md +0 -63
  716. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output/index.md +0 -119
  717. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Output/index.md +0 -53
  718. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Tiny_En_Output/index.md +0 -53
  719. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output/index.md +0 -23
  720. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Output/index.md +0 -11
  721. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AlarmInvocationInfo/index.md +0 -19
  722. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataPoint/index.md +0 -27
  723. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataset/index.md +0 -21
  724. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncBatch/index.md +0 -75
  725. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncResponse/index.md +0 -13
  726. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGInternalError/index.md +0 -55
  727. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNameNotSetError/index.md +0 -55
  728. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNotFoundError/index.md +0 -55
  729. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGUnauthorizedError/index.md +0 -55
  730. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding/index.md +0 -21
  731. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding1/index.md +0 -21
  732. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts/index.md +0 -39
  733. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts1/index.md +0 -39
  734. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputEmbedding/index.md +0 -31
  735. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputQuery/index.md +0 -23
  736. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OutputEmbeddingForContexts/index.md +0 -29
  737. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformations/index.md +0 -115
  738. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformationsGravityCoordinates/index.md +0 -27
  739. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BlobOptions/index.md +0 -11
  740. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CacheQueryOptions/index.md +0 -11
  741. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CloseEventInit/index.md +0 -27
  742. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Cloudflare/index.md +0 -11
  743. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Comment/index.md +0 -97
  744. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Console/index.md +0 -439
  745. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Container/index.md +0 -155
  746. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContainerStartupOptions/index.md +0 -35
  747. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContentOptions/index.md +0 -11
  748. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyAesKeyAlgorithm/index.md +0 -19
  749. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyArbitraryKeyAlgorithm/index.md +0 -35
  750. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyEllipticKeyAlgorithm/index.md +0 -19
  751. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyHmacKeyAlgorithm/index.md +0 -27
  752. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyKeyAlgorithm/index.md +0 -11
  753. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyPair/index.md +0 -19
  754. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyRsaKeyAlgorithm/index.md +0 -35
  755. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CustomEventCustomEventInit/index.md +0 -35
  756. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1ExecResult/index.md +0 -19
  757. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Meta/index.md +0 -104
  758. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Response/index.md +0 -27
  759. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DispatchNamespace/index.md +0 -75
  760. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Disposable/index.md +0 -7
  761. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Doctype/index.md +0 -27
  762. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DocumentEnd/index.md +0 -25
  763. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObject/index.md +0 -113
  764. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectClass/index.md +0 -9
  765. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetAlarmOptions/index.md +0 -11
  766. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetOptions/index.md +0 -19
  767. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectId/index.md +0 -41
  768. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectListOptions/index.md +0 -67
  769. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceGetDurableObjectOptions/index.md +0 -11
  770. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceNewUniqueIdOptions/index.md +0 -11
  771. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectPutOptions/index.md +0 -27
  772. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectSetAlarmOptions/index.md +0 -19
  773. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectState/index.md +0 -237
  774. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectStorage/index.md +0 -387
  775. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectTransaction/index.md +0 -257
  776. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchLimits/index.md +0 -23
  777. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchOptions/index.md +0 -27
  778. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Element/index.md +0 -285
  779. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EmailMessage/index.md +0 -29
  780. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EndTag/index.md +0 -67
  781. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ErrorEventErrorEventInit/index.md +0 -43
  782. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventInit/index.md +0 -27
  783. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventListenerObject/index.md +0 -27
  784. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventSourceEventSourceInit/index.md +0 -55
  785. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetAddEventListenerOptions/index.md +0 -35
  786. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetEventListenerOptions/index.md +0 -11
  787. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetHandlerObject/index.md +0 -21
  788. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExecutionContext/index.md +0 -47
  789. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExportedHandler/index.md +0 -81
  790. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FetcherPutOptions/index.md +0 -19
  791. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FileOptions/index.md +0 -19
  792. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ForwardableEmailMessage/index.md +0 -145
  793. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses/index.md +0 -33
  794. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses_Async/index.md +0 -33
  795. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses/index.md +0 -33
  796. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses_Async/index.md +0 -33
  797. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Messages/index.md +0 -167
  798. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Prompt/index.md +0 -123
  799. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterDocumentContentHandlers/index.md +0 -75
  800. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterElementContentHandlers/index.md +0 -57
  801. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HelloWorldBinding/index.md +0 -39
  802. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Hyperdrive/index.md +0 -77
  803. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IdentityTransformStreamQueuingStrategy/index.md +0 -11
  804. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformationResult/index.md +0 -51
  805. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformer/index.md +0 -76
  806. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesBinding/index.md +0 -61
  807. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesError/index.md +0 -63
  808. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBase/index.md +0 -198
  809. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagement/index.md +0 -31
  810. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementBase/index.md +0 -62
  811. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementEnterprise/index.md +0 -48
  812. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareAccessOrApiShield/index.md +0 -24
  813. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareForSaaSEnterprise/index.md +0 -22
  814. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesExportedAuthenticatorMetadata/index.md +0 -69
  815. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesGeographicInformation/index.md +0 -189
  816. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuth/index.md +0 -256
  817. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuthPlaceholder/index.md +0 -141
  818. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/InferenceUpstreamError/index.md +0 -55
  819. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JSONMode/index.md +0 -19
  820. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKey/index.md +0 -151
  821. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKeyWithKid/index.md +0 -231
  822. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespace/index.md +0 -769
  823. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetOptions/index.md +0 -25
  824. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetWithMetadataResult/index.md +0 -37
  825. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListKey/index.md +0 -37
  826. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListOptions/index.md +0 -27
  827. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespacePutOptions/index.md +0 -27
  828. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaBinding/index.md +0 -30
  829. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaError/index.md +0 -66
  830. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationGenerator/index.md +0 -30
  831. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationResult/index.md +0 -54
  832. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformer/index.md +0 -30
  833. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Message/index.md +0 -71
  834. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageBatch/index.md +0 -55
  835. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageEventInit/index.md +0 -11
  836. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePort/index.md +0 -205
  837. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePortPostMessageOptions/index.md +0 -11
  838. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageSendRequest/index.md +0 -33
  839. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Messages/index.md +0 -161
  840. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Messages/index.md +0 -159
  841. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Prompt/index.md +0 -131
  842. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Messages/index.md +0 -173
  843. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Prompt/index.md +0 -123
  844. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Prompt/index.md +0 -131
  845. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/PubSubMessage/index.md +0 -75
  846. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Queue/index.md +0 -53
  847. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueEvent/index.md +0 -383
  848. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueRetryOptions/index.md +0 -11
  849. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendBatchOptions/index.md +0 -11
  850. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendOptions/index.md +0 -19
  851. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategy/index.md +0 -35
  852. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategyInit/index.md +0 -15
  853. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Messages/index.md +0 -159
  854. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Prompt/index.md +0 -131
  855. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Messages/index.md +0 -173
  856. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Prompt/index.md +0 -123
  857. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Checksums/index.md +0 -55
  858. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Conditional/index.md +0 -43
  859. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Error/index.md +0 -71
  860. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2GetOptions/index.md +0 -27
  861. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2HTTPMetadata/index.md +0 -51
  862. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ListOptions/index.md +0 -43
  863. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartOptions/index.md +0 -35
  864. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartUpload/index.md +0 -75
  865. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ObjectBody/index.md +0 -267
  866. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2PutOptions/index.md +0 -83
  867. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2StringChecksums/index.md +0 -43
  868. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadPartOptions/index.md +0 -11
  869. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadedPart/index.md +0 -19
  870. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimit/index.md +0 -29
  871. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOptions/index.md +0 -11
  872. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOutcome/index.md +0 -11
  873. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableByteStreamController/index.md +0 -103
  874. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStream/index.md +0 -195
  875. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptions/index.md +0 -11
  876. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBRequest/index.md +0 -83
  877. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamDefaultController/index.md +0 -91
  878. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamGetReaderOptions/index.md +0 -15
  879. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamValuesOptions/index.md +0 -11
  880. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableWritablePair/index.md +0 -33
  881. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Request/index.md +0 -263
  882. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInit/index.md +0 -81
  883. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfProperties/index.md +0 -154
  884. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImage/index.md +0 -372
  885. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageDraw/index.md +0 -222
  886. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageMinify/index.md +0 -27
  887. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesR2/index.md +0 -13
  888. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Response/index.md +0 -253
  889. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ResponseInit/index.md +0 -51
  890. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RsaOtherPrimesInfo/index.md +0 -27
  891. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScheduledController/index.md +0 -31
  892. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Scheduler/index.md +0 -25
  893. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SchedulerWaitOptions/index.md +0 -11
  894. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScriptVersion/index.md +0 -27
  895. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SecretsStoreSecret/index.md +0 -18
  896. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SendEmail/index.md +0 -23
  897. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ServiceWorkerGlobalScope/index.md +0 -1042
  898. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Socket/index.md +0 -117
  899. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketAddress/index.md +0 -19
  900. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketInfo/index.md +0 -19
  901. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketOptions/index.md +0 -27
  902. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SqlStorage/index.md +0 -61
  903. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StreamPipeOptions/index.md +0 -51
  904. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StructuredSerializeOptions/index.md +0 -11
  905. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoDeriveKeyAlgorithm/index.md +0 -51
  906. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoEncryptAlgorithm/index.md +0 -59
  907. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoGenerateKeyAlgorithm/index.md +0 -51
  908. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoHashAlgorithm/index.md +0 -11
  909. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoImportKeyAlgorithm/index.md +0 -43
  910. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoSignAlgorithm/index.md +0 -35
  911. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvListOptions/index.md +0 -51
  912. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvStorage/index.md +0 -97
  913. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TestController/index.md +0 -3
  914. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Text/index.md +0 -105
  915. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderConstructorOptions/index.md +0 -19
  916. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderDecodeOptions/index.md +0 -11
  917. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderStreamTextDecoderStreamInit/index.md +0 -19
  918. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextEncoderEncodeIntoResult/index.md +0 -19
  919. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TlsOptions/index.md +0 -11
  920. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceDiagnosticChannelEvent/index.md +0 -27
  921. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceException/index.md +0 -35
  922. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItem/index.md +0 -131
  923. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemAlarmEventInfo/index.md +0 -11
  924. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemCustomEventInfo/index.md +0 -3
  925. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemEmailEventInfo/index.md +0 -27
  926. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfo/index.md +0 -19
  927. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoRequest/index.md +0 -47
  928. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoResponse/index.md +0 -11
  929. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfo/index.md +0 -11
  930. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoClose/index.md +0 -27
  931. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoError/index.md +0 -11
  932. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoMessage/index.md +0 -11
  933. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemJsRpcEventInfo/index.md +0 -11
  934. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemQueueEventInfo/index.md +0 -19
  935. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemScheduledEventInfo/index.md +0 -19
  936. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfo/index.md +0 -11
  937. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfoTailItem/index.md +0 -11
  938. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceLog/index.md +0 -27
  939. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceMetrics/index.md +0 -19
  940. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TransformStreamDefaultController/index.md +0 -91
  941. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Transformer/index.md +0 -113
  942. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternComponentResult/index.md +0 -19
  943. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternInit/index.md +0 -75
  944. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternOptions/index.md +0 -11
  945. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternResult/index.md +0 -75
  946. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingByteSource/index.md +0 -73
  947. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSink/index.md +0 -87
  948. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSource/index.md +0 -79
  949. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnsafeTraceMetrics/index.md +0 -21
  950. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeAsyncMutation/index.md +0 -16
  951. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeError/index.md +0 -19
  952. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexDetails/index.md +0 -58
  953. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexInfo/index.md +0 -45
  954. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeMatches/index.md +0 -21
  955. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeQueryOptions/index.md +0 -43
  956. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVector/index.md +0 -45
  957. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVectorMutation/index.md +0 -25
  958. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WebSocket/index.md +0 -255
  959. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoader/index.md +0 -25
  960. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderModule/index.md +0 -59
  961. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderWorkerCode/index.md +0 -147
  962. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStub/index.md +0 -31
  963. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStubEntrypointOptions/index.md +0 -11
  964. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowError/index.md +0 -19
  965. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowInstanceCreateOptions/index.md +0 -48
  966. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WritableStreamDefaultController/index.md +0 -47
  967. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/Env/index.md +0 -3
  968. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/GlobalProps/index.md +0 -3
  969. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/Exports/index.md +0 -5
  970. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/GlobalProp/index.md +0 -15
  971. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/MainModule/index.md +0 -5
  972. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/DurableObject/index.md +0 -161
  973. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/RpcTarget/index.md +0 -29
  974. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkerEntrypoint/index.md +0 -195
  975. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowEntrypoint/index.md +0 -73
  976. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowStep/index.md +0 -151
  977. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/functions/waitUntil/index.md +0 -15
  978. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/RpcStub/index.md +0 -11
  979. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowBackoff/index.md +0 -5
  980. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDelayDuration/index.md +0 -5
  981. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDurationLabel/index.md +0 -5
  982. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowEvent/index.md +0 -35
  983. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowRetentionDuration/index.md +0 -5
  984. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowSleepDuration/index.md +0 -5
  985. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepConfig/index.md +0 -33
  986. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepEvent/index.md +0 -35
  987. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowTimeoutDuration/index.md +0 -5
  988. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/RpcStub/index.md +0 -15
  989. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/env/index.md +0 -5
  990. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/DurableObjectBranded/index.md +0 -11
  991. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/RpcTargetBranded/index.md +0 -11
  992. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/StubBase/index.md +0 -33
  993. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkerEntrypointBranded/index.md +0 -11
  994. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkflowEntrypointBranded/index.md +0 -11
  995. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/BaseType/index.md +0 -5
  996. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/EntrypointBranded/index.md +0 -5
  997. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeCallableProvider/index.md +0 -11
  998. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeDisposable/index.md +0 -11
  999. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeProvider/index.md +0 -11
  1000. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MethodOrProperty/index.md +0 -11
  1001. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Provider/index.md +0 -15
  1002. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Result/index.md +0 -11
  1003. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Serializable/index.md +0 -11
  1004. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stub/index.md +0 -11
  1005. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubable/index.md +0 -5
  1006. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubify/index.md +0 -11
  1007. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Unstubify/index.md +0 -11
  1008. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/UnstubifyAll/index.md +0 -11
  1009. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/DURABLE_OBJECT_BRAND/index.md +0 -5
  1010. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_STUB_BRAND/index.md +0 -5
  1011. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_TARGET_BRAND/index.md +0 -5
  1012. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKER_ENTRYPOINT_BRAND/index.md +0 -5
  1013. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKFLOW_ENTRYPOINT_BRAND/index.md +0 -5
  1014. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/AlarmEventInfo/index.md +0 -19
  1015. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attribute/index.md +0 -19
  1016. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attributes/index.md +0 -19
  1017. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/CustomEventInfo/index.md +0 -11
  1018. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/DiagnosticChannelEvent/index.md +0 -27
  1019. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/EmailEventInfo/index.md +0 -35
  1020. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Exception/index.md +0 -35
  1021. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchEventInfo/index.md +0 -43
  1022. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchResponseInfo/index.md +0 -19
  1023. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Header/index.md +0 -19
  1024. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfo/index.md +0 -19
  1025. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoClose/index.md +0 -27
  1026. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoError/index.md +0 -11
  1027. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoMessage/index.md +0 -11
  1028. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/JsRpcEventInfo/index.md +0 -11
  1029. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Log/index.md +0 -27
  1030. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Onset/index.md +0 -83
  1031. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Outcome/index.md +0 -35
  1032. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/QueueEventInfo/index.md +0 -27
  1033. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Return/index.md +0 -19
  1034. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScheduledEventInfo/index.md +0 -27
  1035. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScriptVersion/index.md +0 -27
  1036. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanClose/index.md +0 -19
  1037. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanContext/index.md +0 -19
  1038. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanOpen/index.md +0 -35
  1039. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TailEvent/index.md +0 -49
  1040. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TraceEventInfo/index.md +0 -19
  1041. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventOutcome/index.md +0 -5
  1042. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventType/index.md +0 -5
  1043. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandler/index.md +0 -21
  1044. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerObject/index.md +0 -69
  1045. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerType/index.md +0 -5
  1046. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/CompileError/index.md +0 -199
  1047. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Global/index.md +0 -45
  1048. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Instance/index.md +0 -33
  1049. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Memory/index.md +0 -47
  1050. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Module/index.md +0 -71
  1051. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/RuntimeError/index.md +0 -199
  1052. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Table/index.md +0 -95
  1053. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/instantiate/index.md +0 -19
  1054. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/validate/index.md +0 -15
  1055. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/GlobalDescriptor/index.md +0 -19
  1056. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/MemoryDescriptor/index.md +0 -27
  1057. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleExportDescriptor/index.md +0 -19
  1058. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleImportDescriptor/index.md +0 -27
  1059. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/TableDescriptor/index.md +0 -27
  1060. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ExportValue/index.md +0 -5
  1061. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Exports/index.md +0 -5
  1062. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportExportKind/index.md +0 -5
  1063. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportValue/index.md +0 -5
  1064. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Imports/index.md +0 -5
  1065. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ModuleImports/index.md +0 -5
  1066. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/TableKind/index.md +0 -5
  1067. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ValueType/index.md +0 -5
  1068. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayHeaders/index.md +0 -113
  1069. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayProviders/index.md +0 -5
  1070. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayUniversalRequest/index.md +0 -37
  1071. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionInput/index.md +0 -13
  1072. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionOutput/index.md +0 -41
  1073. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayLog/index.md +0 -205
  1074. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayPatchLog/index.md +0 -29
  1075. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiIMultimodalEmbeddingsOutput/index.md +0 -21
  1076. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationInput/index.md +0 -13
  1077. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationOutput/index.md +0 -15
  1078. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextInput/index.md +0 -109
  1079. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextOutput/index.md +0 -13
  1080. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextInput/index.md +0 -101
  1081. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextOutput/index.md +0 -13
  1082. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelListType/index.md +0 -5
  1083. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchObject/index.md +0 -81
  1084. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchParams/index.md +0 -61
  1085. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiMultimodalEmbeddingsInput/index.md +0 -21
  1086. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionInput/index.md +0 -13
  1087. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionOutput/index.md +0 -15
  1088. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiOptions/index.md +0 -58
  1089. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityInput/index.md +0 -21
  1090. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityOutput/index.md +0 -5
  1091. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationInput/index.md +0 -21
  1092. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationOutput/index.md +0 -13
  1093. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationInput/index.md +0 -13
  1094. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationOutput/index.md +0 -15
  1095. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsInput/index.md +0 -13
  1096. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsOutput/index.md +0 -21
  1097. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationFunctionsInput/index.md +0 -21
  1098. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationInput/index.md +0 -125
  1099. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationOutput/index.md +0 -29
  1100. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationResponseFormat/index.md +0 -21
  1101. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolInput/index.md +0 -49
  1102. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyInput/index.md +0 -45
  1103. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyOutput/index.md +0 -21
  1104. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolOutput/index.md +0 -37
  1105. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageInput/index.md +0 -93
  1106. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageOutput/index.md +0 -5
  1107. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechInput/index.md +0 -21
  1108. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechOutput/index.md +0 -5
  1109. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationInput/index.md +0 -29
  1110. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationOutput/index.md +0 -13
  1111. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Input/index.md +0 -27
  1112. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Output/index.md +0 -27
  1113. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Input/index.md +0 -27
  1114. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Output/index.md +0 -27
  1115. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Input/index.md +0 -19
  1116. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Output/index.md +0 -5
  1117. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Input/index.md +0 -27
  1118. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Output/index.md +0 -27
  1119. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Deepgram_Aura_1_Output/index.md +0 -7
  1120. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Input/index.md +0 -5
  1121. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Output/index.md +0 -65
  1122. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Leonardo_Phoenix_1_0_Output/index.md +0 -7
  1123. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Input/index.md +0 -5
  1124. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Output/index.md +0 -37
  1125. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Input/index.md +0 -5
  1126. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Output/index.md +0 -49
  1127. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Input/index.md +0 -5
  1128. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output/index.md +0 -83
  1129. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Input/index.md +0 -35
  1130. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Output/index.md +0 -17
  1131. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Input/index.md +0 -5
  1132. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Output/index.md +0 -65
  1133. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Input/index.md +0 -5
  1134. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Output/index.md +0 -5
  1135. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Input/index.md +0 -5
  1136. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Output/index.md +0 -5
  1137. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Input/index.md +0 -17
  1138. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Tiny_En_Input/index.md +0 -17
  1139. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Input/index.md +0 -43
  1140. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Input/index.md +0 -5
  1141. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Output/index.md +0 -65
  1142. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Input/index.md +0 -5
  1143. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Output/index.md +0 -65
  1144. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Input/index.md +0 -69
  1145. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequest/index.md +0 -15
  1146. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequestStreaming/index.md +0 -11
  1147. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchResponse/index.md +0 -11
  1148. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagListResponse/index.md +0 -35
  1149. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchRequest/index.md +0 -69
  1150. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchResponse/index.md +0 -65
  1151. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BodyInit/index.md +0 -5
  1152. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BufferSource/index.md +0 -5
  1153. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CertVerificationStatus/index.md +0 -7
  1154. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CfProperties/index.md +0 -11
  1155. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ComparisonFilter/index.md +0 -29
  1156. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CompoundFilter/index.md +0 -21
  1157. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ContinentCode/index.md +0 -7
  1158. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionOptions/index.md +0 -59
  1159. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionRequestOptions/index.md +0 -29
  1160. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionResponse/index.md +0 -5
  1161. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1Result/index.md +0 -17
  1162. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionBookmark/index.md +0 -5
  1163. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionConstraint/index.md +0 -5
  1164. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectJurisdiction/index.md +0 -5
  1165. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectLocationHint/index.md +0 -5
  1166. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectStub/index.md +0 -21
  1167. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmailExportedHandler/index.md +0 -29
  1168. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmbeddedImageConversionOptions/index.md +0 -15
  1169. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventContext/index.md +0 -121
  1170. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListener/index.md +0 -21
  1171. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListenerOrEventListenerObject/index.md +0 -11
  1172. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventPluginContext/index.md +0 -133
  1173. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerFetchHandler/index.md +0 -33
  1174. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerQueueHandler/index.md +0 -33
  1175. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerScheduledHandler/index.md +0 -29
  1176. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailHandler/index.md +0 -29
  1177. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailStreamHandler/index.md +0 -29
  1178. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTestHandler/index.md +0 -29
  1179. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTraceHandler/index.md +0 -29
  1180. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Fetcher/index.md +0 -53
  1181. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayOptions/index.md +0 -77
  1182. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayRetries/index.md +0 -29
  1183. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/HeadersInit/index.md +0 -5
  1184. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageConversionOptions/index.md +0 -13
  1185. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageDrawOptions/index.md +0 -53
  1186. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInfoResponse/index.md +0 -5
  1187. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInputOptions/index.md +0 -13
  1188. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageOutputOptions/index.md +0 -37
  1189. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransform/index.md +0 -133
  1190. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransformationOutputOptions/index.md +0 -13
  1191. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfProperties/index.md +0 -13
  1192. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfPropertiesEdgeRequestKeepAliveStatus/index.md +0 -7
  1193. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/InstanceStatus/index.md +0 -29
  1194. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Iso3166Alpha2Code/index.md +0 -7
  1195. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/KVNamespaceListResult/index.md +0 -15
  1196. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackDurableObjectClass/index.md +0 -11
  1197. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackForExport/index.md +0 -11
  1198. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackServiceStub/index.md +0 -11
  1199. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MarkdownDocument/index.md +0 -21
  1200. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationInputOptions/index.md +0 -38
  1201. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationOutputOptions/index.md +0 -68
  1202. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesFunction/index.md +0 -29
  1203. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesPluginFunction/index.md +0 -33
  1204. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Params/index.md +0 -11
  1205. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/QueueContentType/index.md +0 -5
  1206. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Objects/index.md +0 -15
  1207. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Range/index.md +0 -5
  1208. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ReadableStreamReadResult/index.md +0 -11
  1209. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RequestInfo/index.md +0 -15
  1210. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RoleScopedChatInput/index.md +0 -29
  1211. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Service/index.md +0 -11
  1212. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SqlStorageValue/index.md +0 -5
  1213. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SupportedFileFormat/index.md +0 -21
  1214. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/TypedArray/index.md +0 -5
  1215. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UniversalGatewayOptions/index.md +0 -17
  1216. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UsageTags/index.md +0 -29
  1217. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorFloatArray/index.md +0 -5
  1218. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeDistanceMetric/index.md +0 -8
  1219. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeIndexConfig/index.md +0 -7
  1220. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMatch/index.md +0 -15
  1221. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMetadataRetrievalLevel/index.md +0 -9
  1222. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadata/index.md +0 -7
  1223. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilter/index.md +0 -11
  1224. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterCollectionOp/index.md +0 -5
  1225. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterOp/index.md +0 -9
  1226. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataValue/index.md +0 -7
  1227. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WebSocketEventMap/index.md +0 -37
  1228. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerGlobalScopeEventMap/index.md +0 -45
  1229. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerVersionMetadata/index.md +0 -38
  1230. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowDurationLabel/index.md +0 -5
  1231. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowRetentionDuration/index.md +0 -5
  1232. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowSleepDuration/index.md +0 -5
  1233. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Cloudflare/index.md +0 -5
  1234. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/ReadableStream/index.md +0 -51
  1235. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Request/index.md +0 -29
  1236. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Response/index.md +0 -73
  1237. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocket/index.md +0 -61
  1238. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocketPair/index.md +0 -17
  1239. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/caches/index.md +0 -9
  1240. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/console/index.md +0 -5
  1241. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/crypto/index.md +0 -12
  1242. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/onmessage/index.md +0 -5
  1243. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/origin/index.md +0 -5
  1244. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/performance/index.md +0 -10
  1245. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/scheduler/index.md +0 -5
  1246. package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/self/index.md +0 -5
  1247. package/docs/api/sync-cf/README/index.md +0 -37
  1248. package/docs/api/sync-cf/functions/handleSyncRequest/index.md +0 -117
  1249. package/docs/api/sync-cf/functions/makeWorker/index.md +0 -35
  1250. package/docs/api/sync-cf/functions/matchSyncRequest/index.md +0 -19
  1251. package/docs/api/sync-cf/interfaces/SyncBackendRpcInterface/index.md +0 -31
  1252. package/docs/api/sync-cf/type-aliases/CFWorker/index.md +0 -47
  1253. package/docs/api/sync-cf/type-aliases/DoObject/index.md +0 -11
  1254. package/docs/api/sync-cf/type-aliases/DoState/index.md +0 -5
  1255. package/docs/api/sync-cf/type-aliases/DurableObjectId/index.md +0 -5
  1256. package/docs/api/sync-cf/type-aliases/Env/index.md +0 -5
  1257. package/docs/api/sync-cf/type-aliases/MakeDurableObjectClass/index.md +0 -29
  1258. package/docs/api/sync-cf/type-aliases/MakeDurableObjectClassOptions/index.md +0 -179
  1259. package/docs/api/sync-cf/type-aliases/MakeWorkerOptions/index.md +0 -80
  1260. package/docs/api/sync-cf/type-aliases/RpcSubscription/index.md +0 -55
  1261. package/docs/api/sync-cf/type-aliases/StoreId/index.md +0 -5
  1262. package/docs/api/sync-cf/variables/PERSISTENCE_FORMAT_VERSION/index.md +0 -20
  1263. package/docs/api/sync-cf/variables/WebSocketAttachmentSchema/index.md +0 -5
  1264. package/docs/api/sync-cf/variables/encodeIncomingMessage/index.md +0 -27
  1265. package/docs/api/sync-cf/variables/encodeOutgoingMessage/index.md +0 -19
  1266. package/docs/api/sync-cf/variables/makeDurableObject/index.md +0 -39
  1267. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ApiPayload/index.md +0 -5
  1268. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ArgsSchema/index.md +0 -5
  1269. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PullPayload/index.md +0 -5
  1270. package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PushPayload/index.md +0 -5
  1271. package/docs/api/sync-electric/README/index.md +0 -29
  1272. package/docs/api/sync-electric/classes/InvalidOperationError/index.md +0 -99
  1273. package/docs/api/sync-electric/functions/makeElectricUrl/index.md +0 -69
  1274. package/docs/api/sync-electric/functions/makeSyncBackend/index.md +0 -15
  1275. package/docs/api/sync-electric/functions/syncBackendOptions/index.md +0 -21
  1276. package/docs/api/sync-electric/functions/toTableName/index.md +0 -15
  1277. package/docs/api/sync-electric/interfaces/SyncBackendOptions/index.md +0 -67
  1278. package/docs/api/sync-electric/type-aliases/SyncMetadata/index.md +0 -5
  1279. package/docs/api/sync-electric/variables/PERSISTENCE_FORMAT_VERSION/index.md +0 -28
  1280. package/docs/api/sync-electric/variables/SyncMetadata/index.md +0 -5
  1281. package/docs/contributing/docs/index.md +0 -19
  1282. package/docs/reference/cli/index.md +0 -57
  1283. package/docs/reference/framework-integrations/vue-integration/index.md +0 -98
  1284. package/docs/reference/opentelemetry/index.md +0 -36
  1285. package/docs/reference/platform-adapters/expo-adapter/index.md +0 -43
  1286. package/docs/reference/store/index.md +0 -253
  1287. package/docs/reference/syncing/server-side-clients/index.md +0 -49
  1288. /package/docs/{data-modeling → building-with-livestore/examples}/ai-agent/index.md +0 -0
  1289. /package/docs/{data-modeling → building-with-livestore/examples}/turnbased-game/index.md +0 -0
  1290. /package/docs/{reference → building-with-livestore}/state/sqlite/index.md +0 -0
  1291. /package/docs/{reference/framework-integrations → framework-integrations}/solid-integration/index.md +0 -0
  1292. /package/docs/{reference/framework-integrations → framework-integrations}/svelte-integration/index.md +0 -0
  1293. /package/docs/{evaluation → misc}/performance/index.md +0 -0
  1294. /package/docs/{evaluation → misc}/state-of-the-project/index.md +0 -0
  1295. /package/docs/{reference/syncing/sync-provider → sync-providers}/custom/index.md +0 -0
@@ -1,10 +1,131 @@
1
1
  import type { UnknownError } from '@livestore/common';
2
- import type { LiveStoreSchema } from '@livestore/common/schema';
2
+ import type { LiveStoreEvent, LiveStoreSchema } from '@livestore/common/schema';
3
3
  import type { Cause, OtelTracer, Scope } from '@livestore/utils/effect';
4
- import { Effect, Layer } from '@livestore/utils/effect';
4
+ import { Context, Deferred, Effect, Layer } from '@livestore/utils/effect';
5
5
  import type { LiveStoreContextProps } from '../store/create-store.ts';
6
6
  import { DeferredStoreContext, LiveStoreContextRunning } from '../store/create-store.ts';
7
+ import type { LiveStoreContextRunning as LiveStoreContextRunningType, Queryable } from '../store/store-types.ts';
7
8
  export declare const makeLiveStoreContext: <TSchema extends LiveStoreSchema, TContext = {}>({ schema, storeId, context, boot, adapter, disableDevtools, onBootStatus, batchUpdates, syncPayload, syncPayloadSchema, }: LiveStoreContextProps<TSchema, TContext>) => Effect.Effect<LiveStoreContextRunning["Type"], UnknownError | Cause.TimeoutException, DeferredStoreContext | Scope.Scope | OtelTracer.OtelTracer>;
9
+ /**
10
+ * @deprecated Use `Store.Tag(schema, storeId)` instead for type-safe store contexts.
11
+ *
12
+ * @example Migration
13
+ * ```ts
14
+ * // Before
15
+ * const layer = LiveStoreContextLayer({ schema, adapter, ... })
16
+ *
17
+ * // After
18
+ * class MainStore extends Store.Tag(schema, 'main') {}
19
+ * const layer = MainStore.layer({ adapter, ... })
20
+ * ```
21
+ */
8
22
  export declare const LiveStoreContextLayer: <TSchema extends LiveStoreSchema, TContext = {}>(props: LiveStoreContextProps<TSchema, TContext>) => Layer.Layer<LiveStoreContextRunning, UnknownError | Cause.TimeoutException, OtelTracer.OtelTracer>;
23
+ /**
24
+ * @deprecated Use `Store.Tag(schema, storeId)` and `MainStore.DeferredLayer` instead.
25
+ */
9
26
  export declare const LiveStoreContextDeferred: Layer.Layer<DeferredStoreContext, never, never>;
27
+ /** Branded type for unique store context identity */
28
+ declare const StoreContextTypeId: unique symbol;
29
+ /** Phantom type carrying schema and storeId information */
30
+ export interface StoreContextId<TSchema extends LiveStoreSchema, TStoreId extends string> {
31
+ readonly [StoreContextTypeId]: {
32
+ readonly schema: TSchema;
33
+ readonly storeId: TStoreId;
34
+ };
35
+ }
36
+ /** Phantom type for deferred store context */
37
+ declare const DeferredContextTypeId: unique symbol;
38
+ export interface DeferredContextId<TStoreId extends string> {
39
+ readonly [DeferredContextTypeId]: {
40
+ readonly storeId: TStoreId;
41
+ };
42
+ }
43
+ /** Props for creating a store layer (schema and storeId are already provided) */
44
+ export type StoreLayerProps<TSchema extends LiveStoreSchema, TContext = {}> = Omit<LiveStoreContextProps<TSchema, TContext>, 'storeId' | 'schema'>;
45
+ /**
46
+ * Type for a Store.Tag class. This is the return type of `Store.Tag(schema, storeId)`.
47
+ * Can be extended as a class and is yieldable in Effect.gen.
48
+ *
49
+ * Note: This uses a type alias with a new() signature to make it extendable.
50
+ */
51
+ export type StoreTagClass<TSchema extends LiveStoreSchema, TStoreId extends string> = {
52
+ /** Constructor signature (makes the type extendable as a class) */
53
+ new (): Context.Tag<StoreContextId<TSchema, TStoreId>, LiveStoreContextRunningType<TSchema>>;
54
+ /** Tag identity type (from Context.Tag) */
55
+ readonly Id: StoreContextId<TSchema, TStoreId>;
56
+ /** Service type (from Context.Tag) */
57
+ readonly Type: LiveStoreContextRunningType<TSchema>;
58
+ /** The LiveStore schema for this store */
59
+ readonly schema: TSchema;
60
+ /** Unique identifier for this store */
61
+ readonly storeId: TStoreId;
62
+ /** Creates a layer that initializes the store */
63
+ layer<TContext = {}>(props: StoreLayerProps<TSchema, TContext>): Layer.Layer<StoreTagClass<TSchema, TStoreId>, UnknownError | Cause.TimeoutException, OtelTracer.OtelTracer>;
64
+ /** Deferred store tag for async initialization patterns */
65
+ readonly Deferred: Context.Tag<DeferredContextId<TStoreId>, Deferred.Deferred<LiveStoreContextRunningType<TSchema>, UnknownError>>;
66
+ /** Layer that provides the Deferred tag */
67
+ readonly DeferredLayer: Layer.Layer<DeferredContextId<TStoreId>, never, never>;
68
+ /** Layer that waits for Deferred and provides the running store */
69
+ readonly fromDeferred: Layer.Layer<StoreTagClass<TSchema, TStoreId>, UnknownError, DeferredContextId<TStoreId>>;
70
+ /** Query the store. Returns an Effect that yields the query result. */
71
+ query<TResult>(query: Queryable<TResult>): Effect.Effect<TResult, never, StoreTagClass<TSchema, TStoreId>>;
72
+ /** Commit events to the store. */
73
+ commit(...eventInputs: LiveStoreEvent.Input.ForSchema<TSchema>[]): Effect.Effect<void, never, StoreTagClass<TSchema, TStoreId>>;
74
+ /** Use the store with a callback function. */
75
+ use<A, E, R>(f: (ctx: LiveStoreContextRunningType<TSchema>) => Effect.Effect<A, E, R>): Effect.Effect<A, E, R | StoreTagClass<TSchema, TStoreId>>;
76
+ } & Context.Tag<StoreContextId<TSchema, TStoreId>, LiveStoreContextRunningType<TSchema>>;
77
+ /**
78
+ * Store utilities for Effect integration.
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * import { Store } from '@livestore/livestore/effect'
83
+ *
84
+ * export class MainStore extends Store.Tag(schema, 'main') {}
85
+ * ```
86
+ */
87
+ export declare const Store: {
88
+ /**
89
+ * Create a typed store context class for use with Effect.
90
+ * @see {@link makeStoreTag} for full documentation
91
+ */
92
+ Tag: <TSchema extends LiveStoreSchema, TStoreId extends string>(schema: TSchema, storeId: TStoreId) => StoreTagClass<TSchema, TStoreId>;
93
+ };
94
+ /**
95
+ * @deprecated Use `Store.Tag(schema, storeId)` instead.
96
+ *
97
+ * @example Migration
98
+ * ```ts
99
+ * // Before
100
+ * const MainStoreContext = makeStoreContext<typeof schema>()('main')
101
+ * export const MainStore = MainStoreContext.Tag
102
+ * export const MainStoreLayer = MainStoreContext.Layer
103
+ *
104
+ * // After
105
+ * export class MainStore extends Store.Tag(schema, 'main') {}
106
+ * // MainStore.layer({ ... }) for the layer
107
+ * ```
108
+ */
109
+ export interface StoreContext<TSchema extends LiveStoreSchema, TStoreId extends string> {
110
+ readonly storeId: TStoreId;
111
+ readonly Tag: Context.Tag<StoreContextId<TSchema, TStoreId>, LiveStoreContextRunningType<TSchema>>;
112
+ readonly DeferredTag: Context.Tag<DeferredContextId<TStoreId>, Deferred.Deferred<LiveStoreContextRunningType<TSchema>, UnknownError>>;
113
+ readonly Layer: <TContext = {}>(props: Omit<LiveStoreContextProps<TSchema, TContext>, 'storeId'>) => Layer.Layer<StoreContextId<TSchema, TStoreId>, UnknownError | Cause.TimeoutException, OtelTracer.OtelTracer>;
114
+ readonly DeferredLayer: Layer.Layer<DeferredContextId<TStoreId>, never, never>;
115
+ readonly fromDeferred: Layer.Layer<StoreContextId<TSchema, TStoreId>, UnknownError, DeferredContextId<TStoreId>>;
116
+ }
117
+ /**
118
+ * @deprecated Use `Store.Tag(schema, storeId)` instead.
119
+ *
120
+ * @example Migration
121
+ * ```ts
122
+ * // Before
123
+ * const MainStoreContext = makeStoreContext<typeof schema>()('main')
124
+ *
125
+ * // After
126
+ * class MainStore extends Store.Tag(schema, 'main') {}
127
+ * ```
128
+ */
129
+ export declare const makeStoreContext: <TSchema extends LiveStoreSchema>() => <TStoreId extends string>(storeId: TStoreId) => StoreContext<TSchema, TStoreId>;
130
+ export {};
10
131
  //# sourceMappingURL=LiveStore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiveStore.d.ts","sourceRoot":"","sources":["../../src/effect/LiveStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE/D,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AACvE,OAAO,EAAsB,MAAM,EAAE,KAAK,EAAQ,MAAM,yBAAyB,CAAA;AAEjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AACrE,OAAO,EAAe,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAA;AAErG,eAAO,MAAM,oBAAoB,GAAI,OAAO,SAAS,eAAe,EAAE,QAAQ,GAAG,EAAE,EAAE,2HAWlF,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,KAAG,MAAM,CAAC,MAAM,CACzD,uBAAuB,CAAC,MAAM,CAAC,EAC/B,YAAY,GAAG,KAAK,CAAC,gBAAgB,EACrC,oBAAoB,GAAG,KAAK,CAAC,KAAK,GAAG,UAAU,CAAC,UAAU,CA0BzD,CAAA;AAEH,eAAO,MAAM,qBAAqB,GAAI,OAAO,SAAS,eAAe,EAAE,QAAQ,GAAG,EAAE,EAClF,OAAO,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,KAC9C,KAAK,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E,QAAQ,CAAC,EAAE,SAAS,CAAC,KAC7D,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC,gBAAgB,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IACjH,QAAQ,CAAC,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IAC9E,QAAQ,CAAC,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,YAAY,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAA;CACjH;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,GAC1B,OAAO,SAAS,eAAe,QAC/B,QAAQ,SAAS,MAAM,EAAE,SAAS,QAAQ,KAAG,YAAY,CAAC,OAAO,EAAE,QAAQ,CA2E3E,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { omitUndefineds } from '@livestore/utils';
2
- import { Deferred, Duration, Effect, Layer, pipe } from '@livestore/utils/effect';
2
+ import { Context, Deferred, Duration, Effect, Layer, pipe } from '@livestore/utils/effect';
3
3
  import { createStore, DeferredStoreContext, LiveStoreContextRunning } from "../store/create-store.js";
4
4
  export const makeLiveStoreContext = ({ schema, storeId = 'default', context, boot, adapter, disableDevtools, onBootStatus, batchUpdates, syncPayload, syncPayloadSchema, }) => pipe(Effect.gen(function* () {
5
5
  const store = yield* createStore({
@@ -19,6 +19,200 @@ export const makeLiveStoreContext = ({ schema, storeId = 'default', context, boo
19
19
  // This can take quite a while.
20
20
  // TODO make this configurable
21
21
  Effect.timeout(Duration.minutes(5)), Effect.withSpan('@livestore/livestore/effect:makeLiveStoreContext'));
22
+ /**
23
+ * @deprecated Use `Store.Tag(schema, storeId)` instead for type-safe store contexts.
24
+ *
25
+ * @example Migration
26
+ * ```ts
27
+ * // Before
28
+ * const layer = LiveStoreContextLayer({ schema, adapter, ... })
29
+ *
30
+ * // After
31
+ * class MainStore extends Store.Tag(schema, 'main') {}
32
+ * const layer = MainStore.layer({ adapter, ... })
33
+ * ```
34
+ */
22
35
  export const LiveStoreContextLayer = (props) => Layer.scoped(LiveStoreContextRunning, makeLiveStoreContext(props)).pipe(Layer.withSpan('LiveStore'), Layer.provide(LiveStoreContextDeferred));
36
+ /**
37
+ * @deprecated Use `Store.Tag(schema, storeId)` and `MainStore.DeferredLayer` instead.
38
+ */
23
39
  export const LiveStoreContextDeferred = Layer.effect(DeferredStoreContext, Deferred.make());
40
+ /**
41
+ * Create a typed store context class for use with Effect.
42
+ *
43
+ * Returns a class that extends `Context.Tag`, making it directly yieldable in Effect code.
44
+ * The class includes static methods for creating layers and accessors for common operations.
45
+ *
46
+ * @param schema - The LiveStore schema (used for type inference and runtime)
47
+ * @param storeId - Unique identifier for this store
48
+ *
49
+ * @example Basic usage
50
+ * ```ts
51
+ * import { Store } from '@livestore/livestore/effect'
52
+ * import { schema } from './schema.ts'
53
+ *
54
+ * // Define your store (once per store)
55
+ * export class MainStore extends Store.Tag(schema, 'main') {}
56
+ *
57
+ * // Create the layer
58
+ * const storeLayer = MainStore.layer({
59
+ * adapter: myAdapter,
60
+ * batchUpdates: ReactDOM.unstable_batchedUpdates,
61
+ * })
62
+ *
63
+ * // Use in Effect code
64
+ * Effect.gen(function* () {
65
+ * const { store } = yield* MainStore
66
+ * // ^? Store<typeof schema> - fully typed!
67
+ *
68
+ * // Or use accessors
69
+ * const users = yield* MainStore.query(tables.users.all())
70
+ * yield* MainStore.commit(events.createUser({ id: '1', name: 'Alice' }))
71
+ * })
72
+ * ```
73
+ *
74
+ * @example Multiple stores
75
+ * ```ts
76
+ * class MainStore extends Store.Tag(mainSchema, 'main') {}
77
+ * class SettingsStore extends Store.Tag(settingsSchema, 'settings') {}
78
+ *
79
+ * // Both available in same Effect context
80
+ * Effect.gen(function* () {
81
+ * const main = yield* MainStore
82
+ * const settings = yield* SettingsStore
83
+ * })
84
+ *
85
+ * const layer = Layer.mergeAll(
86
+ * MainStore.layer({ adapter: mainAdapter }),
87
+ * SettingsStore.layer({ adapter: settingsAdapter }),
88
+ * )
89
+ * ```
90
+ */
91
+ const makeStoreTag = (schema, storeId) => {
92
+ // Create the deferred tag and layers upfront
93
+ const _DeferredTag = Context.GenericTag(`@livestore/store-deferred/${storeId}`);
94
+ const _DeferredLayer = Layer.effect(_DeferredTag, Deferred.make());
95
+ class Tag extends Context.Tag(`@livestore/store/${storeId}`)() {
96
+ static schema = schema;
97
+ static storeId = storeId;
98
+ static layer(props) {
99
+ return pipe(Effect.gen(function* () {
100
+ const store = yield* createStore({
101
+ schema,
102
+ storeId,
103
+ adapter: props.adapter,
104
+ batchUpdates: props.batchUpdates,
105
+ ...omitUndefineds({
106
+ context: props.context,
107
+ boot: props.boot,
108
+ disableDevtools: props.disableDevtools,
109
+ onBootStatus: props.onBootStatus,
110
+ syncPayload: props.syncPayload,
111
+ syncPayloadSchema: props.syncPayloadSchema,
112
+ }),
113
+ });
114
+ globalThis.__debugLiveStore ??= {};
115
+ if (Object.keys(globalThis.__debugLiveStore).length === 0) {
116
+ globalThis.__debugLiveStore._ = store;
117
+ }
118
+ globalThis.__debugLiveStore[storeId] = store;
119
+ const ctx = { stage: 'running', store: store };
120
+ // Also fulfill the deferred if it exists in context
121
+ yield* Effect.flatMap(Effect.serviceOption(_DeferredTag), (optDeferred) => optDeferred._tag === 'Some' ? Deferred.succeed(optDeferred.value, ctx) : Effect.void);
122
+ return ctx;
123
+ }), Effect.timeout(Duration.minutes(5)), Effect.withSpan(`@livestore/effect:Store.Tag:${storeId}`), Layer.scoped(Tag), Layer.withSpan(`LiveStore:${storeId}`), Layer.provide(_DeferredLayer));
124
+ }
125
+ static Deferred = _DeferredTag;
126
+ static DeferredLayer = _DeferredLayer;
127
+ static fromDeferred = pipe(Effect.gen(function* () {
128
+ const deferred = yield* _DeferredTag;
129
+ const ctx = yield* deferred;
130
+ return Layer.succeed(Tag, ctx);
131
+ }), Layer.unwrapScoped);
132
+ static query(query) {
133
+ return Effect.map(Tag, ({ store }) => store.query(query));
134
+ }
135
+ static commit(...eventInputs) {
136
+ return Effect.map(Tag, ({ store }) => {
137
+ store.commit(...eventInputs);
138
+ });
139
+ }
140
+ static use(f) {
141
+ return Effect.flatMap(Tag, f);
142
+ }
143
+ }
144
+ return Tag;
145
+ };
146
+ /**
147
+ * Store utilities for Effect integration.
148
+ *
149
+ * @example
150
+ * ```ts
151
+ * import { Store } from '@livestore/livestore/effect'
152
+ *
153
+ * export class MainStore extends Store.Tag(schema, 'main') {}
154
+ * ```
155
+ */
156
+ export const Store = {
157
+ /**
158
+ * Create a typed store context class for use with Effect.
159
+ * @see {@link makeStoreTag} for full documentation
160
+ */
161
+ Tag: makeStoreTag,
162
+ };
163
+ /**
164
+ * @deprecated Use `Store.Tag(schema, storeId)` instead.
165
+ *
166
+ * @example Migration
167
+ * ```ts
168
+ * // Before
169
+ * const MainStoreContext = makeStoreContext<typeof schema>()('main')
170
+ *
171
+ * // After
172
+ * class MainStore extends Store.Tag(schema, 'main') {}
173
+ * ```
174
+ */
175
+ export const makeStoreContext = () => (storeId) => {
176
+ const Tag = Context.GenericTag(`@livestore/store/${storeId}`);
177
+ const DeferredTag = Context.GenericTag(`@livestore/store-deferred/${storeId}`);
178
+ const DeferredLayer = Layer.effect(DeferredTag, Deferred.make());
179
+ const makeLayer = (props) => pipe(Effect.gen(function* () {
180
+ const store = yield* createStore({
181
+ schema: props.schema,
182
+ storeId,
183
+ adapter: props.adapter,
184
+ batchUpdates: props.batchUpdates,
185
+ ...omitUndefineds({
186
+ context: props.context,
187
+ boot: props.boot,
188
+ disableDevtools: props.disableDevtools,
189
+ onBootStatus: props.onBootStatus,
190
+ syncPayload: props.syncPayload,
191
+ syncPayloadSchema: props.syncPayloadSchema,
192
+ }),
193
+ });
194
+ globalThis.__debugLiveStore ??= {};
195
+ if (Object.keys(globalThis.__debugLiveStore).length === 0) {
196
+ globalThis.__debugLiveStore._ = store;
197
+ }
198
+ globalThis.__debugLiveStore[storeId] = store;
199
+ const ctx = { stage: 'running', store: store };
200
+ // Also fulfill the deferred if it exists in context
201
+ yield* Effect.flatMap(Effect.serviceOption(DeferredTag), (optDeferred) => optDeferred._tag === 'Some' ? Deferred.succeed(optDeferred.value, ctx) : Effect.void);
202
+ return ctx;
203
+ }), Effect.timeout(Duration.minutes(5)), Effect.withSpan(`@livestore/effect:makeStoreContext:${storeId}`), Layer.scoped(Tag), Layer.withSpan(`LiveStore:${storeId}`), Layer.provide(DeferredLayer));
204
+ const fromDeferred = pipe(Effect.gen(function* () {
205
+ const deferred = yield* DeferredTag;
206
+ const ctx = yield* deferred;
207
+ return Layer.succeed(Tag, ctx);
208
+ }), Layer.unwrapScoped);
209
+ return {
210
+ storeId,
211
+ Tag,
212
+ DeferredTag,
213
+ Layer: makeLayer,
214
+ DeferredLayer,
215
+ fromDeferred,
216
+ };
217
+ };
24
218
  //# sourceMappingURL=LiveStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiveStore.js","sourceRoot":"","sources":["../../src/effect/LiveStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAA;AAGjF,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAA;AAErG,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAiD,EACnF,MAAM,EACN,OAAO,GAAG,SAAS,EACnB,OAAO,EACP,IAAI,EACJ,OAAO,EACP,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GACwB,EAIzC,EAAE,CACF,IAAI,CACF,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,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,MAAM,YAAY,GAId,IAAI,CACN,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAClB,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,WAAW,CAAA;QACnC,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAA;QAC3B,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IAChC,CAAC,CAAC,EACF,KAAK,CAAC,YAAY,CACnB,CAAA;IAED,OAAO;QACL,OAAO;QACP,GAAG;QACH,WAAW;QACX,KAAK,EAAE,SAAS;QAChB,aAAa;QACb,YAAY;KACb,CAAA;AACH,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
1
  export { DeferredStoreContext, type LiveStoreContextProps, LiveStoreContextRunning as LiveStoreContext, LiveStoreContextRunning, } from '../store/create-store.ts';
2
- export { LiveStoreContextDeferred, LiveStoreContextLayer } from './LiveStore.ts';
2
+ export { type DeferredContextId, LiveStoreContextDeferred, LiveStoreContextLayer, makeStoreContext, Store, type StoreContext, type StoreContextId, type StoreLayerProps, type StoreTagClass, } from './LiveStore.ts';
3
3
  //# sourceMappingURL=mod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/effect/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,qBAAqB,EAC1B,uBAAuB,IAAI,gBAAgB,EAC3C,uBAAuB,GACxB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/effect/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,qBAAqB,EAC1B,uBAAuB,IAAI,gBAAgB,EAC3C,uBAAuB,GACxB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,EACL,KAAK,iBAAiB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,EACL,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,gBAAgB,CAAA"}
@@ -1,3 +1,5 @@
1
1
  export { DeferredStoreContext, LiveStoreContextRunning as LiveStoreContext, LiveStoreContextRunning, } from "../store/create-store.js";
2
- export { LiveStoreContextDeferred, LiveStoreContextLayer } from "./LiveStore.js";
2
+ // Store.Tag - Idiomatic Effect API
3
+ // Legacy API (deprecated)
4
+ export { LiveStoreContextDeferred, LiveStoreContextLayer, makeStoreContext, Store, } from "./LiveStore.js";
3
5
  //# sourceMappingURL=mod.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../src/effect/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,IAAI,gBAAgB,EAC3C,uBAAuB,GACxB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../src/effect/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,IAAI,gBAAgB,EAC3C,uBAAuB,GACxB,MAAM,0BAA0B,CAAA;AACjC,mCAAmC;AACnC,0BAA0B;AAC1B,OAAO,EAEL,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,GAKN,MAAM,gBAAgB,CAAA"}
@@ -17,37 +17,104 @@ export type ReactivityGraphContext = {
17
17
  effectsWrapper: (run: () => void) => void;
18
18
  };
19
19
  export type GetResult<TQuery extends LiveQueryDef.Any | LiveQuery.Any | SignalDef<any>> = TQuery extends LiveQuery<infer TResult> ? TResult : TQuery extends LiveQueryDef<infer TResult> ? TResult : TQuery extends SignalDef<infer TResult> ? TResult : unknown;
20
+ /**
21
+ * A signal definition representing ephemeral, local-only reactive state.
22
+ *
23
+ * `SignalDef` is the type returned by {@link signal}. It's a blueprint for creating
24
+ * signal instances—the actual instance is created when you use the definition with
25
+ * a Store via `store.query()` or `store.setSignal()`.
26
+ *
27
+ * @typeParam T - The type of value the signal holds
28
+ */
20
29
  export interface SignalDef<T> extends LiveQueryDef<T, 'signal-def'> {
21
30
  _tag: 'signal-def';
31
+ /** The initial value used when the signal is first created */
22
32
  defaultValue: T;
33
+ /** Unique identifier for caching and deduplication */
23
34
  hash: string;
35
+ /** Human-readable label for debugging and devtools */
24
36
  label: string;
37
+ /** Creates a reference-counted signal instance bound to a Store's reactivity graph */
25
38
  make: (ctx: ReactivityGraphContext) => RcRef<ISignal<T>>;
26
39
  [Equal.symbol](that: SignalDef<T>): boolean;
27
40
  [Hash.symbol](): number;
28
41
  }
42
+ /**
43
+ * Interface for a live signal instance.
44
+ *
45
+ * This represents an active signal bound to a Store's reactivity graph.
46
+ * Use `store.setSignal()` to update values and `store.query()` to read them.
47
+ *
48
+ * @typeParam T - The type of value the signal holds
49
+ */
29
50
  export interface ISignal<T> extends LiveQuery<T> {
30
51
  _tag: 'signal';
31
52
  reactivityGraph: ReactivityGraph;
53
+ /** The underlying reactive reference in the graph */
32
54
  ref: RG.Ref<T, ReactivityGraphContext, RefreshReason>;
55
+ /** Sets the signal's value (prefer using `store.setSignal()` instead) */
33
56
  set: (value: T) => void;
57
+ /** Gets the signal's current value (prefer using `store.query()` instead) */
34
58
  get: () => T;
59
+ /** Removes the signal from the reactivity graph */
35
60
  destroy: () => void;
36
61
  }
37
62
  export declare const TypeId: unique symbol;
38
63
  export type TypeId = typeof TypeId;
64
+ /**
65
+ * A reference-counted wrapper around a LiveQuery or Signal instance.
66
+ *
67
+ * LiveStore uses reference counting to manage query lifecycle. When multiple
68
+ * components or subscriptions use the same query definition, they share a single
69
+ * instance. The instance is destroyed when the last reference is released.
70
+ *
71
+ * You typically don't interact with `RcRef` directly—it's used internally by
72
+ * hooks like `useQuery` and `useQueryRef`.
73
+ */
39
74
  export interface RcRef<T> {
75
+ /** Current reference count */
40
76
  rc: number;
77
+ /** The wrapped query or signal instance */
41
78
  value: T;
79
+ /** Decrements the reference count; destroys the instance when it reaches zero */
42
80
  deref: () => void;
43
81
  }
82
+ /**
83
+ * Dependency key used to identify queries on platforms where `fn.toString()` isn't reliable.
84
+ *
85
+ * On Expo/React Native, Hermes compiles functions to bytecode, so `fn.toString()` returns
86
+ * `[native code]`. To uniquely identify contextual queries, you must provide explicit `deps`.
87
+ *
88
+ * @example
89
+ * ```ts
90
+ * // On Expo, this would fail without deps:
91
+ * const filtered$ = queryDb(
92
+ * (get) => tables.todos.where({ userId: get(userId$) }),
93
+ * { deps: [userId] } // Required on Expo/React Native
94
+ * )
95
+ * ```
96
+ */
44
97
  export type DepKey = string | number | ReadonlyArray<string | number | undefined | null>;
45
98
  export declare const depsToString: (deps: DepKey) => string;
99
+ /**
100
+ * A query definition representing a blueprint for a reactive query.
101
+ *
102
+ * Query definitions are created by {@link queryDb}, {@link computed}, and {@link signal}.
103
+ * They're lightweight and can be defined at module scope. The actual query instance
104
+ * (which holds state) is created lazily when you use the definition with a Store.
105
+ *
106
+ * Multiple uses of the same definition share a single instance via reference counting.
107
+ *
108
+ * @typeParam TResult - The type of value the query returns
109
+ * @typeParam TTag - Internal discriminator tag ('def' for queries, 'signal-def' for signals)
110
+ */
46
111
  export interface LiveQueryDef<TResult, TTag extends string = 'def'> {
47
112
  _tag: TTag;
48
- /** Creates a new LiveQuery instance bound to a specific store/reactivityGraph */
113
+ /** Creates a reference-counted query instance bound to a Store's reactivity graph */
49
114
  make: (ctx: ReactivityGraphContext, otelContext?: otel.Context) => RcRef<LiveQuery<TResult> | ISignal<TResult>>;
115
+ /** Human-readable label for debugging and devtools */
50
116
  label: string;
117
+ /** Unique identifier derived from the query string or explicit deps; used for caching */
51
118
  hash: string;
52
119
  [Equal.symbol](that: LiveQueryDef<TResult, TTag>): boolean;
53
120
  [Hash.symbol](): number;
@@ -56,26 +123,46 @@ export declare namespace LiveQueryDef {
56
123
  type Any = LiveQueryDef<any, 'def' | 'signal-def'>;
57
124
  }
58
125
  /**
59
- * A LiveQuery is stateful
126
+ * A live query instance bound to a specific Store.
127
+ *
128
+ * `LiveQuery` represents an active, stateful query in the reactivity graph. Unlike
129
+ * query definitions (`LiveQueryDef`), instances maintain state like execution counts,
130
+ * timing data, and active subscriptions.
131
+ *
132
+ * You typically don't work with `LiveQuery` directly—use `store.query()` for one-shot
133
+ * reads or `store.subscribe()` for reactive subscriptions. The instance is managed
134
+ * automatically via reference counting.
135
+ *
136
+ * @typeParam TResult - The type of value the query returns
60
137
  */
61
138
  export interface LiveQuery<TResult> {
139
+ /** Unique identifier for this query instance */
62
140
  id: number;
141
+ /** Discriminator for the query type */
63
142
  _tag: 'computed' | 'db' | 'graphql' | 'signal';
64
143
  [TypeId]: TypeId;
65
- /** This should only be used on a type-level and doesn't hold any value during runtime */
144
+ /** Type-level only—extracts the result type from a LiveQuery */
66
145
  '__result!': TResult;
67
- /** A reactive thunk representing the query results */
146
+ /** The underlying reactive atom in the graph that holds the query result */
68
147
  results$: RG.Atom<TResult, ReactivityGraphContext, RefreshReason>;
148
+ /** Human-readable label for debugging and devtools */
69
149
  label: string;
150
+ /** Executes the query and returns the result */
70
151
  run: (args: {
71
152
  otelContext?: otel.Context;
72
153
  debugRefreshReason?: RefreshReason;
73
154
  }) => TResult;
155
+ /** Removes the query from the reactivity graph */
74
156
  destroy: () => void;
157
+ /** Whether this query instance has been destroyed */
75
158
  isDestroyed: boolean;
159
+ /** Stack traces of active subscriptions (for debugging) */
76
160
  activeSubscriptions: Set<StackInfo>;
161
+ /** Number of times this query has been executed */
77
162
  runs: number;
163
+ /** Execution times in milliseconds (for performance monitoring) */
78
164
  executionTimes: number[];
165
+ /** The definition that created this instance */
79
166
  def: LiveQueryDef<TResult> | SignalDef<TResult>;
80
167
  }
81
168
  export declare namespace LiveQuery {
@@ -102,6 +189,22 @@ export declare abstract class LiveStoreQueryBase<TResult> implements LiveQuery<T
102
189
  }) => TResult;
103
190
  protected dependencyQueriesRef: DependencyQueriesRef;
104
191
  }
192
+ /**
193
+ * Function signature for the `get` parameter in `computed()` and `queryDb()` callbacks.
194
+ *
195
+ * Call `get()` with a query definition, signal, or live query instance to:
196
+ * 1. Read its current value
197
+ * 2. Establish a reactive dependency (the caller re-runs when the dependency changes)
198
+ *
199
+ * @example
200
+ * ```ts
201
+ * const filtered$ = computed((get) => {
202
+ * const todos = get(todos$) // Depends on todos$
203
+ * const filter = get(filterText$) // Depends on filterText$
204
+ * return todos.filter((t) => t.text.includes(filter))
205
+ * })
206
+ * ```
207
+ */
105
208
  export type GetAtomResult = <T>(atom: RG.Atom<T, any, RefreshReason> | LiveQueryDef<T> | LiveQuery<T> | ISignal<T> | SignalDef<T>, otelContext?: otel.Context | undefined, debugRefreshReason?: RefreshReason | undefined) => T;
106
209
  export type DependencyQueriesRef = Set<RcRef<LiveQuery.Any | ISignal<any>>>;
107
210
  export declare const makeGetAtomResult: (get: RG.GetAtom, ctx: ReactivityGraphContext, otelContext: otel.Context, dependencyQueriesRef: DependencyQueriesRef) => GetAtomResult;
@@ -1 +1 @@
1
- {"version":3,"file":"base-class.d.ts","sourceRoot":"","sources":["../../src/live-queries/base-class.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAa,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAE/C,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAEvD,MAAM,MAAM,eAAe,GAAG,EAAE,CAAC,aAAa,CAAC,aAAa,EAAE,cAAc,EAAE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