tinybase 6.0.0-beta.2 → 6.0.0
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/@types/_internal/queries/with-schemas/index.d.cts +6 -6
- package/@types/_internal/queries/with-schemas/index.d.ts +6 -6
- package/@types/_internal/store/with-schemas/index.d.cts +1 -1
- package/@types/_internal/store/with-schemas/index.d.ts +1 -1
- package/@types/_internal/ui-react/with-schemas/index.d.cts +13 -13
- package/@types/_internal/ui-react/with-schemas/index.d.ts +13 -13
- package/@types/checkpoints/index.d.cts +0 -1
- package/@types/checkpoints/index.d.ts +0 -1
- package/@types/checkpoints/with-schemas/index.d.cts +0 -1
- package/@types/checkpoints/with-schemas/index.d.ts +0 -1
- package/@types/indexes/index.d.cts +1 -2
- package/@types/indexes/index.d.ts +1 -2
- package/@types/indexes/with-schemas/index.d.cts +6 -7
- package/@types/indexes/with-schemas/index.d.ts +6 -7
- package/@types/mergeable-store/index.d.cts +1 -2
- package/@types/mergeable-store/index.d.ts +1 -2
- package/@types/mergeable-store/with-schemas/index.d.cts +1 -2
- package/@types/mergeable-store/with-schemas/index.d.ts +1 -2
- package/@types/metrics/index.d.cts +1 -2
- package/@types/metrics/index.d.ts +1 -2
- package/@types/metrics/with-schemas/index.d.cts +1 -2
- package/@types/metrics/with-schemas/index.d.ts +1 -2
- package/@types/persisters/index.d.cts +22 -23
- package/@types/persisters/index.d.ts +22 -23
- package/@types/persisters/persister-automerge/index.d.cts +6 -7
- package/@types/persisters/persister-automerge/index.d.ts +6 -7
- package/@types/persisters/persister-automerge/with-schemas/index.d.cts +5 -6
- package/@types/persisters/persister-automerge/with-schemas/index.d.ts +5 -6
- package/@types/persisters/persister-browser/index.d.cts +5 -6
- package/@types/persisters/persister-browser/index.d.ts +5 -6
- package/@types/persisters/persister-browser/with-schemas/index.d.cts +5 -6
- package/@types/persisters/persister-browser/with-schemas/index.d.ts +5 -6
- package/@types/persisters/persister-cr-sqlite-wasm/index.d.cts +7 -8
- package/@types/persisters/persister-cr-sqlite-wasm/index.d.ts +7 -8
- package/@types/persisters/persister-cr-sqlite-wasm/with-schemas/index.d.cts +10 -11
- package/@types/persisters/persister-cr-sqlite-wasm/with-schemas/index.d.ts +10 -11
- package/@types/persisters/persister-durable-object-storage/index.d.cts +5 -6
- package/@types/persisters/persister-durable-object-storage/index.d.ts +5 -6
- package/@types/persisters/persister-durable-object-storage/with-schemas/index.d.cts +5 -6
- package/@types/persisters/persister-durable-object-storage/with-schemas/index.d.ts +5 -6
- package/@types/persisters/persister-electric-sql/index.d.cts +7 -8
- package/@types/persisters/persister-electric-sql/index.d.ts +7 -8
- package/@types/persisters/persister-electric-sql/with-schemas/index.d.cts +10 -11
- package/@types/persisters/persister-electric-sql/with-schemas/index.d.ts +10 -11
- package/@types/persisters/persister-expo-sqlite/index.d.cts +8 -9
- package/@types/persisters/persister-expo-sqlite/index.d.ts +8 -9
- package/@types/persisters/persister-expo-sqlite/with-schemas/index.d.cts +11 -12
- package/@types/persisters/persister-expo-sqlite/with-schemas/index.d.ts +11 -12
- package/@types/persisters/persister-file/index.d.cts +3 -4
- package/@types/persisters/persister-file/index.d.ts +3 -4
- package/@types/persisters/persister-file/with-schemas/index.d.cts +3 -4
- package/@types/persisters/persister-file/with-schemas/index.d.ts +3 -4
- package/@types/persisters/persister-indexed-db/index.d.cts +3 -4
- package/@types/persisters/persister-indexed-db/index.d.ts +3 -4
- package/@types/persisters/persister-indexed-db/with-schemas/index.d.cts +2 -3
- package/@types/persisters/persister-indexed-db/with-schemas/index.d.ts +2 -3
- package/@types/persisters/persister-libsql/index.d.cts +4 -5
- package/@types/persisters/persister-libsql/index.d.ts +4 -5
- package/@types/persisters/persister-libsql/with-schemas/index.d.cts +7 -8
- package/@types/persisters/persister-libsql/with-schemas/index.d.ts +7 -8
- package/@types/persisters/persister-partykit-client/index.d.cts +4 -5
- package/@types/persisters/persister-partykit-client/index.d.ts +4 -5
- package/@types/persisters/persister-partykit-client/with-schemas/index.d.cts +3 -4
- package/@types/persisters/persister-partykit-client/with-schemas/index.d.ts +3 -4
- package/@types/persisters/persister-partykit-server/index.d.cts +1 -2
- package/@types/persisters/persister-partykit-server/index.d.ts +1 -2
- package/@types/persisters/persister-partykit-server/with-schemas/index.d.cts +1 -2
- package/@types/persisters/persister-partykit-server/with-schemas/index.d.ts +1 -2
- package/@types/persisters/persister-pglite/index.d.cts +5 -6
- package/@types/persisters/persister-pglite/index.d.ts +5 -6
- package/@types/persisters/persister-pglite/with-schemas/index.d.cts +8 -9
- package/@types/persisters/persister-pglite/with-schemas/index.d.ts +8 -9
- package/@types/persisters/persister-postgres/index.d.cts +8 -9
- package/@types/persisters/persister-postgres/index.d.ts +8 -9
- package/@types/persisters/persister-postgres/with-schemas/index.d.cts +11 -12
- package/@types/persisters/persister-postgres/with-schemas/index.d.ts +11 -12
- package/@types/persisters/persister-powersync/index.d.cts +7 -8
- package/@types/persisters/persister-powersync/index.d.ts +7 -8
- package/@types/persisters/persister-powersync/with-schemas/index.d.cts +10 -11
- package/@types/persisters/persister-powersync/with-schemas/index.d.ts +10 -11
- package/@types/persisters/persister-remote/index.d.cts +3 -4
- package/@types/persisters/persister-remote/index.d.ts +3 -4
- package/@types/persisters/persister-remote/with-schemas/index.d.cts +2 -3
- package/@types/persisters/persister-remote/with-schemas/index.d.ts +2 -3
- package/@types/persisters/persister-sqlite-wasm/index.d.cts +7 -8
- package/@types/persisters/persister-sqlite-wasm/index.d.ts +7 -8
- package/@types/persisters/persister-sqlite-wasm/with-schemas/index.d.cts +11 -12
- package/@types/persisters/persister-sqlite-wasm/with-schemas/index.d.ts +11 -12
- package/@types/persisters/persister-sqlite3/index.d.cts +5 -6
- package/@types/persisters/persister-sqlite3/index.d.ts +5 -6
- package/@types/persisters/persister-sqlite3/with-schemas/index.d.cts +8 -9
- package/@types/persisters/persister-sqlite3/with-schemas/index.d.ts +8 -9
- package/@types/persisters/persister-yjs/index.d.cts +4 -5
- package/@types/persisters/persister-yjs/index.d.ts +4 -5
- package/@types/persisters/persister-yjs/with-schemas/index.d.cts +3 -4
- package/@types/persisters/persister-yjs/with-schemas/index.d.ts +3 -4
- package/@types/persisters/with-schemas/index.d.cts +26 -27
- package/@types/persisters/with-schemas/index.d.ts +26 -27
- package/@types/queries/index.d.cts +1 -2
- package/@types/queries/index.d.ts +1 -2
- package/@types/queries/with-schemas/index.d.cts +10 -11
- package/@types/queries/with-schemas/index.d.ts +10 -11
- package/@types/relationships/index.d.cts +25 -2
- package/@types/relationships/index.d.ts +25 -2
- package/@types/relationships/with-schemas/index.d.cts +25 -2
- package/@types/relationships/with-schemas/index.d.ts +25 -2
- package/@types/store/index.d.cts +1 -2
- package/@types/store/index.d.ts +1 -2
- package/@types/store/with-schemas/index.d.cts +0 -1
- package/@types/store/with-schemas/index.d.ts +0 -1
- package/@types/synchronizers/index.d.cts +6 -7
- package/@types/synchronizers/index.d.ts +6 -7
- package/@types/synchronizers/synchronizer-broadcast-channel/index.d.cts +3 -4
- package/@types/synchronizers/synchronizer-broadcast-channel/index.d.ts +3 -4
- package/@types/synchronizers/synchronizer-broadcast-channel/with-schemas/index.d.cts +3 -4
- package/@types/synchronizers/synchronizer-broadcast-channel/with-schemas/index.d.ts +3 -4
- package/@types/synchronizers/synchronizer-local/index.d.cts +2 -3
- package/@types/synchronizers/synchronizer-local/index.d.ts +2 -3
- package/@types/synchronizers/synchronizer-local/with-schemas/index.d.cts +2 -3
- package/@types/synchronizers/synchronizer-local/with-schemas/index.d.ts +2 -3
- package/@types/synchronizers/synchronizer-ws-client/index.d.cts +5 -6
- package/@types/synchronizers/synchronizer-ws-client/index.d.ts +5 -6
- package/@types/synchronizers/synchronizer-ws-client/with-schemas/index.d.cts +5 -6
- package/@types/synchronizers/synchronizer-ws-client/with-schemas/index.d.ts +5 -6
- package/@types/synchronizers/synchronizer-ws-server/index.d.cts +29 -30
- package/@types/synchronizers/synchronizer-ws-server/index.d.ts +29 -30
- package/@types/synchronizers/synchronizer-ws-server/with-schemas/index.d.cts +33 -34
- package/@types/synchronizers/synchronizer-ws-server/with-schemas/index.d.ts +33 -34
- package/@types/synchronizers/synchronizer-ws-server-durable-object/index.d.cts +4 -5
- package/@types/synchronizers/synchronizer-ws-server-durable-object/index.d.ts +4 -5
- package/@types/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.d.cts +8 -9
- package/@types/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.d.ts +8 -9
- package/@types/synchronizers/synchronizer-ws-server-simple/index.d.cts +4 -5
- package/@types/synchronizers/synchronizer-ws-server-simple/index.d.ts +4 -5
- package/@types/synchronizers/synchronizer-ws-server-simple/with-schemas/index.d.cts +4 -5
- package/@types/synchronizers/synchronizer-ws-server-simple/with-schemas/index.d.ts +4 -5
- package/@types/synchronizers/with-schemas/index.d.cts +10 -11
- package/@types/synchronizers/with-schemas/index.d.ts +10 -11
- package/@types/ui-react/index.d.cts +489 -490
- package/@types/ui-react/index.d.ts +489 -490
- package/@types/ui-react/with-schemas/index.d.cts +494 -495
- package/@types/ui-react/with-schemas/index.d.ts +494 -495
- package/@types/ui-react-dom/index.d.cts +39 -40
- package/@types/ui-react-dom/index.d.ts +39 -40
- package/@types/ui-react-dom/with-schemas/index.d.cts +39 -40
- package/@types/ui-react-dom/with-schemas/index.d.ts +39 -40
- package/@types/ui-react-inspector/index.d.cts +2 -3
- package/@types/ui-react-inspector/index.d.ts +2 -3
- package/@types/ui-react-inspector/with-schemas/index.d.cts +41 -42
- package/@types/ui-react-inspector/with-schemas/index.d.ts +41 -42
- package/checkpoints/index.js +9 -9
- package/checkpoints/with-schemas/index.js +9 -9
- package/index.js +110 -110
- package/indexes/index.js +3 -3
- package/indexes/with-schemas/index.js +3 -3
- package/mergeable-store/index.js +150 -150
- package/mergeable-store/with-schemas/index.js +150 -150
- package/metrics/index.js +3 -3
- package/metrics/with-schemas/index.js +3 -3
- package/min/checkpoints/index.js +1 -1
- package/min/checkpoints/index.js.gz +0 -0
- package/min/checkpoints/with-schemas/index.js +1 -1
- package/min/checkpoints/with-schemas/index.js.gz +0 -0
- package/min/index.js +1 -1
- package/min/index.js.gz +0 -0
- package/min/indexes/index.js +1 -1
- package/min/indexes/index.js.gz +0 -0
- package/min/indexes/with-schemas/index.js +1 -1
- package/min/indexes/with-schemas/index.js.gz +0 -0
- package/min/mergeable-store/index.js +1 -1
- package/min/mergeable-store/index.js.gz +0 -0
- package/min/mergeable-store/with-schemas/index.js +1 -1
- package/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/min/metrics/index.js +1 -1
- package/min/metrics/index.js.gz +0 -0
- package/min/metrics/with-schemas/index.js +1 -1
- package/min/metrics/with-schemas/index.js.gz +0 -0
- package/min/persisters/index.js +1 -1
- package/min/persisters/index.js.gz +0 -0
- package/min/persisters/persister-automerge/index.js +1 -1
- package/min/persisters/persister-automerge/index.js.gz +0 -0
- package/min/persisters/persister-automerge/with-schemas/index.js +1 -1
- package/min/persisters/persister-automerge/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-browser/index.js +1 -1
- package/min/persisters/persister-browser/index.js.gz +0 -0
- package/min/persisters/persister-browser/with-schemas/index.js +1 -1
- package/min/persisters/persister-browser/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-cr-sqlite-wasm/index.js +1 -1
- package/min/persisters/persister-cr-sqlite-wasm/index.js.gz +0 -0
- package/min/persisters/persister-cr-sqlite-wasm/with-schemas/index.js +1 -1
- package/min/persisters/persister-cr-sqlite-wasm/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-durable-object-storage/index.js +1 -1
- package/min/persisters/persister-durable-object-storage/index.js.gz +0 -0
- package/min/persisters/persister-durable-object-storage/with-schemas/index.js +1 -1
- package/min/persisters/persister-durable-object-storage/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-electric-sql/index.js +1 -1
- package/min/persisters/persister-electric-sql/index.js.gz +0 -0
- package/min/persisters/persister-electric-sql/with-schemas/index.js +1 -1
- package/min/persisters/persister-electric-sql/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-expo-sqlite/index.js +1 -1
- package/min/persisters/persister-expo-sqlite/index.js.gz +0 -0
- package/min/persisters/persister-expo-sqlite/with-schemas/index.js +1 -1
- package/min/persisters/persister-expo-sqlite/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-file/index.js +1 -1
- package/min/persisters/persister-file/index.js.gz +0 -0
- package/min/persisters/persister-file/with-schemas/index.js +1 -1
- package/min/persisters/persister-file/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-indexed-db/index.js +1 -1
- package/min/persisters/persister-indexed-db/index.js.gz +0 -0
- package/min/persisters/persister-indexed-db/with-schemas/index.js +1 -1
- package/min/persisters/persister-indexed-db/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-libsql/index.js +1 -1
- package/min/persisters/persister-libsql/index.js.gz +0 -0
- package/min/persisters/persister-libsql/with-schemas/index.js +1 -1
- package/min/persisters/persister-libsql/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-partykit-client/index.js +1 -1
- package/min/persisters/persister-partykit-client/index.js.gz +0 -0
- package/min/persisters/persister-partykit-client/with-schemas/index.js +1 -1
- package/min/persisters/persister-partykit-client/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-partykit-server/index.js +1 -1
- package/min/persisters/persister-partykit-server/index.js.gz +0 -0
- package/min/persisters/persister-partykit-server/with-schemas/index.js +1 -1
- package/min/persisters/persister-partykit-server/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-pglite/index.js +1 -1
- package/min/persisters/persister-pglite/index.js.gz +0 -0
- package/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-postgres/index.js +1 -1
- package/min/persisters/persister-postgres/index.js.gz +0 -0
- package/min/persisters/persister-postgres/with-schemas/index.js +1 -1
- package/min/persisters/persister-postgres/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-powersync/index.js +1 -1
- package/min/persisters/persister-powersync/index.js.gz +0 -0
- package/min/persisters/persister-powersync/with-schemas/index.js +1 -1
- package/min/persisters/persister-powersync/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-remote/index.js +1 -1
- package/min/persisters/persister-remote/index.js.gz +0 -0
- package/min/persisters/persister-remote/with-schemas/index.js +1 -1
- package/min/persisters/persister-remote/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-sqlite-wasm/index.js +1 -1
- package/min/persisters/persister-sqlite-wasm/index.js.gz +0 -0
- package/min/persisters/persister-sqlite-wasm/with-schemas/index.js +1 -1
- package/min/persisters/persister-sqlite-wasm/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-sqlite3/index.js +1 -1
- package/min/persisters/persister-sqlite3/index.js.gz +0 -0
- package/min/persisters/persister-sqlite3/with-schemas/index.js +1 -1
- package/min/persisters/persister-sqlite3/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-yjs/index.js +1 -1
- package/min/persisters/persister-yjs/index.js.gz +0 -0
- package/min/persisters/persister-yjs/with-schemas/index.js +1 -1
- package/min/persisters/persister-yjs/with-schemas/index.js.gz +0 -0
- package/min/persisters/with-schemas/index.js +1 -1
- package/min/persisters/with-schemas/index.js.gz +0 -0
- package/min/queries/index.js +1 -1
- package/min/queries/index.js.gz +0 -0
- package/min/queries/with-schemas/index.js +1 -1
- package/min/queries/with-schemas/index.js.gz +0 -0
- package/min/relationships/index.js +1 -1
- package/min/relationships/index.js.gz +0 -0
- package/min/relationships/with-schemas/index.js +1 -1
- package/min/relationships/with-schemas/index.js.gz +0 -0
- package/min/store/index.js +1 -1
- package/min/store/index.js.gz +0 -0
- package/min/store/with-schemas/index.js +1 -1
- package/min/store/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/index.js +1 -1
- package/min/synchronizers/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/index.js +1 -1
- package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server-durable-object/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server-durable-object/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server-simple/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server-simple/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server-simple/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server-simple/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/with-schemas/index.js +1 -1
- package/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/min/ui-react/index.js +1 -1
- package/min/ui-react/index.js.gz +0 -0
- package/min/ui-react/with-schemas/index.js +1 -1
- package/min/ui-react/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom/index.js +1 -1
- package/min/ui-react-dom/index.js.gz +0 -0
- package/min/ui-react-dom/with-schemas/index.js +1 -1
- package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-react-inspector/index.js +1 -1
- package/min/ui-react-inspector/index.js.gz +0 -0
- package/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/min/with-schemas/index.js +1 -1
- package/min/with-schemas/index.js.gz +0 -0
- package/package.json +6 -6
- package/persisters/index.js +120 -120
- package/persisters/persister-automerge/index.js +8 -8
- package/persisters/persister-automerge/with-schemas/index.js +8 -8
- package/persisters/persister-browser/index.js +8 -8
- package/persisters/persister-browser/with-schemas/index.js +8 -8
- package/persisters/persister-cr-sqlite-wasm/index.js +119 -119
- package/persisters/persister-cr-sqlite-wasm/with-schemas/index.js +119 -119
- package/persisters/persister-durable-object-storage/index.js +12 -12
- package/persisters/persister-durable-object-storage/with-schemas/index.js +12 -12
- package/persisters/persister-electric-sql/index.js +119 -119
- package/persisters/persister-electric-sql/with-schemas/index.js +119 -119
- package/persisters/persister-expo-sqlite/index.js +119 -119
- package/persisters/persister-expo-sqlite/with-schemas/index.js +119 -119
- package/persisters/persister-file/index.js +10 -10
- package/persisters/persister-file/with-schemas/index.js +10 -10
- package/persisters/persister-indexed-db/index.js +8 -8
- package/persisters/persister-indexed-db/with-schemas/index.js +8 -8
- package/persisters/persister-libsql/index.js +119 -119
- package/persisters/persister-libsql/with-schemas/index.js +119 -119
- package/persisters/persister-partykit-client/index.js +23 -23
- package/persisters/persister-partykit-client/with-schemas/index.js +23 -23
- package/persisters/persister-partykit-server/index.js +13 -9
- package/persisters/persister-partykit-server/with-schemas/index.js +13 -9
- package/persisters/persister-pglite/index.js +128 -128
- package/persisters/persister-pglite/with-schemas/index.js +128 -128
- package/persisters/persister-postgres/index.js +128 -128
- package/persisters/persister-postgres/with-schemas/index.js +128 -128
- package/persisters/persister-powersync/index.js +119 -119
- package/persisters/persister-powersync/with-schemas/index.js +119 -119
- package/persisters/persister-remote/index.js +8 -8
- package/persisters/persister-remote/with-schemas/index.js +8 -8
- package/persisters/persister-sqlite-wasm/index.js +119 -119
- package/persisters/persister-sqlite-wasm/with-schemas/index.js +119 -119
- package/persisters/persister-sqlite3/index.js +119 -119
- package/persisters/persister-sqlite3/with-schemas/index.js +119 -119
- package/persisters/persister-yjs/index.js +14 -14
- package/persisters/persister-yjs/with-schemas/index.js +14 -14
- package/persisters/with-schemas/index.js +120 -120
- package/queries/index.js +16 -16
- package/queries/with-schemas/index.js +16 -16
- package/readme.md +13 -32
- package/relationships/index.js +3 -3
- package/relationships/with-schemas/index.js +3 -3
- package/releases.md +35 -34
- package/store/index.js +43 -43
- package/store/with-schemas/index.js +43 -43
- package/synchronizers/index.js +31 -31
- package/synchronizers/synchronizer-broadcast-channel/index.js +31 -31
- package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +31 -31
- package/synchronizers/synchronizer-local/index.js +31 -31
- package/synchronizers/synchronizer-local/with-schemas/index.js +31 -31
- package/synchronizers/synchronizer-ws-client/index.js +25 -25
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +25 -25
- package/synchronizers/synchronizer-ws-server/index.js +65 -65
- package/synchronizers/synchronizer-ws-server/with-schemas/index.js +65 -65
- package/synchronizers/synchronizer-ws-server-durable-object/index.js +25 -25
- package/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +25 -25
- package/synchronizers/synchronizer-ws-server-simple/index.js +3 -3
- package/synchronizers/synchronizer-ws-server-simple/with-schemas/index.js +3 -3
- package/synchronizers/with-schemas/index.js +31 -31
- package/ui-react/index.js +31 -34
- package/ui-react/with-schemas/index.js +31 -34
- package/ui-react-dom/index.js +24 -24
- package/ui-react-dom/with-schemas/index.js +24 -24
- package/ui-react-inspector/index.js +3066 -3067
- package/ui-react-inspector/with-schemas/index.js +3066 -3067
- package/with-schemas/index.js +110 -110
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @module ui-react-dom
|
|
11
11
|
* @since v4.1.0
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
import type {Id, Ids} from '../common/index.d.cts';
|
|
14
14
|
import type {
|
|
15
15
|
CellProps,
|
|
16
16
|
ComponentReturnType,
|
|
@@ -22,7 +22,6 @@ import type {
|
|
|
22
22
|
StoreOrStoreId,
|
|
23
23
|
ValueProps,
|
|
24
24
|
} from '../ui-react/index.d.cts';
|
|
25
|
-
import type {Id, Ids} from '../common/index.d.cts';
|
|
26
25
|
import type {ComponentType} from 'react';
|
|
27
26
|
|
|
28
27
|
/**
|
|
@@ -584,11 +583,11 @@ export type SortedTablePaginatorProps = {
|
|
|
584
583
|
* a <table> element with a CSS class.
|
|
585
584
|
*
|
|
586
585
|
* ```jsx
|
|
587
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
588
586
|
* import React from 'react';
|
|
589
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
590
587
|
* import {createRoot} from 'react-dom/client';
|
|
591
588
|
* import {createStore} from 'tinybase';
|
|
589
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
590
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
592
591
|
*
|
|
593
592
|
* const App = ({store}) => (
|
|
594
593
|
* <Provider store={store}>
|
|
@@ -634,11 +633,11 @@ export type SortedTablePaginatorProps = {
|
|
|
634
633
|
* row is removed.
|
|
635
634
|
*
|
|
636
635
|
* ```jsx
|
|
637
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
638
636
|
* import React from 'react';
|
|
639
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
640
637
|
* import {createRoot} from 'react-dom/client';
|
|
641
638
|
* import {createStore} from 'tinybase';
|
|
639
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
640
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
642
641
|
*
|
|
643
642
|
* const App = ({store}) => (
|
|
644
643
|
* <Provider store={store}>
|
|
@@ -742,11 +741,11 @@ export function TableInHtmlTable(
|
|
|
742
741
|
* Table in a <table> element with a CSS class.
|
|
743
742
|
*
|
|
744
743
|
* ```jsx
|
|
745
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
746
744
|
* import React from 'react';
|
|
747
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
748
745
|
* import {createRoot} from 'react-dom/client';
|
|
749
746
|
* import {createStore} from 'tinybase';
|
|
747
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
748
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
750
749
|
*
|
|
751
750
|
* const App = ({store}) => (
|
|
752
751
|
* <Provider store={store}>
|
|
@@ -800,11 +799,11 @@ export function TableInHtmlTable(
|
|
|
800
799
|
* of each row is removed.
|
|
801
800
|
*
|
|
802
801
|
* ```jsx
|
|
803
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
804
802
|
* import React from 'react';
|
|
805
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
806
803
|
* import {createRoot} from 'react-dom/client';
|
|
807
804
|
* import {createStore} from 'tinybase';
|
|
805
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
806
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
808
807
|
*
|
|
809
808
|
* const App = ({store}) => (
|
|
810
809
|
* <Provider store={store}>
|
|
@@ -898,11 +897,11 @@ export function SortedTableInHtmlTable(
|
|
|
898
897
|
* in a <table> element with a CSS class.
|
|
899
898
|
*
|
|
900
899
|
* ```jsx
|
|
901
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
902
900
|
* import React from 'react';
|
|
903
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
904
901
|
* import {createRoot} from 'react-dom/client';
|
|
905
902
|
* import {createStore} from 'tinybase';
|
|
903
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
904
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
906
905
|
*
|
|
907
906
|
* const App = ({store}) => (
|
|
908
907
|
* <Provider store={store}>
|
|
@@ -944,11 +943,11 @@ export function SortedTableInHtmlTable(
|
|
|
944
943
|
* the top of the table and the Id column at the start of each row is removed.
|
|
945
944
|
*
|
|
946
945
|
* ```jsx
|
|
947
|
-
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
948
946
|
* import React from 'react';
|
|
949
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
950
947
|
* import {createRoot} from 'react-dom/client';
|
|
951
948
|
* import {createStore} from 'tinybase';
|
|
949
|
+
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
950
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
952
951
|
*
|
|
953
952
|
* const App = ({store}) => (
|
|
954
953
|
* <Provider store={store}>
|
|
@@ -1025,11 +1024,11 @@ export function ValuesInHtmlTable(
|
|
|
1025
1024
|
* in a <table> element with a CSS class.
|
|
1026
1025
|
*
|
|
1027
1026
|
* ```jsx
|
|
1027
|
+
* import React from 'react';
|
|
1028
|
+
* import {createRoot} from 'react-dom/client';
|
|
1028
1029
|
* import {createIndexes, createStore} from 'tinybase';
|
|
1029
1030
|
* import {Provider} from 'tinybase/ui-react';
|
|
1030
|
-
* import React from 'react';
|
|
1031
1031
|
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1032
|
-
* import {createRoot} from 'react-dom/client';
|
|
1033
1032
|
*
|
|
1034
1033
|
* const App = ({indexes}) => (
|
|
1035
1034
|
* <Provider indexes={indexes}>
|
|
@@ -1081,11 +1080,11 @@ export function ValuesInHtmlTable(
|
|
|
1081
1080
|
* row is removed.
|
|
1082
1081
|
*
|
|
1083
1082
|
* ```jsx
|
|
1084
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1085
|
-
* import {createIndexes, createStore} from 'tinybase';
|
|
1086
1083
|
* import React from 'react';
|
|
1087
|
-
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1088
1084
|
* import {createRoot} from 'react-dom/client';
|
|
1085
|
+
* import {createIndexes, createStore} from 'tinybase';
|
|
1086
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1087
|
+
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1089
1088
|
*
|
|
1090
1089
|
* const App = ({indexes}) => (
|
|
1091
1090
|
* <Provider indexes={indexes}>
|
|
@@ -1188,11 +1187,11 @@ export function SliceInHtmlTable(
|
|
|
1188
1187
|
* CSS class. Note the dotted pairs that are used as column headings.
|
|
1189
1188
|
*
|
|
1190
1189
|
* ```jsx
|
|
1190
|
+
* import React from 'react';
|
|
1191
|
+
* import {createRoot} from 'react-dom/client';
|
|
1191
1192
|
* import {createRelationships, createStore} from 'tinybase';
|
|
1192
1193
|
* import {Provider} from 'tinybase/ui-react';
|
|
1193
|
-
* import React from 'react';
|
|
1194
1194
|
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1195
|
-
* import {createRoot} from 'react-dom/client';
|
|
1196
1195
|
*
|
|
1197
1196
|
* const App = ({relationships}) => (
|
|
1198
1197
|
* <Provider relationships={relationships}>
|
|
@@ -1252,11 +1251,11 @@ export function SliceInHtmlTable(
|
|
|
1252
1251
|
* the table and the Id column at the start of each row is removed.
|
|
1253
1252
|
*
|
|
1254
1253
|
* ```jsx
|
|
1255
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1256
|
-
* import {createRelationships, createStore} from 'tinybase';
|
|
1257
1254
|
* import React from 'react';
|
|
1258
|
-
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1259
1255
|
* import {createRoot} from 'react-dom/client';
|
|
1256
|
+
* import {createRelationships, createStore} from 'tinybase';
|
|
1257
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1258
|
+
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1260
1259
|
*
|
|
1261
1260
|
* const App = ({relationships}) => (
|
|
1262
1261
|
* <Provider relationships={relationships}>
|
|
@@ -1352,11 +1351,11 @@ export function RelationshipInHtmlTable(
|
|
|
1352
1351
|
* ResultTable in a <table> element with a CSS class.
|
|
1353
1352
|
*
|
|
1354
1353
|
* ```jsx
|
|
1354
|
+
* import React from 'react';
|
|
1355
|
+
* import {createRoot} from 'react-dom/client';
|
|
1355
1356
|
* import {createQueries, createStore} from 'tinybase';
|
|
1356
1357
|
* import {Provider} from 'tinybase/ui-react';
|
|
1357
|
-
* import React from 'react';
|
|
1358
1358
|
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1359
|
-
* import {createRoot} from 'react-dom/client';
|
|
1360
1359
|
*
|
|
1361
1360
|
* const App = ({queries}) => (
|
|
1362
1361
|
* <Provider queries={queries}>
|
|
@@ -1406,11 +1405,11 @@ export function RelationshipInHtmlTable(
|
|
|
1406
1405
|
* the start of each row is removed.
|
|
1407
1406
|
*
|
|
1408
1407
|
* ```jsx
|
|
1409
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1410
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1411
1408
|
* import React from 'react';
|
|
1412
|
-
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1413
1409
|
* import {createRoot} from 'react-dom/client';
|
|
1410
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1411
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1412
|
+
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1414
1413
|
*
|
|
1415
1414
|
* const App = ({queries}) => (
|
|
1416
1415
|
* <Provider queries={queries}>
|
|
@@ -1518,11 +1517,11 @@ export function ResultTableInHtmlTable(
|
|
|
1518
1517
|
* renders the ResultTable in a <table> element with a CSS class.
|
|
1519
1518
|
*
|
|
1520
1519
|
* ```jsx
|
|
1520
|
+
* import React from 'react';
|
|
1521
|
+
* import {createRoot} from 'react-dom/client';
|
|
1521
1522
|
* import {createQueries, createStore} from 'tinybase';
|
|
1522
1523
|
* import {Provider} from 'tinybase/ui-react';
|
|
1523
|
-
* import React from 'react';
|
|
1524
1524
|
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1525
|
-
* import {createRoot} from 'react-dom/client';
|
|
1526
1525
|
*
|
|
1527
1526
|
* const App = ({queries}) => (
|
|
1528
1527
|
* <Provider queries={queries}>
|
|
@@ -1576,11 +1575,11 @@ export function ResultTableInHtmlTable(
|
|
|
1576
1575
|
* column at the start of each row is removed.
|
|
1577
1576
|
*
|
|
1578
1577
|
* ```jsx
|
|
1579
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1580
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1581
1578
|
* import React from 'react';
|
|
1582
|
-
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1583
1579
|
* import {createRoot} from 'react-dom/client';
|
|
1580
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1581
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1582
|
+
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1584
1583
|
*
|
|
1585
1584
|
* const App = ({queries}) => (
|
|
1586
1585
|
* <Provider queries={queries}>
|
|
@@ -1674,11 +1673,11 @@ export function ResultSortedTableInHtmlTable(
|
|
|
1674
1673
|
* Cell.
|
|
1675
1674
|
*
|
|
1676
1675
|
* ```jsx
|
|
1677
|
-
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1678
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1679
1676
|
* import React from 'react';
|
|
1680
1677
|
* import {createRoot} from 'react-dom/client';
|
|
1681
1678
|
* import {createStore} from 'tinybase';
|
|
1679
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1680
|
+
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1682
1681
|
*
|
|
1683
1682
|
* const App = ({store}) => (
|
|
1684
1683
|
* <Provider store={store}>
|
|
@@ -1741,11 +1740,11 @@ export function EditableCellView(
|
|
|
1741
1740
|
* Value.
|
|
1742
1741
|
*
|
|
1743
1742
|
* ```jsx
|
|
1744
|
-
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1745
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1746
1743
|
* import React from 'react';
|
|
1747
1744
|
* import {createRoot} from 'react-dom/client';
|
|
1748
1745
|
* import {createStore} from 'tinybase';
|
|
1746
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1747
|
+
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1749
1748
|
*
|
|
1750
1749
|
* const App = ({store}) => (
|
|
1751
1750
|
* <Provider store={store}>
|
|
@@ -1796,11 +1795,11 @@ export function EditableValueView(
|
|
|
1796
1795
|
* Table in a <table> element with a SortedTablePaginator (the default).
|
|
1797
1796
|
*
|
|
1798
1797
|
* ```jsx
|
|
1799
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1800
1798
|
* import React from 'react';
|
|
1801
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1802
1799
|
* import {createRoot} from 'react-dom/client';
|
|
1803
1800
|
* import {createStore} from 'tinybase';
|
|
1801
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1802
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1804
1803
|
*
|
|
1805
1804
|
* const App = ({store}) => (
|
|
1806
1805
|
* <Provider store={store}>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @module ui-react-dom
|
|
11
11
|
* @since v4.1.0
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
import type {Id, Ids} from '../common/index.d.ts';
|
|
14
14
|
import type {
|
|
15
15
|
CellProps,
|
|
16
16
|
ComponentReturnType,
|
|
@@ -22,7 +22,6 @@ import type {
|
|
|
22
22
|
StoreOrStoreId,
|
|
23
23
|
ValueProps,
|
|
24
24
|
} from '../ui-react/index.d.ts';
|
|
25
|
-
import type {Id, Ids} from '../common/index.d.ts';
|
|
26
25
|
import type {ComponentType} from 'react';
|
|
27
26
|
|
|
28
27
|
/**
|
|
@@ -584,11 +583,11 @@ export type SortedTablePaginatorProps = {
|
|
|
584
583
|
* a <table> element with a CSS class.
|
|
585
584
|
*
|
|
586
585
|
* ```jsx
|
|
587
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
588
586
|
* import React from 'react';
|
|
589
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
590
587
|
* import {createRoot} from 'react-dom/client';
|
|
591
588
|
* import {createStore} from 'tinybase';
|
|
589
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
590
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
592
591
|
*
|
|
593
592
|
* const App = ({store}) => (
|
|
594
593
|
* <Provider store={store}>
|
|
@@ -634,11 +633,11 @@ export type SortedTablePaginatorProps = {
|
|
|
634
633
|
* row is removed.
|
|
635
634
|
*
|
|
636
635
|
* ```jsx
|
|
637
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
638
636
|
* import React from 'react';
|
|
639
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
640
637
|
* import {createRoot} from 'react-dom/client';
|
|
641
638
|
* import {createStore} from 'tinybase';
|
|
639
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
640
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
642
641
|
*
|
|
643
642
|
* const App = ({store}) => (
|
|
644
643
|
* <Provider store={store}>
|
|
@@ -742,11 +741,11 @@ export function TableInHtmlTable(
|
|
|
742
741
|
* Table in a <table> element with a CSS class.
|
|
743
742
|
*
|
|
744
743
|
* ```jsx
|
|
745
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
746
744
|
* import React from 'react';
|
|
747
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
748
745
|
* import {createRoot} from 'react-dom/client';
|
|
749
746
|
* import {createStore} from 'tinybase';
|
|
747
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
748
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
750
749
|
*
|
|
751
750
|
* const App = ({store}) => (
|
|
752
751
|
* <Provider store={store}>
|
|
@@ -800,11 +799,11 @@ export function TableInHtmlTable(
|
|
|
800
799
|
* of each row is removed.
|
|
801
800
|
*
|
|
802
801
|
* ```jsx
|
|
803
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
804
802
|
* import React from 'react';
|
|
805
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
806
803
|
* import {createRoot} from 'react-dom/client';
|
|
807
804
|
* import {createStore} from 'tinybase';
|
|
805
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
806
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
808
807
|
*
|
|
809
808
|
* const App = ({store}) => (
|
|
810
809
|
* <Provider store={store}>
|
|
@@ -898,11 +897,11 @@ export function SortedTableInHtmlTable(
|
|
|
898
897
|
* in a <table> element with a CSS class.
|
|
899
898
|
*
|
|
900
899
|
* ```jsx
|
|
901
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
902
900
|
* import React from 'react';
|
|
903
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
904
901
|
* import {createRoot} from 'react-dom/client';
|
|
905
902
|
* import {createStore} from 'tinybase';
|
|
903
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
904
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
906
905
|
*
|
|
907
906
|
* const App = ({store}) => (
|
|
908
907
|
* <Provider store={store}>
|
|
@@ -944,11 +943,11 @@ export function SortedTableInHtmlTable(
|
|
|
944
943
|
* the top of the table and the Id column at the start of each row is removed.
|
|
945
944
|
*
|
|
946
945
|
* ```jsx
|
|
947
|
-
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
948
946
|
* import React from 'react';
|
|
949
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
950
947
|
* import {createRoot} from 'react-dom/client';
|
|
951
948
|
* import {createStore} from 'tinybase';
|
|
949
|
+
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
950
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
952
951
|
*
|
|
953
952
|
* const App = ({store}) => (
|
|
954
953
|
* <Provider store={store}>
|
|
@@ -1025,11 +1024,11 @@ export function ValuesInHtmlTable(
|
|
|
1025
1024
|
* in a <table> element with a CSS class.
|
|
1026
1025
|
*
|
|
1027
1026
|
* ```jsx
|
|
1027
|
+
* import React from 'react';
|
|
1028
|
+
* import {createRoot} from 'react-dom/client';
|
|
1028
1029
|
* import {createIndexes, createStore} from 'tinybase';
|
|
1029
1030
|
* import {Provider} from 'tinybase/ui-react';
|
|
1030
|
-
* import React from 'react';
|
|
1031
1031
|
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1032
|
-
* import {createRoot} from 'react-dom/client';
|
|
1033
1032
|
*
|
|
1034
1033
|
* const App = ({indexes}) => (
|
|
1035
1034
|
* <Provider indexes={indexes}>
|
|
@@ -1081,11 +1080,11 @@ export function ValuesInHtmlTable(
|
|
|
1081
1080
|
* row is removed.
|
|
1082
1081
|
*
|
|
1083
1082
|
* ```jsx
|
|
1084
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1085
|
-
* import {createIndexes, createStore} from 'tinybase';
|
|
1086
1083
|
* import React from 'react';
|
|
1087
|
-
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1088
1084
|
* import {createRoot} from 'react-dom/client';
|
|
1085
|
+
* import {createIndexes, createStore} from 'tinybase';
|
|
1086
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1087
|
+
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1089
1088
|
*
|
|
1090
1089
|
* const App = ({indexes}) => (
|
|
1091
1090
|
* <Provider indexes={indexes}>
|
|
@@ -1188,11 +1187,11 @@ export function SliceInHtmlTable(
|
|
|
1188
1187
|
* CSS class. Note the dotted pairs that are used as column headings.
|
|
1189
1188
|
*
|
|
1190
1189
|
* ```jsx
|
|
1190
|
+
* import React from 'react';
|
|
1191
|
+
* import {createRoot} from 'react-dom/client';
|
|
1191
1192
|
* import {createRelationships, createStore} from 'tinybase';
|
|
1192
1193
|
* import {Provider} from 'tinybase/ui-react';
|
|
1193
|
-
* import React from 'react';
|
|
1194
1194
|
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1195
|
-
* import {createRoot} from 'react-dom/client';
|
|
1196
1195
|
*
|
|
1197
1196
|
* const App = ({relationships}) => (
|
|
1198
1197
|
* <Provider relationships={relationships}>
|
|
@@ -1252,11 +1251,11 @@ export function SliceInHtmlTable(
|
|
|
1252
1251
|
* the table and the Id column at the start of each row is removed.
|
|
1253
1252
|
*
|
|
1254
1253
|
* ```jsx
|
|
1255
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1256
|
-
* import {createRelationships, createStore} from 'tinybase';
|
|
1257
1254
|
* import React from 'react';
|
|
1258
|
-
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1259
1255
|
* import {createRoot} from 'react-dom/client';
|
|
1256
|
+
* import {createRelationships, createStore} from 'tinybase';
|
|
1257
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1258
|
+
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1260
1259
|
*
|
|
1261
1260
|
* const App = ({relationships}) => (
|
|
1262
1261
|
* <Provider relationships={relationships}>
|
|
@@ -1352,11 +1351,11 @@ export function RelationshipInHtmlTable(
|
|
|
1352
1351
|
* ResultTable in a <table> element with a CSS class.
|
|
1353
1352
|
*
|
|
1354
1353
|
* ```jsx
|
|
1354
|
+
* import React from 'react';
|
|
1355
|
+
* import {createRoot} from 'react-dom/client';
|
|
1355
1356
|
* import {createQueries, createStore} from 'tinybase';
|
|
1356
1357
|
* import {Provider} from 'tinybase/ui-react';
|
|
1357
|
-
* import React from 'react';
|
|
1358
1358
|
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1359
|
-
* import {createRoot} from 'react-dom/client';
|
|
1360
1359
|
*
|
|
1361
1360
|
* const App = ({queries}) => (
|
|
1362
1361
|
* <Provider queries={queries}>
|
|
@@ -1406,11 +1405,11 @@ export function RelationshipInHtmlTable(
|
|
|
1406
1405
|
* the start of each row is removed.
|
|
1407
1406
|
*
|
|
1408
1407
|
* ```jsx
|
|
1409
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1410
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1411
1408
|
* import React from 'react';
|
|
1412
|
-
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1413
1409
|
* import {createRoot} from 'react-dom/client';
|
|
1410
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1411
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1412
|
+
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1414
1413
|
*
|
|
1415
1414
|
* const App = ({queries}) => (
|
|
1416
1415
|
* <Provider queries={queries}>
|
|
@@ -1518,11 +1517,11 @@ export function ResultTableInHtmlTable(
|
|
|
1518
1517
|
* renders the ResultTable in a <table> element with a CSS class.
|
|
1519
1518
|
*
|
|
1520
1519
|
* ```jsx
|
|
1520
|
+
* import React from 'react';
|
|
1521
|
+
* import {createRoot} from 'react-dom/client';
|
|
1521
1522
|
* import {createQueries, createStore} from 'tinybase';
|
|
1522
1523
|
* import {Provider} from 'tinybase/ui-react';
|
|
1523
|
-
* import React from 'react';
|
|
1524
1524
|
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1525
|
-
* import {createRoot} from 'react-dom/client';
|
|
1526
1525
|
*
|
|
1527
1526
|
* const App = ({queries}) => (
|
|
1528
1527
|
* <Provider queries={queries}>
|
|
@@ -1576,11 +1575,11 @@ export function ResultTableInHtmlTable(
|
|
|
1576
1575
|
* column at the start of each row is removed.
|
|
1577
1576
|
*
|
|
1578
1577
|
* ```jsx
|
|
1579
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1580
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1581
1578
|
* import React from 'react';
|
|
1582
|
-
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1583
1579
|
* import {createRoot} from 'react-dom/client';
|
|
1580
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1581
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1582
|
+
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1584
1583
|
*
|
|
1585
1584
|
* const App = ({queries}) => (
|
|
1586
1585
|
* <Provider queries={queries}>
|
|
@@ -1674,11 +1673,11 @@ export function ResultSortedTableInHtmlTable(
|
|
|
1674
1673
|
* Cell.
|
|
1675
1674
|
*
|
|
1676
1675
|
* ```jsx
|
|
1677
|
-
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1678
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1679
1676
|
* import React from 'react';
|
|
1680
1677
|
* import {createRoot} from 'react-dom/client';
|
|
1681
1678
|
* import {createStore} from 'tinybase';
|
|
1679
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1680
|
+
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1682
1681
|
*
|
|
1683
1682
|
* const App = ({store}) => (
|
|
1684
1683
|
* <Provider store={store}>
|
|
@@ -1741,11 +1740,11 @@ export function EditableCellView(
|
|
|
1741
1740
|
* Value.
|
|
1742
1741
|
*
|
|
1743
1742
|
* ```jsx
|
|
1744
|
-
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1745
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1746
1743
|
* import React from 'react';
|
|
1747
1744
|
* import {createRoot} from 'react-dom/client';
|
|
1748
1745
|
* import {createStore} from 'tinybase';
|
|
1746
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1747
|
+
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1749
1748
|
*
|
|
1750
1749
|
* const App = ({store}) => (
|
|
1751
1750
|
* <Provider store={store}>
|
|
@@ -1796,11 +1795,11 @@ export function EditableValueView(
|
|
|
1796
1795
|
* Table in a <table> element with a SortedTablePaginator (the default).
|
|
1797
1796
|
*
|
|
1798
1797
|
* ```jsx
|
|
1799
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1800
1798
|
* import React from 'react';
|
|
1801
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1802
1799
|
* import {createRoot} from 'react-dom/client';
|
|
1803
1800
|
* import {createStore} from 'tinybase';
|
|
1801
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1802
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1804
1803
|
*
|
|
1805
1804
|
* const App = ({store}) => (
|
|
1806
1805
|
* <Provider store={store}>
|