@livestore/livestore 0.4.0-dev.2 → 0.4.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/SqliteDbWrapper.d.ts.map +1 -1
- package/dist/SqliteDbWrapper.test.js +2 -1
- package/dist/SqliteDbWrapper.test.js.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 +3 -5
- package/dist/effect/LiveStore.js.map +1 -1
- package/dist/live-queries/base-class.d.ts.map +1 -1
- package/dist/live-queries/base-class.js.map +1 -1
- package/dist/live-queries/client-document-get-query.js +3 -2
- package/dist/live-queries/client-document-get-query.js.map +1 -1
- package/dist/live-queries/db-query.d.ts.map +1 -1
- package/dist/live-queries/db-query.js +15 -10
- package/dist/live-queries/db-query.js.map +1 -1
- package/dist/live-queries/db-query.test.js +117 -28
- package/dist/live-queries/db-query.test.js.map +1 -1
- package/dist/mod.d.ts +3 -4
- package/dist/mod.d.ts.map +1 -1
- package/dist/mod.js +3 -3
- package/dist/mod.js.map +1 -1
- package/dist/reactive.d.ts +10 -10
- package/dist/reactive.d.ts.map +1 -1
- package/dist/reactive.js +36 -27
- package/dist/reactive.js.map +1 -1
- package/dist/reactive.test.js +115 -0
- package/dist/reactive.test.js.map +1 -1
- package/dist/store/create-store.d.ts +44 -12
- package/dist/store/create-store.d.ts.map +1 -1
- package/dist/store/create-store.js +17 -11
- package/dist/store/create-store.js.map +1 -1
- package/dist/store/devtools.d.ts +4 -15
- package/dist/store/devtools.d.ts.map +1 -1
- package/dist/store/devtools.js +36 -15
- package/dist/store/devtools.js.map +1 -1
- package/dist/store/store-types.d.ts +123 -7
- package/dist/store/store-types.d.ts.map +1 -1
- package/dist/store/store-types.js +28 -1
- package/dist/store/store-types.js.map +1 -1
- package/dist/store/store-types.test.d.ts +2 -0
- package/dist/store/store-types.test.d.ts.map +1 -0
- package/dist/store/store-types.test.js +39 -0
- package/dist/store/store-types.test.js.map +1 -0
- package/dist/store/store.d.ts +115 -59
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +323 -174
- package/dist/store/store.js.map +1 -1
- package/dist/utils/dev.d.ts +3 -0
- package/dist/utils/dev.d.ts.map +1 -1
- 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/dist/utils/tests/fixture.js +2 -1
- package/dist/utils/tests/fixture.js.map +1 -1
- package/dist/utils/tests/otel.d.ts +15 -14
- package/dist/utils/tests/otel.d.ts.map +1 -1
- package/dist/utils/tests/otel.js +20 -15
- package/dist/utils/tests/otel.js.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 +52 -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 +164 -0
- package/docs/llms.txt +104 -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 +340 -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/svelte-integration/index.md +42 -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 +453 -0
- package/docs/tutorial/7-next-steps/index.md +22 -0
- package/package.json +10 -9
- package/src/SqliteDbWrapper.test.ts +2 -2
- package/src/ambient.d.ts +3 -3
- package/src/effect/LiveStore.ts +8 -8
- package/src/live-queries/__snapshots__/db-query.test.ts.snap +589 -145
- package/src/live-queries/base-class.ts +6 -3
- package/src/live-queries/client-document-get-query.ts +3 -3
- package/src/live-queries/db-query.test.ts +172 -29
- package/src/live-queries/db-query.ts +16 -10
- package/src/mod.ts +19 -2
- package/src/reactive.test.ts +150 -1
- package/src/reactive.ts +47 -39
- package/src/store/create-store.ts +96 -28
- package/src/store/devtools.ts +42 -28
- package/src/store/store-types.test.ts +50 -0
- package/src/store/store-types.ts +193 -16
- package/src/store/store.ts +458 -300
- package/src/utils/dev.ts +4 -0
- package/src/utils/tests/fixture.ts +2 -1
- package/src/utils/tests/otel.ts +31 -20
- package/dist/store/store-shutdown.test.d.ts +0 -2
- package/dist/store/store-shutdown.test.d.ts.map +0 -1
- package/dist/store/store-shutdown.test.js +0 -103
- package/dist/store/store-shutdown.test.js.map +0 -1
package/src/reactive.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
// - At every thunk we check value equality with the previous value and cutoff propagation if possible.
|
|
23
23
|
|
|
24
24
|
import { BoundArray } from '@livestore/common'
|
|
25
|
-
import { deepEqual, shouldNeverHappen } from '@livestore/utils'
|
|
25
|
+
import { deepEqual, omitUndefineds, shouldNeverHappen } from '@livestore/utils'
|
|
26
26
|
import type { Types } from '@livestore/utils/effect'
|
|
27
27
|
import type * as otel from '@opentelemetry/api'
|
|
28
28
|
// import { getDurationMsFromSpan } from './otel.ts'
|
|
@@ -45,9 +45,9 @@ export type Ref<T, TContext, TDebugRefreshReason extends DebugRefreshReason> = {
|
|
|
45
45
|
computeResult: () => T
|
|
46
46
|
sub: Set<Atom<any, TContext, TDebugRefreshReason>> // always empty
|
|
47
47
|
super: Set<Thunk<any, TContext, TDebugRefreshReason> | Effect<TDebugRefreshReason>>
|
|
48
|
-
label?: string
|
|
48
|
+
label?: string | undefined
|
|
49
49
|
/** Container for meta information (e.g. the LiveStore Store) */
|
|
50
|
-
meta?: any
|
|
50
|
+
meta?: any | undefined
|
|
51
51
|
equal: (a: T, b: T) => boolean
|
|
52
52
|
refreshes: number
|
|
53
53
|
}
|
|
@@ -61,9 +61,9 @@ export type Thunk<TResult, TContext, TDebugRefreshReason extends DebugRefreshRea
|
|
|
61
61
|
previousResult: TResult | NOT_REFRESHED_YET
|
|
62
62
|
sub: Set<Atom<any, TContext, TDebugRefreshReason>>
|
|
63
63
|
super: Set<Thunk<any, TContext, TDebugRefreshReason> | Effect<TDebugRefreshReason>>
|
|
64
|
-
label?: string
|
|
64
|
+
label?: string | undefined
|
|
65
65
|
/** Container for meta information (e.g. the LiveStore Store) */
|
|
66
|
-
meta?: any
|
|
66
|
+
meta?: any | undefined
|
|
67
67
|
equal: (a: TResult, b: TResult) => boolean
|
|
68
68
|
recomputations: number
|
|
69
69
|
|
|
@@ -80,7 +80,7 @@ export type Effect<TDebugRefreshReason extends DebugRefreshReason> = {
|
|
|
80
80
|
isDestroyed: boolean
|
|
81
81
|
doEffect: (otelContext?: otel.Context | undefined, debugRefreshReason?: TDebugRefreshReason | undefined) => void
|
|
82
82
|
sub: Set<Atom<any, TODO, TODO>>
|
|
83
|
-
label?: string
|
|
83
|
+
label?: string | undefined
|
|
84
84
|
invocations: number
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -103,10 +103,10 @@ export type DebugRefreshReasonBase =
|
|
|
103
103
|
/** Usually in response to some `commit` calls with `skipRefresh: true` */
|
|
104
104
|
| {
|
|
105
105
|
_tag: 'runDeferredEffects'
|
|
106
|
-
originalRefreshReasons?: ReadonlyArray<DebugRefreshReasonBase>
|
|
107
|
-
manualRefreshReason?: DebugRefreshReasonBase
|
|
106
|
+
originalRefreshReasons?: ReadonlyArray<DebugRefreshReasonBase> | undefined
|
|
107
|
+
manualRefreshReason?: DebugRefreshReasonBase | undefined
|
|
108
108
|
}
|
|
109
|
-
| { _tag: 'makeThunk'; label?: string }
|
|
109
|
+
| { _tag: 'makeThunk'; label?: string | undefined }
|
|
110
110
|
| { _tag: 'unknown' }
|
|
111
111
|
|
|
112
112
|
export type DebugRefreshReason<T extends string = string> = DebugRefreshReasonBase | { _tag: T }
|
|
@@ -135,7 +135,7 @@ const unknownRefreshReason = () => {
|
|
|
135
135
|
return { _tag: 'unknown' as const }
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
export type EncodedOption<A> = { _tag: 'Some'; value?: A } | { _tag: 'None' }
|
|
138
|
+
export type EncodedOption<A> = { _tag: 'Some'; value?: A | undefined } | { _tag: 'None' }
|
|
139
139
|
const encodedOptionSome = <A>(value: A): EncodedOption<A> => ({ _tag: 'Some', value })
|
|
140
140
|
const encodedOptionNone = <A>(): EncodedOption<A> => ({ _tag: 'None' })
|
|
141
141
|
|
|
@@ -192,7 +192,7 @@ export const __resetIds = () => {
|
|
|
192
192
|
export class ReactiveGraph<
|
|
193
193
|
TDebugRefreshReason extends DebugRefreshReason,
|
|
194
194
|
TDebugThunkInfo extends DebugThunkInfo,
|
|
195
|
-
TContext extends { effectsWrapper?: (runEffects: () => void) => void } = {},
|
|
195
|
+
TContext extends { effectsWrapper?: ((runEffects: () => void) => void) | undefined } = {},
|
|
196
196
|
> {
|
|
197
197
|
id = uniqueGraphId()
|
|
198
198
|
|
|
@@ -211,10 +211,8 @@ export class ReactiveGraph<
|
|
|
211
211
|
|
|
212
212
|
private refreshCallbacks: Set<() => void> = new Set()
|
|
213
213
|
|
|
214
|
-
// biome-ignore lint/correctness/noUnusedPrivateClassMembers: for debugging
|
|
215
214
|
private nodeIdCounter = 0
|
|
216
215
|
private uniqueNodeId = () => `node-${++this.nodeIdCounter}`
|
|
217
|
-
// biome-ignore lint/correctness/noUnusedPrivateClassMembers: for debugging
|
|
218
216
|
private refreshInfoIdCounter = 0
|
|
219
217
|
private uniqueRefreshInfoId = () => `refresh-info-${++this.refreshInfoIdCounter}`
|
|
220
218
|
|
|
@@ -231,8 +229,7 @@ export class ReactiveGraph<
|
|
|
231
229
|
computeResult: () => ref.previousResult,
|
|
232
230
|
sub: new Set(),
|
|
233
231
|
super: new Set(),
|
|
234
|
-
label: options?.label,
|
|
235
|
-
meta: options?.meta,
|
|
232
|
+
...omitUndefineds({ label: options?.label, meta: options?.meta }),
|
|
236
233
|
equal: options?.equal ?? deepEqual,
|
|
237
234
|
refreshes: 0,
|
|
238
235
|
}
|
|
@@ -267,8 +264,11 @@ export class ReactiveGraph<
|
|
|
267
264
|
computeResult: (otelContext, debugRefreshReason) => {
|
|
268
265
|
if (thunk.isDirty) {
|
|
269
266
|
const neededCurrentRefresh = this.currentDebugRefresh === undefined
|
|
267
|
+
let localDebugRefresh: { refreshedAtoms: any[]; startMs: number } | undefined
|
|
270
268
|
if (neededCurrentRefresh) {
|
|
271
|
-
|
|
269
|
+
// Use local variable to prevent corruption from nested computations
|
|
270
|
+
localDebugRefresh = { refreshedAtoms: [], startMs: performance.now() }
|
|
271
|
+
this.currentDebugRefresh = localDebugRefresh
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
// Reset previous subcomputations as we're about to re-add them as part of the `doEffect` call below
|
|
@@ -300,15 +300,20 @@ export class ReactiveGraph<
|
|
|
300
300
|
debugInfo: debugInfo ?? (unknownRefreshReason() as TDebugThunkInfo),
|
|
301
301
|
} satisfies AtomDebugInfo<TDebugThunkInfo>
|
|
302
302
|
|
|
303
|
-
|
|
303
|
+
// Use currentDebugRefresh if available (could be from parent or local)
|
|
304
|
+
const debugRefresh = localDebugRefresh ?? this.currentDebugRefresh
|
|
305
|
+
if (debugRefresh) {
|
|
306
|
+
debugRefresh.refreshedAtoms.push(debugInfoForAtom)
|
|
307
|
+
}
|
|
304
308
|
|
|
305
309
|
thunk.isDirty = false
|
|
306
310
|
thunk.previousResult = result
|
|
307
311
|
thunk.recomputations++
|
|
308
312
|
|
|
309
|
-
if (neededCurrentRefresh) {
|
|
310
|
-
|
|
311
|
-
const
|
|
313
|
+
if (neededCurrentRefresh && localDebugRefresh) {
|
|
314
|
+
// Use local reference which can't be corrupted by nested calls
|
|
315
|
+
const refreshedAtoms = localDebugRefresh.refreshedAtoms
|
|
316
|
+
const durationMs = performance.now() - localDebugRefresh.startMs
|
|
312
317
|
this.currentDebugRefresh = undefined
|
|
313
318
|
|
|
314
319
|
this.debugRefreshInfos.push({
|
|
@@ -330,8 +335,7 @@ export class ReactiveGraph<
|
|
|
330
335
|
sub: new Set(),
|
|
331
336
|
super: new Set(),
|
|
332
337
|
recomputations: 0,
|
|
333
|
-
label: options?.label,
|
|
334
|
-
meta: options?.meta,
|
|
338
|
+
...omitUndefineds({ label: options?.label, meta: options?.meta }),
|
|
335
339
|
equal: options?.equal ?? deepEqual,
|
|
336
340
|
__getResult: getResult,
|
|
337
341
|
}
|
|
@@ -407,7 +411,7 @@ export class ReactiveGraph<
|
|
|
407
411
|
doEffect(getAtom as GetAtom, otelContext, debugRefreshReason)
|
|
408
412
|
},
|
|
409
413
|
sub: new Set(),
|
|
410
|
-
label: options?.label,
|
|
414
|
+
...omitUndefineds({ label: options?.label }),
|
|
411
415
|
invocations: 0,
|
|
412
416
|
}
|
|
413
417
|
|
|
@@ -461,7 +465,7 @@ export class ReactiveGraph<
|
|
|
461
465
|
} else {
|
|
462
466
|
this.runEffects(effectsToRefresh, {
|
|
463
467
|
debugRefreshReason: options?.debugRefreshReason ?? (unknownRefreshReason() as TDebugRefreshReason),
|
|
464
|
-
otelContext: options?.otelContext,
|
|
468
|
+
...omitUndefineds({ otelContext: options?.otelContext }),
|
|
465
469
|
})
|
|
466
470
|
}
|
|
467
471
|
}
|
|
@@ -475,15 +479,21 @@ export class ReactiveGraph<
|
|
|
475
479
|
) => {
|
|
476
480
|
const effectsWrapper = this.context?.effectsWrapper ?? ((runEffects: () => void) => runEffects())
|
|
477
481
|
effectsWrapper(() => {
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
+
// Capture debug state in local variable to prevent corruption from nested runEffects
|
|
483
|
+
const previousDebugRefresh = this.currentDebugRefresh
|
|
484
|
+
const localDebugRefresh = { refreshedAtoms: [], startMs: performance.now() }
|
|
485
|
+
this.currentDebugRefresh = localDebugRefresh
|
|
486
|
+
|
|
487
|
+
try {
|
|
488
|
+
for (const effect of effectsToRefresh) {
|
|
489
|
+
effect.doEffect(options?.otelContext, options.debugRefreshReason)
|
|
490
|
+
}
|
|
491
|
+
} finally {
|
|
492
|
+
this.currentDebugRefresh = previousDebugRefresh
|
|
482
493
|
}
|
|
483
494
|
|
|
484
|
-
const refreshedAtoms =
|
|
485
|
-
const durationMs = performance.now() -
|
|
486
|
-
this.currentDebugRefresh = undefined
|
|
495
|
+
const refreshedAtoms = localDebugRefresh.refreshedAtoms
|
|
496
|
+
const durationMs = performance.now() - localDebugRefresh.startMs
|
|
487
497
|
|
|
488
498
|
const refreshDebugInfo: RefreshDebugInfo<TDebugRefreshReason, TDebugThunkInfo> = {
|
|
489
499
|
id: this.uniqueRefreshInfoId(),
|
|
@@ -509,9 +519,9 @@ export class ReactiveGraph<
|
|
|
509
519
|
debugRefreshReason: {
|
|
510
520
|
_tag: 'runDeferredEffects',
|
|
511
521
|
originalRefreshReasons: Array.from(debugRefreshReasons) as ReadonlyArray<DebugRefreshReasonBase>,
|
|
512
|
-
manualRefreshReason: options?.debugRefreshReason,
|
|
513
|
-
} as TDebugRefreshReason,
|
|
514
|
-
otelContext: options?.otelContext,
|
|
522
|
+
...omitUndefineds({ manualRefreshReason: options?.debugRefreshReason }),
|
|
523
|
+
} as unknown as TDebugRefreshReason,
|
|
524
|
+
...omitUndefineds({ otelContext: options?.otelContext }),
|
|
515
525
|
})
|
|
516
526
|
}
|
|
517
527
|
}
|
|
@@ -641,8 +651,7 @@ const serializeAtom = (atom: Atom<any, unknown, any>, includeResult: boolean): S
|
|
|
641
651
|
return {
|
|
642
652
|
_tag: atom._tag,
|
|
643
653
|
id: atom.id,
|
|
644
|
-
label: atom.label,
|
|
645
|
-
meta: atom.meta,
|
|
654
|
+
...omitUndefineds({ label: atom.label, meta: atom.meta }),
|
|
646
655
|
isDirty: atom.isDirty,
|
|
647
656
|
sub,
|
|
648
657
|
super: super_,
|
|
@@ -655,8 +664,7 @@ const serializeAtom = (atom: Atom<any, unknown, any>, includeResult: boolean): S
|
|
|
655
664
|
return {
|
|
656
665
|
_tag: 'thunk',
|
|
657
666
|
id: atom.id,
|
|
658
|
-
label: atom.label,
|
|
659
|
-
meta: atom.meta,
|
|
667
|
+
...omitUndefineds({ label: atom.label, meta: atom.meta }),
|
|
660
668
|
isDirty: atom.isDirty,
|
|
661
669
|
sub,
|
|
662
670
|
super: super_,
|
|
@@ -676,7 +684,7 @@ const serializeEffect = (effect: Effect<any>): SerializedEffect => {
|
|
|
676
684
|
return {
|
|
677
685
|
_tag: effect._tag,
|
|
678
686
|
id: effect.id,
|
|
679
|
-
label: effect.label,
|
|
687
|
+
...omitUndefineds({ label: effect.label }),
|
|
680
688
|
sub,
|
|
681
689
|
invocations: effect.invocations,
|
|
682
690
|
isDestroyed: effect.isDestroyed,
|
|
@@ -5,13 +5,17 @@ import {
|
|
|
5
5
|
type ClientSessionDevtoolsChannel,
|
|
6
6
|
type ClientSessionSyncProcessorSimulationParams,
|
|
7
7
|
type IntentionalShutdownCause,
|
|
8
|
+
type InvalidPullError,
|
|
9
|
+
type IsOfflineError,
|
|
10
|
+
LogConfig,
|
|
11
|
+
type MaterializeError,
|
|
8
12
|
type MigrationsReport,
|
|
9
13
|
provideOtel,
|
|
10
14
|
type SyncError,
|
|
11
|
-
|
|
15
|
+
UnknownError,
|
|
12
16
|
} from '@livestore/common'
|
|
13
17
|
import type { LiveStoreSchema } from '@livestore/common/schema'
|
|
14
|
-
import { isDevEnv, LS_DEV } from '@livestore/utils'
|
|
18
|
+
import { isDevEnv, LS_DEV, omitUndefineds } from '@livestore/utils'
|
|
15
19
|
import {
|
|
16
20
|
Context,
|
|
17
21
|
Deferred,
|
|
@@ -20,12 +24,10 @@ import {
|
|
|
20
24
|
Fiber,
|
|
21
25
|
identity,
|
|
22
26
|
Layer,
|
|
23
|
-
Logger,
|
|
24
|
-
LogLevel,
|
|
25
27
|
OtelTracer,
|
|
26
28
|
Queue,
|
|
27
29
|
Runtime,
|
|
28
|
-
|
|
30
|
+
Schema,
|
|
29
31
|
Scope,
|
|
30
32
|
TaskTracing,
|
|
31
33
|
} from '@livestore/utils/effect'
|
|
@@ -39,6 +41,7 @@ import type {
|
|
|
39
41
|
OtelOptions,
|
|
40
42
|
ShutdownDeferred,
|
|
41
43
|
} from './store-types.ts'
|
|
44
|
+
import { StoreInternalsSymbol } from './store-types.ts'
|
|
42
45
|
|
|
43
46
|
export const DEFAULT_PARAMS = {
|
|
44
47
|
leaderPushBatchSize: 100,
|
|
@@ -57,10 +60,14 @@ export class LiveStoreContextRunning extends Context.Tag('@livestore/livestore/e
|
|
|
57
60
|
|
|
58
61
|
export class DeferredStoreContext extends Context.Tag('@livestore/livestore/effect/DeferredStoreContext')<
|
|
59
62
|
DeferredStoreContext,
|
|
60
|
-
Deferred.Deferred<LiveStoreContextRunning['Type'],
|
|
63
|
+
Deferred.Deferred<LiveStoreContextRunning['Type'], UnknownError>
|
|
61
64
|
>() {}
|
|
62
65
|
|
|
63
|
-
export type LiveStoreContextProps<
|
|
66
|
+
export type LiveStoreContextProps<
|
|
67
|
+
TSchema extends LiveStoreSchema,
|
|
68
|
+
TContext = {},
|
|
69
|
+
TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue,
|
|
70
|
+
> = {
|
|
64
71
|
schema: TSchema
|
|
65
72
|
/**
|
|
66
73
|
* The `storeId` can be used to isolate multiple stores from each other.
|
|
@@ -85,9 +92,32 @@ export type LiveStoreContextProps<TSchema extends LiveStoreSchema, TContext = {}
|
|
|
85
92
|
disableDevtools?: boolean | 'auto'
|
|
86
93
|
onBootStatus?: (status: BootStatus) => void
|
|
87
94
|
batchUpdates: (run: () => void) => void
|
|
95
|
+
/**
|
|
96
|
+
* Schema describing the shape of the sync payload and used to encode it.
|
|
97
|
+
*
|
|
98
|
+
* - If omitted, `Schema.JsonValue` is used (no additional typing/validation).
|
|
99
|
+
* - Prefer exporting a schema from your app (e.g. `export const SyncPayload = Schema.Struct({ authToken: Schema.String })`)
|
|
100
|
+
* and pass it here to get end-to-end type safety and validation.
|
|
101
|
+
*/
|
|
102
|
+
syncPayloadSchema?: TSyncPayloadSchema
|
|
103
|
+
/**
|
|
104
|
+
* Payload that is sent to the sync backend during connection establishment.
|
|
105
|
+
*
|
|
106
|
+
* - Its TypeScript type is inferred from `syncPayloadSchema` (i.e. `typeof SyncPayload.Type`).
|
|
107
|
+
* - At runtime this value is encoded with `syncPayloadSchema` before being handed to the adapter.
|
|
108
|
+
*
|
|
109
|
+
* Example:
|
|
110
|
+
* const SyncPayload = Schema.Struct({ authToken: Schema.String })
|
|
111
|
+
* <LiveStoreProvider syncPayloadSchema={SyncPayload} syncPayload={{ authToken: '...' }} />
|
|
112
|
+
*/
|
|
113
|
+
syncPayload?: Schema.Schema.Type<TSyncPayloadSchema>
|
|
88
114
|
}
|
|
89
115
|
|
|
90
|
-
export interface CreateStoreOptions<
|
|
116
|
+
export interface CreateStoreOptions<
|
|
117
|
+
TSchema extends LiveStoreSchema,
|
|
118
|
+
TContext = {},
|
|
119
|
+
TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue,
|
|
120
|
+
> extends LogConfig.WithLoggerOptions {
|
|
91
121
|
schema: TSchema
|
|
92
122
|
adapter: Adapter
|
|
93
123
|
storeId: string
|
|
@@ -116,11 +146,23 @@ export interface CreateStoreOptions<TSchema extends LiveStoreSchema, TContext =
|
|
|
116
146
|
*/
|
|
117
147
|
confirmUnsavedChanges?: boolean
|
|
118
148
|
/**
|
|
119
|
-
*
|
|
149
|
+
* Schema describing the shape of the sync payload and used to encode it.
|
|
150
|
+
*
|
|
151
|
+
* - If omitted, `Schema.JsonValue` is used (no additional typing/validation).
|
|
152
|
+
* - Prefer exporting a schema from your app (e.g. `export const SyncPayload = Schema.Struct({ authToken: Schema.String })`)
|
|
153
|
+
* and pass it here to get end-to-end type safety and validation.
|
|
154
|
+
*/
|
|
155
|
+
syncPayloadSchema?: TSyncPayloadSchema
|
|
156
|
+
/**
|
|
157
|
+
* Payload that is sent to the sync backend during connection establishment.
|
|
158
|
+
*
|
|
159
|
+
* - Its TypeScript type is inferred from `syncPayloadSchema` (i.e. `typeof SyncPayload.Type`).
|
|
160
|
+
* - At runtime this value is encoded with `syncPayloadSchema` and carried through the adapter
|
|
161
|
+
* to the backend where it can be decoded with the same schema.
|
|
120
162
|
*
|
|
121
163
|
* @default undefined
|
|
122
164
|
*/
|
|
123
|
-
syncPayload?: Schema.
|
|
165
|
+
syncPayload?: Schema.Schema.Type<TSyncPayloadSchema>
|
|
124
166
|
params?: {
|
|
125
167
|
leaderPushBatchSize?: number
|
|
126
168
|
simulation?: {
|
|
@@ -132,15 +174,25 @@ export interface CreateStoreOptions<TSchema extends LiveStoreSchema, TContext =
|
|
|
132
174
|
}
|
|
133
175
|
}
|
|
134
176
|
|
|
177
|
+
export type CreateStoreOptionsPromise<
|
|
178
|
+
TSchema extends LiveStoreSchema = LiveStoreSchema.Any,
|
|
179
|
+
TContext = {},
|
|
180
|
+
TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue,
|
|
181
|
+
> = CreateStoreOptions<TSchema, TContext, TSyncPayloadSchema> & {
|
|
182
|
+
signal?: AbortSignal
|
|
183
|
+
otelOptions?: Partial<OtelOptions>
|
|
184
|
+
}
|
|
185
|
+
|
|
135
186
|
/** Create a new LiveStore Store */
|
|
136
|
-
export const createStorePromise = async <
|
|
187
|
+
export const createStorePromise = async <
|
|
188
|
+
TSchema extends LiveStoreSchema = LiveStoreSchema.Any,
|
|
189
|
+
TContext = {},
|
|
190
|
+
TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue,
|
|
191
|
+
>({
|
|
137
192
|
signal,
|
|
138
193
|
otelOptions,
|
|
139
194
|
...options
|
|
140
|
-
}:
|
|
141
|
-
signal?: AbortSignal
|
|
142
|
-
otelOptions?: Partial<OtelOptions>
|
|
143
|
-
}): Promise<Store<TSchema, TContext>> =>
|
|
195
|
+
}: CreateStoreOptionsPromise<TSchema, TContext, TSyncPayloadSchema>): Promise<Store<TSchema, TContext>> =>
|
|
144
196
|
Effect.gen(function* () {
|
|
145
197
|
const scope = yield* Scope.make()
|
|
146
198
|
const runtime = yield* Effect.runtime()
|
|
@@ -156,15 +208,18 @@ export const createStorePromise = async <TSchema extends LiveStoreSchema = LiveS
|
|
|
156
208
|
Effect.withSpan('createStore', {
|
|
157
209
|
attributes: { storeId: options.storeId, disableDevtools: options.disableDevtools },
|
|
158
210
|
}),
|
|
159
|
-
provideOtel({ parentSpanContext: otelOptions?.rootSpanContext, otelTracer: otelOptions?.tracer }),
|
|
211
|
+
provideOtel(omitUndefineds({ parentSpanContext: otelOptions?.rootSpanContext, otelTracer: otelOptions?.tracer })),
|
|
160
212
|
Effect.tapCauseLogPretty,
|
|
161
213
|
Effect.annotateLogs({ thread: 'window' }),
|
|
162
|
-
|
|
163
|
-
Logger.withMinimumLogLevel(LogLevel.Debug),
|
|
214
|
+
LogConfig.withLoggerConfig(options, { threadName: 'window' }),
|
|
164
215
|
Effect.runPromise,
|
|
165
216
|
)
|
|
166
217
|
|
|
167
|
-
export const createStore = <
|
|
218
|
+
export const createStore = <
|
|
219
|
+
TSchema extends LiveStoreSchema = LiveStoreSchema.Any,
|
|
220
|
+
TContext = {},
|
|
221
|
+
TSyncPayloadSchema extends Schema.Schema<any> = typeof Schema.JsonValue,
|
|
222
|
+
>({
|
|
168
223
|
schema,
|
|
169
224
|
adapter,
|
|
170
225
|
storeId,
|
|
@@ -178,9 +233,10 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
178
233
|
debug,
|
|
179
234
|
confirmUnsavedChanges = true,
|
|
180
235
|
syncPayload,
|
|
181
|
-
|
|
236
|
+
syncPayloadSchema,
|
|
237
|
+
}: CreateStoreOptions<TSchema, TContext, TSyncPayloadSchema>): Effect.Effect<
|
|
182
238
|
Store<TSchema, TContext>,
|
|
183
|
-
|
|
239
|
+
UnknownError,
|
|
184
240
|
Scope.Scope | OtelTracer.OtelTracer
|
|
185
241
|
> =>
|
|
186
242
|
Effect.gen(function* () {
|
|
@@ -191,6 +247,7 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
191
247
|
yield* Effect.addFinalizer((_) => Scope.close(lifetimeScope, _))
|
|
192
248
|
|
|
193
249
|
const debugInstanceId = debug?.instanceId ?? nanoid(10)
|
|
250
|
+
const resolvedSyncPayloadSchema = (syncPayloadSchema ?? Schema.JsonValue) as TSyncPayloadSchema
|
|
194
251
|
|
|
195
252
|
return yield* Effect.gen(function* () {
|
|
196
253
|
const span = yield* OtelTracer.currentOtelSpan.pipe(Effect.orDie)
|
|
@@ -217,7 +274,12 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
217
274
|
|
|
218
275
|
const runtime = yield* Effect.runtime<Scope.Scope>()
|
|
219
276
|
|
|
220
|
-
const shutdown = (
|
|
277
|
+
const shutdown = (
|
|
278
|
+
exit: Exit.Exit<
|
|
279
|
+
IntentionalShutdownCause,
|
|
280
|
+
UnknownError | MaterializeError | SyncError | InvalidPullError | IsOfflineError
|
|
281
|
+
>,
|
|
282
|
+
) =>
|
|
221
283
|
Effect.gen(function* () {
|
|
222
284
|
yield* Scope.close(lifetimeScope, exit).pipe(
|
|
223
285
|
Effect.logWarnIfTakesLongerThan({ label: '@livestore/livestore:shutdown', duration: 500 }),
|
|
@@ -242,6 +304,11 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
242
304
|
Fiber.join,
|
|
243
305
|
)
|
|
244
306
|
|
|
307
|
+
const syncPayloadEncoded =
|
|
308
|
+
syncPayload === undefined
|
|
309
|
+
? undefined
|
|
310
|
+
: yield* Schema.encode(resolvedSyncPayloadSchema)(syncPayload).pipe(UnknownError.mapToUnknownError)
|
|
311
|
+
|
|
245
312
|
const clientSession: ClientSession = yield* adapter({
|
|
246
313
|
schema,
|
|
247
314
|
storeId,
|
|
@@ -250,7 +317,8 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
250
317
|
shutdown,
|
|
251
318
|
connectDevtoolsToStore: connectDevtoolsToStore_,
|
|
252
319
|
debugInstanceId,
|
|
253
|
-
|
|
320
|
+
syncPayloadSchema: resolvedSyncPayloadSchema,
|
|
321
|
+
syncPayloadEncoded,
|
|
254
322
|
}).pipe(Effect.withPerformanceMeasure('livestore:makeAdapter'), Effect.withSpan('createStore:makeAdapter'))
|
|
255
323
|
|
|
256
324
|
if (LS_DEV && clientSession.leaderThread.initialState.migrationsReport.migrations.length > 0) {
|
|
@@ -280,19 +348,19 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
280
348
|
storeId,
|
|
281
349
|
params: {
|
|
282
350
|
leaderPushBatchSize: params?.leaderPushBatchSize ?? DEFAULT_PARAMS.leaderPushBatchSize,
|
|
283
|
-
simulation: params?.simulation,
|
|
351
|
+
...omitUndefineds({ simulation: params?.simulation }),
|
|
284
352
|
},
|
|
285
353
|
})
|
|
286
354
|
|
|
287
355
|
// Starts background fibers (syncing, event processing, etc) for store
|
|
288
|
-
yield* store.boot
|
|
356
|
+
yield* store[StoreInternalsSymbol].boot
|
|
289
357
|
|
|
290
358
|
if (boot !== undefined) {
|
|
291
359
|
// TODO also incorporate `boot` function progress into `bootStatusQueue`
|
|
292
360
|
yield* Effect.tryAll(() =>
|
|
293
361
|
boot(store, { migrationsReport: clientSession.leaderThread.initialState.migrationsReport, parentSpan: span }),
|
|
294
362
|
).pipe(
|
|
295
|
-
|
|
363
|
+
UnknownError.mapToUnknownError,
|
|
296
364
|
Effect.provide(Layer.succeed(LiveStoreContextRunning, { stage: 'running', store: store as any as Store })),
|
|
297
365
|
Effect.withSpan('createStore:boot'),
|
|
298
366
|
)
|
|
@@ -303,7 +371,7 @@ export const createStore = <TSchema extends LiveStoreSchema = LiveStoreSchema.An
|
|
|
303
371
|
|
|
304
372
|
if (batchUpdates !== undefined) {
|
|
305
373
|
// Replacing the default batchUpdates function with the provided one after boot
|
|
306
|
-
store.reactivityGraph.context!.effectsWrapper = batchUpdates
|
|
374
|
+
store[StoreInternalsSymbol].reactivityGraph.context!.effectsWrapper = batchUpdates
|
|
307
375
|
}
|
|
308
376
|
|
|
309
377
|
yield* Deferred.succeed(storeDeferred, store as any as Store)
|
|
@@ -322,7 +390,7 @@ const validateStoreId = (storeId: string) =>
|
|
|
322
390
|
const validChars = /^[a-zA-Z0-9_-]+$/
|
|
323
391
|
|
|
324
392
|
if (!validChars.test(storeId)) {
|
|
325
|
-
return yield*
|
|
393
|
+
return yield* UnknownError.make({
|
|
326
394
|
cause: `Invalid storeId: ${storeId}. Only alphanumeric characters, underscores, and hyphens are allowed.`,
|
|
327
395
|
payload: { storeId },
|
|
328
396
|
})
|
package/src/store/devtools.ts
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Devtools, liveStoreVersion,
|
|
1
|
+
import type { DebugInfo, SyncState } from '@livestore/common'
|
|
2
|
+
import { Devtools, liveStoreVersion, UnknownError } from '@livestore/common'
|
|
3
3
|
import { throttle } from '@livestore/utils'
|
|
4
4
|
import type { WebChannel } from '@livestore/utils/effect'
|
|
5
5
|
import { Effect, Stream } from '@livestore/utils/effect'
|
|
6
6
|
import { nanoid } from '@livestore/utils/nanoid'
|
|
7
7
|
|
|
8
|
-
import type { LiveQuery, ReactivityGraph } from '../live-queries/base-class.ts'
|
|
9
8
|
import { NOT_REFRESHED_YET } from '../reactive.ts'
|
|
10
|
-
import type { SqliteDbWrapper } from '../SqliteDbWrapper.ts'
|
|
11
9
|
import { emptyDebugInfo as makeEmptyDebugInfo } from '../SqliteDbWrapper.ts'
|
|
12
|
-
import type {
|
|
13
|
-
|
|
14
|
-
type IStore = {
|
|
15
|
-
clientSession: ClientSession
|
|
16
|
-
reactivityGraph: ReactivityGraph
|
|
17
|
-
sqliteDbWrapper: SqliteDbWrapper
|
|
18
|
-
activeQueries: ReferenceCountedSet<LiveQuery<any>>
|
|
19
|
-
syncProcessor: ClientSessionSyncProcessor
|
|
20
|
-
}
|
|
10
|
+
import type { Store } from './store.ts'
|
|
11
|
+
import { StoreInternalsSymbol } from './store-types.ts'
|
|
21
12
|
|
|
22
13
|
type Unsub = () => void
|
|
23
14
|
type RequestId = string
|
|
@@ -40,7 +31,7 @@ export const connectDevtoolsToStore = ({
|
|
|
40
31
|
Devtools.ClientSession.MessageToApp,
|
|
41
32
|
Devtools.ClientSession.MessageFromApp
|
|
42
33
|
>
|
|
43
|
-
store:
|
|
34
|
+
store: Store
|
|
44
35
|
}) =>
|
|
45
36
|
Effect.gen(function* () {
|
|
46
37
|
const reactivityGraphSubcriptions: SubMap = new Map()
|
|
@@ -48,7 +39,7 @@ export const connectDevtoolsToStore = ({
|
|
|
48
39
|
const debugInfoHistorySubscriptions: SubMap = new Map()
|
|
49
40
|
const syncHeadClientSessionSubscriptions: SubMap = new Map()
|
|
50
41
|
|
|
51
|
-
const { clientId, sessionId } = store.clientSession
|
|
42
|
+
const { clientId, sessionId } = store[StoreInternalsSymbol].clientSession
|
|
52
43
|
|
|
53
44
|
yield* Effect.addFinalizer(() =>
|
|
54
45
|
Effect.sync(() => {
|
|
@@ -73,7 +64,21 @@ export const connectDevtoolsToStore = ({
|
|
|
73
64
|
}
|
|
74
65
|
|
|
75
66
|
if (decodedMessage._tag === 'LSD.ClientSession.Disconnect') {
|
|
76
|
-
//
|
|
67
|
+
// Gracefully tear down all DevTools subscriptions and close the channel.
|
|
68
|
+
// This prevents background fibers from lingering after DevTools closes
|
|
69
|
+
// (e.g. when a window is closed without sending explicit unsubs).
|
|
70
|
+
for (const unsub of reactivityGraphSubcriptions.values()) unsub()
|
|
71
|
+
reactivityGraphSubcriptions.clear()
|
|
72
|
+
for (const unsub of liveQueriesSubscriptions.values()) unsub()
|
|
73
|
+
liveQueriesSubscriptions.clear()
|
|
74
|
+
for (const unsub of debugInfoHistorySubscriptions.values()) unsub()
|
|
75
|
+
debugInfoHistorySubscriptions.clear()
|
|
76
|
+
for (const unsub of syncHeadClientSessionSubscriptions.values()) unsub()
|
|
77
|
+
syncHeadClientSessionSubscriptions.clear()
|
|
78
|
+
|
|
79
|
+
// Signal the WebChannel to shut down; this causes the `listen` stream
|
|
80
|
+
// to complete and allows the surrounding scoped fiber to exit.
|
|
81
|
+
storeDevtoolsChannel.shutdown.pipe(Effect.runFork)
|
|
77
82
|
return
|
|
78
83
|
}
|
|
79
84
|
|
|
@@ -103,7 +108,7 @@ export const connectDevtoolsToStore = ({
|
|
|
103
108
|
() =>
|
|
104
109
|
sendToDevtools(
|
|
105
110
|
Devtools.ClientSession.ReactivityGraphRes.make({
|
|
106
|
-
reactivityGraph: store.reactivityGraph.getSnapshot({ includeResults }),
|
|
111
|
+
reactivityGraph: store[StoreInternalsSymbol].reactivityGraph.getSnapshot({ includeResults }),
|
|
107
112
|
requestId: nanoid(10),
|
|
108
113
|
clientId,
|
|
109
114
|
sessionId,
|
|
@@ -121,14 +126,17 @@ export const connectDevtoolsToStore = ({
|
|
|
121
126
|
// This might need to be tweaked further and possibly be exposed to the user in some way.
|
|
122
127
|
const throttledSend = throttle(send, 20)
|
|
123
128
|
|
|
124
|
-
reactivityGraphSubcriptions.set(
|
|
129
|
+
reactivityGraphSubcriptions.set(
|
|
130
|
+
subscriptionId,
|
|
131
|
+
store[StoreInternalsSymbol].reactivityGraph.subscribeToRefresh(throttledSend),
|
|
132
|
+
)
|
|
125
133
|
|
|
126
134
|
break
|
|
127
135
|
}
|
|
128
136
|
case 'LSD.ClientSession.DebugInfoReq': {
|
|
129
137
|
sendToDevtools(
|
|
130
138
|
Devtools.ClientSession.DebugInfoRes.make({
|
|
131
|
-
debugInfo: store.sqliteDbWrapper.debugInfo,
|
|
139
|
+
debugInfo: store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo,
|
|
132
140
|
requestId,
|
|
133
141
|
clientId,
|
|
134
142
|
sessionId,
|
|
@@ -144,13 +152,13 @@ export const connectDevtoolsToStore = ({
|
|
|
144
152
|
let tickHandle: number | undefined
|
|
145
153
|
|
|
146
154
|
const tick = () => {
|
|
147
|
-
buffer.push(store.sqliteDbWrapper.debugInfo)
|
|
155
|
+
buffer.push(store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo)
|
|
148
156
|
|
|
149
157
|
// NOTE this resets the debug info, so all other "readers" e.g. in other `requestAnimationFrame` loops,
|
|
150
158
|
// will get the empty debug info
|
|
151
159
|
// TODO We need to come up with a more graceful way to do store. Probably via a single global
|
|
152
160
|
// `requestAnimationFrame` loop that is passed in somehow.
|
|
153
|
-
store.sqliteDbWrapper.debugInfo = makeEmptyDebugInfo()
|
|
161
|
+
store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo = makeEmptyDebugInfo()
|
|
154
162
|
|
|
155
163
|
if (buffer.length > 10) {
|
|
156
164
|
sendToDevtools(
|
|
@@ -194,7 +202,7 @@ export const connectDevtoolsToStore = ({
|
|
|
194
202
|
break
|
|
195
203
|
}
|
|
196
204
|
case 'LSD.ClientSession.DebugInfoResetReq': {
|
|
197
|
-
store.sqliteDbWrapper.debugInfo.slowQueries.clear()
|
|
205
|
+
store[StoreInternalsSymbol].sqliteDbWrapper.debugInfo.slowQueries.clear()
|
|
198
206
|
sendToDevtools(
|
|
199
207
|
Devtools.ClientSession.DebugInfoResetRes.make({ requestId, clientId, sessionId, liveStoreVersion }),
|
|
200
208
|
)
|
|
@@ -202,7 +210,10 @@ export const connectDevtoolsToStore = ({
|
|
|
202
210
|
}
|
|
203
211
|
case 'LSD.ClientSession.DebugInfoRerunQueryReq': {
|
|
204
212
|
const { queryStr, bindValues, queriedTables } = decodedMessage
|
|
205
|
-
store.sqliteDbWrapper.cachedSelect(queryStr, bindValues, {
|
|
213
|
+
store[StoreInternalsSymbol].sqliteDbWrapper.cachedSelect(queryStr, bindValues, {
|
|
214
|
+
queriedTables,
|
|
215
|
+
skipCache: true,
|
|
216
|
+
})
|
|
206
217
|
sendToDevtools(
|
|
207
218
|
Devtools.ClientSession.DebugInfoRerunQueryRes.make({ requestId, clientId, sessionId, liveStoreVersion }),
|
|
208
219
|
)
|
|
@@ -223,7 +234,7 @@ export const connectDevtoolsToStore = ({
|
|
|
223
234
|
() =>
|
|
224
235
|
sendToDevtools(
|
|
225
236
|
Devtools.ClientSession.LiveQueriesRes.make({
|
|
226
|
-
liveQueries: [...store.activeQueries].map((q) => ({
|
|
237
|
+
liveQueries: [...store[StoreInternalsSymbol].activeQueries].map((q) => ({
|
|
227
238
|
_tag: q._tag,
|
|
228
239
|
id: q.id,
|
|
229
240
|
label: q.label,
|
|
@@ -251,7 +262,10 @@ export const connectDevtoolsToStore = ({
|
|
|
251
262
|
// Same as in the reactivity graph subscription case above, we need to throttle the updates
|
|
252
263
|
const throttledSend = throttle(send, 20)
|
|
253
264
|
|
|
254
|
-
liveQueriesSubscriptions.set(
|
|
265
|
+
liveQueriesSubscriptions.set(
|
|
266
|
+
subscriptionId,
|
|
267
|
+
store[StoreInternalsSymbol].reactivityGraph.subscribeToRefresh(throttledSend),
|
|
268
|
+
)
|
|
255
269
|
|
|
256
270
|
break
|
|
257
271
|
}
|
|
@@ -278,11 +292,11 @@ export const connectDevtoolsToStore = ({
|
|
|
278
292
|
}),
|
|
279
293
|
)
|
|
280
294
|
|
|
281
|
-
send(store.syncProcessor.syncState.pipe(Effect.runSync))
|
|
295
|
+
send(store[StoreInternalsSymbol].syncProcessor.syncState.pipe(Effect.runSync))
|
|
282
296
|
|
|
283
297
|
syncHeadClientSessionSubscriptions.set(
|
|
284
298
|
subscriptionId,
|
|
285
|
-
store.syncProcessor.syncState.changes.pipe(
|
|
299
|
+
store[StoreInternalsSymbol].syncProcessor.syncState.changes.pipe(
|
|
286
300
|
Stream.tap((syncState) => send(syncState)),
|
|
287
301
|
Stream.runDrain,
|
|
288
302
|
Effect.interruptible,
|
|
@@ -318,4 +332,4 @@ export const connectDevtoolsToStore = ({
|
|
|
318
332
|
Stream.runDrain,
|
|
319
333
|
Effect.withSpan('LSD.devtools.onMessage'),
|
|
320
334
|
)
|
|
321
|
-
}).pipe(
|
|
335
|
+
}).pipe(UnknownError.mapToUnknownError, Effect.withSpan('LSD.devtools.connectStoreToDevtools'))
|