@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
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type ClientSession, type ClientSessionSyncProcessor, type
|
|
2
|
-
import type {
|
|
1
|
+
import { type ClientSession, type ClientSessionSyncProcessor, type IntentionalShutdownCause, type InvalidPullError, type IsOfflineError, type MaterializeError, type QueryBuilder, type StoreInterrupted, type SyncError, type UnknownError } from '@livestore/common';
|
|
2
|
+
import type { StreamEventsOptions } from '@livestore/common/leader-thread';
|
|
3
|
+
import type { LiveStoreEvent, LiveStoreSchema } from '@livestore/common/schema';
|
|
3
4
|
import type { Effect, Runtime, Schema, Scope } from '@livestore/utils/effect';
|
|
4
5
|
import { Deferred } from '@livestore/utils/effect';
|
|
5
6
|
import type * as otel from '@opentelemetry/api';
|
|
@@ -9,7 +10,17 @@ import type { SqliteDbWrapper } from '../SqliteDbWrapper.ts';
|
|
|
9
10
|
import type { ReferenceCountedSet } from '../utils/data-structures.ts';
|
|
10
11
|
import type { StackInfo } from '../utils/stack-info.ts';
|
|
11
12
|
import type { Store } from './store.ts';
|
|
12
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Union type representing the possible states of a LiveStore context.
|
|
15
|
+
*
|
|
16
|
+
* Used by framework integrations (React, Solid, etc.) to track Store lifecycle:
|
|
17
|
+
* - `running`: Store is active and ready for queries/commits
|
|
18
|
+
* - `error`: Store failed during boot or operation
|
|
19
|
+
* - `shutdown`: Store was intentionally shut down or interrupted
|
|
20
|
+
*
|
|
21
|
+
* @typeParam TSchema - The LiveStore schema type. Defaults to `LiveStoreSchema.Any`.
|
|
22
|
+
*/
|
|
23
|
+
export type LiveStoreContext<TSchema extends LiveStoreSchema = LiveStoreSchema.Any> = LiveStoreContextRunning<TSchema> | {
|
|
13
24
|
stage: 'error';
|
|
14
25
|
error: UnknownError | unknown;
|
|
15
26
|
} | {
|
|
@@ -18,9 +29,19 @@ export type LiveStoreContext = LiveStoreContextRunning | {
|
|
|
18
29
|
};
|
|
19
30
|
export type ShutdownDeferred = Deferred.Deferred<IntentionalShutdownCause, UnknownError | SyncError | StoreInterrupted | MaterializeError | InvalidPullError | IsOfflineError>;
|
|
20
31
|
export declare const makeShutdownDeferred: Effect.Effect<ShutdownDeferred>;
|
|
21
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Context state when the Store is active and ready for use.
|
|
34
|
+
*
|
|
35
|
+
* This is the normal operating state where you can query data, commit events,
|
|
36
|
+
* and subscribe to changes.
|
|
37
|
+
*
|
|
38
|
+
* @typeParam TSchema - The LiveStore schema type. Defaults to `LiveStoreSchema.Any`
|
|
39
|
+
* for backwards compatibility, but prefer providing the concrete schema type
|
|
40
|
+
* for full type safety.
|
|
41
|
+
*/
|
|
42
|
+
export type LiveStoreContextRunning<TSchema extends LiveStoreSchema = LiveStoreSchema.Any> = {
|
|
22
43
|
stage: 'running';
|
|
23
|
-
store: Store
|
|
44
|
+
store: Store<TSchema>;
|
|
24
45
|
};
|
|
25
46
|
export type OtelOptions = {
|
|
26
47
|
tracer: otel.Tracer;
|
|
@@ -109,26 +130,12 @@ export type StoreInternals = {
|
|
|
109
130
|
*/
|
|
110
131
|
isShutdown: boolean;
|
|
111
132
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
effectContext: {
|
|
119
|
-
runtime: Runtime.Runtime<Scope.Scope>;
|
|
120
|
-
lifetimeScope: Scope.Scope;
|
|
121
|
-
};
|
|
122
|
-
confirmUnsavedChanges: boolean;
|
|
123
|
-
batchUpdates: (runUpdates: () => void) => void;
|
|
124
|
-
params: {
|
|
125
|
-
leaderPushBatchSize: number;
|
|
126
|
-
simulation?: {
|
|
127
|
-
clientSessionSyncProcessor: typeof ClientSessionSyncProcessorSimulationParams.Type;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
__runningInDevtools: boolean;
|
|
131
|
-
};
|
|
133
|
+
/**
|
|
134
|
+
* Tagged union describing why a reactive refresh occurred.
|
|
135
|
+
*
|
|
136
|
+
* Used internally for debugging and devtools to trace the cause of query re-evaluations.
|
|
137
|
+
* Each variant includes context about what triggered the refresh.
|
|
138
|
+
*/
|
|
132
139
|
export type RefreshReason = DebugRefreshReasonBase | {
|
|
133
140
|
_tag: 'commit';
|
|
134
141
|
/** The events that were applied */
|
|
@@ -150,10 +157,19 @@ export type RefreshReason = DebugRefreshReasonBase | {
|
|
|
150
157
|
_tag: 'manual';
|
|
151
158
|
label?: string;
|
|
152
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Debug information captured for each query execution.
|
|
162
|
+
*
|
|
163
|
+
* Used by devtools and performance monitoring to track query behavior.
|
|
164
|
+
*/
|
|
153
165
|
export type QueryDebugInfo = {
|
|
166
|
+
/** Query type discriminator ('db', 'computed', etc.) */
|
|
154
167
|
_tag: string;
|
|
168
|
+
/** Human-readable query label */
|
|
155
169
|
label: string;
|
|
170
|
+
/** SQL query string or computed function representation */
|
|
156
171
|
query: string;
|
|
172
|
+
/** Execution time in milliseconds */
|
|
157
173
|
durationMs: number;
|
|
158
174
|
};
|
|
159
175
|
export type StoreOtel = {
|
|
@@ -168,35 +184,47 @@ export type StoreCommitOptions = {
|
|
|
168
184
|
spanLinks?: otel.Link[];
|
|
169
185
|
otelContext?: otel.Context;
|
|
170
186
|
};
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
cursor?: EventSequenceNumber.Client.Composite;
|
|
187
|
+
/**
|
|
188
|
+
* filter: Narrowed to the store's event types
|
|
189
|
+
* includeClientOnly: Omitted from public API until supported
|
|
190
|
+
*/
|
|
191
|
+
export type StoreEventsOptions<TSchema extends LiveStoreSchema> = Omit<StreamEventsOptions, 'filter' | 'includeClientOnly'> & {
|
|
177
192
|
/**
|
|
178
|
-
* Only include events of the given names
|
|
193
|
+
* Only include events of the given names.
|
|
179
194
|
* @default undefined (include all)
|
|
180
195
|
*/
|
|
181
196
|
filter?: ReadonlyArray<keyof TSchema['_EventDefMapType']>;
|
|
182
|
-
/**
|
|
183
|
-
* Whether to include client-only events or only return synced events
|
|
184
|
-
* @default true
|
|
185
|
-
*/
|
|
186
|
-
includeClientOnly?: boolean;
|
|
187
|
-
/**
|
|
188
|
-
* Exclude own events that have not been pushed to the sync backend yet
|
|
189
|
-
* @default false
|
|
190
|
-
*/
|
|
191
|
-
excludeUnpushed?: boolean;
|
|
192
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* Function returned by `store.subscribe()` to stop receiving updates.
|
|
200
|
+
*
|
|
201
|
+
* Call this to unsubscribe from a query and release the associated resources.
|
|
202
|
+
*
|
|
203
|
+
* @example
|
|
204
|
+
* ```ts
|
|
205
|
+
* const unsubscribe = store.subscribe(todos$, (todos) => console.log(todos))
|
|
206
|
+
* // Later...
|
|
207
|
+
* unsubscribe()
|
|
208
|
+
* ```
|
|
209
|
+
*/
|
|
193
210
|
export type Unsubscribe = () => void;
|
|
211
|
+
/**
|
|
212
|
+
* Options for `store.subscribe()`.
|
|
213
|
+
*
|
|
214
|
+
* @typeParam TResult - The result type of the subscribed query
|
|
215
|
+
*/
|
|
194
216
|
export type SubscribeOptions<TResult> = {
|
|
217
|
+
/** Callback invoked when the subscription is established (receives the live query instance) */
|
|
195
218
|
onSubscribe?: (query$: LiveQuery<TResult>) => void;
|
|
219
|
+
/** Callback invoked when the subscription is terminated */
|
|
196
220
|
onUnsubsubscribe?: () => void;
|
|
221
|
+
/** Label for debugging and devtools */
|
|
197
222
|
label?: string;
|
|
223
|
+
/** If true, skips invoking the callback for the initial value */
|
|
198
224
|
skipInitialRun?: boolean;
|
|
225
|
+
/** OpenTelemetry context for tracing */
|
|
199
226
|
otelContext?: otel.Context;
|
|
227
|
+
/** Stack trace info for debugging subscription origins */
|
|
200
228
|
stackInfo?: StackInfo;
|
|
201
229
|
};
|
|
202
230
|
/** All query definitions or instances the store can execute or subscribe to. */
|
|
@@ -218,7 +246,56 @@ export declare namespace Queryable {
|
|
|
218
246
|
*/
|
|
219
247
|
type Result<TQueryable extends Queryable<any>> = TQueryable extends Queryable<infer TResult> ? TResult : never;
|
|
220
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* Type guard that checks if a value is a query or signal definition.
|
|
251
|
+
*
|
|
252
|
+
* Use this to distinguish between definitions (blueprints) and instances (live queries).
|
|
253
|
+
* Definitions are created by `queryDb()`, `computed()`, and `signal()`.
|
|
254
|
+
*
|
|
255
|
+
* @example
|
|
256
|
+
* ```ts
|
|
257
|
+
* const todos$ = queryDb(tables.todos.all())
|
|
258
|
+
*
|
|
259
|
+
* if (isLiveQueryDef(todos$)) {
|
|
260
|
+
* console.log('This is a definition:', todos$.label)
|
|
261
|
+
* }
|
|
262
|
+
* ```
|
|
263
|
+
*/
|
|
221
264
|
export declare const isLiveQueryDef: (value: unknown) => value is LiveQueryDef<any> | SignalDef<any>;
|
|
265
|
+
/**
|
|
266
|
+
* Type guard that checks if a value is a live query instance.
|
|
267
|
+
*
|
|
268
|
+
* Live query instances are stateful objects bound to a Store's reactivity graph.
|
|
269
|
+
* They're created internally when you use a definition with `store.query()` or `store.subscribe()`.
|
|
270
|
+
*
|
|
271
|
+
* @example
|
|
272
|
+
* ```ts
|
|
273
|
+
* const [, , , query$] = useClientDocument(tables.uiState)
|
|
274
|
+
*
|
|
275
|
+
* if (isLiveQueryInstance(query$)) {
|
|
276
|
+
* console.log('Execution count:', query$.runs)
|
|
277
|
+
* }
|
|
278
|
+
* ```
|
|
279
|
+
*/
|
|
222
280
|
export declare const isLiveQueryInstance: (value: unknown) => value is LiveQuery<any>;
|
|
281
|
+
/**
|
|
282
|
+
* Type guard that checks if a value can be used with `store.query()` or `store.subscribe()`.
|
|
283
|
+
*
|
|
284
|
+
* Queryable values include:
|
|
285
|
+
* - Query definitions (`LiveQueryDef` from `queryDb()`, `computed()`)
|
|
286
|
+
* - Signal definitions (`SignalDef` from `signal()`)
|
|
287
|
+
* - Live query instances (`LiveQuery`)
|
|
288
|
+
* - Query builders (e.g., `tables.todos.where(...)`)
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* ```ts
|
|
292
|
+
* const handleQuery = (input: unknown) => {
|
|
293
|
+
* if (isQueryable(input)) {
|
|
294
|
+
* return store.query(input)
|
|
295
|
+
* }
|
|
296
|
+
* throw new Error('Not a valid query')
|
|
297
|
+
* }
|
|
298
|
+
* ```
|
|
299
|
+
*/
|
|
223
300
|
export declare const isQueryable: (value: unknown) => value is Queryable<unknown>;
|
|
224
301
|
//# sourceMappingURL=store-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-types.d.ts","sourceRoot":"","sources":["../../src/store/store-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,0BAA0B,
|
|
1
|
+
{"version":3,"file":"store-types.d.ts","sourceRoot":"","sources":["../../src/store/store-types.ts"],"names":[],"mappings":"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"}
|
|
@@ -3,6 +3,21 @@ import { Deferred, Predicate } from '@livestore/utils/effect';
|
|
|
3
3
|
import { TypeId } from "../live-queries/base-class.js";
|
|
4
4
|
export const makeShutdownDeferred = Deferred.make();
|
|
5
5
|
export const StoreInternalsSymbol = Symbol.for('livestore.StoreInternals');
|
|
6
|
+
/**
|
|
7
|
+
* Type guard that checks if a value is a query or signal definition.
|
|
8
|
+
*
|
|
9
|
+
* Use this to distinguish between definitions (blueprints) and instances (live queries).
|
|
10
|
+
* Definitions are created by `queryDb()`, `computed()`, and `signal()`.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const todos$ = queryDb(tables.todos.all())
|
|
15
|
+
*
|
|
16
|
+
* if (isLiveQueryDef(todos$)) {
|
|
17
|
+
* console.log('This is a definition:', todos$.label)
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
6
21
|
export const isLiveQueryDef = (value) => {
|
|
7
22
|
if (typeof value !== 'object' || value === null) {
|
|
8
23
|
return false;
|
|
@@ -25,6 +40,40 @@ export const isLiveQueryDef = (value) => {
|
|
|
25
40
|
}
|
|
26
41
|
return true;
|
|
27
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Type guard that checks if a value is a live query instance.
|
|
45
|
+
*
|
|
46
|
+
* Live query instances are stateful objects bound to a Store's reactivity graph.
|
|
47
|
+
* They're created internally when you use a definition with `store.query()` or `store.subscribe()`.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const [, , , query$] = useClientDocument(tables.uiState)
|
|
52
|
+
*
|
|
53
|
+
* if (isLiveQueryInstance(query$)) {
|
|
54
|
+
* console.log('Execution count:', query$.runs)
|
|
55
|
+
* }
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
28
58
|
export const isLiveQueryInstance = (value) => Predicate.hasProperty(value, TypeId);
|
|
59
|
+
/**
|
|
60
|
+
* Type guard that checks if a value can be used with `store.query()` or `store.subscribe()`.
|
|
61
|
+
*
|
|
62
|
+
* Queryable values include:
|
|
63
|
+
* - Query definitions (`LiveQueryDef` from `queryDb()`, `computed()`)
|
|
64
|
+
* - Signal definitions (`SignalDef` from `signal()`)
|
|
65
|
+
* - Live query instances (`LiveQuery`)
|
|
66
|
+
* - Query builders (e.g., `tables.todos.where(...)`)
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* const handleQuery = (input: unknown) => {
|
|
71
|
+
* if (isQueryable(input)) {
|
|
72
|
+
* return store.query(input)
|
|
73
|
+
* }
|
|
74
|
+
* throw new Error('Not a valid query')
|
|
75
|
+
* }
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
29
78
|
export const isQueryable = (value) => isQueryBuilder(value) || isLiveQueryInstance(value) || isLiveQueryDef(value);
|
|
30
79
|
//# sourceMappingURL=store-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-types.js","sourceRoot":"","sources":["../../src/store/store-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,cAAc,GAMf,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"store-types.js","sourceRoot":"","sources":["../../src/store/store-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,cAAc,GAMf,MAAM,mBAAmB,CAAA;AAI1B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAS7D,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAgCtD,MAAM,CAAC,MAAM,oBAAoB,GAAoC,QAAQ,CAAC,IAAI,EAG/E,CAAA;AAsBH,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;AA8P1E;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAc,EAA+C,EAAE;IAC5F,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAChD,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAK,CAAA;IACd,CAAC;IAED,MAAM,GAAG,GAAI,KAA4C,CAAC,IAAI,CAAA;IAC9D,IAAI,GAAG,KAAK,KAAK,IAAI,GAAG,KAAK,YAAY,EAAE,CAAC;QAC1C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,MAAM,SAAS,GAAG,KAA0B,CAAA;IAC5C,IAAI,OAAO,SAAS,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QACzC,4EAA4E;QAC5E,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,OAAO,SAAS,CAAC,IAAI,KAAK,QAAQ,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9E,6EAA6E;QAC7E,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAAc,EAA2B,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;AAEpH;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAc,EAA+B,EAAE,CACzE,cAAc,CAAC,KAAK,CAAC,IAAI,mBAAmB,CAAC,KAAK,CAAC,IAAI,cAAc,CAAC,KAAK,CAAC,CAAA"}
|
package/dist/store/store.d.ts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
import { type Bindable, type ClientSession, MaterializeError, UnknownError } from '@livestore/common';
|
|
1
|
+
import { type Bindable, type ClientSession, MaterializeError, type StorageMode, UnknownError } from '@livestore/common';
|
|
2
2
|
import type { LiveStoreSchema } from '@livestore/common/schema';
|
|
3
3
|
import { LiveStoreEvent } from '@livestore/common/schema';
|
|
4
4
|
import { Cause, Effect, Inspectable, Schema, Stream } from '@livestore/utils/effect';
|
|
5
5
|
import * as otel from '@opentelemetry/api';
|
|
6
6
|
import type { SignalDef } from '../live-queries/base-class.ts';
|
|
7
|
-
import { type Queryable, type RefreshReason, type StoreCommitOptions, type StoreEventsOptions, type StoreInternals, StoreInternalsSymbol, type
|
|
7
|
+
import { type Queryable, type RefreshReason, type StoreCommitOptions, type StoreConstructorParams, type StoreEventsOptions, type StoreInternals, StoreInternalsSymbol, type SubscribeOptions, type Unsubscribe } from './store-types.ts';
|
|
8
8
|
export type SubscribeFn = {
|
|
9
9
|
<TResult>(query: Queryable<TResult>, onUpdate: (value: TResult) => void, options?: SubscribeOptions<TResult>): Unsubscribe;
|
|
10
10
|
<TResult>(query: Queryable<TResult>, options?: SubscribeOptions<TResult>): AsyncIterable<TResult>;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Default parameters for the Store. Also used in `create-store.ts`
|
|
14
|
+
*/
|
|
15
|
+
export declare const STORE_DEFAULT_PARAMS: {
|
|
16
|
+
leaderPushBatchSize: number;
|
|
17
|
+
eventQueryBatchSize: number;
|
|
18
|
+
};
|
|
12
19
|
/**
|
|
13
20
|
* Central interface to a LiveStore database providing reactive queries, event commits, and sync.
|
|
14
21
|
*
|
|
@@ -19,8 +26,8 @@ export type SubscribeFn = {
|
|
|
19
26
|
* ## Creating a Store
|
|
20
27
|
*
|
|
21
28
|
* Use `createStore` (Effect-based) or `createStorePromise` to obtain a Store instance.
|
|
22
|
-
* In React applications, use
|
|
23
|
-
*
|
|
29
|
+
* In React applications, use `StoreRegistry` with `<StoreRegistryProvider>` and the `useStore()` hook
|
|
30
|
+
* which manages the Store lifecycle.
|
|
24
31
|
*
|
|
25
32
|
* ## Querying Data
|
|
26
33
|
*
|
|
@@ -61,6 +68,8 @@ export declare class Store<TSchema extends LiveStoreSchema = LiveStoreSchema.Any
|
|
|
61
68
|
readonly schema: LiveStoreSchema;
|
|
62
69
|
/** User-defined context attached to this Store (e.g. for dependency injection). */
|
|
63
70
|
readonly context: TContext;
|
|
71
|
+
/** Options provided to the Store constructor. */
|
|
72
|
+
readonly params: StoreConstructorParams<TSchema, TContext>['params'];
|
|
64
73
|
/**
|
|
65
74
|
* Reactive connectivity updates emitted by the backing sync backend.
|
|
66
75
|
*
|
|
@@ -79,11 +88,28 @@ export declare class Store<TSchema extends LiveStoreSchema = LiveStoreSchema.Any
|
|
|
79
88
|
* ```
|
|
80
89
|
*/
|
|
81
90
|
readonly networkStatus: ClientSession['leaderThread']['networkStatus'];
|
|
91
|
+
/**
|
|
92
|
+
* Indicates how data is being stored.
|
|
93
|
+
*
|
|
94
|
+
* - `persisted`: Data is persisted to disk (e.g., via OPFS on web, SQLite file on native)
|
|
95
|
+
* - `in-memory`: Data is only stored in memory and will be lost on page refresh
|
|
96
|
+
*
|
|
97
|
+
* The store operates in `in-memory` mode when persistent storage is unavailable,
|
|
98
|
+
* such as in Safari/Firefox private browsing mode where OPFS is restricted.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```tsx
|
|
102
|
+
* if (store.storageMode === 'in-memory') {
|
|
103
|
+
* showWarning('Data will not be persisted in private browsing mode')
|
|
104
|
+
* }
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
readonly storageMode: StorageMode;
|
|
82
108
|
/**
|
|
83
109
|
* Store internals. Not part of the public API — shapes and semantics may change without notice.
|
|
84
110
|
*/
|
|
85
111
|
readonly [StoreInternalsSymbol]: StoreInternals;
|
|
86
|
-
constructor({ clientSession, schema, otelOptions, context, batchUpdates, storeId, effectContext, params, confirmUnsavedChanges, __runningInDevtools, }:
|
|
112
|
+
constructor({ clientSession, schema, otelOptions, context, batchUpdates, storeId, effectContext, params, confirmUnsavedChanges, __runningInDevtools, }: StoreConstructorParams<TSchema, TContext>);
|
|
87
113
|
/**
|
|
88
114
|
* Current session identifier for this Store instance.
|
|
89
115
|
*
|
|
@@ -217,25 +243,52 @@ export declare class Store<TSchema extends LiveStoreSchema = LiveStoreSchema.Any
|
|
|
217
243
|
(options: StoreCommitOptions, txn: <const TCommitArg extends ReadonlyArray<LiveStoreEvent.Input.ForSchema<TSchema>>>(...list: TCommitArg) => void): void;
|
|
218
244
|
};
|
|
219
245
|
/**
|
|
220
|
-
* Returns an async iterable of events.
|
|
246
|
+
* Returns an async iterable of events from the eventlog.
|
|
247
|
+
* Currently only events confirmed by the sync backend is supported.
|
|
248
|
+
*
|
|
249
|
+
* Defaults to tracking upstreamHead as it advances. If an `until` event is
|
|
250
|
+
* supplied the stream finalizes upon reaching it.
|
|
251
|
+
*
|
|
252
|
+
* To start streaming from a specific point in the eventlog
|
|
253
|
+
* you can provide a `since` event.
|
|
254
|
+
*
|
|
255
|
+
* Allows filtering by:
|
|
256
|
+
* - `filter`: event types
|
|
257
|
+
* - `clientIds`: client identifiers
|
|
258
|
+
* - `sessionIds`: session identifiers
|
|
259
|
+
*
|
|
260
|
+
* The batchSize option controls the maximum amount of events that are fetched
|
|
261
|
+
* from the eventlog in each query. Defaults to 100 and has a max allowed
|
|
262
|
+
* value of 1000.
|
|
263
|
+
*
|
|
264
|
+
* TODO:
|
|
265
|
+
* - Support streaming unconfirmed events
|
|
266
|
+
* - Leader level
|
|
267
|
+
* - Session level
|
|
268
|
+
* - Support streaming client-only events
|
|
221
269
|
*
|
|
222
270
|
* @example
|
|
223
271
|
* ```ts
|
|
224
|
-
*
|
|
272
|
+
* // Stream todoCompleted events from the start
|
|
273
|
+
* for await (const event of store.events(filter: ['todoCompleted'])) {
|
|
225
274
|
* console.log(event)
|
|
226
275
|
* }
|
|
227
276
|
* ```
|
|
228
277
|
*
|
|
229
278
|
* @example
|
|
230
279
|
* ```ts
|
|
231
|
-
* //
|
|
232
|
-
* for await (const event of store.events({
|
|
280
|
+
* // Start streaming from a specific event
|
|
281
|
+
* for await (const event of store.events({ since: EventSequenceNumber.Client.fromString('e3') })) {
|
|
233
282
|
* console.log(event)
|
|
234
283
|
* }
|
|
235
284
|
* ```
|
|
236
285
|
*/
|
|
237
|
-
events: (
|
|
238
|
-
|
|
286
|
+
events: (options?: StoreEventsOptions<TSchema>) => AsyncIterable<LiveStoreEvent.Client.ForSchema<TSchema>>;
|
|
287
|
+
/**
|
|
288
|
+
* Returns an Effect Stream of events from the eventlog.
|
|
289
|
+
* See `store.events` for details on options and behaviour.
|
|
290
|
+
*/
|
|
291
|
+
eventsStream: (options?: StoreEventsOptions<TSchema>) => Stream.Stream<LiveStoreEvent.Client.ForSchema<TSchema>, UnknownError>;
|
|
239
292
|
/**
|
|
240
293
|
* This can be used in combination with `skipRefresh` when committing events.
|
|
241
294
|
* We might need a better solution for this. Let's see.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/store/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,aAAa,EAQlB,gBAAgB,EAOhB,YAAY,EACb,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/store/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,aAAa,EAQlB,gBAAgB,EAOhB,KAAK,WAAW,EAChB,YAAY,EACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAiC,MAAM,0BAA0B,CAAA;AAGxF,OAAO,EACL,KAAK,EACL,MAAM,EAGN,WAAW,EAIX,MAAM,EACN,MAAM,EACP,MAAM,yBAAyB,CAAA;AAEhC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAE1C,OAAO,KAAK,EAAqC,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAQjG,OAAO,EACL,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,oBAAoB,EAEpB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,MAAM,WAAW,GAAG;IACxB,CAAC,OAAO,EACN,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,EACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,EAClC,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAClC,WAAW,CAAA;IACd,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;CAClG,CAAA;AAMD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;CAGhC,CAAA;AAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,KAAK,CAAC,OAAO,SAAS,eAAe,GAAG,eAAe,CAAC,GAAG,EAAE,QAAQ,GAAG,EAAE,CAAE,SAAQ,WAAW,CAAC,KAAK;IAChH,0EAA0E;IAC1E,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB,uEAAuE;IACvE,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAA;IAEhC,mFAAmF;IACnF,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAA;IAE1B,iDAAiD;IACjD,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAA;IAEpE;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,eAAe,CAAC,CAAA;IAEtE;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAA;IAEjC;;OAEG;IACH,QAAQ,CAAC,CAAC,oBAAoB,CAAC,EAAE,cAAc,CAAA;gBAGnC,EACV,aAAa,EACb,MAAM,EACN,WAAW,EACX,OAAO,EACP,YAAY,EACZ,OAAO,EACP,aAAa,EACb,MAAM,EACN,qBAAqB,EACrB,mBAAmB,GACpB,EAAE,sBAAsB,CAAC,OAAO,EAAE,QAAQ,CAAC;IAgO5C;;;;;OAKG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,OAAO,CAAC,aAAa,CAOpB;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,SAAS,EAUH,WAAW,CAAA;IAEjB,OAAO,CAAC,qBAAqB,CAkF5B;IAED,OAAO,CAAC,wBAAwB,CAO/B;IAED,eAAe,GAAI,OAAO,EAAE,OAAO,SAAS,CAAC,OAAO,CAAC,EAAE,UAAU,gBAAgB,CAAC,OAAO,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAkBhH;IAEH;;;;;;;;;;;;;OAaG;IACH,KAAK,GAAI,OAAO,EACd,OAAO,SAAS,CAAC,OAAO,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,QAAQ,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KAAE,EACpG,UAAU;QAAE,WAAW,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC;QAAC,kBAAkB,CAAC,EAAE,aAAa,CAAA;KAAE,KAC3E,OAAO,CAqET;IAED;;;;;;;;;;;;;;OAcG;IACH,SAAS,GAAI,CAAC,EAAE,WAAW,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAG,IAAI,CAe1E;IAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;IACH,MAAM,EAAE;QACN,CAAC,KAAK,CAAC,UAAU,SAAS,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,GAAG,IAAI,CAAA;QAC5G,CACE,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,SAAS,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EACnF,GAAG,IAAI,EAAE,UAAU,KAChB,IAAI,GACR,IAAI,CAAA;QACP,CAAC,KAAK,CAAC,UAAU,SAAS,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAC9E,OAAO,EAAE,kBAAkB,EAC3B,GAAG,IAAI,EAAE,UAAU,GAClB,IAAI,CAAA;QACP,CACE,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,SAAS,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EACnF,GAAG,IAAI,EAAE,UAAU,KAChB,IAAI,GACR,IAAI,CAAA;KACR,CA8EA;IAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,MAAM,GAAI,UAAU,kBAAkB,CAAC,OAAO,CAAC,KAAG,aAAa,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAUxG;IAED;;;OAGG;IACH,YAAY,GACV,UAAU,kBAAkB,CAAC,OAAO,CAAC,KACpC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC,CAkBvE;IAED;;;OAGG;IACH,aAAa,GAAI,UAAU;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,UAc5C;IAED;;;;OAIG;IACH,eAAe,GAAU,QAAQ,YAAY,mBAK5C;IAED;;;;OAIG;IACH,QAAQ,GAAI,QAAQ,KAAK,CAAC,KAAK,CAAC,YAAY,GAAG,gBAAgB,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAKrF;IA2ED,MAAM;;;MAGJ;IAEF,OAAO,CAAC,aAAa,CAKlB;IAEH,OAAO,CAAC,gBAAgB,CACqF;IAE7G,OAAO,CAAC,aAAa,CAmCpB;CACF"}
|
package/dist/store/store.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Devtools, getExecStatementsFromMaterializer, getResultSchema, hashMaterializerResults, IntentionalShutdownCause, isQueryBuilder, liveStoreVersion, MaterializeError, MaterializerHashMismatchError, makeClientSessionSyncProcessor, prepareBindValues, QueryBuilderAstSymbol, replaceSessionIdSymbol, UnknownError, } from '@livestore/common';
|
|
2
2
|
import { LiveStoreEvent, resolveEventDef, SystemTables } from '@livestore/common/schema';
|
|
3
|
-
import { assertNever, isDevEnv,
|
|
3
|
+
import { assertNever, isDevEnv, omitUndefineds, shouldNeverHappen } from '@livestore/utils';
|
|
4
4
|
import { Cause, Effect, Exit, Fiber, Inspectable, Option, OtelTracer, Runtime, Schema, Stream, } from '@livestore/utils/effect';
|
|
5
5
|
import { nanoid } from '@livestore/utils/nanoid';
|
|
6
6
|
import * as otel from '@opentelemetry/api';
|
|
@@ -14,6 +14,14 @@ import { StoreInternalsSymbol, } from "./store-types.js";
|
|
|
14
14
|
if (isDevEnv()) {
|
|
15
15
|
exposeDebugUtils();
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Default parameters for the Store. Also used in `create-store.ts`
|
|
19
|
+
*/
|
|
20
|
+
export const STORE_DEFAULT_PARAMS = {
|
|
21
|
+
leaderPushBatchSize: 100,
|
|
22
|
+
eventQueryBatchSize: 100,
|
|
23
|
+
};
|
|
24
|
+
//
|
|
17
25
|
/**
|
|
18
26
|
* Central interface to a LiveStore database providing reactive queries, event commits, and sync.
|
|
19
27
|
*
|
|
@@ -24,8 +32,8 @@ if (isDevEnv()) {
|
|
|
24
32
|
* ## Creating a Store
|
|
25
33
|
*
|
|
26
34
|
* Use `createStore` (Effect-based) or `createStorePromise` to obtain a Store instance.
|
|
27
|
-
* In React applications, use
|
|
28
|
-
*
|
|
35
|
+
* In React applications, use `StoreRegistry` with `<StoreRegistryProvider>` and the `useStore()` hook
|
|
36
|
+
* which manages the Store lifecycle.
|
|
29
37
|
*
|
|
30
38
|
* ## Querying Data
|
|
31
39
|
*
|
|
@@ -66,6 +74,8 @@ export class Store extends Inspectable.Class {
|
|
|
66
74
|
schema;
|
|
67
75
|
/** User-defined context attached to this Store (e.g. for dependency injection). */
|
|
68
76
|
context;
|
|
77
|
+
/** Options provided to the Store constructor. */
|
|
78
|
+
params;
|
|
69
79
|
/**
|
|
70
80
|
* Reactive connectivity updates emitted by the backing sync backend.
|
|
71
81
|
*
|
|
@@ -84,6 +94,23 @@ export class Store extends Inspectable.Class {
|
|
|
84
94
|
* ```
|
|
85
95
|
*/
|
|
86
96
|
networkStatus;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates how data is being stored.
|
|
99
|
+
*
|
|
100
|
+
* - `persisted`: Data is persisted to disk (e.g., via OPFS on web, SQLite file on native)
|
|
101
|
+
* - `in-memory`: Data is only stored in memory and will be lost on page refresh
|
|
102
|
+
*
|
|
103
|
+
* The store operates in `in-memory` mode when persistent storage is unavailable,
|
|
104
|
+
* such as in Safari/Firefox private browsing mode where OPFS is restricted.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```tsx
|
|
108
|
+
* if (store.storageMode === 'in-memory') {
|
|
109
|
+
* showWarning('Data will not be persisted in private browsing mode')
|
|
110
|
+
* }
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
storageMode;
|
|
87
114
|
/**
|
|
88
115
|
* Store internals. Not part of the public API — shapes and semantics may change without notice.
|
|
89
116
|
*/
|
|
@@ -94,6 +121,9 @@ export class Store extends Inspectable.Class {
|
|
|
94
121
|
this.storeId = storeId;
|
|
95
122
|
this.schema = schema;
|
|
96
123
|
this.context = context;
|
|
124
|
+
this.params = params;
|
|
125
|
+
this.networkStatus = clientSession.leaderThread.networkStatus;
|
|
126
|
+
this.storageMode = clientSession.leaderThread.initialState.storageMode;
|
|
97
127
|
const reactivityGraph = makeReactivityGraph();
|
|
98
128
|
const syncSpan = otelOptions.tracer.startSpan('LiveStore:sync', {}, otelOptions.rootSpanContext);
|
|
99
129
|
const syncProcessor = makeClientSessionSyncProcessor({
|
|
@@ -605,30 +635,71 @@ export class Store extends Inspectable.Class {
|
|
|
605
635
|
};
|
|
606
636
|
// #endregion commit
|
|
607
637
|
/**
|
|
608
|
-
* Returns an async iterable of events.
|
|
638
|
+
* Returns an async iterable of events from the eventlog.
|
|
639
|
+
* Currently only events confirmed by the sync backend is supported.
|
|
640
|
+
*
|
|
641
|
+
* Defaults to tracking upstreamHead as it advances. If an `until` event is
|
|
642
|
+
* supplied the stream finalizes upon reaching it.
|
|
643
|
+
*
|
|
644
|
+
* To start streaming from a specific point in the eventlog
|
|
645
|
+
* you can provide a `since` event.
|
|
646
|
+
*
|
|
647
|
+
* Allows filtering by:
|
|
648
|
+
* - `filter`: event types
|
|
649
|
+
* - `clientIds`: client identifiers
|
|
650
|
+
* - `sessionIds`: session identifiers
|
|
651
|
+
*
|
|
652
|
+
* The batchSize option controls the maximum amount of events that are fetched
|
|
653
|
+
* from the eventlog in each query. Defaults to 100 and has a max allowed
|
|
654
|
+
* value of 1000.
|
|
655
|
+
*
|
|
656
|
+
* TODO:
|
|
657
|
+
* - Support streaming unconfirmed events
|
|
658
|
+
* - Leader level
|
|
659
|
+
* - Session level
|
|
660
|
+
* - Support streaming client-only events
|
|
609
661
|
*
|
|
610
662
|
* @example
|
|
611
663
|
* ```ts
|
|
612
|
-
*
|
|
664
|
+
* // Stream todoCompleted events from the start
|
|
665
|
+
* for await (const event of store.events(filter: ['todoCompleted'])) {
|
|
613
666
|
* console.log(event)
|
|
614
667
|
* }
|
|
615
668
|
* ```
|
|
616
669
|
*
|
|
617
670
|
* @example
|
|
618
671
|
* ```ts
|
|
619
|
-
* //
|
|
620
|
-
* for await (const event of store.events({
|
|
672
|
+
* // Start streaming from a specific event
|
|
673
|
+
* for await (const event of store.events({ since: EventSequenceNumber.Client.fromString('e3') })) {
|
|
621
674
|
* console.log(event)
|
|
622
675
|
* }
|
|
623
676
|
* ```
|
|
624
677
|
*/
|
|
625
|
-
events = (
|
|
626
|
-
this.
|
|
627
|
-
return
|
|
678
|
+
events = (options) => {
|
|
679
|
+
const stream = this.eventsStream(options);
|
|
680
|
+
return {
|
|
681
|
+
async *[Symbol.asyncIterator]() {
|
|
682
|
+
const iterator = Stream.toAsyncIterable(stream);
|
|
683
|
+
for await (const event of iterator) {
|
|
684
|
+
yield event;
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
};
|
|
628
688
|
};
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
689
|
+
/**
|
|
690
|
+
* Returns an Effect Stream of events from the eventlog.
|
|
691
|
+
* See `store.events` for details on options and behaviour.
|
|
692
|
+
*/
|
|
693
|
+
eventsStream = (options) => {
|
|
694
|
+
const { clientSession } = this[StoreInternalsSymbol];
|
|
695
|
+
const eventSchema = LiveStoreEvent.Client.makeSchema(this.schema);
|
|
696
|
+
const preferredBatchSize = options?.batchSize ?? this.params.eventQueryBatchSize ?? STORE_DEFAULT_PARAMS.eventQueryBatchSize;
|
|
697
|
+
const baseOptions = {
|
|
698
|
+
...options,
|
|
699
|
+
filter: options?.filter,
|
|
700
|
+
batchSize: preferredBatchSize,
|
|
701
|
+
};
|
|
702
|
+
return clientSession.leaderThread.events.stream(baseOptions).pipe(Stream.mapChunksEffect(Schema.decode(Schema.ChunkFromSelf(eventSchema))), Stream.catchTag('ParseError', (cause) => Stream.fail(UnknownError.make({ cause }))), Stream.tapError((error) => Effect.logError('Error in eventsStream', error)));
|
|
632
703
|
};
|
|
633
704
|
/**
|
|
634
705
|
* This can be used in combination with `skipRefresh` when committing events.
|