@livestore/livestore 0.4.0-dev.17 → 0.4.0-dev.19
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/SqliteDbWrapper.d.ts.map +1 -1
- package/dist/effect/LiveStore.d.ts +3 -3
- package/dist/effect/LiveStore.d.ts.map +1 -1
- package/dist/effect/LiveStore.js.map +1 -1
- package/dist/live-queries/db-query.js +2 -2
- package/dist/live-queries/db-query.js.map +1 -1
- package/dist/live-queries/db-query.test.js +59 -0
- package/dist/live-queries/db-query.test.js.map +1 -1
- package/dist/store/create-store.d.ts +4 -4
- package/dist/store/create-store.d.ts.map +1 -1
- package/dist/store/create-store.js +4 -4
- package/dist/store/create-store.js.map +1 -1
- package/dist/store/devtools.d.ts +2 -2
- package/dist/store/devtools.d.ts.map +1 -1
- package/dist/store/devtools.js +2 -2
- package/dist/store/devtools.js.map +1 -1
- package/dist/store/store-types.d.ts +7 -7
- package/dist/store/store-types.d.ts.map +1 -1
- package/dist/store/store.d.ts +61 -15
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +78 -14
- package/dist/store/store.js.map +1 -1
- package/dist/utils/dev.d.ts.map +1 -1
- package/dist/utils/dev.js +2 -0
- package/dist/utils/dev.js.map +1 -1
- package/dist/utils/tests/fixture.d.ts +4 -4
- package/dist/utils/tests/fixture.d.ts.map +1 -1
- package/docs/api/adapter-expo/README/index.md +9 -0
- package/docs/api/adapter-expo/functions/makePersistedAdapter/index.md +15 -0
- package/docs/api/adapter-expo/type-aliases/MakeDbOptions/index.md +74 -0
- package/docs/api/adapter-node/README/index.md +6 -0
- package/docs/api/adapter-node/functions/makeAdapter/index.md +17 -0
- package/docs/api/adapter-node/functions/makeWorkerAdapter/index.md +17 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerBootStatusStream/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExport/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExportEventlog/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerExtraDevtoolsMessage/index.md +47 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderHead/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetLeaderSyncState/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetNetworkStatus/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerGetRecreateSnapshot/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerInitialMessage/index.md +153 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerNetworkStatusStream/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPullStream/index.md +75 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerPushToLeader/index.md +47 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerShutdown/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerInnerSyncStateStream/index.md +33 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterInitialMessage/index.md +83 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/LeaderWorkerOuterRequest/index.md +79 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerRequest/index.md +29 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/classes/SharedWorkerUpdateMessagePort/index.md +89 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/LeaderWorkerInnerRequest/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageType/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeEncoded/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/StorageTypeOpfs/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/type-aliases/SyncBackendOptions/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/LeaderWorkerInnerRequest/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageType/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/StorageTypeOpfs/index.md +5 -0
- package/docs/api/adapter-web/@livestore/namespaces/WorkerSchema/variables/SyncBackendOptions/index.md +5 -0
- package/docs/api/adapter-web/README/index.md +14 -0
- package/docs/api/adapter-web/functions/makeInMemoryAdapter/index.md +24 -0
- package/docs/api/adapter-web/functions/makePersistedAdapter/index.md +29 -0
- package/docs/api/adapter-web/type-aliases/WebAdapterOptions/index.md +124 -0
- package/docs/api/index.md +3 -0
- package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/Any/index.md +8 -0
- package/docs/api/livestore/@livestore/namespaces/EventDef/type-aliases/AnyWithoutFn/index.md +9 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Composite/index.md +37 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositeInput/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/CompositePair/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/type-aliases/Type/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Composite/index.md +36 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/DEFAULT/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/REBASE_GENERATION_DEFAULT/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/ROOT/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/Schema/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/compare/index.md +22 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/diff/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromGlobal/index.md +17 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/fromString/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isEqual/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThan/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/isGreaterThanOrEqual/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/make/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/max/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/nextPair/index.md +30 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Client/variables/toString/index.md +19 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/type-aliases/Type/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/Schema/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/EventSequenceNumber/namespaces/Global/variables/make/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/FromInputSchema/type-aliases/DeriveSchema/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/LiveQuery/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/LiveQueryDef/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/classes/EncodedWithMeta/index.md +374 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Decoded/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/Encoded/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/type-aliases/ForSchema/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Decoded/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/Encoded/index.md +27 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/isEqualEncoded/index.md +22 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchema/index.md +30 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Client/variables/makeSchemaMemo/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Decoded/index.md +61 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/Encoded/index.md +61 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/ForRecord/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputDecoded/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/ForEventDef/type-aliases/InputEncoded/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/type-aliases/Encoded/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/Encoded/index.md +20 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Global/variables/toClientEncoded/index.md +41 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Decoded/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/Encoded/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForRecord/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/type-aliases/ForSchema/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/Encoded/index.md +14 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreEvent/namespaces/Input/variables/makeSchema/index.md +30 -0
- package/docs/api/livestore/@livestore/namespaces/LiveStoreSchema/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Equality/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/In/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Like/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/MultiValue/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/Order/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/namespaces/WhereOps/type-aliases/SingleValue/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFeature/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/ApiFull/index.md +513 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/FirstQueryBehaviour/index.md +49 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/OrderByParams/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereOps/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilder/type-aliases/WhereParams/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/CountQuery/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/DeleteQuery/index.md +43 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/InsertQuery/index.md +51 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OnConflict/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/OrderBy/index.md +19 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/RowQuery/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/SelectQuery/index.md +87 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/UpdateQuery/index.md +51 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/interfaces/Where/index.md +27 -0
- package/docs/api/livestore/@livestore/namespaces/QueryBuilderAst/type-aliases/WriteQuery/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/Queryable/type-aliases/Result/index.md +19 -0
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/DocumentResult/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetIdColumnType/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/GetOrCreateOptions/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/RequiredColumnsOptions/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/Result/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/RowQuery/type-aliases/ResultEncoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Blob/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/ColumnType/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Integer/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Null/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Real/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/namespaces/ColumnType/type-aliases/Text/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Column/index.md +69 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/DbSchema/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/ForeignKey/index.md +53 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Index/index.md +45 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/type-aliases/Table/index.md +37 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/column/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/dbSchema/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/hash/index.md +18 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/index.md +27 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/structSchemaForTable/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteAst/variables/table/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/ColumnDefinition/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/InsertRowEncoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiredInsertColumns/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RequiresInsertValues/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromColumns/type-aliases/RowEncodedAll/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/Columns/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/namespaces/FromTable/type-aliases/RowEncoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/AnyIfConstained/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColDefFn/index.md +125 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultThunk/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefaultValue/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinition/index.md +81 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ColumnDefinitionInput/index.md +45 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Columns/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/ConstraintColumns/index.md +16 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchema/index.md +9 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaFromInputSchema/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DbSchemaInput/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/DefaultEncodedForColumnType/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/EmptyObjIfConstained/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/FieldColumnType/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/Index/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/InsertStructSchemaForColumns/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/IsSingleColumn/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/NoDefault/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SpecializedColDefFn/index.md +111 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/SqlDefaultValue/index.md +13 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/StructSchemaForColumns/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/type-aliases/TableDefinition/index.md +47 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/NoDefault/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/blob/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/boolean/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/column/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetime/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/datetimeInteger/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/defaultSchemaForColumnType/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/insertStructSchemaForTable/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/integer/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isColumnDefinition/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isDefaultThunk/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/isSqlDefaultValue/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/json/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/makeDbSchema/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/real/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/resolveColumnDefault/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/structSchemaForTable/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/table/index.md +37 -0
- package/docs/api/livestore/@livestore/namespaces/SqliteDsl/variables/text/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/functions/table/index.md +294 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/interfaces/Trait/index.md +149 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/DefaultIdType/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/GetOptions/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/MakeGetQueryBuilder/index.md +19 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDef/index.md +19 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SetEventDefLike/index.md +65 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/SqliteDef/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TableDefBase/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableDef/type-aliases/TraitAny/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/Input/index.md +43 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/ClientDocumentTableOptions/type-aliases/WithDefaults/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/InsertRowDecoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/NullableColumnNames/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RequiredInsertColumnNames/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowDecodedAll/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncodeNonNullable/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromColumns/type-aliases/RowEncoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/Columns/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/NullableColumnNames/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowDecodedAll/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncodeNonNullable/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/FromTable/type-aliases/RowEncoded/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/ColumnDefForType/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/SchemaToColumns/type-aliases/FromTypes/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDef/type-aliases/Any/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForColumns/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/namespaces/TableDefInput/type-aliases/ForSchema/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDef/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableDefSymbol/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ClientDocumentTableOptions/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDef/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/DefaultSqliteTableDefConstrained/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/InputState/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/PrettifyFlat/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForInput/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/SqliteTableDefForSchemaInput/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/StateType/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDef/index.md +45 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefBase/index.md +47 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableDefInternalsSymbol/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptions/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/TableOptionsInput/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/ToColumns/index.md +11 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/type-aliases/WithDefaults/index.md +27 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/AutoIncrement/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ClientDocumentTableDefSymbol/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/ColumnType/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Default/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/PrimaryKeyId/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/TableDefInternalsSymbol/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/Unique/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/blob/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/boolean/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/clientDocument/index.md +56 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/column/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/createOptimisticEventSchema/index.md +43 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/datetime/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/getColumnDefForSchema/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/integer/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/isColumnDefinition/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/json/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeColumnSpec/index.md +22 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/makeState/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/real/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/tableIsClientDocumentTable/index.md +21 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/text/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withAutoIncrement/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withColumnType/index.md +61 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withDefault/index.md +61 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withPrimaryKey/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/State/namespaces/SQLite/variables/withUnique/index.md +23 -0
- package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderAstSymbol/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/type-aliases/QueryBuilderTypeId/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderAstSymbol/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/State/variables/QueryBuilderTypeId/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeContext/index.md +105 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResult/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultAdvance/index.md +125 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultRebase/index.md +125 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultReject/index.md +117 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/MergeResultUnknownError/index.md +63 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/Payload/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadLocalPush/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstream/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamAdvance/index.md +29 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/PayloadUpstreamRebase/index.md +31 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/classes/SyncState/index.md +179 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/variables/findDivergencePoint/index.md +36 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/variables/merge/index.md +35 -0
- package/docs/api/livestore/@livestore/namespaces/SyncState/variables/payloadFromMergeResult/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/EventlogMetaRow/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaEventDefsMetaRow/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SchemaMetaRow/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SessionChangesetMetaRow/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/type-aliases/SyncStatusRow/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/EVENTLOG_META_TABLE/index.md +12 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_EVENT_DEFS_META_TABLE/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SCHEMA_META_TABLE/index.md +10 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SESSION_CHANGESET_META_TABLE/index.md +8 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/SYNC_STATUS_TABLE/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogMetaTable/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/eventlogSystemTables/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/isStateSystemTable/index.md +15 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaEventDefsMetaTable/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/schemaMetaTable/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/sessionChangesetMetaTable/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/stateSystemTables/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/SystemTables/variables/syncStatusTable/index.md +7 -0
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Callback/index.md +19 -0
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingConfig/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/HandlingStrategy/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Reason/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/ResolveContext/index.md +5 -0
- package/docs/api/livestore/@livestore/namespaces/UnknownEvents/type-aliases/Resolved/index.md +5 -0
- package/docs/api/livestore/README/index.md +128 -0
- package/docs/api/livestore/classes/IntentionalShutdownCause/index.md +107 -0
- package/docs/api/livestore/classes/SqliteDbWrapper/index.md +538 -0
- package/docs/api/livestore/classes/Store/index.md +605 -0
- package/docs/api/livestore/classes/StoreInterrupted/index.md +107 -0
- package/docs/api/livestore/functions/computed/index.md +31 -0
- package/docs/api/livestore/functions/createStore/index.md +29 -0
- package/docs/api/livestore/functions/createStorePromise/index.md +31 -0
- package/docs/api/livestore/functions/emptyDebugInfo/index.md +25 -0
- package/docs/api/livestore/functions/exposeDebugUtils/index.md +9 -0
- package/docs/api/livestore/functions/extractStackInfoFromStackTrace/index.md +15 -0
- package/docs/api/livestore/functions/isQueryable/index.md +15 -0
- package/docs/api/livestore/functions/nanoid/index.md +39 -0
- package/docs/api/livestore/functions/signal/index.md +27 -0
- package/docs/api/livestore/functions/stackInfoToString/index.md +15 -0
- package/docs/api/livestore/interfaces/ClientSession/index.md +89 -0
- package/docs/api/livestore/interfaces/CreateStoreOptions/index.md +280 -0
- package/docs/api/livestore/interfaces/InputSchema/index.md +50 -0
- package/docs/api/livestore/interfaces/InternalState/index.md +33 -0
- package/docs/api/livestore/interfaces/LiveQuery/index.md +139 -0
- package/docs/api/livestore/interfaces/LiveQueryDef/index.md +95 -0
- package/docs/api/livestore/interfaces/LiveStoreSchema/index.md +83 -0
- package/docs/api/livestore/interfaces/PreparedStatement/index.md +71 -0
- package/docs/api/livestore/interfaces/RcRef/index.md +37 -0
- package/docs/api/livestore/interfaces/Signal/index.md +321 -0
- package/docs/api/livestore/interfaces/SignalDef/index.md +119 -0
- package/docs/api/livestore/interfaces/SqliteDb/index.md +249 -0
- package/docs/api/livestore/type-aliases/Adapter/index.md +15 -0
- package/docs/api/livestore/type-aliases/Bindable/index.md +5 -0
- package/docs/api/livestore/type-aliases/BootStatus/index.md +5 -0
- package/docs/api/livestore/type-aliases/BootStatus-1/index.md +5 -0
- package/docs/api/livestore/type-aliases/DebugInfo/index.md +5 -0
- package/docs/api/livestore/type-aliases/DebugInfo-1/index.md +5 -0
- package/docs/api/livestore/type-aliases/DefineEventOptions/index.md +100 -0
- package/docs/api/livestore/type-aliases/EventDef/index.md +172 -0
- package/docs/api/livestore/type-aliases/EventDefFact/index.md +7 -0
- package/docs/api/livestore/type-aliases/EventDefFactInput/index.md +18 -0
- package/docs/api/livestore/type-aliases/EventDefFacts/index.md +7 -0
- package/docs/api/livestore/type-aliases/EventDefFactsGroup/index.md +50 -0
- package/docs/api/livestore/type-aliases/EventDefFactsSnapshot/index.md +7 -0
- package/docs/api/livestore/type-aliases/EventDefKey/index.md +7 -0
- package/docs/api/livestore/type-aliases/EventDefMap/index.md +16 -0
- package/docs/api/livestore/type-aliases/EventDefRecord/index.md +21 -0
- package/docs/api/livestore/type-aliases/FactsCallback/index.md +60 -0
- package/docs/api/livestore/type-aliases/LiveStoreContext/index.md +5 -0
- package/docs/api/livestore/type-aliases/LiveStoreContextRunning/index.md +21 -0
- package/docs/api/livestore/type-aliases/LiveStoreSchemaSymbol/index.md +5 -0
- package/docs/api/livestore/type-aliases/Materializer/index.md +59 -0
- package/docs/api/livestore/type-aliases/MaterializerContextQuery/index.md +64 -0
- package/docs/api/livestore/type-aliases/MaterializerResult/index.md +12 -0
- package/docs/api/livestore/type-aliases/MutableDebugInfo/index.md +5 -0
- package/docs/api/livestore/type-aliases/MutableDebugInfo-1/index.md +5 -0
- package/docs/api/livestore/type-aliases/OtelOptions/index.md +21 -0
- package/docs/api/livestore/type-aliases/PreparedBindValues/index.md +5 -0
- package/docs/api/livestore/type-aliases/PreparedBindValues-1/index.md +5 -0
- package/docs/api/livestore/type-aliases/QueryBuilder/index.md +61 -0
- package/docs/api/livestore/type-aliases/QueryBuilderAst/index.md +5 -0
- package/docs/api/livestore/type-aliases/QueryDebugInfo/index.md +37 -0
- package/docs/api/livestore/type-aliases/Queryable/index.md +13 -0
- package/docs/api/livestore/type-aliases/RefreshReason/index.md +75 -0
- package/docs/api/livestore/type-aliases/SessionIdSymbol/index.md +5 -0
- package/docs/api/livestore/type-aliases/ShutdownDeferred/index.md +5 -0
- package/docs/api/livestore/type-aliases/StackFrame/index.md +21 -0
- package/docs/api/livestore/type-aliases/StackInfo/index.md +13 -0
- package/docs/api/livestore/type-aliases/StoreInternals/index.md +156 -0
- package/docs/api/livestore/type-aliases/StoreInternalsSymbol/index.md +5 -0
- package/docs/api/livestore/type-aliases/SubscribeOptions/index.md +73 -0
- package/docs/api/livestore/type-aliases/Unsubscribe/index.md +9 -0
- package/docs/api/livestore/variables/LiveStoreSchemaSymbol/index.md +5 -0
- package/docs/api/livestore/variables/SessionIdSymbol/index.md +26 -0
- package/docs/api/livestore/variables/StoreInternalsSymbol/index.md +5 -0
- package/docs/api/livestore/variables/UNKNOWN_EVENT_SCHEMA_HASH/index.md +5 -0
- package/docs/api/livestore/variables/clientOnly/index.md +54 -0
- package/docs/api/livestore/variables/deepEqual/index.md +25 -0
- package/docs/api/livestore/variables/defineEvent/index.md +49 -0
- package/docs/api/livestore/variables/defineFacts/index.md +42 -0
- package/docs/api/livestore/variables/defineMaterializer/index.md +39 -0
- package/docs/api/livestore/variables/getDefaultValuesDecoded/index.md +25 -0
- package/docs/api/livestore/variables/getDefaultValuesEncoded/index.md +25 -0
- package/docs/api/livestore/variables/getEventDef/index.md +33 -0
- package/docs/api/livestore/variables/isLiveStoreSchema/index.md +21 -0
- package/docs/api/livestore/variables/liveStoreVersion/index.md +5 -0
- package/docs/api/livestore/variables/makeSchema/index.md +21 -0
- package/docs/api/livestore/variables/makeShutdownDeferred/index.md +5 -0
- package/docs/api/livestore/variables/materializers/index.md +58 -0
- package/docs/api/livestore/variables/normalizeUnknownEventHandling/index.md +15 -0
- package/docs/api/livestore/variables/prepareBindValues/index.md +26 -0
- package/docs/api/livestore/variables/provideOtel/index.md +45 -0
- package/docs/api/livestore/variables/queryDb/index.md +115 -0
- package/docs/api/livestore/variables/resolveEventDef/index.md +28 -0
- package/docs/api/livestore/variables/sql/index.md +24 -0
- package/docs/api/livestore/variables/synced/index.md +55 -0
- package/docs/api/react/README/index.md +24 -0
- package/docs/api/react/functions/LiveStoreProvider/index.md +21 -0
- package/docs/api/react/functions/useQuery/index.md +37 -0
- package/docs/api/react/functions/useQueryRef/index.md +69 -0
- package/docs/api/react/functions/useStackInfo/index.md +9 -0
- package/docs/api/react/functions/useStore/index.md +21 -0
- package/docs/api/react/functions/withReactApi/index.md +21 -0
- package/docs/api/react/type-aliases/Dispatch/index.md +21 -0
- package/docs/api/react/type-aliases/ReactApi/index.md +21 -0
- package/docs/api/react/type-aliases/SetStateAction/index.md +11 -0
- package/docs/api/react/type-aliases/SetStateActionPartial/index.md +11 -0
- package/docs/api/react/type-aliases/StateSetters/index.md +11 -0
- package/docs/api/react/type-aliases/UseClientDocumentResult/index.md +11 -0
- package/docs/api/react/variables/LiveStoreContext/index.md +5 -0
- package/docs/api/react/variables/useClientDocument/index.md +91 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/ReadableStream/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Request/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Response/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/Rpc/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocket/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketPair/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfDeclare/variables/WebSocketRequestResponsePair/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortController/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AbortSignal/index.md +269 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Ai/index.md +175 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AiGateway/index.md +99 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/AutoRAG/index.md +95 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiAutomaticSpeechRecognition/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageClassification/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageTextToText/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiImageToText/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiMultimodalEmbeddings/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiObjectDetection/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSentenceSimilarity/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiSummarization/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextClassification/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextEmbeddings/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextGeneration/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToImage/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTextToSpeech/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/BaseAiTranslation/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Base_En_V1_5/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Large_En_V1_5/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_M3/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Reranker_Base/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Baai_Bge_Small_En_V1_5/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Black_Forest_Labs_Flux_1_Schnell/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Aura_1/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Deepgram_Nova_3/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Google_Gemma_3_12B_It/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Lucid_Origin/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Leonardo_Phoenix_1_0/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_Llama_Guard_3_8B/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Meta_M2M100_1_2B/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_120B/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Gpt_Oss_20B/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Large_V3_Turbo/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Openai_Whisper_Tiny_En/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Qwen_Qwq_32B/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Base_Ai_Cf_Unum_Uform_Gen2_Qwen_500M/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Blob/index.md +151 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Body/index.md +112 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ByteLengthQueuingStrategy/index.md +79 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Cache/index.md +83 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CacheStorage/index.md +47 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CloseEvent/index.md +415 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CompressionStream/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CountQueuingStrategy/index.md +79 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Crypto/index.md +86 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CryptoKey/index.md +66 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/CustomEvent/index.md +403 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1Database/index.md +113 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1DatabaseSession/index.md +70 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/D1PreparedStatement/index.md +161 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DOMException/index.md +451 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DecompressionStream/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DigestStream/index.md +137 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/DurableObjectNamespace/index.md +135 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EmailEvent/index.md +413 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ErrorEvent/index.md +469 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Event/index.md +296 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventSource/index.md +345 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/EventTarget/index.md +127 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ExtendableEvent/index.md +409 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FetchEvent/index.md +451 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/File/index.md +211 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FixedLengthStream/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/FormData/index.md +295 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/HTMLRewriter/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Headers/index.md +237 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/IdentityTransformStream/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/MessageEvent/index.md +439 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Performance/index.md +44 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/PromiseRejectionEvent/index.md +403 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Bucket/index.md +207 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/R2Object/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamBYOBReader/index.md +123 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ReadableStreamDefaultReader/index.md +89 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ScheduledEvent/index.md +433 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageCursor/index.md +121 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SqlStorageStatement/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/SubtleCrypto/index.md +432 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TailEvent/index.md +421 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoder/index.md +79 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextDecoderStream/index.md +111 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoder/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TextEncoderStream/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/ToMarkdownService/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/TransformStream/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URL/index.md +201 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLPattern/index.md +185 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/URLSearchParams/index.md +287 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Vectorize/index.md +189 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/VectorizeIndex/index.md +160 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WebSocketRequestResponsePair/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkerGlobalScope/index.md +145 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/Workflow/index.md +92 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WorkflowInstance/index.md +117 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStream/index.md +105 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/classes/WritableStreamDefaultWriter/index.md +143 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/addEventListener/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/atob/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/btoa/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearInterval/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/clearTimeout/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/dispatchEvent/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/fetch/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/queueMicrotask/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/removeEventListener/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/reportError/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setInterval/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/setTimeout/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/functions/structuredClone/index.md +25 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayInternalError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiGatewayLogNotFound/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiInternalError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AiModels/index.md +611 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Input/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Baai_Bge_Reranker_Base_Output/index.md +23 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Input/index.md +23 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Black_Forest_Labs_Flux_1_Schnell_Output/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Aura_1_Input/index.md +63 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Input/index.md +369 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Deepgram_Nova_3_Output/index.md +47 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Input/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Lucid_Origin_Output/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Leonardo_Phoenix_1_0_Input/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Async_Batch/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages/index.md +181 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Messages_Inner/index.md +181 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_4_Prompt_Inner/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Input/index.md +61 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Meta_Llama_Guard_3_8B_Output/index.md +57 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Input/index.md +63 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output/index.md +119 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Output/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Openai_Whisper_Tiny_En_Output/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output/index.md +23 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Output/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AlarmInvocationInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataPoint/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AnalyticsEngineDataset/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncBatch/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AsyncResponse/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGInternalError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNameNotSetError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGNotFoundError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/AutoRAGUnauthorizedError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputEmbedding1/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts/index.md +39 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3InputQueryAndContexts1/index.md +39 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputEmbedding/index.md +31 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OuputQuery/index.md +23 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BGEM3OutputEmbeddingForContexts/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformations/index.md +115 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BasicImageTransformationsGravityCoordinates/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/BlobOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CacheQueryOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CloseEventInit/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Cloudflare/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Comment/index.md +97 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Console/index.md +439 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Container/index.md +155 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContainerStartupOptions/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ContentOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyAesKeyAlgorithm/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyArbitraryKeyAlgorithm/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyEllipticKeyAlgorithm/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyHmacKeyAlgorithm/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyKeyAlgorithm/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyPair/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CryptoKeyRsaKeyAlgorithm/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/CustomEventCustomEventInit/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1ExecResult/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Meta/index.md +104 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/D1Response/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DispatchNamespace/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Disposable/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Doctype/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DocumentEnd/index.md +25 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObject/index.md +113 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectClass/index.md +9 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetAlarmOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectGetOptions/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectId/index.md +41 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectListOptions/index.md +67 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceGetDurableObjectOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectNamespaceNewUniqueIdOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectPutOptions/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectSetAlarmOptions/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectState/index.md +237 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectStorage/index.md +387 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DurableObjectTransaction/index.md +257 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchLimits/index.md +23 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/DynamicDispatchOptions/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Element/index.md +285 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EmailMessage/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EndTag/index.md +67 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ErrorEventErrorEventInit/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventInit/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventListenerObject/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventSourceEventSourceInit/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetAddEventListenerOptions/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetEventListenerOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/EventTargetHandlerObject/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExecutionContext/index.md +47 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ExportedHandler/index.md +81 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FetcherPutOptions/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/FileOptions/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ForwardableEmailMessage/index.md +145 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_120B_Responses_Async/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/GPT_OSS_20B_Responses_Async/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Messages/index.md +167 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Google_Gemma_3_12B_It_Prompt/index.md +123 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterDocumentContentHandlers/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HTMLRewriterElementContentHandlers/index.md +57 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/HelloWorldBinding/index.md +39 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Hyperdrive/index.md +77 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IdentityTransformStreamQueuingStrategy/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformationResult/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImageTransformer/index.md +76 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesBinding/index.md +61 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ImagesError/index.md +63 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBase/index.md +198 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagement/index.md +31 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementBase/index.md +62 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesBotManagementEnterprise/index.md +48 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareAccessOrApiShield/index.md +24 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesCloudflareForSaaSEnterprise/index.md +22 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesExportedAuthenticatorMetadata/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesGeographicInformation/index.md +189 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuth/index.md +256 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/IncomingRequestCfPropertiesTLSClientAuthPlaceholder/index.md +141 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/InferenceUpstreamError/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JSONMode/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKey/index.md +151 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/JsonWebKeyWithKid/index.md +231 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespace/index.md +769 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetOptions/index.md +25 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceGetWithMetadataResult/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListKey/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespaceListOptions/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/KVNamespacePutOptions/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaBinding/index.md +30 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaError/index.md +66 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationGenerator/index.md +30 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformationResult/index.md +54 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MediaTransformer/index.md +30 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Message/index.md +71 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageBatch/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageEventInit/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePort/index.md +205 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessagePortPostMessageOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/MessageSendRequest/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Messages/index.md +161 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Messages/index.md +159 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Prompt/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Messages/index.md +173 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Mistral_Small_3_1_24B_Instruct_Prompt/index.md +123 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Prompt/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/PubSubMessage/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Queue/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueEvent/index.md +383 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueRetryOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendBatchOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueueSendOptions/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategy/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/QueuingStrategyInit/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Messages/index.md +159 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen2_5_Coder_32B_Instruct_Prompt/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Messages/index.md +173 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Qwen_Qwq_32B_Prompt/index.md +123 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Checksums/index.md +55 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Conditional/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2Error/index.md +71 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2GetOptions/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2HTTPMetadata/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ListOptions/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartOptions/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2MultipartUpload/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2ObjectBody/index.md +267 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2PutOptions/index.md +83 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2StringChecksums/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadPartOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/R2UploadedPart/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimit/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RateLimitOutcome/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableByteStreamController/index.md +103 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStream/index.md +195 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamBYOBRequest/index.md +83 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamDefaultController/index.md +91 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamGetReaderOptions/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableStreamValuesOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ReadableWritablePair/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Request/index.md +263 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInit/index.md +81 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfProperties/index.md +154 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImage/index.md +372 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageDraw/index.md +222 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesImageMinify/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RequestInitCfPropertiesR2/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Response/index.md +253 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ResponseInit/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/RsaOtherPrimesInfo/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScheduledController/index.md +31 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Scheduler/index.md +25 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SchedulerWaitOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ScriptVersion/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SecretsStoreSecret/index.md +18 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SendEmail/index.md +23 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/ServiceWorkerGlobalScope/index.md +1042 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Socket/index.md +117 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketAddress/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SocketOptions/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SqlStorage/index.md +61 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StreamPipeOptions/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/StructuredSerializeOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoDeriveKeyAlgorithm/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoEncryptAlgorithm/index.md +59 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoGenerateKeyAlgorithm/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoHashAlgorithm/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoImportKeyAlgorithm/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SubtleCryptoSignAlgorithm/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvListOptions/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/SyncKvStorage/index.md +97 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TestController/index.md +3 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Text/index.md +105 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderConstructorOptions/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderDecodeOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextDecoderStreamTextDecoderStreamInit/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TextEncoderEncodeIntoResult/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TlsOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceDiagnosticChannelEvent/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceException/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItem/index.md +131 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemAlarmEventInfo/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemCustomEventInfo/index.md +3 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemEmailEventInfo/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoRequest/index.md +47 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemFetchEventInfoResponse/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfo/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoClose/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoError/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemHibernatableWebSocketEventInfoMessage/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemJsRpcEventInfo/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemQueueEventInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemScheduledEventInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfo/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceItemTailEventInfoTailItem/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceLog/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TraceMetrics/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/TransformStreamDefaultController/index.md +91 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/Transformer/index.md +113 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternComponentResult/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternInit/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/URLPatternResult/index.md +75 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingByteSource/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSink/index.md +87 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnderlyingSource/index.md +79 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/UnsafeTraceMetrics/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeAsyncMutation/index.md +16 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeError/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexDetails/index.md +58 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeIndexInfo/index.md +45 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeMatches/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeQueryOptions/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVector/index.md +45 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/VectorizeVectorMutation/index.md +25 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WebSocket/index.md +255 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoader/index.md +25 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderModule/index.md +59 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerLoaderWorkerCode/index.md +147 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStub/index.md +31 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkerStubEntrypointOptions/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowError/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WorkflowInstanceCreateOptions/index.md +48 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/interfaces/WritableStreamDefaultController/index.md +47 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/Env/index.md +3 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/interfaces/GlobalProps/index.md +3 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/Exports/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/GlobalProp/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Cloudflare/type-aliases/MainModule/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/DurableObject/index.md +161 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/RpcTarget/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkerEntrypoint/index.md +195 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowEntrypoint/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/classes/WorkflowStep/index.md +151 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/functions/waitUntil/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/RpcStub/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowBackoff/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDelayDuration/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowDurationLabel/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowEvent/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowRetentionDuration/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowSleepDuration/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepConfig/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowStepEvent/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/type-aliases/WorkflowTimeoutDuration/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/RpcStub/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/CloudflareWorkersModule/variables/env/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/DurableObjectBranded/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/RpcTargetBranded/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/StubBase/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkerEntrypointBranded/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/interfaces/WorkflowEntrypointBranded/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/BaseType/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/EntrypointBranded/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeCallableProvider/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeDisposable/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MaybeProvider/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/MethodOrProperty/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Provider/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Result/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Serializable/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stub/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubable/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Stubify/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/Unstubify/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/type-aliases/UnstubifyAll/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/DURABLE_OBJECT_BRAND/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_STUB_BRAND/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/RPC_TARGET_BRAND/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKER_ENTRYPOINT_BRAND/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/Rpc/variables/WORKFLOW_ENTRYPOINT_BRAND/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/AlarmEventInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attribute/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Attributes/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/CustomEventInfo/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/DiagnosticChannelEvent/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/EmailEventInfo/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Exception/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchEventInfo/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/FetchResponseInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Header/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoClose/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoError/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/HibernatableWebSocketEventInfoMessage/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/JsRpcEventInfo/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Log/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Onset/index.md +83 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Outcome/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/QueueEventInfo/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/Return/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScheduledEventInfo/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/ScriptVersion/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanClose/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanContext/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/SpanOpen/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TailEvent/index.md +49 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/interfaces/TraceEventInfo/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventOutcome/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/EventType/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandler/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerObject/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/TailStream/type-aliases/TailEventHandlerType/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/CompileError/index.md +199 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Global/index.md +45 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Instance/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Memory/index.md +47 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Module/index.md +71 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/RuntimeError/index.md +199 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/classes/Table/index.md +95 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/instantiate/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/functions/validate/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/GlobalDescriptor/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/MemoryDescriptor/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleExportDescriptor/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/ModuleImportDescriptor/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/interfaces/TableDescriptor/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ExportValue/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Exports/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportExportKind/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ImportValue/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/Imports/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ModuleImports/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/TableKind/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/namespaces/WebAssembly/type-aliases/ValueType/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayHeaders/index.md +113 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayProviders/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AIGatewayUniversalRequest/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionInput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiAutomaticSpeechRecognitionOutput/index.md +41 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayLog/index.md +205 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiGatewayPatchLog/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiIMultimodalEmbeddingsOutput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationInput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageClassificationOutput/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextInput/index.md +109 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageTextToTextOutput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextInput/index.md +101 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiImageToTextOutput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelListType/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchObject/index.md +81 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiModelsSearchParams/index.md +61 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiMultimodalEmbeddingsInput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionInput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiObjectDetectionOutput/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiOptions/index.md +58 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityInput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSentenceSimilarityOutput/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationInput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiSummarizationOutput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationInput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextClassificationOutput/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsInput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextEmbeddingsOutput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationFunctionsInput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationInput/index.md +125 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationOutput/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationResponseFormat/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolInput/index.md +49 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyInput/index.md +45 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolLegacyOutput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextGenerationToolOutput/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageInput/index.md +93 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToImageOutput/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechInput/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTextToSpeechOutput/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationInput/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AiTranslationOutput/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Input/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Base_En_V1_5_Output/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Input/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Large_En_V1_5_Output/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Input/index.md +19 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_M3_Output/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Input/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Baai_Bge_Small_En_V1_5_Output/index.md +27 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Deepgram_Aura_1_Output/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Google_Gemma_3_12B_It_Output/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Leonardo_Phoenix_1_0_Output/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_2_11B_Vision_Instruct_Output/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Output/index.md +49 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output/index.md +83 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Input/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Meta_M2M100_1_2B_Output/index.md +17 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Output/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_120B_Output/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Gpt_Oss_20B_Output/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Input/index.md +17 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Openai_Whisper_Tiny_En_Input/index.md +17 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Input/index.md +43 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwen2_5_Coder_32B_Instruct_Output/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Input/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Qwen_Qwq_32B_Output/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Ai_Cf_Unum_Uform_Gen2_Qwen_500M_Input/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequest/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchRequestStreaming/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagAiSearchResponse/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagListResponse/index.md +35 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchRequest/index.md +69 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/AutoRagSearchResponse/index.md +65 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BodyInit/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/BufferSource/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CertVerificationStatus/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CfProperties/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ComparisonFilter/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/CompoundFilter/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ContinentCode/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionOptions/index.md +59 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionRequestOptions/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ConversionResponse/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1Result/index.md +17 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionBookmark/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/D1SessionConstraint/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectJurisdiction/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectLocationHint/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/DurableObjectStub/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmailExportedHandler/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EmbeddedImageConversionOptions/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventContext/index.md +121 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListener/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventListenerOrEventListenerObject/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/EventPluginContext/index.md +133 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerFetchHandler/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerQueueHandler/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerScheduledHandler/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailHandler/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTailStreamHandler/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTestHandler/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ExportedHandlerTraceHandler/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Fetcher/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayOptions/index.md +77 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/GatewayRetries/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/HeadersInit/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageConversionOptions/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageDrawOptions/index.md +53 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInfoResponse/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageInputOptions/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageOutputOptions/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransform/index.md +133 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ImageTransformationOutputOptions/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfProperties/index.md +13 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/IncomingRequestCfPropertiesEdgeRequestKeepAliveStatus/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/InstanceStatus/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Iso3166Alpha2Code/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/KVNamespaceListResult/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackDurableObjectClass/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackForExport/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/LoopbackServiceStub/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MarkdownDocument/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationInputOptions/index.md +38 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/MediaTransformationOutputOptions/index.md +68 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesFunction/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/PagesPluginFunction/index.md +33 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Params/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/QueueContentType/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Objects/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/R2Range/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/ReadableStreamReadResult/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RequestInfo/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/RoleScopedChatInput/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/Service/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SqlStorageValue/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/SupportedFileFormat/index.md +21 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/TypedArray/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UniversalGatewayOptions/index.md +17 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/UsageTags/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorFloatArray/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeDistanceMetric/index.md +8 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeIndexConfig/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMatch/index.md +15 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeMetadataRetrievalLevel/index.md +9 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadata/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilter/index.md +11 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterCollectionOp/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataFilterOp/index.md +9 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/VectorizeVectorMetadataValue/index.md +7 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WebSocketEventMap/index.md +37 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerGlobalScopeEventMap/index.md +45 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkerVersionMetadata/index.md +38 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowDurationLabel/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowRetentionDuration/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/type-aliases/WorkflowSleepDuration/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Cloudflare/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/ReadableStream/index.md +51 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Request/index.md +29 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/Response/index.md +73 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocket/index.md +61 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/WebSocketPair/index.md +17 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/caches/index.md +9 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/console/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/crypto/index.md +12 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/onmessage/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/origin/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/performance/index.md +10 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/scheduler/index.md +5 -0
- package/docs/api/sync-cf/@livestore/namespaces/CfTypes/variables/self/index.md +5 -0
- package/docs/api/sync-cf/README/index.md +37 -0
- package/docs/api/sync-cf/functions/handleSyncRequest/index.md +117 -0
- package/docs/api/sync-cf/functions/makeWorker/index.md +35 -0
- package/docs/api/sync-cf/functions/matchSyncRequest/index.md +19 -0
- package/docs/api/sync-cf/interfaces/SyncBackendRpcInterface/index.md +31 -0
- package/docs/api/sync-cf/type-aliases/CFWorker/index.md +47 -0
- package/docs/api/sync-cf/type-aliases/DoObject/index.md +11 -0
- package/docs/api/sync-cf/type-aliases/DoState/index.md +5 -0
- package/docs/api/sync-cf/type-aliases/DurableObjectId/index.md +5 -0
- package/docs/api/sync-cf/type-aliases/Env/index.md +5 -0
- package/docs/api/sync-cf/type-aliases/MakeDurableObjectClass/index.md +29 -0
- package/docs/api/sync-cf/type-aliases/MakeDurableObjectClassOptions/index.md +179 -0
- package/docs/api/sync-cf/type-aliases/MakeWorkerOptions/index.md +80 -0
- package/docs/api/sync-cf/type-aliases/RpcSubscription/index.md +55 -0
- package/docs/api/sync-cf/type-aliases/StoreId/index.md +5 -0
- package/docs/api/sync-cf/variables/PERSISTENCE_FORMAT_VERSION/index.md +20 -0
- package/docs/api/sync-cf/variables/WebSocketAttachmentSchema/index.md +5 -0
- package/docs/api/sync-cf/variables/encodeIncomingMessage/index.md +27 -0
- package/docs/api/sync-cf/variables/encodeOutgoingMessage/index.md +19 -0
- package/docs/api/sync-cf/variables/makeDurableObject/index.md +39 -0
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ApiPayload/index.md +5 -0
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/ArgsSchema/index.md +5 -0
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PullPayload/index.md +5 -0
- package/docs/api/sync-electric/@livestore/namespaces/ApiSchema/variables/PushPayload/index.md +5 -0
- package/docs/api/sync-electric/README/index.md +29 -0
- package/docs/api/sync-electric/classes/InvalidOperationError/index.md +99 -0
- package/docs/api/sync-electric/functions/makeElectricUrl/index.md +69 -0
- package/docs/api/sync-electric/functions/makeSyncBackend/index.md +15 -0
- package/docs/api/sync-electric/functions/syncBackendOptions/index.md +21 -0
- package/docs/api/sync-electric/functions/toTableName/index.md +15 -0
- package/docs/api/sync-electric/interfaces/SyncBackendOptions/index.md +67 -0
- package/docs/api/sync-electric/type-aliases/SyncMetadata/index.md +5 -0
- package/docs/api/sync-electric/variables/PERSISTENCE_FORMAT_VERSION/index.md +28 -0
- package/docs/api/sync-electric/variables/SyncMetadata/index.md +5 -0
- package/docs/contributing/contributing/index.md +63 -0
- package/docs/contributing/docs/index.md +19 -0
- package/docs/contributing/monorepo/index.md +195 -0
- package/docs/data-modeling/ai-agent/index.md +5 -0
- package/docs/data-modeling/complex-ui-state/index.md +5 -0
- package/docs/data-modeling/index.md +30 -0
- package/docs/data-modeling/todo-workspaces/index.md +891 -0
- package/docs/data-modeling/turnbased-game/index.md +7 -0
- package/docs/evaluation/design-decisions/index.md +33 -0
- package/docs/evaluation/event-sourcing/index.md +40 -0
- package/docs/evaluation/how-livestore-works/index.md +56 -0
- package/docs/evaluation/performance/index.md +25 -0
- package/docs/evaluation/state-of-the-project/index.md +37 -0
- package/docs/evaluation/technology-comparison/index.md +40 -0
- package/docs/evaluation/when-livestore/index.md +81 -0
- package/docs/examples/cloudflare-adapter/index.md +44 -0
- package/docs/examples/expo-adapter/index.md +44 -0
- package/docs/examples/index.md +55 -0
- package/docs/examples/node-adapter/index.md +44 -0
- package/docs/examples/web-adapter/index.md +51 -0
- package/docs/getting-started/expo/index.md +736 -0
- package/docs/getting-started/node/index.md +115 -0
- package/docs/getting-started/react-web/index.md +573 -0
- package/docs/getting-started/solid/index.md +3 -0
- package/docs/getting-started/vue/index.md +286 -0
- package/docs/index.md +163 -0
- package/docs/llms.txt +103 -0
- package/docs/misc/CODE_OF_CONDUCT/index.md +133 -0
- package/docs/misc/FAQ/index.md +37 -0
- package/docs/misc/community/index.md +87 -0
- package/docs/misc/credits/index.md +14 -0
- package/docs/misc/design-partners/index.md +13 -0
- package/docs/misc/package-management/index.md +21 -0
- package/docs/misc/resources/index.md +46 -0
- package/docs/misc/sponsoring/index.md +104 -0
- package/docs/misc/troubleshooting/index.md +82 -0
- package/docs/patterns/ai/index.md +15 -0
- package/docs/patterns/anonymous-user-transition/index.md +10 -0
- package/docs/patterns/app-evolution/index.md +72 -0
- package/docs/patterns/auth/index.md +226 -0
- package/docs/patterns/effect/index.md +1495 -0
- package/docs/patterns/encryption/index.md +6 -0
- package/docs/patterns/external-data/index.md +5 -0
- package/docs/patterns/file-management/index.md +11 -0
- package/docs/patterns/file-structure/index.md +14 -0
- package/docs/patterns/list-ordering/index.md +369 -0
- package/docs/patterns/offline/index.md +32 -0
- package/docs/patterns/orm/index.md +18 -0
- package/docs/patterns/presence/index.md +11 -0
- package/docs/patterns/rich-text-editing/index.md +66 -0
- package/docs/patterns/side-effects/index.md +11 -0
- package/docs/patterns/state-machines/index.md +11 -0
- package/docs/patterns/storybook/index.md +192 -0
- package/docs/patterns/undo-redo/index.md +9 -0
- package/docs/patterns/version-control/index.md +8 -0
- package/docs/reference/cli/index.md +57 -0
- package/docs/reference/concepts/index.md +78 -0
- package/docs/reference/debugging/index.md +17 -0
- package/docs/reference/devtools/index.md +79 -0
- package/docs/reference/events/index.md +241 -0
- package/docs/reference/framework-integrations/custom-elements/index.md +142 -0
- package/docs/reference/framework-integrations/react-integration/index.md +906 -0
- package/docs/reference/framework-integrations/solid-integration/index.md +293 -0
- package/docs/reference/framework-integrations/vue-integration/index.md +98 -0
- package/docs/reference/mcp/index.md +165 -0
- package/docs/reference/opentelemetry/index.md +36 -0
- package/docs/reference/platform-adapters/cloudflare-durable-object-adapter/index.md +453 -0
- package/docs/reference/platform-adapters/electron-adapter/index.md +15 -0
- package/docs/reference/platform-adapters/expo-adapter/index.md +43 -0
- package/docs/reference/platform-adapters/node-adapter/index.md +160 -0
- package/docs/reference/platform-adapters/tauri-adapter/index.md +15 -0
- package/docs/reference/platform-adapters/web-adapter/index.md +218 -0
- package/docs/reference/reactivity-system/index.md +202 -0
- package/docs/reference/state/materializers/index.md +300 -0
- package/docs/reference/state/sql-queries/index.md +72 -0
- package/docs/reference/state/sqlite/index.md +45 -0
- package/docs/reference/state/sqlite-schema/index.md +306 -0
- package/docs/reference/state/sqlite-schema-effect/index.md +300 -0
- package/docs/reference/store/index.md +253 -0
- package/docs/reference/syncing/index.md +136 -0
- package/docs/reference/syncing/server-side-clients/index.md +49 -0
- package/docs/reference/syncing/sync-provider/cloudflare/index.md +773 -0
- package/docs/reference/syncing/sync-provider/custom/index.md +65 -0
- package/docs/reference/syncing/sync-provider/electricsql/index.md +159 -0
- package/docs/reference/syncing/sync-provider/s2/index.md +230 -0
- package/docs/tutorial/0-welcome/index.md +48 -0
- package/docs/tutorial/1-setup-starter-project/index.md +105 -0
- package/docs/tutorial/2-deploy-to-cloudflare/index.md +195 -0
- package/docs/tutorial/3-read-and-write-todos-via-livestore/index.md +511 -0
- package/docs/tutorial/4-sync-data-via-cloudflare/index.md +210 -0
- package/docs/tutorial/5-expand-business-logic/index.md +174 -0
- package/docs/tutorial/6-persist-ui-state/index.md +452 -0
- package/docs/tutorial/7-next-steps/index.md +22 -0
- package/package.json +9 -8
- package/src/effect/LiveStore.ts +4 -4
- package/src/live-queries/__snapshots__/db-query.test.ts.snap +252 -32
- package/src/live-queries/db-query.test.ts +98 -2
- package/src/live-queries/db-query.ts +2 -2
- package/src/store/create-store.ts +7 -7
- package/src/store/devtools.ts +2 -2
- package/src/store/store-types.ts +8 -8
- package/src/store/store.ts +95 -32
- package/src/utils/dev.ts +2 -0
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
# 3. Read and write todos via LiveStore
|
|
2
|
+
|
|
3
|
+
Now on to the fun part! In this section, you'll set up LiveStore so that the todos that you're creating will persist and survive page refreshes and dev server reloads.
|
|
4
|
+
|
|
5
|
+
:::note[Help improve LiveStore]
|
|
6
|
+
Remember that LiveStore is still early and its developer surface and API not yet fully optimized. Bear with us through the setup and boilerplate code that's needed for a running application—it'll be worth it!
|
|
7
|
+
|
|
8
|
+
Also: If you have ideas for improving the developer experience for LiveStore, please [raise an issue](https://github.com/livestorejs/livestore/issues). This project is fully open-source and depends on people like you.
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
## Install LiveStore dependencies
|
|
12
|
+
|
|
13
|
+
Start by installing the necessary dependencies:
|
|
14
|
+
|
|
15
|
+
<Tabs syncKey="package-manager">
|
|
16
|
+
|
|
17
|
+
<TabItem label="bun">
|
|
18
|
+
|
|
19
|
+
<Code code={`bun add \\
|
|
20
|
+
@livestore/livestore@0.4.0-dev.14 \\
|
|
21
|
+
@livestore/wa-sqlite@0.4.0-dev.14 \\
|
|
22
|
+
@livestore/adapter-web@0.4.0-dev.14 \\
|
|
23
|
+
@livestore/react@0.4.0-dev.14 \\
|
|
24
|
+
@livestore/peer-deps@0.4.0-dev.14`} lang="sh" />
|
|
25
|
+
|
|
26
|
+
</TabItem>
|
|
27
|
+
|
|
28
|
+
<TabItem label="pnpm">
|
|
29
|
+
|
|
30
|
+
<Code code={`pnpm add \\
|
|
31
|
+
@livestore/livestore@0.4.0-dev.14 \\
|
|
32
|
+
@livestore/wa-sqlite@0.4.0-dev.14 \\
|
|
33
|
+
@livestore/adapter-web@0.4.0-dev.14 \\
|
|
34
|
+
@livestore/react@0.4.0-dev.14 \\
|
|
35
|
+
@livestore/peer-deps@0.4.0-dev.14`} lang="sh" />
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
|
|
39
|
+
</Tabs>
|
|
40
|
+
|
|
41
|
+
<details>
|
|
42
|
+
<summary>Expand to view details about the packages</summary>
|
|
43
|
+
|
|
44
|
+
Here's an overview of each of these dependencies:
|
|
45
|
+
|
|
46
|
+
- `@livestore/livestore@0.4.0-dev.14` → Implements the core LiveStore functionality (schema, events, queries, ...).
|
|
47
|
+
- `@livestore/wa-sqlite@0.4.0-dev.14` → Implements usage of a [SQLite build in WebAssembly](https://github.com/livestorejs/wa-sqlite), so you can use SQLite inside your browser.
|
|
48
|
+
- `@livestore/adapter-web@0.4.0-dev.14` → Implements the [LiveStore web adapter.](https://dev.docs.livestore.dev/reference/platform-adapters/web-adapter/)
|
|
49
|
+
- `@livestore/react@0.4.0-dev.14` → Provides [LiveStore integration for React](https://github.com/livestorejs/wa-sqlite).
|
|
50
|
+
- `@livestore/peer-deps@0.4.0-dev.14` → Required to [satisfy LiveStore peer dependencies](https://dev.docs.livestore.dev/misc/package-management/#peer-dependencies).
|
|
51
|
+
|
|
52
|
+
</details>
|
|
53
|
+
|
|
54
|
+
## Define your LiveStore schema
|
|
55
|
+
|
|
56
|
+
In this step, you're going to define the [schema](/reference/state/sqlite-schema/) that LiveStore uses to represent the data of your app. The schema is one of the core concepts of LiveStore.
|
|
57
|
+
|
|
58
|
+
Your LiveStore-related files typically live in a `livestore` directory in your app, so create that first:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
mkdir src/livestore
|
|
62
|
+
touch src/livestore/schema.ts
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
The schema contains three major components:
|
|
66
|
+
|
|
67
|
+
- The [**table**](/reference/state/sqlite-schema/#defining-tables) structures of your local SQLite database.
|
|
68
|
+
- The [**events**](https://dev.docs.livestore.dev/reference/events/) that can be emitted by your app.
|
|
69
|
+
- The [**materializers**](https://dev.docs.livestore.dev/reference/state/materializers/) that use the events to alter the state of your database.
|
|
70
|
+
|
|
71
|
+
Here's how you define the schema for the current version of the todo app:
|
|
72
|
+
|
|
73
|
+
```ts title="src/livestore/schema.ts"
|
|
74
|
+
|
|
75
|
+
export const tables = {
|
|
76
|
+
todos: State.SQLite.table({
|
|
77
|
+
name: 'todos',
|
|
78
|
+
columns: {
|
|
79
|
+
id: State.SQLite.integer({ primaryKey: true }),
|
|
80
|
+
text: State.SQLite.text({ default: '' }),
|
|
81
|
+
},
|
|
82
|
+
})
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const events = {
|
|
86
|
+
todoCreated: Events.synced({
|
|
87
|
+
name: 'v1.TodoCreated',
|
|
88
|
+
schema: Schema.Struct({ id: Schema.Number, text: Schema.String }),
|
|
89
|
+
}),
|
|
90
|
+
todoDeleted: Events.synced({
|
|
91
|
+
name: 'v1.TodoDeleted',
|
|
92
|
+
schema: Schema.Struct({ id: Schema.Number }),
|
|
93
|
+
}),
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const materializers = State.SQLite.materializers(events, {
|
|
97
|
+
'v1.TodoCreated': ({ id, text }) => tables.todos.insert({ id, text }),
|
|
98
|
+
'v1.TodoDeleted': ({ id }) => tables.todos.delete().where({ id: id }),
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
const state = State.SQLite.makeState({ tables, materializers })
|
|
102
|
+
export const schema = makeSchema({ events, state })
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Here's a quick summary of the code:
|
|
106
|
+
- `tables` contains the definitions of your SQLite table structures. It currently defines a single `todos` table with two columns called `id` and `text`.
|
|
107
|
+
- `events` defines the types of events that your app can emit. It currently defines the `todoCreated` and `todoDeleted` events with an attached `schema` property which defines the shape of the event.
|
|
108
|
+
- `materializers` are the functions that are invoked for each event. In them, you define what should happen when the event gets fired. Right now, the `v1.TodoCreated` event results in an `insert` operation in the database while `v1.TodoDeleted` will remove a row from the database via a `delete` operation.
|
|
109
|
+
|
|
110
|
+
The `tables`, `events` and `materializers` are packaged up into a `schema` object that's needed in the parts of your app where you interact with LiveStore.
|
|
111
|
+
|
|
112
|
+
:::note[Versioning events and materializers]
|
|
113
|
+
You may have noticed that event and materializer names are prefixed with `v1`.
|
|
114
|
+
|
|
115
|
+
It's good practice in LiveStore to version your events and materializers to ensure future compatibility between them as your app evolves.
|
|
116
|
+
:::
|
|
117
|
+
|
|
118
|
+
## Configure your React/Vite app to use LiveStore
|
|
119
|
+
|
|
120
|
+
To now "connect" LiveStore with your React app, you need to:
|
|
121
|
+
|
|
122
|
+
1. Create the [LiveStore web worker](/reference/platform-adapters/web-adapter/#web-worker) that is responsible for the logic of persisting data on your file system.
|
|
123
|
+
2. Create a LiveStore [adapter](/reference/platform-adapters/web-adapter/) that enables persistences with local SQLite via [OPFS](https://web.dev/articles/origin-private-file-system).
|
|
124
|
+
3. Wrap your root component in `main.tsx` with the LiveStore [provider](https://dev.docs.livestore.dev/reference/framework-integrations/react-integration/#livestoreprovider) (which will receive both the web worker and adapter from above as arguments).
|
|
125
|
+
4. Update your Vite Config to work with LiveStore.
|
|
126
|
+
|
|
127
|
+
Let's get started!
|
|
128
|
+
|
|
129
|
+
First, create a new file for the LiveStore web worker:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
touch src/livestore/livestore.worker.ts
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Then, add the following code to it:
|
|
136
|
+
|
|
137
|
+
```ts file="src/livestore/livestore.worker.ts"
|
|
138
|
+
|
|
139
|
+
makeWorker({ schema })
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
This is boilerplate code that you'll almost never need to touch. (In this tutorial, it'll only be edited once when we introduce syncing data to Cloudflare.)
|
|
143
|
+
|
|
144
|
+
:::note[Special syntax for importing web worker files in Vite]
|
|
145
|
+
When importing this file, make sure to add the `?worker` extension to the import path to ensure that [Vite treats it as a worker file](https://vite.dev/guide/features.html#web-workers).
|
|
146
|
+
:::
|
|
147
|
+
|
|
148
|
+
Next, update `main.tsx` to create an adapter and wrap your `App` component inside the `LiveStoreProvider`:
|
|
149
|
+
|
|
150
|
+
```tsx title="src/main.tsx"
|
|
151
|
+
|
|
152
|
+
const adapter = makePersistedAdapter({
|
|
153
|
+
storage: { type: 'opfs' },
|
|
154
|
+
worker: LiveStoreWorker,
|
|
155
|
+
sharedWorker: LiveStoreSharedWorker,
|
|
156
|
+
})
|
|
157
|
+
|
|
158
|
+
createRoot(document.getElementById('root')!).render(
|
|
159
|
+
<LiveStoreProvider
|
|
160
|
+
schema={schema}
|
|
161
|
+
adapter={adapter}
|
|
162
|
+
renderLoading={(_) => <div>Loading LiveStore ({_.stage})...</div>}
|
|
163
|
+
storeId="todo-db-tutorial"
|
|
164
|
+
batchUpdates={batchUpdates}
|
|
165
|
+
>
|
|
166
|
+
<App />
|
|
167
|
+
</LiveStoreProvider>
|
|
168
|
+
)
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
:::note[So many "workers" ...]
|
|
172
|
+
There's some ambiguity with the "worker" terminology in this tutorial. In general, there are three different kinds of Workers at play.
|
|
173
|
+
- The **LiveStore web worker** (`LiveStoreWorker`); this is the Worker you defined in `livestore.worker.ts`. Technically, this is a _browser_ web worker, i.e. a separate JavaScript thread that runs in the browser, isolated from the main UI thread.
|
|
174
|
+
- The **LiveStore shared web worker** (`LiveStoreSharedWorker`); you just imported it from `@livestore/adapter-web/shared-worker`, also a _browser_ web worker. It's actually more of an _implementation detail_ but currently required to be exposed, so that the setup works with Vite.
|
|
175
|
+
- The **Cloudflare Worker** that will automatically sync the data in the background; you'll set this up in the next step.
|
|
176
|
+
|
|
177
|
+
Note that both the LiveStore web worker and the LiveStore Shared web worker are regular [web workers,](https://www.dhiwise.com/post/web-workers-vs-service-workers-in-javascript#what-are-web-workers-) not [service workers](https://www.dhiwise.com/post/web-workers-vs-service-workers-in-javascript#what-are-service-workers-)!
|
|
178
|
+
|
|
179
|
+
Here's how to think about the workers in the context of browser tabs (or windows):
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
Tab 1 ──┐
|
|
183
|
+
Tab 2 ──┼──→ Shared Worker (tab coordination) ──→ Web Worker (persistence)
|
|
184
|
+
Tab 3 ──┘
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
:::
|
|
188
|
+
|
|
189
|
+
Finally, update your Vite Config to enable usage of WebAssembly:
|
|
190
|
+
|
|
191
|
+
```diff title="vite.config.ts" lang="ts"
|
|
192
|
+
|
|
193
|
+
export default defineConfig({
|
|
194
|
+
plugins: [
|
|
195
|
+
react(),
|
|
196
|
+
tailwindcss(),
|
|
197
|
+
cloudflare(),
|
|
198
|
+
],
|
|
199
|
+
+ optimizeDeps: {
|
|
200
|
+
+ exclude: ['@livestore/wa-sqlite'],
|
|
201
|
+
+ },
|
|
202
|
+
})
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Now, your app is set up to start reading and writing data in a local SQLite database via LiveStore. If you run the app via `pnpm dev`, you'll briefly see a loading screen (implemented via the `renderLoading` prop on the `LiveStoreProvider`) before the todo list UI from the previous steps will appear again:
|
|
206
|
+
|
|
207
|
+

|
|
208
|
+
|
|
209
|
+
The todos themselves are not yet persisted because you haven't modified the logic for managing state in `App.tsx`. That's what you'll do next.
|
|
210
|
+
|
|
211
|
+
## Read and write todos from local SQLite via LiveStore
|
|
212
|
+
|
|
213
|
+
The current version of the app still stores the todos _in-memory_ via the [state](https://react.dev/learn/state-a-components-memory) of your `App` component. However, with the basic LiveStore setup in place, you can now move to persisting your todos inside SQLite via LiveStore!
|
|
214
|
+
|
|
215
|
+
In order to read todos, you need to define a LiveStore [query](/reference/state/sql-queries). LiveStore queries are _live_ or _reactive_, meaning they will automatically update your UI components when the underlying data changes.
|
|
216
|
+
|
|
217
|
+
Here's how you can define and use a query to fetch all todos from the local SQLite database using LiveStore inside the `App` component (you don't need to update your code yet, you'll get the full snippet at the end of this section):
|
|
218
|
+
|
|
219
|
+
```diff title="src/App.tsx" lang="ts"
|
|
220
|
+
function App() {
|
|
221
|
+
|
|
222
|
+
+ const { store } = useStore()
|
|
223
|
+
|
|
224
|
+
// The trailing `$` is a convention to indicate that this
|
|
225
|
+
// variable is a "live query".
|
|
226
|
+
+ const todos$ = queryDb(() => tables.todos.select())
|
|
227
|
+
|
|
228
|
+
// `todos` is an array containing all the todos from the DB.
|
|
229
|
+
// When rendering the component, you can do {todos.map(todo => ...
|
|
230
|
+
// and access `todo.text` and `todo.id` as before.
|
|
231
|
+
+ const todos = store.useQuery(todos$)
|
|
232
|
+
- const [todos, setTodos] = useState<Todo[]>([])
|
|
233
|
+
|
|
234
|
+
// ... remaining code for the `App` component
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
With this change, you're now reading the `todos` from LiveStore (where they're persisted) instead of using React's ephemeral state.
|
|
239
|
+
|
|
240
|
+
This was only half of the job though: Right now your code would throw a type error because it still uses `setTodos` to update the local state. You need to update this to use the `todoCreated` and `todoDeleted` events you defined in `src/livestore/schema.ts`:
|
|
241
|
+
|
|
242
|
+
```diff title="src/App.tsx" lang="ts"
|
|
243
|
+
function App() {
|
|
244
|
+
|
|
245
|
+
const { store } = useStore()
|
|
246
|
+
|
|
247
|
+
const todos$ = queryDb(() => tables.todos.select())
|
|
248
|
+
|
|
249
|
+
const todos = store.useQuery(todos$)
|
|
250
|
+
|
|
251
|
+
// Commit an event to the `store` instead of
|
|
252
|
+
// updating local React state.
|
|
253
|
+
const addTodo = () => {
|
|
254
|
+
+ store.commit(
|
|
255
|
+
+ events.todoCreated({ id: Date.now(), text: input }),
|
|
256
|
+
+ )
|
|
257
|
+
setInput('')
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
// Commit an event to the `store` instead of
|
|
261
|
+
// updating local React state.
|
|
262
|
+
const deleteTodo = (id: number) => {
|
|
263
|
+
+ store.commit(
|
|
264
|
+
+ events.todoDeleted({ id }),
|
|
265
|
+
+ )
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// ... remaining code for the `App` component
|
|
269
|
+
|
|
270
|
+
}
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
See how the data now will flow through the app _unidirectionally_ with this setup?
|
|
274
|
+
|
|
275
|
+
Let's follow it from the first time the app is started:
|
|
276
|
+
|
|
277
|
+
1. The `App` component registers the `todos$` "live query" with the store.
|
|
278
|
+
1. The query fires initially; the returned `todos` array is empty.
|
|
279
|
+
1. The `App` component renders an empty list.
|
|
280
|
+
1. A user adds a `todo`; the `todoCreated` event is triggered and committed to the DB.
|
|
281
|
+
1. The `v1.TodoCreated` materializer is invoked and writes the data into the DB.
|
|
282
|
+
1. The `todos$` query fires again because the state of the DB changed; the returned `todos` array now contains the newly created todo.
|
|
283
|
+
1. The `App` component renders a single todo.
|
|
284
|
+
|
|
285
|
+
Now try it out! Here's the full code for `App.tsx` that you can copy and paste:
|
|
286
|
+
|
|
287
|
+
```ts title="src/App.tsx"
|
|
288
|
+
|
|
289
|
+
function App() {
|
|
290
|
+
|
|
291
|
+
const { store } = useStore()
|
|
292
|
+
|
|
293
|
+
const todos$ = queryDb(() => tables.todos.select())
|
|
294
|
+
const todos = store.useQuery(todos$)
|
|
295
|
+
|
|
296
|
+
const [input, setInput] = useState('')
|
|
297
|
+
|
|
298
|
+
const addTodo = () => {
|
|
299
|
+
if (input.trim()) {
|
|
300
|
+
store.commit(
|
|
301
|
+
events.todoCreated({ id: Date.now(), text: input }),
|
|
302
|
+
)
|
|
303
|
+
setInput('')
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
const deleteTodo = (id: number) => {
|
|
308
|
+
store.commit(
|
|
309
|
+
events.todoDeleted({ id }),
|
|
310
|
+
)
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
const handleKeyDown = (e: React.KeyboardEvent) => {
|
|
314
|
+
if (e.key === 'Enter') {
|
|
315
|
+
addTodo()
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
return (
|
|
320
|
+
<div className="min-h-screen bg-gray-50 flex items-center justify-center p-6">
|
|
321
|
+
<div className="w-full max-w-lg">
|
|
322
|
+
<h1 className="text-5xl font-bold text-gray-800 text-center mb-12">
|
|
323
|
+
Todo List
|
|
324
|
+
</h1>
|
|
325
|
+
|
|
326
|
+
<div className="flex gap-3 mb-8">
|
|
327
|
+
<input
|
|
328
|
+
type="text"
|
|
329
|
+
value={input}
|
|
330
|
+
onChange={(e) => setInput(e.target.value)}
|
|
331
|
+
onKeyDown={handleKeyDown}
|
|
332
|
+
placeholder="Enter a todo..."
|
|
333
|
+
className="flex-1 px-4 py-2 text-sm border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
334
|
+
/>
|
|
335
|
+
<button
|
|
336
|
+
onClick={addTodo}
|
|
337
|
+
className="px-6 py-2 text-sm font-medium text-white bg-blue-500 rounded hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-colors"
|
|
338
|
+
>
|
|
339
|
+
Add
|
|
340
|
+
</button>
|
|
341
|
+
</div>
|
|
342
|
+
|
|
343
|
+
<div className="space-y-3">
|
|
344
|
+
{todos.map(todo => (
|
|
345
|
+
<div
|
|
346
|
+
key={todo.id}
|
|
347
|
+
className="flex items-center justify-between bg-white px-4 py-3 rounded shadow-sm"
|
|
348
|
+
>
|
|
349
|
+
<span className="text-gray-700">{todo.text}</span>
|
|
350
|
+
<button
|
|
351
|
+
onClick={() => deleteTodo(todo.id)}
|
|
352
|
+
className="px-4 py-1 text-sm font-medium text-white bg-red-500 rounded hover:bg-red-600 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 transition-colors"
|
|
353
|
+
>
|
|
354
|
+
Delete
|
|
355
|
+
</button>
|
|
356
|
+
</div>
|
|
357
|
+
))}
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
{todos.length === 0 && (
|
|
361
|
+
<p className="text-center text-gray-400 mt-8">
|
|
362
|
+
No todos yet. Add one above!
|
|
363
|
+
</p>
|
|
364
|
+
)}
|
|
365
|
+
</div>
|
|
366
|
+
</div>
|
|
367
|
+
)
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export default App
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
Try adding a few todos and then refresh the browser (or restart your development server):
|
|
374
|
+
|
|
375
|
+

|
|
376
|
+
|
|
377
|
+
In addition to the persistence, you can now observe the following behaviour:
|
|
378
|
+
|
|
379
|
+
- You can open multiple browser tabs/windows, make edits to the todo list and see live updates when you make changes in one of them.
|
|
380
|
+
- You can stop and restart the local version of your app and the todos will be persisted.
|
|
381
|
+
- If you open the app in an incognito tab or a different browser, the list of todos will be empty again; that's because the _Shared web worker_ only works in the same browser "session"; incognito tabs and different browsers use a different session.
|
|
382
|
+
|
|
383
|
+
<details>
|
|
384
|
+
<summary>Expand to learn about browser isolation/sessions</summary>
|
|
385
|
+
|
|
386
|
+
**Regular browser tab/windows**
|
|
387
|
+
|
|
388
|
+
- All regular (i.e. "not incognito") tabs/windows share the same browser session.
|
|
389
|
+
- The LiveStore shared web worker is shared across all these tabs/windows.
|
|
390
|
+
- OPFS storage is shared across the origin.
|
|
391
|
+
- ✅ Real-time sync works because they're all using the same LiveStore shared web worker and storage.
|
|
392
|
+
|
|
393
|
+
**Incognito windows**
|
|
394
|
+
|
|
395
|
+
- Incognito mode creates a separate session from regular browsing.
|
|
396
|
+
- However, multiple incognito tabs/windows opened in the same incognito session still share:
|
|
397
|
+
- The same LiveStore shared web worker instance.
|
|
398
|
+
- The same OPFS storage (within that incognito session).
|
|
399
|
+
- Each incognito session gets isolated storage, but windows within that session are _not_ isolated from each other.
|
|
400
|
+
|
|
401
|
+
Think of it this way:
|
|
402
|
+
|
|
403
|
+
- Regular tabs/windows = Session A (all tabs/windows share the same data).
|
|
404
|
+
- Incognito tabs/windows = Session B (all incognito tabs/windows share the same data).
|
|
405
|
+
|
|
406
|
+
**To get true isolation**
|
|
407
|
+
|
|
408
|
+
If you want completely isolated instances, you'd need to use:
|
|
409
|
+
|
|
410
|
+
- **Different browser profiles** - Chrome profiles are truly isolated.
|
|
411
|
+
- **Different browsers** - Chrome vs Firefox vs Safari.
|
|
412
|
+
- **Different devices** (only possible with the deployed app) - Your computer vs your phone.
|
|
413
|
+
|
|
414
|
+
</details>
|
|
415
|
+
|
|
416
|
+
Now, you can also deploy the app:
|
|
417
|
+
|
|
418
|
+
<Tabs syncKey="package-manager">
|
|
419
|
+
|
|
420
|
+
<TabItem label="bun">
|
|
421
|
+
|
|
422
|
+
<Code code={`bun run deploy`} lang="sh" />
|
|
423
|
+
|
|
424
|
+
</TabItem>
|
|
425
|
+
|
|
426
|
+
<TabItem label="pnpm">
|
|
427
|
+
|
|
428
|
+
<Code code={`pnpm run deploy`} lang="sh" />
|
|
429
|
+
|
|
430
|
+
</TabItem>
|
|
431
|
+
|
|
432
|
+
</Tabs>
|
|
433
|
+
|
|
434
|
+
Here's a little GIF demonstrating the current state of the live updates via browser isolation. On the left, we have two regular Chrome windows, on the right, two Safari windows.
|
|
435
|
+
|
|
436
|
+

|
|
437
|
+
|
|
438
|
+
- When a change is made in one Chrome window, it is automatically reflected in the other Chrome window.
|
|
439
|
+
- Similarly, when a change is made in one Safari window, it is automatically reflected in the other Safari window.
|
|
440
|
+
|
|
441
|
+
To recap, here's a visualization of the data flow in the app at this point:
|
|
442
|
+
|
|
443
|
+
<LivestoreDataFlowDiagram class="my-8" />
|
|
444
|
+
|
|
445
|
+
## Set up LiveStore DevTools
|
|
446
|
+
|
|
447
|
+
You may have wondered: "If the data is persisted, _where_ is it?". If the data is somewhere on your file system, you _should_ be able to spin up a database viewer of your choice and inspect the local SQLite DB file.
|
|
448
|
+
|
|
449
|
+
Unfortunately, that's not how OPFS works. While the SQLite files do exist _somewhere_ on your file system, they are hidden in the browser's internals and not easily accessible.
|
|
450
|
+
|
|
451
|
+
That being said, there is a convenient way how you can actually see the data on your file system: Using [LiveStore DevTools](/reference/devtools/)!
|
|
452
|
+
|
|
453
|
+
:::note[LiveStore DevTools are a sponsor-only feature]
|
|
454
|
+
|
|
455
|
+
Our goal is to grow the project in a [sustainable](/misc/sponsoring/#goal-sustainable-open-source) way (e.g. not rely on VC funding), that's why DevTools are currently a [sponsor-only](/misc/sponsoring/) feature.
|
|
456
|
+
|
|
457
|
+
That being said, we still include them in this tutorial since you'll be able to use them without sponsorship for one week.
|
|
458
|
+
|
|
459
|
+
LiveStore can only exist thanks to its generous sponsors, please consider becoming one of them if the project is of value to you. ❤️
|
|
460
|
+
|
|
461
|
+
:::
|
|
462
|
+
|
|
463
|
+
To start using DevTools, first install the package for the web adapter you're using:
|
|
464
|
+
|
|
465
|
+
<Tabs syncKey="package-manager">
|
|
466
|
+
|
|
467
|
+
<TabItem label="bun">
|
|
468
|
+
|
|
469
|
+
<Code code={`bun add @livestore/devtools-vite@0.4.0-dev.14`} lang="sh" />
|
|
470
|
+
|
|
471
|
+
</TabItem>
|
|
472
|
+
|
|
473
|
+
<TabItem label="pnpm">
|
|
474
|
+
|
|
475
|
+
<Code code={`pnpm add @livestore/devtools-vite@0.4.0-dev.14`} lang="sh" />
|
|
476
|
+
|
|
477
|
+
</TabItem>
|
|
478
|
+
|
|
479
|
+
</Tabs>
|
|
480
|
+
|
|
481
|
+
Next, update your Vite Config to add the `livestoreDevtoolsPlugin`. It should look as follows:
|
|
482
|
+
|
|
483
|
+
```diff title="vite.config.ts" lang="ts"
|
|
484
|
+
|
|
485
|
+
+import { livestoreDevtoolsPlugin } from '@livestore/devtools-vite'
|
|
486
|
+
|
|
487
|
+
// https://vite.dev/config/
|
|
488
|
+
export default defineConfig({
|
|
489
|
+
plugins: [
|
|
490
|
+
react(),
|
|
491
|
+
tailwindcss(),
|
|
492
|
+
cloudflare(),
|
|
493
|
+
+ livestoreDevtoolsPlugin({ schemaPath: './src/livestore/schema.ts' })
|
|
494
|
+
],
|
|
495
|
+
optimizeDeps: {
|
|
496
|
+
exclude: ['@livestore/wa-sqlite'],
|
|
497
|
+
},
|
|
498
|
+
})
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
Now, in the developer console of your browser, you can find the **LiveStore** tab with details about the current LiveStore internals:
|
|
502
|
+
|
|
503
|
+

|
|
504
|
+
|
|
505
|
+
There are several tabs in the LiveStore DevTools:
|
|
506
|
+
|
|
507
|
+
- **Database**: Browse the data that's currently in your DB, send SQL queries, export the database to your file system, and more.
|
|
508
|
+
- **Queries**: Shows the last results of the currently active live queries.
|
|
509
|
+
- **Events**: The [event log](/evaluation/event-sourcing/) that stores all the events emitted by your app.
|
|
510
|
+
|
|
511
|
+
If you're curious, add and delete a few todos via the UI and observe what's happening in the three tabs.
|