@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/effect/LiveStore.d.ts +123 -2
- package/dist/effect/LiveStore.d.ts.map +1 -1
- package/dist/effect/LiveStore.js +195 -1
- package/dist/effect/LiveStore.js.map +1 -1
- package/dist/effect/mod.d.ts +1 -1
- package/dist/effect/mod.d.ts.map +1 -1
- package/dist/effect/mod.js +3 -1
- package/dist/effect/mod.js.map +1 -1
- package/dist/live-queries/base-class.d.ts +107 -4
- package/dist/live-queries/base-class.d.ts.map +1 -1
- package/dist/live-queries/base-class.js.map +1 -1
- package/dist/live-queries/computed.d.ts +56 -0
- package/dist/live-queries/computed.d.ts.map +1 -1
- package/dist/live-queries/computed.js +56 -0
- package/dist/live-queries/computed.js.map +1 -1
- package/dist/live-queries/signal.d.ts +49 -0
- package/dist/live-queries/signal.d.ts.map +1 -1
- package/dist/live-queries/signal.js +49 -0
- package/dist/live-queries/signal.js.map +1 -1
- package/dist/mod.d.ts +1 -0
- package/dist/mod.d.ts.map +1 -1
- package/dist/mod.js +1 -0
- package/dist/mod.js.map +1 -1
- package/dist/store/StoreRegistry.d.ts +190 -0
- package/dist/store/StoreRegistry.d.ts.map +1 -0
- package/dist/store/StoreRegistry.js +244 -0
- package/dist/store/StoreRegistry.js.map +1 -0
- package/dist/store/StoreRegistry.test.d.ts +2 -0
- package/dist/store/StoreRegistry.test.d.ts.map +1 -0
- package/dist/store/StoreRegistry.test.js +380 -0
- package/dist/store/StoreRegistry.test.js.map +1 -0
- package/dist/store/create-store.d.ts +51 -7
- package/dist/store/create-store.d.ts.map +1 -1
- package/dist/store/create-store.js +22 -5
- package/dist/store/create-store.js.map +1 -1
- package/dist/store/devtools.d.ts.map +1 -1
- package/dist/store/devtools.js +13 -0
- package/dist/store/devtools.js.map +1 -1
- package/dist/store/store-eventstream.test.d.ts +2 -0
- package/dist/store/store-eventstream.test.d.ts.map +1 -0
- package/dist/store/store-eventstream.test.js +65 -0
- package/dist/store/store-eventstream.test.js.map +1 -0
- package/dist/store/store-types.d.ts +119 -42
- package/dist/store/store-types.d.ts.map +1 -1
- package/dist/store/store-types.js +49 -0
- package/dist/store/store-types.js.map +1 -1
- package/dist/store/store.d.ts +64 -11
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +84 -13
- package/dist/store/store.js.map +1 -1
- package/dist/utils/tests/fixture.d.ts +15 -0
- package/dist/utils/tests/fixture.d.ts.map +1 -1
- package/dist/utils/tests/fixture.js +7 -0
- package/dist/utils/tests/fixture.js.map +1 -1
- package/docs/api/index.md +1 -1
- package/docs/{data-modeling → building-with-livestore}/complex-ui-state/index.md +0 -2
- package/docs/building-with-livestore/crud/index.md +3 -0
- package/docs/{data-modeling → building-with-livestore/data-modeling}/index.md +1 -1
- package/docs/{reference → building-with-livestore}/debugging/index.md +2 -2
- package/docs/{reference → building-with-livestore}/devtools/index.md +1 -1
- package/docs/{reference → building-with-livestore}/events/index.md +17 -2
- package/docs/{data-modeling → building-with-livestore/examples}/todo-workspaces/index.md +3 -9
- package/docs/building-with-livestore/opentelemetry/index.md +227 -0
- package/docs/building-with-livestore/production-checklist/index.md +5 -0
- package/docs/{reference → building-with-livestore}/reactivity-system/index.md +1 -1
- package/docs/building-with-livestore/rules-for-ai-agents/index.md +9 -0
- package/docs/{reference → building-with-livestore}/state/materializers/index.md +1 -1
- package/docs/{reference → building-with-livestore}/state/sql-queries/index.md +24 -2
- package/docs/{reference → building-with-livestore}/state/sqlite-schema/index.md +11 -11
- package/docs/{reference → building-with-livestore}/state/sqlite-schema-effect/index.md +17 -17
- package/docs/building-with-livestore/store/index.md +625 -0
- package/docs/{reference → building-with-livestore}/syncing/index.md +5 -5
- package/docs/building-with-livestore/tools/cli/index.md +177 -0
- package/docs/{reference → building-with-livestore/tools}/mcp/index.md +30 -8
- package/docs/examples/cloudflare-adapter/index.md +1 -1
- package/docs/examples/expo-adapter/index.md +1 -1
- package/docs/examples/index.md +3 -3
- package/docs/examples/node-adapter/index.md +1 -1
- package/docs/examples/web-adapter/index.md +1 -1
- package/docs/{reference/framework-integrations → framework-integrations}/custom-elements/index.md +1 -1
- package/docs/{reference/framework-integrations → framework-integrations}/react-integration/index.md +358 -327
- package/docs/framework-integrations/vue-integration/index.md +294 -0
- package/docs/getting-started/expo/index.md +190 -44
- package/docs/getting-started/react-web/index.md +79 -26
- package/docs/getting-started/vue/index.md +210 -25
- package/docs/index.md +150 -106
- package/docs/llms.txt +138 -96
- package/docs/misc/CODE_OF_CONDUCT/index.md +1 -1
- package/docs/misc/FAQ/index.md +1 -1
- package/docs/misc/community/index.md +2 -1
- package/docs/misc/design-partners/index.md +1 -1
- package/docs/misc/package-management/index.md +1 -1
- package/docs/misc/resources/index.md +1 -1
- package/docs/misc/troubleshooting/index.md +3 -3
- package/docs/{reference → overview}/concepts/index.md +8 -8
- package/docs/{evaluation → overview}/how-livestore-works/index.md +10 -10
- package/docs/overview/introduction/index.md +413 -0
- package/docs/{evaluation → overview}/technology-comparison/index.md +2 -2
- package/docs/{evaluation → overview}/when-livestore/index.md +2 -2
- package/docs/overview/why-livestore/index.md +111 -0
- package/docs/patterns/app-evolution/index.md +2 -2
- package/docs/patterns/auth/index.md +188 -37
- package/docs/patterns/effect/index.md +21 -11
- package/docs/patterns/external-data/index.md +1 -1
- package/docs/patterns/file-management/index.md +1 -1
- package/docs/patterns/file-structure/index.md +1 -1
- package/docs/patterns/offline/index.md +1 -1
- package/docs/patterns/rich-text-editing/index.md +6 -61
- package/docs/patterns/server-side-clients/index.md +97 -0
- package/docs/patterns/state-machines/index.md +1 -1
- package/docs/patterns/storybook/index.md +44 -27
- package/docs/{reference/platform-adapters → platform-adapters}/cloudflare-durable-object-adapter/index.md +2 -2
- package/docs/{reference/platform-adapters → platform-adapters}/electron-adapter/index.md +2 -2
- package/docs/platform-adapters/expo-adapter/index.md +262 -0
- package/docs/{reference/platform-adapters → platform-adapters}/node-adapter/index.md +1 -1
- package/docs/{reference/platform-adapters → platform-adapters}/tauri-adapter/index.md +2 -2
- package/docs/{reference/platform-adapters → platform-adapters}/web-adapter/index.md +73 -4
- package/docs/sustainable-open-source/contributing/docs/index.md +94 -0
- package/docs/{contributing/contributing → sustainable-open-source/contributing/info}/index.md +1 -1
- package/docs/{contributing → sustainable-open-source/contributing}/monorepo/index.md +1 -1
- package/docs/{misc → sustainable-open-source}/sponsoring/index.md +4 -4
- package/docs/{reference/syncing/sync-provider → sync-providers}/cloudflare/index.md +15 -15
- package/docs/{reference/syncing/sync-provider → sync-providers}/electricsql/index.md +4 -4
- package/docs/{reference/syncing/sync-provider → sync-providers}/s2/index.md +12 -12
- package/docs/tutorial/0-welcome/index.md +1 -1
- package/docs/tutorial/1-setup-starter-project/index.md +5 -5
- package/docs/tutorial/3-read-and-write-todos-via-livestore/index.md +62 -43
- package/docs/tutorial/4-sync-data-via-cloudflare/index.md +2 -2
- package/docs/tutorial/5-expand-business-logic/index.md +1 -1
- package/docs/tutorial/6-persist-ui-state/index.md +12 -12
- package/docs/{evaluation → understanding-livestore}/design-decisions/index.md +2 -2
- package/docs/{evaluation → understanding-livestore}/event-sourcing/index.md +1 -1
- package/package.json +6 -6
- package/src/effect/LiveStore.ts +385 -3
- package/src/effect/mod.ts +13 -1
- package/src/live-queries/base-class.ts +113 -19
- package/src/live-queries/computed.ts +56 -0
- package/src/live-queries/signal.ts +49 -0
- package/src/mod.ts +1 -0
- package/src/store/StoreRegistry.test.ts +516 -0
- package/src/store/StoreRegistry.ts +393 -0
- package/src/store/create-store.ts +54 -10
- package/src/store/devtools.ts +15 -0
- package/src/store/store-eventstream.test.ts +112 -0
- package/src/store/store-types.ts +130 -23
- package/src/store/store.ts +101 -16
- package/src/utils/tests/fixture.ts +7 -0
- package/docs/api/adapter-expo/README/index.md +0 -9
- package/docs/api/adapter-expo/functions/makePersistedAdapter/index.md +0 -15
- package/docs/api/adapter-expo/type-aliases/MakeDbOptions/index.md +0 -74
- package/docs/api/adapter-node/README/index.md +0 -6
- package/docs/api/adapter-node/functions/makeAdapter/index.md +0 -17
- package/docs/api/adapter-node/functions/makeWorkerAdapter/index.md +0 -17
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerBootStatusStream/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExport/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExportEventlog/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExtraDevtoolsMessage/index.md +0 -47
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderHead/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderSyncState/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetNetworkStatus/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetRecreateSnapshot/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerInitialMessage/index.md +0 -153
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerNetworkStatusStream/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPullStream/index.md +0 -75
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPushToLeader/index.md +0 -47
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerShutdown/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerSyncStateStream/index.md +0 -33
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterInitialMessage/index.md +0 -83
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterRequest/index.md +0 -79
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerRequest/index.md +0 -29
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerUpdateMessagePort/index.md +0 -89
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/LeaderWorkerInnerRequest/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageType/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeEncoded/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeOpfs/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/SyncBackendOptions/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/LeaderWorkerInnerRequest/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageType/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageTypeOpfs/index.md +0 -5
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/SyncBackendOptions/index.md +0 -5
- package/docs/api/adapter-web/README/index.md +0 -14
- package/docs/api/adapter-web/functions/makeInMemoryAdapter/index.md +0 -24
- package/docs/api/adapter-web/functions/makePersistedAdapter/index.md +0 -29
- package/docs/api/adapter-web/type-aliases/WebAdapterOptions/index.md +0 -124
- package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/Any/index.md +0 -8
- package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/AnyWithoutFn/index.md +0 -9
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Composite/index.md +0 -37
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositeInput/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositePair/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Type/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Composite/index.md +0 -36
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/DEFAULT/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/REBASE_GENERATION_DEFAULT/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/ROOT/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Schema/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/compare/index.md +0 -22
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/diff/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromGlobal/index.md +0 -17
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromString/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isEqual/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThan/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThanOrEqual/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/make/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/max/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/nextPair/index.md +0 -30
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/toString/index.md +0 -19
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/type-aliases/Type/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/Schema/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/make/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/FromInputSchema/type-aliases/DeriveSchema/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/LiveQuery/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/LiveQueryDef/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/classes/EncodedWithMeta/index.md +0 -374
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Decoded/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Encoded/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/ForSchema/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Decoded/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Encoded/index.md +0 -27
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/isEqualEncoded/index.md +0 -22
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchema/index.md +0 -30
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchemaMemo/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Decoded/index.md +0 -61
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Encoded/index.md +0 -61
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/ForRecord/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputDecoded/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputEncoded/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/type-aliases/Encoded/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/Encoded/index.md +0 -20
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/toClientEncoded/index.md +0 -41
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Decoded/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Encoded/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForRecord/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForSchema/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/Encoded/index.md +0 -14
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/makeSchema/index.md +0 -30
- package/docs/api/livestore/@livestore/namespaces/LiveStoreSchema/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Equality/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/In/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Like/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/MultiValue/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Order/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/SingleValue/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFeature/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFull/index.md +0 -513
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/FirstQueryBehaviour/index.md +0 -49
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/OrderByParams/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereOps/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereParams/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/CountQuery/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/DeleteQuery/index.md +0 -43
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/InsertQuery/index.md +0 -51
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OnConflict/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OrderBy/index.md +0 -19
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/RowQuery/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/SelectQuery/index.md +0 -87
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/UpdateQuery/index.md +0 -51
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/Where/index.md +0 -27
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/type-aliases/WriteQuery/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/Queryable/type-aliases/Result/index.md +0 -19
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/DocumentResult/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetIdColumnType/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetOrCreateOptions/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/RequiredColumnsOptions/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/Result/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/ResultEncoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Blob/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/ColumnType/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Integer/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Null/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Real/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Text/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Column/index.md +0 -69
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/DbSchema/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/ForeignKey/index.md +0 -53
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Index/index.md +0 -45
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Table/index.md +0 -37
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/column/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/dbSchema/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/hash/index.md +0 -18
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/index.md +0 -27
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/structSchemaForTable/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/table/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/ColumnDefinition/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowEncoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumns/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiresInsertValues/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodedAll/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/Columns/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/AnyIfConstained/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColDefFn/index.md +0 -125
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultThunk/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultValue/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinition/index.md +0 -81
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinitionInput/index.md +0 -45
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Columns/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ConstraintColumns/index.md +0 -16
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchema/index.md +0 -9
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaFromInputSchema/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaInput/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DefaultEncodedForColumnType/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/EmptyObjIfConstained/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/FieldColumnType/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Index/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/InsertStructSchemaForColumns/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/IsSingleColumn/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/NoDefault/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SpecializedColDefFn/index.md +0 -111
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SqlDefaultValue/index.md +0 -13
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/StructSchemaForColumns/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/TableDefinition/index.md +0 -47
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/NoDefault/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/blob/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/boolean/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/column/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetime/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetimeInteger/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/defaultSchemaForColumnType/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/insertStructSchemaForTable/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/integer/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isColumnDefinition/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isDefaultThunk/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isSqlDefaultValue/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/json/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/makeDbSchema/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/real/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/resolveColumnDefault/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/structSchemaForTable/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/table/index.md +0 -37
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/text/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/functions/table/index.md +0 -294
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/interfaces/Trait/index.md +0 -149
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/DefaultIdType/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/GetOptions/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/MakeGetQueryBuilder/index.md +0 -19
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDef/index.md +0 -19
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDefLike/index.md +0 -65
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SqliteDef/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TableDefBase/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TraitAny/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/Input/index.md +0 -43
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/WithDefaults/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/Columns/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncoded/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/ColumnDefForType/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/FromTypes/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDef/type-aliases/Any/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForColumns/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForSchema/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDef/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDefSymbol/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableOptions/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDef/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDefConstrained/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/InputState/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/PrettifyFlat/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForInput/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForSchemaInput/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/StateType/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDef/index.md +0 -45
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefBase/index.md +0 -47
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefInternalsSymbol/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptions/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptionsInput/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ToColumns/index.md +0 -11
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/WithDefaults/index.md +0 -27
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/AutoIncrement/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ClientDocumentTableDefSymbol/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ColumnType/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Default/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/PrimaryKeyId/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/TableDefInternalsSymbol/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Unique/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/blob/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/boolean/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/clientDocument/index.md +0 -56
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/column/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/createOptimisticEventSchema/index.md +0 -43
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/datetime/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/getColumnDefForSchema/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/integer/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/isColumnDefinition/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/json/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeColumnSpec/index.md +0 -22
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeState/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/real/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/tableIsClientDocumentTable/index.md +0 -21
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/text/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withAutoIncrement/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withColumnType/index.md +0 -61
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withDefault/index.md +0 -61
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withPrimaryKey/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withUnique/index.md +0 -23
- package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderAstSymbol/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderTypeId/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderAstSymbol/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderTypeId/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeContext/index.md +0 -105
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResult/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultAdvance/index.md +0 -125
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultRebase/index.md +0 -125
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultReject/index.md +0 -117
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultUnknownError/index.md +0 -63
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/Payload/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadLocalPush/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstream/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamAdvance/index.md +0 -29
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamRebase/index.md +0 -31
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/SyncState/index.md +0 -179
- package/docs/api/livestore/@livestore/namespaces/SyncState/variables/findDivergencePoint/index.md +0 -36
- package/docs/api/livestore/@livestore/namespaces/SyncState/variables/merge/index.md +0 -35
- package/docs/api/livestore/@livestore/namespaces/SyncState/variables/payloadFromMergeResult/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/EventlogMetaRow/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaEventDefsMetaRow/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaMetaRow/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SessionChangesetMetaRow/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SyncStatusRow/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/EVENTLOG_META_TABLE/index.md +0 -12
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_EVENT_DEFS_META_TABLE/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_META_TABLE/index.md +0 -10
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SESSION_CHANGESET_META_TABLE/index.md +0 -8
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SYNC_STATUS_TABLE/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogMetaTable/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogSystemTables/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/isStateSystemTable/index.md +0 -15
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaEventDefsMetaTable/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaMetaTable/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/sessionChangesetMetaTable/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/stateSystemTables/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/syncStatusTable/index.md +0 -7
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Callback/index.md +0 -19
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingConfig/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingStrategy/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Reason/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/ResolveContext/index.md +0 -5
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Resolved/index.md +0 -5
- package/docs/api/livestore/README/index.md +0 -128
- package/docs/api/livestore/classes/IntentionalShutdownCause/index.md +0 -107
- package/docs/api/livestore/classes/SqliteDbWrapper/index.md +0 -538
- package/docs/api/livestore/classes/Store/index.md +0 -605
- package/docs/api/livestore/classes/StoreInterrupted/index.md +0 -107
- package/docs/api/livestore/functions/computed/index.md +0 -31
- package/docs/api/livestore/functions/createStore/index.md +0 -29
- package/docs/api/livestore/functions/createStorePromise/index.md +0 -31
- package/docs/api/livestore/functions/emptyDebugInfo/index.md +0 -25
- package/docs/api/livestore/functions/exposeDebugUtils/index.md +0 -9
- package/docs/api/livestore/functions/extractStackInfoFromStackTrace/index.md +0 -15
- package/docs/api/livestore/functions/isQueryable/index.md +0 -15
- package/docs/api/livestore/functions/nanoid/index.md +0 -39
- package/docs/api/livestore/functions/signal/index.md +0 -27
- package/docs/api/livestore/functions/stackInfoToString/index.md +0 -15
- package/docs/api/livestore/interfaces/ClientSession/index.md +0 -89
- package/docs/api/livestore/interfaces/CreateStoreOptions/index.md +0 -280
- package/docs/api/livestore/interfaces/InputSchema/index.md +0 -50
- package/docs/api/livestore/interfaces/InternalState/index.md +0 -33
- package/docs/api/livestore/interfaces/LiveQuery/index.md +0 -139
- package/docs/api/livestore/interfaces/LiveQueryDef/index.md +0 -95
- package/docs/api/livestore/interfaces/LiveStoreSchema/index.md +0 -83
- package/docs/api/livestore/interfaces/PreparedStatement/index.md +0 -71
- package/docs/api/livestore/interfaces/RcRef/index.md +0 -37
- package/docs/api/livestore/interfaces/Signal/index.md +0 -321
- package/docs/api/livestore/interfaces/SignalDef/index.md +0 -119
- package/docs/api/livestore/interfaces/SqliteDb/index.md +0 -249
- package/docs/api/livestore/type-aliases/Adapter/index.md +0 -15
- package/docs/api/livestore/type-aliases/Bindable/index.md +0 -5
- package/docs/api/livestore/type-aliases/BootStatus/index.md +0 -5
- package/docs/api/livestore/type-aliases/BootStatus-1/index.md +0 -5
- package/docs/api/livestore/type-aliases/DebugInfo/index.md +0 -5
- package/docs/api/livestore/type-aliases/DebugInfo-1/index.md +0 -5
- package/docs/api/livestore/type-aliases/DefineEventOptions/index.md +0 -100
- package/docs/api/livestore/type-aliases/EventDef/index.md +0 -172
- package/docs/api/livestore/type-aliases/EventDefFact/index.md +0 -7
- package/docs/api/livestore/type-aliases/EventDefFactInput/index.md +0 -18
- package/docs/api/livestore/type-aliases/EventDefFacts/index.md +0 -7
- package/docs/api/livestore/type-aliases/EventDefFactsGroup/index.md +0 -50
- package/docs/api/livestore/type-aliases/EventDefFactsSnapshot/index.md +0 -7
- package/docs/api/livestore/type-aliases/EventDefKey/index.md +0 -7
- package/docs/api/livestore/type-aliases/EventDefMap/index.md +0 -16
- package/docs/api/livestore/type-aliases/EventDefRecord/index.md +0 -21
- package/docs/api/livestore/type-aliases/FactsCallback/index.md +0 -60
- package/docs/api/livestore/type-aliases/LiveStoreContext/index.md +0 -5
- package/docs/api/livestore/type-aliases/LiveStoreContextRunning/index.md +0 -21
- package/docs/api/livestore/type-aliases/LiveStoreSchemaSymbol/index.md +0 -5
- package/docs/api/livestore/type-aliases/Materializer/index.md +0 -59
- package/docs/api/livestore/type-aliases/MaterializerContextQuery/index.md +0 -64
- package/docs/api/livestore/type-aliases/MaterializerResult/index.md +0 -12
- package/docs/api/livestore/type-aliases/MutableDebugInfo/index.md +0 -5
- package/docs/api/livestore/type-aliases/MutableDebugInfo-1/index.md +0 -5
- package/docs/api/livestore/type-aliases/OtelOptions/index.md +0 -21
- package/docs/api/livestore/type-aliases/PreparedBindValues/index.md +0 -5
- package/docs/api/livestore/type-aliases/PreparedBindValues-1/index.md +0 -5
- package/docs/api/livestore/type-aliases/QueryBuilder/index.md +0 -61
- package/docs/api/livestore/type-aliases/QueryBuilderAst/index.md +0 -5
- package/docs/api/livestore/type-aliases/QueryDebugInfo/index.md +0 -37
- package/docs/api/livestore/type-aliases/Queryable/index.md +0 -13
- package/docs/api/livestore/type-aliases/RefreshReason/index.md +0 -75
- package/docs/api/livestore/type-aliases/SessionIdSymbol/index.md +0 -5
- package/docs/api/livestore/type-aliases/ShutdownDeferred/index.md +0 -5
- package/docs/api/livestore/type-aliases/StackFrame/index.md +0 -21
- package/docs/api/livestore/type-aliases/StackInfo/index.md +0 -13
- package/docs/api/livestore/type-aliases/StoreInternals/index.md +0 -156
- package/docs/api/livestore/type-aliases/StoreInternalsSymbol/index.md +0 -5
- package/docs/api/livestore/type-aliases/SubscribeOptions/index.md +0 -73
- package/docs/api/livestore/type-aliases/Unsubscribe/index.md +0 -9
- package/docs/api/livestore/variables/LiveStoreSchemaSymbol/index.md +0 -5
- package/docs/api/livestore/variables/SessionIdSymbol/index.md +0 -26
- package/docs/api/livestore/variables/StoreInternalsSymbol/index.md +0 -5
- package/docs/api/livestore/variables/UNKNOWN_EVENT_SCHEMA_HASH/index.md +0 -5
- package/docs/api/livestore/variables/clientOnly/index.md +0 -54
- package/docs/api/livestore/variables/deepEqual/index.md +0 -25
- package/docs/api/livestore/variables/defineEvent/index.md +0 -49
- package/docs/api/livestore/variables/defineFacts/index.md +0 -42
- package/docs/api/livestore/variables/defineMaterializer/index.md +0 -39
- package/docs/api/livestore/variables/getDefaultValuesDecoded/index.md +0 -25
- package/docs/api/livestore/variables/getDefaultValuesEncoded/index.md +0 -25
- package/docs/api/livestore/variables/getEventDef/index.md +0 -33
- package/docs/api/livestore/variables/isLiveStoreSchema/index.md +0 -21
- package/docs/api/livestore/variables/liveStoreVersion/index.md +0 -5
- package/docs/api/livestore/variables/makeSchema/index.md +0 -21
- package/docs/api/livestore/variables/makeShutdownDeferred/index.md +0 -5
- package/docs/api/livestore/variables/materializers/index.md +0 -58
- package/docs/api/livestore/variables/normalizeUnknownEventHandling/index.md +0 -15
- package/docs/api/livestore/variables/prepareBindValues/index.md +0 -26
- package/docs/api/livestore/variables/provideOtel/index.md +0 -45
- package/docs/api/livestore/variables/queryDb/index.md +0 -115
- package/docs/api/livestore/variables/resolveEventDef/index.md +0 -28
- package/docs/api/livestore/variables/sql/index.md +0 -24
- package/docs/api/livestore/variables/synced/index.md +0 -55
- package/docs/api/react/README/index.md +0 -24
- package/docs/api/react/functions/LiveStoreProvider/index.md +0 -21
- package/docs/api/react/functions/useQuery/index.md +0 -37
- package/docs/api/react/functions/useQueryRef/index.md +0 -69
- package/docs/api/react/functions/useStackInfo/index.md +0 -9
- package/docs/api/react/functions/useStore/index.md +0 -21
- package/docs/api/react/functions/withReactApi/index.md +0 -21
- package/docs/api/react/type-aliases/Dispatch/index.md +0 -21
- package/docs/api/react/type-aliases/ReactApi/index.md +0 -21
- package/docs/api/react/type-aliases/SetStateAction/index.md +0 -11
- package/docs/api/react/type-aliases/SetStateActionPartial/index.md +0 -11
- package/docs/api/react/type-aliases/StateSetters/index.md +0 -11
- package/docs/api/react/type-aliases/UseClientDocumentResult/index.md +0 -11
- package/docs/api/react/variables/LiveStoreContext/index.md +0 -5
- package/docs/api/react/variables/useClientDocument/index.md +0 -91
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/ReadableStream/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Request/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Response/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Rpc/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocket/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketPair/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketRequestResponsePair/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortController/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortSignal/index.md +0 -269
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Ai/index.md +0 -175
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AiGateway/index.md +0 -99
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AutoRAG/index.md +0 -95
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiAutomaticSpeechRecognition/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageClassification/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageTextToText/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageToText/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiMultimodalEmbeddings/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiObjectDetection/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSentenceSimilarity/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSummarization/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextClassification/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextEmbeddings/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextGeneration/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToImage/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToSpeech/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTranslation/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Base_En_V1_5/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Large_En_V1_5/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_M3/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Reranker_Base/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Small_En_V1_5/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Black_Forest_Labs_Flux_1_Schnell/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Aura_1/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Nova_3/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Google_Gemma_3_12B_It/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Lucid_Origin/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Phoenix_1_0/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_Guard_3_8B/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_M2M100_1_2B/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_120B/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_20B/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Large_V3_Turbo/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Tiny_En/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwq_32B/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Unum_Uform_Gen2_Qwen_500M/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Blob/index.md +0 -151
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Body/index.md +0 -112
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ByteLengthQueuingStrategy/index.md +0 -79
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Cache/index.md +0 -83
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CacheStorage/index.md +0 -47
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CloseEvent/index.md +0 -415
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CompressionStream/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CountQueuingStrategy/index.md +0 -79
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Crypto/index.md +0 -86
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CryptoKey/index.md +0 -66
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CustomEvent/index.md +0 -403
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1Database/index.md +0 -113
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1DatabaseSession/index.md +0 -70
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1PreparedStatement/index.md +0 -161
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DOMException/index.md +0 -451
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DecompressionStream/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DigestStream/index.md +0 -137
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DurableObjectNamespace/index.md +0 -135
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EmailEvent/index.md +0 -413
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ErrorEvent/index.md +0 -469
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Event/index.md +0 -296
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventSource/index.md +0 -345
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventTarget/index.md +0 -127
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ExtendableEvent/index.md +0 -409
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FetchEvent/index.md +0 -451
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/File/index.md +0 -211
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FixedLengthStream/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FormData/index.md +0 -295
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/HTMLRewriter/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Headers/index.md +0 -237
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/IdentityTransformStream/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/MessageEvent/index.md +0 -439
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Performance/index.md +0 -44
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/PromiseRejectionEvent/index.md +0 -403
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Bucket/index.md +0 -207
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Object/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamBYOBReader/index.md +0 -123
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamDefaultReader/index.md +0 -89
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ScheduledEvent/index.md +0 -433
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageCursor/index.md +0 -121
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageStatement/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SubtleCrypto/index.md +0 -432
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TailEvent/index.md +0 -421
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoder/index.md +0 -79
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoderStream/index.md +0 -111
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoder/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoderStream/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ToMarkdownService/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TransformStream/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URL/index.md +0 -201
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLPattern/index.md +0 -185
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLSearchParams/index.md +0 -287
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Vectorize/index.md +0 -189
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/VectorizeIndex/index.md +0 -160
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WebSocketRequestResponsePair/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkerGlobalScope/index.md +0 -145
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Workflow/index.md +0 -92
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkflowInstance/index.md +0 -117
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStream/index.md +0 -105
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStreamDefaultWriter/index.md +0 -143
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/addEventListener/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/atob/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/btoa/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearInterval/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearTimeout/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/dispatchEvent/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/fetch/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/queueMicrotask/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/removeEventListener/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/reportError/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setInterval/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setTimeout/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/structuredClone/index.md +0 -25
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayInternalError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayLogNotFound/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiInternalError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiModels/index.md +0 -611
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Input/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Output/index.md +0 -23
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Input/index.md +0 -23
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Output/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Aura_1_Input/index.md +0 -63
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Input/index.md +0 -369
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Output/index.md +0 -47
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Input/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Output/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Phoenix_1_0_Input/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Async_Batch/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages/index.md +0 -181
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages_Inner/index.md +0 -181
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt_Inner/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Input/index.md +0 -61
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Output/index.md +0 -57
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Input/index.md +0 -63
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output/index.md +0 -119
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Output/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Tiny_En_Output/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output/index.md +0 -23
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Output/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AlarmInvocationInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataPoint/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataset/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncBatch/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncResponse/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGInternalError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNameNotSetError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNotFoundError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGUnauthorizedError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding1/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts/index.md +0 -39
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts1/index.md +0 -39
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputEmbedding/index.md +0 -31
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputQuery/index.md +0 -23
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OutputEmbeddingForContexts/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformations/index.md +0 -115
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformationsGravityCoordinates/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BlobOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CacheQueryOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CloseEventInit/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Cloudflare/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Comment/index.md +0 -97
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Console/index.md +0 -439
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Container/index.md +0 -155
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContainerStartupOptions/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContentOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyAesKeyAlgorithm/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyArbitraryKeyAlgorithm/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyEllipticKeyAlgorithm/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyHmacKeyAlgorithm/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyKeyAlgorithm/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyPair/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyRsaKeyAlgorithm/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CustomEventCustomEventInit/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1ExecResult/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Meta/index.md +0 -104
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Response/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DispatchNamespace/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Disposable/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Doctype/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DocumentEnd/index.md +0 -25
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObject/index.md +0 -113
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectClass/index.md +0 -9
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetAlarmOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetOptions/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectId/index.md +0 -41
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectListOptions/index.md +0 -67
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceGetDurableObjectOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceNewUniqueIdOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectPutOptions/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectSetAlarmOptions/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectState/index.md +0 -237
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectStorage/index.md +0 -387
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectTransaction/index.md +0 -257
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchLimits/index.md +0 -23
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchOptions/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Element/index.md +0 -285
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EmailMessage/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EndTag/index.md +0 -67
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ErrorEventErrorEventInit/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventInit/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventListenerObject/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventSourceEventSourceInit/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetAddEventListenerOptions/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetEventListenerOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetHandlerObject/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExecutionContext/index.md +0 -47
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExportedHandler/index.md +0 -81
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FetcherPutOptions/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FileOptions/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ForwardableEmailMessage/index.md +0 -145
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses_Async/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses_Async/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Messages/index.md +0 -167
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Prompt/index.md +0 -123
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterDocumentContentHandlers/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterElementContentHandlers/index.md +0 -57
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HelloWorldBinding/index.md +0 -39
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Hyperdrive/index.md +0 -77
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IdentityTransformStreamQueuingStrategy/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformationResult/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformer/index.md +0 -76
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesBinding/index.md +0 -61
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesError/index.md +0 -63
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBase/index.md +0 -198
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagement/index.md +0 -31
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementBase/index.md +0 -62
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementEnterprise/index.md +0 -48
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareAccessOrApiShield/index.md +0 -24
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareForSaaSEnterprise/index.md +0 -22
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesExportedAuthenticatorMetadata/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesGeographicInformation/index.md +0 -189
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuth/index.md +0 -256
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuthPlaceholder/index.md +0 -141
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/InferenceUpstreamError/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JSONMode/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKey/index.md +0 -151
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKeyWithKid/index.md +0 -231
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespace/index.md +0 -769
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetOptions/index.md +0 -25
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetWithMetadataResult/index.md +0 -37
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListKey/index.md +0 -37
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListOptions/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespacePutOptions/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaBinding/index.md +0 -30
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaError/index.md +0 -66
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationGenerator/index.md +0 -30
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationResult/index.md +0 -54
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformer/index.md +0 -30
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Message/index.md +0 -71
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageBatch/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageEventInit/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePort/index.md +0 -205
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePortPostMessageOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageSendRequest/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Messages/index.md +0 -161
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Messages/index.md +0 -159
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Prompt/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Messages/index.md +0 -173
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Prompt/index.md +0 -123
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Prompt/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/PubSubMessage/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Queue/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueEvent/index.md +0 -383
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueRetryOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendBatchOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendOptions/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategy/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategyInit/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Messages/index.md +0 -159
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Prompt/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Messages/index.md +0 -173
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Prompt/index.md +0 -123
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Checksums/index.md +0 -55
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Conditional/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Error/index.md +0 -71
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2GetOptions/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2HTTPMetadata/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ListOptions/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartOptions/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartUpload/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ObjectBody/index.md +0 -267
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2PutOptions/index.md +0 -83
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2StringChecksums/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadPartOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadedPart/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimit/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOutcome/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableByteStreamController/index.md +0 -103
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStream/index.md +0 -195
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBRequest/index.md +0 -83
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamDefaultController/index.md +0 -91
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamGetReaderOptions/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamValuesOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableWritablePair/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Request/index.md +0 -263
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInit/index.md +0 -81
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfProperties/index.md +0 -154
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImage/index.md +0 -372
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageDraw/index.md +0 -222
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageMinify/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesR2/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Response/index.md +0 -253
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ResponseInit/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RsaOtherPrimesInfo/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScheduledController/index.md +0 -31
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Scheduler/index.md +0 -25
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SchedulerWaitOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScriptVersion/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SecretsStoreSecret/index.md +0 -18
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SendEmail/index.md +0 -23
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ServiceWorkerGlobalScope/index.md +0 -1042
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Socket/index.md +0 -117
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketAddress/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketOptions/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SqlStorage/index.md +0 -61
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StreamPipeOptions/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StructuredSerializeOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoDeriveKeyAlgorithm/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoEncryptAlgorithm/index.md +0 -59
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoGenerateKeyAlgorithm/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoHashAlgorithm/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoImportKeyAlgorithm/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoSignAlgorithm/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvListOptions/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvStorage/index.md +0 -97
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TestController/index.md +0 -3
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Text/index.md +0 -105
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderConstructorOptions/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderDecodeOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderStreamTextDecoderStreamInit/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextEncoderEncodeIntoResult/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TlsOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceDiagnosticChannelEvent/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceException/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItem/index.md +0 -131
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemAlarmEventInfo/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemCustomEventInfo/index.md +0 -3
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemEmailEventInfo/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoRequest/index.md +0 -47
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoResponse/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfo/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoClose/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoError/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoMessage/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemJsRpcEventInfo/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemQueueEventInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemScheduledEventInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfo/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfoTailItem/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceLog/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceMetrics/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TransformStreamDefaultController/index.md +0 -91
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Transformer/index.md +0 -113
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternComponentResult/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternInit/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternResult/index.md +0 -75
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingByteSource/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSink/index.md +0 -87
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSource/index.md +0 -79
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnsafeTraceMetrics/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeAsyncMutation/index.md +0 -16
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeError/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexDetails/index.md +0 -58
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexInfo/index.md +0 -45
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeMatches/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeQueryOptions/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVector/index.md +0 -45
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVectorMutation/index.md +0 -25
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WebSocket/index.md +0 -255
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoader/index.md +0 -25
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderModule/index.md +0 -59
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderWorkerCode/index.md +0 -147
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStub/index.md +0 -31
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStubEntrypointOptions/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowError/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowInstanceCreateOptions/index.md +0 -48
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WritableStreamDefaultController/index.md +0 -47
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/Env/index.md +0 -3
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/GlobalProps/index.md +0 -3
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/Exports/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/GlobalProp/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/MainModule/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/DurableObject/index.md +0 -161
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/RpcTarget/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkerEntrypoint/index.md +0 -195
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowEntrypoint/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowStep/index.md +0 -151
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/functions/waitUntil/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/RpcStub/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowBackoff/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDelayDuration/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDurationLabel/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowEvent/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowRetentionDuration/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowSleepDuration/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepConfig/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepEvent/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowTimeoutDuration/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/RpcStub/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/env/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/DurableObjectBranded/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/RpcTargetBranded/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/StubBase/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkerEntrypointBranded/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkflowEntrypointBranded/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/BaseType/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/EntrypointBranded/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeCallableProvider/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeDisposable/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeProvider/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MethodOrProperty/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Provider/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Result/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Serializable/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stub/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubable/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubify/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Unstubify/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/UnstubifyAll/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/DURABLE_OBJECT_BRAND/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_STUB_BRAND/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_TARGET_BRAND/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKER_ENTRYPOINT_BRAND/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKFLOW_ENTRYPOINT_BRAND/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/AlarmEventInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attribute/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attributes/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/CustomEventInfo/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/DiagnosticChannelEvent/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/EmailEventInfo/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Exception/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchEventInfo/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchResponseInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Header/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoClose/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoError/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoMessage/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/JsRpcEventInfo/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Log/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Onset/index.md +0 -83
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Outcome/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/QueueEventInfo/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Return/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScheduledEventInfo/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScriptVersion/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanClose/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanContext/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanOpen/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TailEvent/index.md +0 -49
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TraceEventInfo/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventOutcome/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventType/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandler/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerObject/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerType/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/CompileError/index.md +0 -199
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Global/index.md +0 -45
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Instance/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Memory/index.md +0 -47
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Module/index.md +0 -71
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/RuntimeError/index.md +0 -199
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Table/index.md +0 -95
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/instantiate/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/validate/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/GlobalDescriptor/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/MemoryDescriptor/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleExportDescriptor/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleImportDescriptor/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/TableDescriptor/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ExportValue/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Exports/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportExportKind/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportValue/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Imports/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ModuleImports/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/TableKind/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ValueType/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayHeaders/index.md +0 -113
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayProviders/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayUniversalRequest/index.md +0 -37
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionInput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionOutput/index.md +0 -41
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayLog/index.md +0 -205
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayPatchLog/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiIMultimodalEmbeddingsOutput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationInput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationOutput/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextInput/index.md +0 -109
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextOutput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextInput/index.md +0 -101
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextOutput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelListType/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchObject/index.md +0 -81
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchParams/index.md +0 -61
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiMultimodalEmbeddingsInput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionInput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionOutput/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiOptions/index.md +0 -58
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityInput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityOutput/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationInput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationOutput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationInput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationOutput/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsInput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsOutput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationFunctionsInput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationInput/index.md +0 -125
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationOutput/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationResponseFormat/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolInput/index.md +0 -49
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyInput/index.md +0 -45
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyOutput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolOutput/index.md +0 -37
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageInput/index.md +0 -93
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageOutput/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechInput/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechOutput/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationInput/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationOutput/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Input/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Output/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Input/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Output/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Input/index.md +0 -19
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Output/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Input/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Output/index.md +0 -27
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Deepgram_Aura_1_Output/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Output/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Leonardo_Phoenix_1_0_Output/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Output/index.md +0 -37
- 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
- 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
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output/index.md +0 -83
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Input/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Output/index.md +0 -17
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Output/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Output/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Output/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Input/index.md +0 -17
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Tiny_En_Input/index.md +0 -17
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Input/index.md +0 -43
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Output/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Input/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Output/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Input/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequest/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequestStreaming/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchResponse/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagListResponse/index.md +0 -35
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchRequest/index.md +0 -69
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchResponse/index.md +0 -65
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BodyInit/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BufferSource/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CertVerificationStatus/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CfProperties/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ComparisonFilter/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CompoundFilter/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ContinentCode/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionOptions/index.md +0 -59
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionRequestOptions/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionResponse/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1Result/index.md +0 -17
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionBookmark/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionConstraint/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectJurisdiction/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectLocationHint/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectStub/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmailExportedHandler/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmbeddedImageConversionOptions/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventContext/index.md +0 -121
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListener/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListenerOrEventListenerObject/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventPluginContext/index.md +0 -133
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerFetchHandler/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerQueueHandler/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerScheduledHandler/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailHandler/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailStreamHandler/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTestHandler/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTraceHandler/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Fetcher/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayOptions/index.md +0 -77
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayRetries/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/HeadersInit/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageConversionOptions/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageDrawOptions/index.md +0 -53
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInfoResponse/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInputOptions/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageOutputOptions/index.md +0 -37
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransform/index.md +0 -133
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransformationOutputOptions/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfProperties/index.md +0 -13
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfPropertiesEdgeRequestKeepAliveStatus/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/InstanceStatus/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Iso3166Alpha2Code/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/KVNamespaceListResult/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackDurableObjectClass/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackForExport/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackServiceStub/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MarkdownDocument/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationInputOptions/index.md +0 -38
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationOutputOptions/index.md +0 -68
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesFunction/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesPluginFunction/index.md +0 -33
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Params/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/QueueContentType/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Objects/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Range/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ReadableStreamReadResult/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RequestInfo/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RoleScopedChatInput/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Service/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SqlStorageValue/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SupportedFileFormat/index.md +0 -21
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/TypedArray/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UniversalGatewayOptions/index.md +0 -17
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UsageTags/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorFloatArray/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeDistanceMetric/index.md +0 -8
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeIndexConfig/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMatch/index.md +0 -15
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMetadataRetrievalLevel/index.md +0 -9
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadata/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilter/index.md +0 -11
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterCollectionOp/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterOp/index.md +0 -9
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataValue/index.md +0 -7
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WebSocketEventMap/index.md +0 -37
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerGlobalScopeEventMap/index.md +0 -45
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerVersionMetadata/index.md +0 -38
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowDurationLabel/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowRetentionDuration/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowSleepDuration/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Cloudflare/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/ReadableStream/index.md +0 -51
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Request/index.md +0 -29
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Response/index.md +0 -73
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocket/index.md +0 -61
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocketPair/index.md +0 -17
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/caches/index.md +0 -9
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/console/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/crypto/index.md +0 -12
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/onmessage/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/origin/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/performance/index.md +0 -10
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/scheduler/index.md +0 -5
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/self/index.md +0 -5
- package/docs/api/sync-cf/README/index.md +0 -37
- package/docs/api/sync-cf/functions/handleSyncRequest/index.md +0 -117
- package/docs/api/sync-cf/functions/makeWorker/index.md +0 -35
- package/docs/api/sync-cf/functions/matchSyncRequest/index.md +0 -19
- package/docs/api/sync-cf/interfaces/SyncBackendRpcInterface/index.md +0 -31
- package/docs/api/sync-cf/type-aliases/CFWorker/index.md +0 -47
- package/docs/api/sync-cf/type-aliases/DoObject/index.md +0 -11
- package/docs/api/sync-cf/type-aliases/DoState/index.md +0 -5
- package/docs/api/sync-cf/type-aliases/DurableObjectId/index.md +0 -5
- package/docs/api/sync-cf/type-aliases/Env/index.md +0 -5
- package/docs/api/sync-cf/type-aliases/MakeDurableObjectClass/index.md +0 -29
- package/docs/api/sync-cf/type-aliases/MakeDurableObjectClassOptions/index.md +0 -179
- package/docs/api/sync-cf/type-aliases/MakeWorkerOptions/index.md +0 -80
- package/docs/api/sync-cf/type-aliases/RpcSubscription/index.md +0 -55
- package/docs/api/sync-cf/type-aliases/StoreId/index.md +0 -5
- package/docs/api/sync-cf/variables/PERSISTENCE_FORMAT_VERSION/index.md +0 -20
- package/docs/api/sync-cf/variables/WebSocketAttachmentSchema/index.md +0 -5
- package/docs/api/sync-cf/variables/encodeIncomingMessage/index.md +0 -27
- package/docs/api/sync-cf/variables/encodeOutgoingMessage/index.md +0 -19
- package/docs/api/sync-cf/variables/makeDurableObject/index.md +0 -39
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ApiPayload/index.md +0 -5
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ArgsSchema/index.md +0 -5
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PullPayload/index.md +0 -5
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PushPayload/index.md +0 -5
- package/docs/api/sync-electric/README/index.md +0 -29
- package/docs/api/sync-electric/classes/InvalidOperationError/index.md +0 -99
- package/docs/api/sync-electric/functions/makeElectricUrl/index.md +0 -69
- package/docs/api/sync-electric/functions/makeSyncBackend/index.md +0 -15
- package/docs/api/sync-electric/functions/syncBackendOptions/index.md +0 -21
- package/docs/api/sync-electric/functions/toTableName/index.md +0 -15
- package/docs/api/sync-electric/interfaces/SyncBackendOptions/index.md +0 -67
- package/docs/api/sync-electric/type-aliases/SyncMetadata/index.md +0 -5
- package/docs/api/sync-electric/variables/PERSISTENCE_FORMAT_VERSION/index.md +0 -28
- package/docs/api/sync-electric/variables/SyncMetadata/index.md +0 -5
- package/docs/contributing/docs/index.md +0 -19
- package/docs/reference/cli/index.md +0 -57
- package/docs/reference/framework-integrations/vue-integration/index.md +0 -98
- package/docs/reference/opentelemetry/index.md +0 -36
- package/docs/reference/platform-adapters/expo-adapter/index.md +0 -43
- package/docs/reference/store/index.md +0 -253
- package/docs/reference/syncing/server-side-clients/index.md +0 -49
- /package/docs/{data-modeling → building-with-livestore/examples}/ai-agent/index.md +0 -0
- /package/docs/{data-modeling → building-with-livestore/examples}/turnbased-game/index.md +0 -0
- /package/docs/{reference → building-with-livestore}/state/sqlite/index.md +0 -0
- /package/docs/{reference/framework-integrations → framework-integrations}/solid-integration/index.md +0 -0
- /package/docs/{reference/framework-integrations → framework-integrations}/svelte-integration/index.md +0 -0
- /package/docs/{evaluation → misc}/performance/index.md +0 -0
- /package/docs/{evaluation → misc}/state-of-the-project/index.md +0 -0
- /package/docs/{reference/syncing/sync-provider → sync-providers}/custom/index.md +0 -0
package/docs/{reference/framework-integrations → framework-integrations}/react-integration/index.md
RENAMED
|
@@ -7,59 +7,85 @@ While LiveStore is framework agnostic, the `@livestore/react` package provides a
|
|
|
7
7
|
- High performance
|
|
8
8
|
- Fine-grained reactivity (using LiveStore's signals-based reactivity system)
|
|
9
9
|
- Instant, synchronous query results (without the need for `useEffect` and `isLoading` checks)
|
|
10
|
+
- Supports multiple store instances
|
|
10
11
|
- Transactional state transitions (via `batchUpdates`)
|
|
11
12
|
- Also supports Expo / React Native via `@livestore/adapter-expo`
|
|
12
13
|
|
|
13
|
-
##
|
|
14
|
+
## Core Concepts
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
When using LiveStore in React, you'll primarily interact with these fundamental components:
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
- [**`StoreRegistry`**](#new-storeregistryconfig) - Manages store instances with automatic caching and disposal
|
|
19
|
+
- [**`<StoreRegistryProvider>`**](#storeregistryprovider) - React context provider that supplies the registry to components
|
|
20
|
+
- [**`useStore()`**](#usestoreoptions) - Suspense-enabled hook for accessing store instances
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
Stores are cached by their `storeId` and automatically disposed after being unused for a configurable duration (`unusedCacheTime`).
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
## `reference/framework-integrations/react/multi-store/minimal.tsx`
|
|
22
25
|
|
|
23
|
-
|
|
26
|
+
```tsx filename="reference/framework-integrations/react/multi-store/minimal.tsx"
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
{
|
|
28
|
-
|
|
29
|
-
)
|
|
28
|
+
const issueStoreOptions = (issueId: string) =>
|
|
29
|
+
storeOptions({
|
|
30
|
+
storeId: `issue-${issueId}`,
|
|
31
|
+
schema,
|
|
32
|
+
adapter: makeInMemoryAdapter(),
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
export function App() {
|
|
36
|
+
const [storeRegistry] = useState(() => new StoreRegistry({ defaultOptions: { batchUpdates } }))
|
|
37
|
+
return (
|
|
38
|
+
<StoreRegistryProvider storeRegistry={storeRegistry}>
|
|
39
|
+
<IssueView />
|
|
40
|
+
</StoreRegistryProvider>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function IssueView() {
|
|
45
|
+
const store = useStore(issueStoreOptions('abc123'))
|
|
46
|
+
const [issue] = store.useQuery(queryDb(tables.issue.select()))
|
|
47
|
+
return <div>{issue?.title}</div>
|
|
48
|
+
}
|
|
30
49
|
```
|
|
31
50
|
|
|
32
|
-
### `reference/framework-integrations/react/schema.ts`
|
|
51
|
+
### `reference/framework-integrations/react/multi-store/schema.ts`
|
|
33
52
|
|
|
34
|
-
```ts filename="reference/framework-integrations/react/schema.ts"
|
|
53
|
+
```ts filename="reference/framework-integrations/react/multi-store/schema.ts"
|
|
54
|
+
|
|
55
|
+
// Event definitions
|
|
56
|
+
export const events = {
|
|
57
|
+
issueCreated: Events.synced({
|
|
58
|
+
name: 'v1.IssueCreated',
|
|
59
|
+
schema: Schema.Struct({
|
|
60
|
+
id: Schema.String,
|
|
61
|
+
title: Schema.String,
|
|
62
|
+
status: Schema.Literal('todo', 'done'),
|
|
63
|
+
}),
|
|
64
|
+
}),
|
|
65
|
+
issueStatusChanged: Events.synced({
|
|
66
|
+
name: 'v1.IssueStatusChanged',
|
|
67
|
+
schema: Schema.Struct({
|
|
68
|
+
id: Schema.String,
|
|
69
|
+
status: Schema.Literal('todo', 'done'),
|
|
70
|
+
}),
|
|
71
|
+
}),
|
|
72
|
+
}
|
|
35
73
|
|
|
74
|
+
// State definition
|
|
36
75
|
export const tables = {
|
|
37
|
-
|
|
38
|
-
name: '
|
|
76
|
+
issue: State.SQLite.table({
|
|
77
|
+
name: 'issue',
|
|
39
78
|
columns: {
|
|
40
79
|
id: State.SQLite.text({ primaryKey: true }),
|
|
41
|
-
|
|
42
|
-
|
|
80
|
+
title: State.SQLite.text(),
|
|
81
|
+
status: State.SQLite.text(),
|
|
43
82
|
},
|
|
44
83
|
}),
|
|
45
|
-
|
|
46
|
-
name: 'UiState',
|
|
47
|
-
schema: Schema.Struct({ text: Schema.String }),
|
|
48
|
-
default: { value: { text: '' } },
|
|
49
|
-
}),
|
|
50
|
-
} as const
|
|
51
|
-
|
|
52
|
-
export const events = {
|
|
53
|
-
todoCreated: Events.synced({
|
|
54
|
-
name: 'v1.TodoCreated',
|
|
55
|
-
schema: Schema.Struct({ id: Schema.String, text: Schema.String }),
|
|
56
|
-
}),
|
|
57
|
-
} as const
|
|
84
|
+
}
|
|
58
85
|
|
|
59
86
|
const materializers = State.SQLite.materializers(events, {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
),
|
|
87
|
+
'v1.IssueCreated': ({ id, title, status }) => tables.issue.insert({ id, title, status }),
|
|
88
|
+
'v1.IssueStatusChanged': ({ id, status }) => tables.issue.update({ status }).where({ id }),
|
|
63
89
|
})
|
|
64
90
|
|
|
65
91
|
const state = State.SQLite.makeState({ tables, materializers })
|
|
@@ -67,33 +93,25 @@ const state = State.SQLite.makeState({ tables, materializers })
|
|
|
67
93
|
export const schema = makeSchema({ events, state })
|
|
68
94
|
```
|
|
69
95
|
|
|
70
|
-
|
|
96
|
+
## Setting Up
|
|
71
97
|
|
|
72
|
-
|
|
98
|
+
### 1. Configure the Store
|
|
73
99
|
|
|
74
|
-
|
|
100
|
+
Create a store configuration file that exports a custom hook wrapping [`useStore()`](#usestoreoptions):
|
|
75
101
|
|
|
76
|
-
|
|
102
|
+
## `reference/framework-integrations/react/store.ts`
|
|
77
103
|
|
|
78
|
-
|
|
104
|
+
```ts filename="reference/framework-integrations/react/store.ts"
|
|
79
105
|
|
|
80
106
|
const adapter = makeInMemoryAdapter()
|
|
81
107
|
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
// Optional: swap the logger implementation
|
|
90
|
-
logger={Logger.prettyWithThread('app')}
|
|
91
|
-
// Optional: set minimum log level (use LogLevel.None to disable)
|
|
92
|
-
logLevel={LogLevel.Info}
|
|
93
|
-
>
|
|
94
|
-
<App />
|
|
95
|
-
</LiveStoreProvider>
|
|
96
|
-
)
|
|
108
|
+
export const useAppStore = () =>
|
|
109
|
+
useStore({
|
|
110
|
+
storeId: 'app-root',
|
|
111
|
+
schema,
|
|
112
|
+
adapter,
|
|
113
|
+
batchUpdates,
|
|
114
|
+
})
|
|
97
115
|
```
|
|
98
116
|
|
|
99
117
|
### `reference/framework-integrations/react/schema.ts`
|
|
@@ -134,27 +152,39 @@ const state = State.SQLite.makeState({ tables, materializers })
|
|
|
134
152
|
export const schema = makeSchema({ events, state })
|
|
135
153
|
```
|
|
136
154
|
|
|
137
|
-
|
|
155
|
+
The [`useStore()`](#usestoreoptions) hook accepts store configuration options and returns a store instance. It suspends while the store is loading, so components using it need to be wrapped in a `Suspense` boundary.
|
|
138
156
|
|
|
139
|
-
|
|
157
|
+
### 2. Set Up the Registry
|
|
158
|
+
|
|
159
|
+
Create a [`StoreRegistry`](#new-storeregistryconfig) and provide it via [`<StoreRegistryProvider>`](#storeregistryprovider). Wrap in a `<Suspense>` to handle loading states and a `<ErrorBoundary>` to handle errors:
|
|
160
|
+
|
|
161
|
+
## `reference/framework-integrations/react/provider.tsx`
|
|
140
162
|
|
|
141
|
-
```tsx filename="reference/framework-integrations/react/
|
|
163
|
+
```tsx filename="reference/framework-integrations/react/provider.tsx"
|
|
142
164
|
|
|
143
|
-
|
|
165
|
+
export const Root: FC<{ children: ReactNode }> = ({ children }) => {
|
|
166
|
+
const [storeRegistry] = useState(() => new StoreRegistry())
|
|
144
167
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
168
|
+
return (
|
|
169
|
+
<ErrorBoundary fallback={<div>Something went wrong</div>}>
|
|
170
|
+
<Suspense fallback={<div>Loading LiveStore...</div>}>
|
|
171
|
+
<StoreRegistryProvider storeRegistry={storeRegistry}>{children}</StoreRegistryProvider>
|
|
172
|
+
</Suspense>
|
|
173
|
+
</ErrorBoundary>
|
|
174
|
+
)
|
|
175
|
+
}
|
|
148
176
|
```
|
|
149
177
|
|
|
150
|
-
###
|
|
178
|
+
### 3. Use the Store
|
|
179
|
+
|
|
180
|
+
Components can now access the store via your custom hook:
|
|
151
181
|
|
|
152
182
|
## `reference/framework-integrations/react/use-store.tsx`
|
|
153
183
|
|
|
154
184
|
```tsx filename="reference/framework-integrations/react/use-store.tsx"
|
|
155
185
|
|
|
156
186
|
export const MyComponent: FC = () => {
|
|
157
|
-
const
|
|
187
|
+
const store = useAppStore()
|
|
158
188
|
|
|
159
189
|
useEffect(() => {
|
|
160
190
|
store.commit(events.todoCreated({ id: '1', text: 'Hello, world!' }))
|
|
@@ -202,7 +232,24 @@ const state = State.SQLite.makeState({ tables, materializers })
|
|
|
202
232
|
export const schema = makeSchema({ events, state })
|
|
203
233
|
```
|
|
204
234
|
|
|
205
|
-
###
|
|
235
|
+
### `reference/framework-integrations/react/store.ts`
|
|
236
|
+
|
|
237
|
+
```ts filename="reference/framework-integrations/react/store.ts"
|
|
238
|
+
|
|
239
|
+
const adapter = makeInMemoryAdapter()
|
|
240
|
+
|
|
241
|
+
export const useAppStore = () =>
|
|
242
|
+
useStore({
|
|
243
|
+
storeId: 'app-root',
|
|
244
|
+
schema,
|
|
245
|
+
adapter,
|
|
246
|
+
batchUpdates,
|
|
247
|
+
})
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## Querying Data
|
|
251
|
+
|
|
252
|
+
Use [`store.useQuery()`](#storeusequeryqueryable) to subscribe to reactive queries:
|
|
206
253
|
|
|
207
254
|
## `reference/framework-integrations/react/use-query.tsx`
|
|
208
255
|
|
|
@@ -213,7 +260,7 @@ const query$ = queryDb(tables.todos.where({ completed: true }).orderBy('id', 'de
|
|
|
213
260
|
})
|
|
214
261
|
|
|
215
262
|
export const CompletedTodos: FC = () => {
|
|
216
|
-
const
|
|
263
|
+
const store = useAppStore()
|
|
217
264
|
const todos = store.useQuery(query$)
|
|
218
265
|
|
|
219
266
|
return (
|
|
@@ -264,14 +311,31 @@ const state = State.SQLite.makeState({ tables, materializers })
|
|
|
264
311
|
export const schema = makeSchema({ events, state })
|
|
265
312
|
```
|
|
266
313
|
|
|
267
|
-
###
|
|
314
|
+
### `reference/framework-integrations/react/store.ts`
|
|
315
|
+
|
|
316
|
+
```ts filename="reference/framework-integrations/react/store.ts"
|
|
317
|
+
|
|
318
|
+
const adapter = makeInMemoryAdapter()
|
|
319
|
+
|
|
320
|
+
export const useAppStore = () =>
|
|
321
|
+
useStore({
|
|
322
|
+
storeId: 'app-root',
|
|
323
|
+
schema,
|
|
324
|
+
adapter,
|
|
325
|
+
batchUpdates,
|
|
326
|
+
})
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
## Client Documents
|
|
330
|
+
|
|
331
|
+
Use [`store.useClientDocument()`](#storeuseclientdocumenttable-id-options) for client-specific state:
|
|
268
332
|
|
|
269
333
|
## `reference/framework-integrations/react/use-client-document.tsx`
|
|
270
334
|
|
|
271
335
|
```tsx filename="reference/framework-integrations/react/use-client-document.tsx"
|
|
272
336
|
|
|
273
337
|
export const TodoItem: FC<{ id: string }> = ({ id }) => {
|
|
274
|
-
const
|
|
338
|
+
const store = useAppStore()
|
|
275
339
|
const [todo, updateTodo] = store.useClientDocument(tables.uiState, id)
|
|
276
340
|
|
|
277
341
|
return (
|
|
@@ -320,122 +384,31 @@ const state = State.SQLite.makeState({ tables, materializers })
|
|
|
320
384
|
export const schema = makeSchema({ events, state })
|
|
321
385
|
```
|
|
322
386
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
### Vite
|
|
326
|
-
|
|
327
|
-
LiveStore works with Vite out of the box.
|
|
328
|
-
|
|
329
|
-
### Tanstack Start
|
|
330
|
-
|
|
331
|
-
LiveStore works with Tanstack Start out of the box.
|
|
332
|
-
|
|
333
|
-
### Expo / React Native
|
|
334
|
-
|
|
335
|
-
LiveStore has a first-class integration with Expo / React Native via `@livestore/adapter-expo`.
|
|
387
|
+
### `reference/framework-integrations/react/store.ts`
|
|
336
388
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
Given various Next.js limitations, LiveStore doesn't yet work with Next.js out of the box.
|
|
340
|
-
|
|
341
|
-
## Multi-Store
|
|
342
|
-
|
|
343
|
-
The multi-store API enables managing multiple stores within a single React application. This is useful for:
|
|
344
|
-
|
|
345
|
-
- **Partial data synchronization** - Load only the data you need, when you need it
|
|
346
|
-
- **Multi-tenant applications** - Separate stores for each workspace, organization, or project (like Slack workspaces, Notion pages, or Linear teams)
|
|
347
|
-
|
|
348
|
-
## `reference/framework-integrations/react/multi-store/minimal.tsx`
|
|
389
|
+
```ts filename="reference/framework-integrations/react/store.ts"
|
|
349
390
|
|
|
350
|
-
|
|
391
|
+
const adapter = makeInMemoryAdapter()
|
|
351
392
|
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
storeId:
|
|
393
|
+
export const useAppStore = () =>
|
|
394
|
+
useStore({
|
|
395
|
+
storeId: 'app-root',
|
|
355
396
|
schema,
|
|
356
|
-
adapter
|
|
397
|
+
adapter,
|
|
398
|
+
batchUpdates,
|
|
357
399
|
})
|
|
358
|
-
|
|
359
|
-
export function App() {
|
|
360
|
-
const [registry] = useState(() => new StoreRegistry({ defaultOptions: { batchUpdates } }))
|
|
361
|
-
return (
|
|
362
|
-
<StoreRegistryProvider storeRegistry={registry}>
|
|
363
|
-
<IssueView />
|
|
364
|
-
</StoreRegistryProvider>
|
|
365
|
-
)
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
function IssueView() {
|
|
369
|
-
const store = useStore(issueStoreOptions('abc123'))
|
|
370
|
-
const [issue] = store.useQuery(queryDb(tables.issue.select()))
|
|
371
|
-
return <div>{issue?.title}</div>
|
|
372
|
-
}
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
### `reference/framework-integrations/react/multi-store/schema.ts`
|
|
376
|
-
|
|
377
|
-
```ts filename="reference/framework-integrations/react/multi-store/schema.ts"
|
|
378
|
-
|
|
379
|
-
// Event definitions
|
|
380
|
-
export const events = {
|
|
381
|
-
issueCreated: Events.synced({
|
|
382
|
-
name: 'v1.IssueCreated',
|
|
383
|
-
schema: Schema.Struct({
|
|
384
|
-
id: Schema.String,
|
|
385
|
-
title: Schema.String,
|
|
386
|
-
status: Schema.Literal('todo', 'done'),
|
|
387
|
-
}),
|
|
388
|
-
}),
|
|
389
|
-
issueStatusChanged: Events.synced({
|
|
390
|
-
name: 'v1.IssueStatusChanged',
|
|
391
|
-
schema: Schema.Struct({
|
|
392
|
-
id: Schema.String,
|
|
393
|
-
status: Schema.Literal('todo', 'done'),
|
|
394
|
-
}),
|
|
395
|
-
}),
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
// State definition
|
|
399
|
-
export const tables = {
|
|
400
|
-
issue: State.SQLite.table({
|
|
401
|
-
name: 'issue',
|
|
402
|
-
columns: {
|
|
403
|
-
id: State.SQLite.text({ primaryKey: true }),
|
|
404
|
-
title: State.SQLite.text(),
|
|
405
|
-
status: State.SQLite.text(),
|
|
406
|
-
},
|
|
407
|
-
}),
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
const materializers = State.SQLite.materializers(events, {
|
|
411
|
-
'v1.IssueCreated': ({ id, title, status }) => tables.issue.insert({ id, title, status }),
|
|
412
|
-
'v1.IssueStatusChanged': ({ id, status }) => tables.issue.update({ status }).where({ id }),
|
|
413
|
-
})
|
|
414
|
-
|
|
415
|
-
const state = State.SQLite.makeState({ tables, materializers })
|
|
416
|
-
|
|
417
|
-
export const schema = makeSchema({ events, state })
|
|
418
400
|
```
|
|
419
401
|
|
|
420
|
-
|
|
421
|
-
The Multi-Store API is still early in its development.
|
|
422
|
-
|
|
423
|
-
If you have feedback or questions about this API, please don't hesitate to comment on the [RFC](https://github.com/livestorejs/livestore/pull/585)
|
|
424
|
-
:::
|
|
425
|
-
|
|
426
|
-
### Core Concepts
|
|
402
|
+
## Advanced Patterns
|
|
427
403
|
|
|
428
|
-
|
|
404
|
+
### Multiple Stores
|
|
429
405
|
|
|
430
|
-
|
|
431
|
-
- **useStore()** - Suspense-enabled hook for accessing individual store instances
|
|
432
|
-
- **storeOptions()** - Type-safe way to define reusable store configurations
|
|
406
|
+
You can have multiple stores within a single React application. This is useful for:
|
|
433
407
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
### Setting Up
|
|
408
|
+
- **Partial data synchronization** - Load only the data you need, when you need it
|
|
409
|
+
- **Multi-tenant applications** - Separate stores for each workspace, organization, or team (like Slack workspaces or Linear teams)
|
|
437
410
|
|
|
438
|
-
|
|
411
|
+
Use the [`storeOptions()`](#storeoptionsoptions) helper for type-safe, reusable configurations, and then create multiple instances for the same store configuration by using different `storeId` values:
|
|
439
412
|
|
|
440
413
|
## `reference/framework-integrations/react/multi-store/store.ts`
|
|
441
414
|
|
|
@@ -496,23 +469,6 @@ const state = State.SQLite.makeState({ tables, materializers })
|
|
|
496
469
|
export const schema = makeSchema({ events, state })
|
|
497
470
|
```
|
|
498
471
|
|
|
499
|
-
Then create a `StoreRegistry` and provide it to your app:
|
|
500
|
-
|
|
501
|
-
## `reference/framework-integrations/react/multi-store/App.tsx`
|
|
502
|
-
|
|
503
|
-
```tsx filename="reference/framework-integrations/react/multi-store/App.tsx"
|
|
504
|
-
|
|
505
|
-
export function App({ children }: { children: ReactNode }) {
|
|
506
|
-
const [storeRegistry] = useState(() => new StoreRegistry({ defaultOptions: { batchUpdates } }))
|
|
507
|
-
|
|
508
|
-
return <StoreRegistryProvider storeRegistry={storeRegistry}>{children}</StoreRegistryProvider>
|
|
509
|
-
}
|
|
510
|
-
```
|
|
511
|
-
|
|
512
|
-
### Using Stores
|
|
513
|
-
|
|
514
|
-
Use the `useStore()` hook to load or get a store instance. It suspends until the store is loaded:
|
|
515
|
-
|
|
516
472
|
## `reference/framework-integrations/react/multi-store/IssueView.tsx`
|
|
517
473
|
|
|
518
474
|
```tsx filename="reference/framework-integrations/react/multi-store/IssueView.tsx"
|
|
@@ -606,113 +562,11 @@ export const issueStoreOptions = (issueId: string) =>
|
|
|
606
562
|
})
|
|
607
563
|
```
|
|
608
564
|
|
|
609
|
-
### Multiple Instances
|
|
610
|
-
|
|
611
|
-
You can create multiple instances of the same store type by using different `storeId` values:
|
|
612
|
-
|
|
613
|
-
## `reference/framework-integrations/react/multi-store/IssueList.tsx`
|
|
614
|
-
|
|
615
|
-
```tsx filename="reference/framework-integrations/react/multi-store/IssueList.tsx"
|
|
616
|
-
|
|
617
|
-
function IssueCard({ issueId }: { issueId: string }) {
|
|
618
|
-
// Each call to useStore with a different storeId loads/gets a separate store instance
|
|
619
|
-
const issueStore = useStore(issueStoreOptions(issueId))
|
|
620
|
-
const [issue] = issueStore.useQuery(queryDb(tables.issue.select().where({ id: issueId })))
|
|
621
|
-
|
|
622
|
-
if (!issue) return <div>Issue not found</div>
|
|
623
|
-
|
|
624
|
-
return (
|
|
625
|
-
<div>
|
|
626
|
-
<h4>{issue.title}</h4>
|
|
627
|
-
<p>Store ID: {issueStore.storeId}</p>
|
|
628
|
-
<p>Status: {issue.status}</p>
|
|
629
|
-
</div>
|
|
630
|
-
)
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
// Component that displays multiple independent store instances with shared error and loading states
|
|
634
|
-
export function IssueList() {
|
|
635
|
-
const issueIds = ['issue-1', 'issue-2', 'issue-3']
|
|
636
|
-
|
|
637
|
-
return (
|
|
638
|
-
<div>
|
|
639
|
-
<h3>Issues</h3>
|
|
640
|
-
<ErrorBoundary fallback={<div>Error loading issues</div>}>
|
|
641
|
-
<Suspense fallback={<div>Loading issues...</div>}>
|
|
642
|
-
{issueIds.map((id) => (
|
|
643
|
-
<IssueCard key={id} issueId={id} />
|
|
644
|
-
))}
|
|
645
|
-
</Suspense>
|
|
646
|
-
</ErrorBoundary>
|
|
647
|
-
</div>
|
|
648
|
-
)
|
|
649
|
-
}
|
|
650
|
-
```
|
|
651
|
-
|
|
652
|
-
### `reference/framework-integrations/react/multi-store/schema.ts`
|
|
653
|
-
|
|
654
|
-
```ts filename="reference/framework-integrations/react/multi-store/schema.ts"
|
|
655
|
-
|
|
656
|
-
// Event definitions
|
|
657
|
-
export const events = {
|
|
658
|
-
issueCreated: Events.synced({
|
|
659
|
-
name: 'v1.IssueCreated',
|
|
660
|
-
schema: Schema.Struct({
|
|
661
|
-
id: Schema.String,
|
|
662
|
-
title: Schema.String,
|
|
663
|
-
status: Schema.Literal('todo', 'done'),
|
|
664
|
-
}),
|
|
665
|
-
}),
|
|
666
|
-
issueStatusChanged: Events.synced({
|
|
667
|
-
name: 'v1.IssueStatusChanged',
|
|
668
|
-
schema: Schema.Struct({
|
|
669
|
-
id: Schema.String,
|
|
670
|
-
status: Schema.Literal('todo', 'done'),
|
|
671
|
-
}),
|
|
672
|
-
}),
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
// State definition
|
|
676
|
-
export const tables = {
|
|
677
|
-
issue: State.SQLite.table({
|
|
678
|
-
name: 'issue',
|
|
679
|
-
columns: {
|
|
680
|
-
id: State.SQLite.text({ primaryKey: true }),
|
|
681
|
-
title: State.SQLite.text(),
|
|
682
|
-
status: State.SQLite.text(),
|
|
683
|
-
},
|
|
684
|
-
}),
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
const materializers = State.SQLite.materializers(events, {
|
|
688
|
-
'v1.IssueCreated': ({ id, title, status }) => tables.issue.insert({ id, title, status }),
|
|
689
|
-
'v1.IssueStatusChanged': ({ id, status }) => tables.issue.update({ status }).where({ id }),
|
|
690
|
-
})
|
|
691
|
-
|
|
692
|
-
const state = State.SQLite.makeState({ tables, materializers })
|
|
693
|
-
|
|
694
|
-
export const schema = makeSchema({ events, state })
|
|
695
|
-
```
|
|
696
|
-
|
|
697
|
-
### `reference/framework-integrations/react/multi-store/store.ts`
|
|
698
|
-
|
|
699
|
-
```ts filename="reference/framework-integrations/react/multi-store/store.ts"
|
|
700
|
-
|
|
701
|
-
// Define reusable store configuration with storeOptions()
|
|
702
|
-
// This helper provides type safety and can be reused across your app
|
|
703
|
-
export const issueStoreOptions = (issueId: string) =>
|
|
704
|
-
storeOptions({
|
|
705
|
-
storeId: `issue-${issueId}`,
|
|
706
|
-
schema,
|
|
707
|
-
adapter: makeInMemoryAdapter(),
|
|
708
|
-
})
|
|
709
|
-
```
|
|
710
|
-
|
|
711
565
|
Each store instance is completely isolated with its own data, event log, and synchronization state.
|
|
712
566
|
|
|
713
|
-
### Preloading
|
|
567
|
+
### Preloading Stores
|
|
714
568
|
|
|
715
|
-
When you know a store will be needed soon,
|
|
569
|
+
When you know a store will be needed soon, preload it in advance to warm up the cache:
|
|
716
570
|
|
|
717
571
|
## `reference/framework-integrations/react/multi-store/PreloadedIssue.tsx`
|
|
718
572
|
|
|
@@ -722,9 +576,12 @@ export function PreloadedIssue({ issueId }: { issueId: string }) {
|
|
|
722
576
|
const [showIssue, setShowIssue] = useState(false)
|
|
723
577
|
const storeRegistry = useStoreRegistry()
|
|
724
578
|
|
|
725
|
-
// Preload the store when user hovers (before they click)
|
|
579
|
+
// Preload the store when the user hovers (before they click)
|
|
726
580
|
const handleMouseEnter = () => {
|
|
727
|
-
storeRegistry.preload(
|
|
581
|
+
storeRegistry.preload({
|
|
582
|
+
...issueStoreOptions(issueId),
|
|
583
|
+
unusedCacheTime: 10_000, // Optionally override options
|
|
584
|
+
})
|
|
728
585
|
}
|
|
729
586
|
|
|
730
587
|
return (
|
|
@@ -838,69 +695,243 @@ export const issueStoreOptions = (issueId: string) =>
|
|
|
838
695
|
})
|
|
839
696
|
```
|
|
840
697
|
|
|
841
|
-
This warms up the cache so the store is ready when the user navigates to it.
|
|
842
|
-
|
|
843
698
|
### StoreId Guidelines
|
|
844
699
|
|
|
845
700
|
When creating `storeId` values:
|
|
846
701
|
|
|
847
|
-
- **
|
|
702
|
+
- **Valid characters** - Only alphanumeric characters, underscores (`_`), and hyphens (`-`) are allowed (regex: `/^[a-zA-Z0-9_-]+$/`)
|
|
848
703
|
- **Globally unique** - Prefer globally unique IDs (e.g., nanoid) to prevent collisions
|
|
704
|
+
- **Use namespaces** - Prefix with the entity type (e.g., `workspace-abc123`, `issue-456`) to avoid collisions and easier identification when debugging
|
|
849
705
|
- **Keep them stable** - The same entity should always use the same `storeId` across renders
|
|
850
|
-
- **Sanitize user input** - If incorporating user data,
|
|
851
|
-
- **Document your conventions** - Document
|
|
706
|
+
- **Sanitize user input** - If incorporating user data, validate/sanitize to prevent injection attacks
|
|
707
|
+
- **Document your conventions** - Document special IDs like `user-current` as they're part of your API contract
|
|
708
|
+
|
|
709
|
+
### Logging
|
|
710
|
+
|
|
711
|
+
You can customize the logger and log level for debugging:
|
|
712
|
+
|
|
713
|
+
## `reference/framework-integrations/react/store-with-logging.ts`
|
|
714
|
+
|
|
715
|
+
```ts filename="reference/framework-integrations/react/store-with-logging.ts"
|
|
716
|
+
|
|
717
|
+
const adapter = makeInMemoryAdapter()
|
|
718
|
+
|
|
719
|
+
// ---cut---
|
|
720
|
+
export const useAppStore = () =>
|
|
721
|
+
useStore({
|
|
722
|
+
storeId: 'app-root',
|
|
723
|
+
schema,
|
|
724
|
+
adapter,
|
|
725
|
+
batchUpdates,
|
|
726
|
+
// Optional: swap the logger implementation
|
|
727
|
+
logger: Logger.prettyWithThread('app'),
|
|
728
|
+
// Optional: set minimum log level (use LogLevel.None to disable)
|
|
729
|
+
logLevel: LogLevel.Info,
|
|
730
|
+
})
|
|
731
|
+
```
|
|
732
|
+
|
|
733
|
+
### `reference/framework-integrations/react/schema.ts`
|
|
734
|
+
|
|
735
|
+
```ts filename="reference/framework-integrations/react/schema.ts"
|
|
736
|
+
|
|
737
|
+
export const tables = {
|
|
738
|
+
todos: State.SQLite.table({
|
|
739
|
+
name: 'todos',
|
|
740
|
+
columns: {
|
|
741
|
+
id: State.SQLite.text({ primaryKey: true }),
|
|
742
|
+
text: State.SQLite.text(),
|
|
743
|
+
completed: State.SQLite.boolean({ default: false }),
|
|
744
|
+
},
|
|
745
|
+
}),
|
|
746
|
+
uiState: State.SQLite.clientDocument({
|
|
747
|
+
name: 'UiState',
|
|
748
|
+
schema: Schema.Struct({ text: Schema.String }),
|
|
749
|
+
default: { value: { text: '' } },
|
|
750
|
+
}),
|
|
751
|
+
} as const
|
|
752
|
+
|
|
753
|
+
export const events = {
|
|
754
|
+
todoCreated: Events.synced({
|
|
755
|
+
name: 'v1.TodoCreated',
|
|
756
|
+
schema: Schema.Struct({ id: Schema.String, text: Schema.String }),
|
|
757
|
+
}),
|
|
758
|
+
} as const
|
|
759
|
+
|
|
760
|
+
const materializers = State.SQLite.materializers(events, {
|
|
761
|
+
[events.todoCreated.name]: defineMaterializer(events.todoCreated, ({ id, text }) =>
|
|
762
|
+
tables.todos.insert({ id, text, completed: false }),
|
|
763
|
+
),
|
|
764
|
+
})
|
|
765
|
+
|
|
766
|
+
const state = State.SQLite.makeState({ tables, materializers })
|
|
767
|
+
|
|
768
|
+
export const schema = makeSchema({ events, state })
|
|
769
|
+
```
|
|
852
770
|
|
|
853
|
-
|
|
771
|
+
Use `LogLevel.None` to disable logging entirely.
|
|
854
772
|
|
|
855
|
-
|
|
773
|
+
## API Reference
|
|
856
774
|
|
|
857
|
-
|
|
775
|
+
### `storeOptions(options)`
|
|
776
|
+
|
|
777
|
+
Helper for defining reusable store options with full type inference. Returns options that can be passed to [`useStore()`](#usestoreoptions) or [`storeRegistry.preload()`](#storeregistrypreloadoptions).
|
|
778
|
+
|
|
779
|
+
Options:
|
|
780
|
+
- `storeId` - Unique identifier for this store instance
|
|
781
|
+
- `schema` - The LiveStore schema
|
|
782
|
+
- `adapter` - The platform adapter
|
|
783
|
+
- `unusedCacheTime?` - Time in ms to keep unused stores in cache (default: `60_000` in browser, `Infinity` in non-browser environments)
|
|
784
|
+
- `batchUpdates?` - Function for batching React updates (recommended)
|
|
785
|
+
- `boot?` - Function called when the store is loaded
|
|
786
|
+
- `onBootStatus?` - Callback for boot status updates
|
|
787
|
+
- `context?` - User-defined context for dependency injection
|
|
788
|
+
- `syncPayload?` - Payload sent to sync backend (e.g., auth tokens)
|
|
789
|
+
- `syncPayloadSchema?` - Schema for type-safe sync payload validation
|
|
790
|
+
- `confirmUnsavedChanges?` - Register beforeunload handler (default: `true`, web only)
|
|
791
|
+
- `logger?` - Custom logger implementation
|
|
792
|
+
- `logLevel?` - Log level (e.g., `LogLevel.Info`, `LogLevel.Debug`, `LogLevel.None`)
|
|
793
|
+
- `otelOptions?` - OpenTelemetry configuration (`{ tracer, rootSpanContext }`)
|
|
794
|
+
- `disableDevtools?` - Whether to disable devtools (`boolean | 'auto'`, default: `'auto'`)
|
|
795
|
+
- `debug?` - Debug options (`{ instanceId?: string }`)
|
|
796
|
+
|
|
797
|
+
### `useStore(options)`
|
|
798
|
+
|
|
799
|
+
Returns a store instance augmented with hooks ([`store.useQuery()`](#storeusequeryqueryable) and [`store.useClientDocument()`](#storeuseclientdocumenttable-id-options)) for reactive queries.
|
|
800
|
+
|
|
801
|
+
- Suspends until the store is loaded.
|
|
802
|
+
- Throws an error if loading fails.
|
|
803
|
+
- Store gets cached by its `storeId` in the [`StoreRegistry`](#new-storeregistryconfig). Multiple calls with the same `storeId` return the same store instance.
|
|
804
|
+
- Store is cached as long as it's being used, and after `unusedCacheTime` expires (default `60_000` ms in browser, `Infinity` in non-browser)
|
|
805
|
+
- Default store options can be configured in [`StoreRegistry`](#new-storeregistryconfig) constructor.
|
|
806
|
+
- Store options are only applied when the store is loaded. Subsequent calls with different options will not affect the store if it's already loaded and cached in the registry.
|
|
807
|
+
|
|
808
|
+
### `store.commit(...events)` / `store.commit(txnFn)`
|
|
809
|
+
|
|
810
|
+
Commits events to the store. Supports multiple calling patterns:
|
|
811
|
+
|
|
812
|
+
- `store.commit(...events)` - Commit one or more events
|
|
813
|
+
- `store.commit(txnFn)` - Commit events via a transaction function
|
|
814
|
+
- `store.commit(options, ...events)` - Commit with options
|
|
815
|
+
- `store.commit(options, txnFn)` - Options with transaction function
|
|
858
816
|
|
|
859
817
|
Options:
|
|
860
|
-
- `
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
-
|
|
818
|
+
- `skipRefresh` - Skip refreshing reactive queries after commit (advanced)
|
|
819
|
+
|
|
820
|
+
### `store.useQuery(queryable)`
|
|
821
|
+
|
|
822
|
+
Subscribes to a reactive query. Re-renders the component when the result changes.
|
|
823
|
+
|
|
824
|
+
- Takes any `Queryable`: `QueryBuilder`, `LiveQueryDef`, `SignalDef`, or `LiveQuery` instance
|
|
825
|
+
- Returns the query result
|
|
867
826
|
|
|
868
|
-
|
|
827
|
+
### `store.useClientDocument(table, id?, options?)`
|
|
869
828
|
|
|
870
|
-
|
|
829
|
+
React.useState-like hook for client-document tables.
|
|
830
|
+
|
|
831
|
+
- Returns `[row, setRow, id, query$]` tuple
|
|
832
|
+
- Works only with tables defined via `State.SQLite.clientDocument()`
|
|
833
|
+
- If the table has a default id, the `id` argument is optional
|
|
834
|
+
|
|
835
|
+
### `new StoreRegistry(config?)`
|
|
836
|
+
|
|
837
|
+
Creates a registry that coordinates store loading, caching, and retention.
|
|
871
838
|
|
|
872
839
|
Config:
|
|
873
|
-
- `defaultOptions
|
|
840
|
+
- `defaultOptions?` - Default options that are applied to all stores when they are loaded.:
|
|
841
|
+
- `batchUpdates?` - Function for batching React updates
|
|
842
|
+
- `unusedCacheTime?` - Cache time for unused stores
|
|
843
|
+
- `disableDevtools?` - Whether to disable devtools
|
|
844
|
+
- `confirmUnsavedChanges?` - beforeunload confirmation
|
|
845
|
+
- `otelOptions?` - OpenTelemetry configuration
|
|
846
|
+
- `debug?` - Debug options
|
|
847
|
+
- `runtime?` - Effect runtime for registry operations
|
|
874
848
|
|
|
875
|
-
|
|
849
|
+
### `<StoreRegistryProvider>`
|
|
876
850
|
|
|
877
|
-
React context provider that
|
|
851
|
+
React context provider that makes a [`StoreRegistry`](#new-storeregistryconfig) available to descendant components.
|
|
878
852
|
|
|
879
853
|
Props:
|
|
880
|
-
- `storeRegistry` - The registry instance
|
|
881
|
-
|
|
854
|
+
- `storeRegistry` - The registry instance
|
|
855
|
+
|
|
856
|
+
### `useStoreRegistry(override?)`
|
|
857
|
+
|
|
858
|
+
Hook that returns the [`StoreRegistry`](#new-storeregistryconfig) provided by the nearest [`<StoreRegistryProvider>`](#storeregistryprovider) ancestor, or the `override` if provided.
|
|
859
|
+
|
|
860
|
+
### `storeRegistry.preload(options)`
|
|
861
|
+
|
|
862
|
+
Loads a store (without suspending) to warm up the cache. Returns a Promise that resolves when loading completes. This is a fire-and-forget operation useful for warming up the cache.
|
|
863
|
+
|
|
864
|
+
## Framework-Specific Notes
|
|
865
|
+
|
|
866
|
+
### Vite
|
|
867
|
+
|
|
868
|
+
LiveStore works with Vite out of the box.
|
|
882
869
|
|
|
883
|
-
|
|
870
|
+
### Tanstack Start
|
|
871
|
+
|
|
872
|
+
LiveStore works with Tanstack Start out of the box.
|
|
873
|
+
|
|
874
|
+
#### Provider Placement
|
|
875
|
+
|
|
876
|
+
When using LiveStore with TanStack Start, place [`<StoreRegistryProvider>`](#storeregistryprovider) in the correct location to avoid remounting on navigation.
|
|
877
|
+
|
|
878
|
+
:::caution
|
|
879
|
+
**Do NOT place `<StoreRegistryProvider>` inside `shellComponent`**. The `shellComponent` can be re-rendered on navigation, causing LiveStore to remount and show the loading screen on every page transition.
|
|
880
|
+
:::
|
|
881
|
+
|
|
882
|
+
Use the `component` prop on `createRootRoute` for `<StoreRegistryProvider>`:
|
|
883
|
+
|
|
884
|
+
```tsx
|
|
885
|
+
|
|
886
|
+
export const Route = createRootRoute({
|
|
887
|
+
shellComponent: RootShell, // HTML structure only - NO state or providers
|
|
888
|
+
component: RootComponent, // App shell - StoreRegistryProvider goes HERE
|
|
889
|
+
})
|
|
890
|
+
|
|
891
|
+
// HTML document shell - keep this stateless
|
|
892
|
+
function RootShell({ children }: { children: React.ReactNode }) {
|
|
893
|
+
return (
|
|
894
|
+
<html lang="en">
|
|
895
|
+
<head><HeadContent /></head>
|
|
896
|
+
<body>
|
|
897
|
+
{children}
|
|
898
|
+
<Scripts />
|
|
899
|
+
</body>
|
|
900
|
+
</html>
|
|
901
|
+
)
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
// App shell - persists across SPA navigation
|
|
905
|
+
function RootComponent() {
|
|
906
|
+
const [storeRegistry] = useState(() => new StoreRegistry())
|
|
907
|
+
|
|
908
|
+
return (
|
|
909
|
+
<Suspense fallback={<div>Loading LiveStore...</div>}>
|
|
910
|
+
<StoreRegistryProvider storeRegistry={storeRegistry}>
|
|
911
|
+
<Outlet />
|
|
912
|
+
</StoreRegistryProvider>
|
|
913
|
+
</Suspense>
|
|
914
|
+
)
|
|
915
|
+
}
|
|
916
|
+
```
|
|
884
917
|
|
|
885
|
-
|
|
918
|
+
TanStack Start's `shellComponent` is designed for SSR HTML streaming and may be re-evaluated on server requests during navigation. When `<StoreRegistryProvider>` is placed there, the WebSocket connection is re-established and all LiveStore state is re-initialized on each navigation.
|
|
886
919
|
|
|
887
|
-
|
|
888
|
-
- Throws an Error if loading fails (for Error Boundaries)
|
|
889
|
-
- Returns the loaded store when ready
|
|
920
|
+
If you see the loading screen on every navigation, check your server logs for multiple "Launching WebSocket" messages.
|
|
890
921
|
|
|
891
|
-
|
|
922
|
+
### Expo / React Native
|
|
892
923
|
|
|
893
|
-
|
|
924
|
+
LiveStore has a first-class integration with Expo / React Native via `@livestore/adapter-expo`. See the [Expo Adapter documentation](/platform-adapters/expo-adapter).
|
|
894
925
|
|
|
895
|
-
|
|
926
|
+
### Next.js
|
|
896
927
|
|
|
897
|
-
|
|
928
|
+
Given various Next.js limitations, LiveStore doesn't yet work with Next.js out of the box.
|
|
898
929
|
|
|
899
930
|
### Complete Example
|
|
900
931
|
|
|
901
932
|
See the <a href={`https://github.com/livestorejs/livestore/tree/${getBranchName()}/examples/web-multi-store`}>Multi-Store example</a> for a complete working application demonstrating various multi-store patterns.
|
|
902
933
|
|
|
903
|
-
## Technical
|
|
934
|
+
## Technical Notes
|
|
904
935
|
|
|
905
|
-
- `@livestore/react` uses `React.useState` under the hood for `useQuery` / `useClientDocument` to bind LiveStore's reactivity to React's reactivity. Some libraries
|
|
936
|
+
- `@livestore/react` uses `React.useState()` under the hood for `useQuery()` / `useClientDocument()` to bind LiveStore's reactivity to React's reactivity. Some libraries use `React.useSyncExternalStore()` for similar purposes but `React.useState()` is more efficient for LiveStore's architecture.
|
|
906
937
|
- `@livestore/react` supports React Strict Mode.
|