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,6 @@
|
|
|
10
10
|
* @module ui-react-dom
|
|
11
11
|
* @since v4.1.0
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
13
|
import type {
|
|
15
14
|
CellIdFromSchema,
|
|
16
15
|
TableIdFromSchema,
|
|
@@ -28,9 +27,9 @@ import type {
|
|
|
28
27
|
ValueProps,
|
|
29
28
|
} from '../../_internal/ui-react/with-schemas/index.d.cts';
|
|
30
29
|
import type {Id, Ids} from '../../common/with-schemas/index.d.cts';
|
|
31
|
-
import type {ComponentType} from 'react';
|
|
32
30
|
import type {NoSchemas} from '../../store/index.d.cts';
|
|
33
31
|
import type {OptionalSchemas} from '../../store/with-schemas/index.d.cts';
|
|
32
|
+
import type {ComponentType} from 'react';
|
|
34
33
|
|
|
35
34
|
/**
|
|
36
35
|
* The CustomCell object is used to configure custom cell rendering in an HTML
|
|
@@ -645,11 +644,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
645
644
|
* a <table> element with a CSS class.
|
|
646
645
|
*
|
|
647
646
|
* ```jsx
|
|
648
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
649
647
|
* import React from 'react';
|
|
650
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
651
648
|
* import {createRoot} from 'react-dom/client';
|
|
652
649
|
* import {createStore} from 'tinybase';
|
|
650
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
651
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
653
652
|
*
|
|
654
653
|
* const App = ({store}) => (
|
|
655
654
|
* <Provider store={store}>
|
|
@@ -695,11 +694,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
695
694
|
* row is removed.
|
|
696
695
|
*
|
|
697
696
|
* ```jsx
|
|
698
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
699
697
|
* import React from 'react';
|
|
700
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
701
698
|
* import {createRoot} from 'react-dom/client';
|
|
702
699
|
* import {createStore} from 'tinybase';
|
|
700
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
701
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
703
702
|
*
|
|
704
703
|
* const App = ({store}) => (
|
|
705
704
|
* <Provider store={store}>
|
|
@@ -811,11 +810,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
811
810
|
* Table in a <table> element with a CSS class.
|
|
812
811
|
*
|
|
813
812
|
* ```jsx
|
|
814
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
815
813
|
* import React from 'react';
|
|
816
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
817
814
|
* import {createRoot} from 'react-dom/client';
|
|
818
815
|
* import {createStore} from 'tinybase';
|
|
816
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
817
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
819
818
|
*
|
|
820
819
|
* const App = ({store}) => (
|
|
821
820
|
* <Provider store={store}>
|
|
@@ -869,11 +868,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
869
868
|
* of each row is removed.
|
|
870
869
|
*
|
|
871
870
|
* ```jsx
|
|
872
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
873
871
|
* import React from 'react';
|
|
874
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
875
872
|
* import {createRoot} from 'react-dom/client';
|
|
876
873
|
* import {createStore} from 'tinybase';
|
|
874
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
875
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
877
876
|
*
|
|
878
877
|
* const App = ({store}) => (
|
|
879
878
|
* <Provider store={store}>
|
|
@@ -975,11 +974,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
975
974
|
* in a <table> element with a CSS class.
|
|
976
975
|
*
|
|
977
976
|
* ```jsx
|
|
978
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
979
977
|
* import React from 'react';
|
|
980
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
981
978
|
* import {createRoot} from 'react-dom/client';
|
|
982
979
|
* import {createStore} from 'tinybase';
|
|
980
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
981
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
983
982
|
*
|
|
984
983
|
* const App = ({store}) => (
|
|
985
984
|
* <Provider store={store}>
|
|
@@ -1021,11 +1020,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1021
1020
|
* the top of the table and the Id column at the start of each row is removed.
|
|
1022
1021
|
*
|
|
1023
1022
|
* ```jsx
|
|
1024
|
-
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
1025
1023
|
* import React from 'react';
|
|
1026
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1027
1024
|
* import {createRoot} from 'react-dom/client';
|
|
1028
1025
|
* import {createStore} from 'tinybase';
|
|
1026
|
+
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
1027
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1029
1028
|
*
|
|
1030
1029
|
* const App = ({store}) => (
|
|
1031
1030
|
* <Provider store={store}>
|
|
@@ -1110,11 +1109,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1110
1109
|
* in a <table> element with a CSS class.
|
|
1111
1110
|
*
|
|
1112
1111
|
* ```jsx
|
|
1112
|
+
* import React from 'react';
|
|
1113
|
+
* import {createRoot} from 'react-dom/client';
|
|
1113
1114
|
* import {createIndexes, createStore} from 'tinybase';
|
|
1114
1115
|
* import {Provider} from 'tinybase/ui-react';
|
|
1115
|
-
* import React from 'react';
|
|
1116
1116
|
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1117
|
-
* import {createRoot} from 'react-dom/client';
|
|
1118
1117
|
*
|
|
1119
1118
|
* const App = ({indexes}) => (
|
|
1120
1119
|
* <Provider indexes={indexes}>
|
|
@@ -1166,11 +1165,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1166
1165
|
* row is removed.
|
|
1167
1166
|
*
|
|
1168
1167
|
* ```jsx
|
|
1169
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1170
|
-
* import {createIndexes, createStore} from 'tinybase';
|
|
1171
1168
|
* import React from 'react';
|
|
1172
|
-
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1173
1169
|
* import {createRoot} from 'react-dom/client';
|
|
1170
|
+
* import {createIndexes, createStore} from 'tinybase';
|
|
1171
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1172
|
+
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1174
1173
|
*
|
|
1175
1174
|
* const App = ({indexes}) => (
|
|
1176
1175
|
* <Provider indexes={indexes}>
|
|
@@ -1281,11 +1280,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1281
1280
|
* CSS class. Note the dotted pairs that are used as column headings.
|
|
1282
1281
|
*
|
|
1283
1282
|
* ```jsx
|
|
1283
|
+
* import React from 'react';
|
|
1284
|
+
* import {createRoot} from 'react-dom/client';
|
|
1284
1285
|
* import {createRelationships, createStore} from 'tinybase';
|
|
1285
1286
|
* import {Provider} from 'tinybase/ui-react';
|
|
1286
|
-
* import React from 'react';
|
|
1287
1287
|
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1288
|
-
* import {createRoot} from 'react-dom/client';
|
|
1289
1288
|
*
|
|
1290
1289
|
* const App = ({relationships}) => (
|
|
1291
1290
|
* <Provider relationships={relationships}>
|
|
@@ -1345,11 +1344,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1345
1344
|
* the table and the Id column at the start of each row is removed.
|
|
1346
1345
|
*
|
|
1347
1346
|
* ```jsx
|
|
1348
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1349
|
-
* import {createRelationships, createStore} from 'tinybase';
|
|
1350
1347
|
* import React from 'react';
|
|
1351
|
-
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1352
1348
|
* import {createRoot} from 'react-dom/client';
|
|
1349
|
+
* import {createRelationships, createStore} from 'tinybase';
|
|
1350
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1351
|
+
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1353
1352
|
*
|
|
1354
1353
|
* const App = ({relationships}) => (
|
|
1355
1354
|
* <Provider relationships={relationships}>
|
|
@@ -1453,11 +1452,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1453
1452
|
* ResultTable in a <table> element with a CSS class.
|
|
1454
1453
|
*
|
|
1455
1454
|
* ```jsx
|
|
1455
|
+
* import React from 'react';
|
|
1456
|
+
* import {createRoot} from 'react-dom/client';
|
|
1456
1457
|
* import {createQueries, createStore} from 'tinybase';
|
|
1457
1458
|
* import {Provider} from 'tinybase/ui-react';
|
|
1458
|
-
* import React from 'react';
|
|
1459
1459
|
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1460
|
-
* import {createRoot} from 'react-dom/client';
|
|
1461
1460
|
*
|
|
1462
1461
|
* const App = ({queries}) => (
|
|
1463
1462
|
* <Provider queries={queries}>
|
|
@@ -1507,11 +1506,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1507
1506
|
* the start of each row is removed.
|
|
1508
1507
|
*
|
|
1509
1508
|
* ```jsx
|
|
1510
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1511
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1512
1509
|
* import React from 'react';
|
|
1513
|
-
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1514
1510
|
* import {createRoot} from 'react-dom/client';
|
|
1511
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1512
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1513
|
+
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1515
1514
|
*
|
|
1516
1515
|
* const App = ({queries}) => (
|
|
1517
1516
|
* <Provider queries={queries}>
|
|
@@ -1627,11 +1626,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1627
1626
|
* renders the ResultTable in a <table> element with a CSS class.
|
|
1628
1627
|
*
|
|
1629
1628
|
* ```jsx
|
|
1629
|
+
* import React from 'react';
|
|
1630
|
+
* import {createRoot} from 'react-dom/client';
|
|
1630
1631
|
* import {createQueries, createStore} from 'tinybase';
|
|
1631
1632
|
* import {Provider} from 'tinybase/ui-react';
|
|
1632
|
-
* import React from 'react';
|
|
1633
1633
|
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1634
|
-
* import {createRoot} from 'react-dom/client';
|
|
1635
1634
|
*
|
|
1636
1635
|
* const App = ({queries}) => (
|
|
1637
1636
|
* <Provider queries={queries}>
|
|
@@ -1685,11 +1684,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1685
1684
|
* column at the start of each row is removed.
|
|
1686
1685
|
*
|
|
1687
1686
|
* ```jsx
|
|
1688
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1689
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1690
1687
|
* import React from 'react';
|
|
1691
|
-
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1692
1688
|
* import {createRoot} from 'react-dom/client';
|
|
1689
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1690
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1691
|
+
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1693
1692
|
*
|
|
1694
1693
|
* const App = ({queries}) => (
|
|
1695
1694
|
* <Provider queries={queries}>
|
|
@@ -1791,11 +1790,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1791
1790
|
* Cell.
|
|
1792
1791
|
*
|
|
1793
1792
|
* ```jsx
|
|
1794
|
-
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1795
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1796
1793
|
* import React from 'react';
|
|
1797
1794
|
* import {createRoot} from 'react-dom/client';
|
|
1798
1795
|
* import {createStore} from 'tinybase';
|
|
1796
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1797
|
+
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1799
1798
|
*
|
|
1800
1799
|
* const App = ({store}) => (
|
|
1801
1800
|
* <Provider store={store}>
|
|
@@ -1872,11 +1871,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1872
1871
|
* Value.
|
|
1873
1872
|
*
|
|
1874
1873
|
* ```jsx
|
|
1875
|
-
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1876
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1877
1874
|
* import React from 'react';
|
|
1878
1875
|
* import {createRoot} from 'react-dom/client';
|
|
1879
1876
|
* import {createStore} from 'tinybase';
|
|
1877
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1878
|
+
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1880
1879
|
*
|
|
1881
1880
|
* const App = ({store}) => (
|
|
1882
1881
|
* <Provider store={store}>
|
|
@@ -1927,11 +1926,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1927
1926
|
* Table in a <table> element with a SortedTablePaginator (the default).
|
|
1928
1927
|
*
|
|
1929
1928
|
* ```jsx
|
|
1930
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1931
1929
|
* import React from 'react';
|
|
1932
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1933
1930
|
* import {createRoot} from 'react-dom/client';
|
|
1934
1931
|
* import {createStore} from 'tinybase';
|
|
1932
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1933
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1935
1934
|
*
|
|
1936
1935
|
* const App = ({store}) => (
|
|
1937
1936
|
* <Provider store={store}>
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* @module ui-react-dom
|
|
11
11
|
* @since v4.1.0
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
13
|
import type {
|
|
15
14
|
CellIdFromSchema,
|
|
16
15
|
TableIdFromSchema,
|
|
@@ -28,9 +27,9 @@ import type {
|
|
|
28
27
|
ValueProps,
|
|
29
28
|
} from '../../_internal/ui-react/with-schemas/index.d.ts';
|
|
30
29
|
import type {Id, Ids} from '../../common/with-schemas/index.d.ts';
|
|
31
|
-
import type {ComponentType} from 'react';
|
|
32
30
|
import type {NoSchemas} from '../../store/index.d.ts';
|
|
33
31
|
import type {OptionalSchemas} from '../../store/with-schemas/index.d.ts';
|
|
32
|
+
import type {ComponentType} from 'react';
|
|
34
33
|
|
|
35
34
|
/**
|
|
36
35
|
* The CustomCell object is used to configure custom cell rendering in an HTML
|
|
@@ -645,11 +644,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
645
644
|
* a <table> element with a CSS class.
|
|
646
645
|
*
|
|
647
646
|
* ```jsx
|
|
648
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
649
647
|
* import React from 'react';
|
|
650
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
651
648
|
* import {createRoot} from 'react-dom/client';
|
|
652
649
|
* import {createStore} from 'tinybase';
|
|
650
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
651
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
653
652
|
*
|
|
654
653
|
* const App = ({store}) => (
|
|
655
654
|
* <Provider store={store}>
|
|
@@ -695,11 +694,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
695
694
|
* row is removed.
|
|
696
695
|
*
|
|
697
696
|
* ```jsx
|
|
698
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
699
697
|
* import React from 'react';
|
|
700
|
-
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
701
698
|
* import {createRoot} from 'react-dom/client';
|
|
702
699
|
* import {createStore} from 'tinybase';
|
|
700
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
701
|
+
* import {TableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
703
702
|
*
|
|
704
703
|
* const App = ({store}) => (
|
|
705
704
|
* <Provider store={store}>
|
|
@@ -811,11 +810,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
811
810
|
* Table in a <table> element with a CSS class.
|
|
812
811
|
*
|
|
813
812
|
* ```jsx
|
|
814
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
815
813
|
* import React from 'react';
|
|
816
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
817
814
|
* import {createRoot} from 'react-dom/client';
|
|
818
815
|
* import {createStore} from 'tinybase';
|
|
816
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
817
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
819
818
|
*
|
|
820
819
|
* const App = ({store}) => (
|
|
821
820
|
* <Provider store={store}>
|
|
@@ -869,11 +868,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
869
868
|
* of each row is removed.
|
|
870
869
|
*
|
|
871
870
|
* ```jsx
|
|
872
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
873
871
|
* import React from 'react';
|
|
874
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
875
872
|
* import {createRoot} from 'react-dom/client';
|
|
876
873
|
* import {createStore} from 'tinybase';
|
|
874
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
875
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
877
876
|
*
|
|
878
877
|
* const App = ({store}) => (
|
|
879
878
|
* <Provider store={store}>
|
|
@@ -975,11 +974,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
975
974
|
* in a <table> element with a CSS class.
|
|
976
975
|
*
|
|
977
976
|
* ```jsx
|
|
978
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
979
977
|
* import React from 'react';
|
|
980
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
981
978
|
* import {createRoot} from 'react-dom/client';
|
|
982
979
|
* import {createStore} from 'tinybase';
|
|
980
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
981
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
983
982
|
*
|
|
984
983
|
* const App = ({store}) => (
|
|
985
984
|
* <Provider store={store}>
|
|
@@ -1021,11 +1020,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1021
1020
|
* the top of the table and the Id column at the start of each row is removed.
|
|
1022
1021
|
*
|
|
1023
1022
|
* ```jsx
|
|
1024
|
-
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
1025
1023
|
* import React from 'react';
|
|
1026
|
-
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1027
1024
|
* import {createRoot} from 'react-dom/client';
|
|
1028
1025
|
* import {createStore} from 'tinybase';
|
|
1026
|
+
* import {Provider, ValueView} from 'tinybase/ui-react';
|
|
1027
|
+
* import {ValuesInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1029
1028
|
*
|
|
1030
1029
|
* const App = ({store}) => (
|
|
1031
1030
|
* <Provider store={store}>
|
|
@@ -1110,11 +1109,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1110
1109
|
* in a <table> element with a CSS class.
|
|
1111
1110
|
*
|
|
1112
1111
|
* ```jsx
|
|
1112
|
+
* import React from 'react';
|
|
1113
|
+
* import {createRoot} from 'react-dom/client';
|
|
1113
1114
|
* import {createIndexes, createStore} from 'tinybase';
|
|
1114
1115
|
* import {Provider} from 'tinybase/ui-react';
|
|
1115
|
-
* import React from 'react';
|
|
1116
1116
|
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1117
|
-
* import {createRoot} from 'react-dom/client';
|
|
1118
1117
|
*
|
|
1119
1118
|
* const App = ({indexes}) => (
|
|
1120
1119
|
* <Provider indexes={indexes}>
|
|
@@ -1166,11 +1165,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1166
1165
|
* row is removed.
|
|
1167
1166
|
*
|
|
1168
1167
|
* ```jsx
|
|
1169
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1170
|
-
* import {createIndexes, createStore} from 'tinybase';
|
|
1171
1168
|
* import React from 'react';
|
|
1172
|
-
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1173
1169
|
* import {createRoot} from 'react-dom/client';
|
|
1170
|
+
* import {createIndexes, createStore} from 'tinybase';
|
|
1171
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1172
|
+
* import {SliceInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1174
1173
|
*
|
|
1175
1174
|
* const App = ({indexes}) => (
|
|
1176
1175
|
* <Provider indexes={indexes}>
|
|
@@ -1281,11 +1280,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1281
1280
|
* CSS class. Note the dotted pairs that are used as column headings.
|
|
1282
1281
|
*
|
|
1283
1282
|
* ```jsx
|
|
1283
|
+
* import React from 'react';
|
|
1284
|
+
* import {createRoot} from 'react-dom/client';
|
|
1284
1285
|
* import {createRelationships, createStore} from 'tinybase';
|
|
1285
1286
|
* import {Provider} from 'tinybase/ui-react';
|
|
1286
|
-
* import React from 'react';
|
|
1287
1287
|
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1288
|
-
* import {createRoot} from 'react-dom/client';
|
|
1289
1288
|
*
|
|
1290
1289
|
* const App = ({relationships}) => (
|
|
1291
1290
|
* <Provider relationships={relationships}>
|
|
@@ -1345,11 +1344,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1345
1344
|
* the table and the Id column at the start of each row is removed.
|
|
1346
1345
|
*
|
|
1347
1346
|
* ```jsx
|
|
1348
|
-
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1349
|
-
* import {createRelationships, createStore} from 'tinybase';
|
|
1350
1347
|
* import React from 'react';
|
|
1351
|
-
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1352
1348
|
* import {createRoot} from 'react-dom/client';
|
|
1349
|
+
* import {createRelationships, createStore} from 'tinybase';
|
|
1350
|
+
* import {CellView, Provider} from 'tinybase/ui-react';
|
|
1351
|
+
* import {RelationshipInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1353
1352
|
*
|
|
1354
1353
|
* const App = ({relationships}) => (
|
|
1355
1354
|
* <Provider relationships={relationships}>
|
|
@@ -1453,11 +1452,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1453
1452
|
* ResultTable in a <table> element with a CSS class.
|
|
1454
1453
|
*
|
|
1455
1454
|
* ```jsx
|
|
1455
|
+
* import React from 'react';
|
|
1456
|
+
* import {createRoot} from 'react-dom/client';
|
|
1456
1457
|
* import {createQueries, createStore} from 'tinybase';
|
|
1457
1458
|
* import {Provider} from 'tinybase/ui-react';
|
|
1458
|
-
* import React from 'react';
|
|
1459
1459
|
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1460
|
-
* import {createRoot} from 'react-dom/client';
|
|
1461
1460
|
*
|
|
1462
1461
|
* const App = ({queries}) => (
|
|
1463
1462
|
* <Provider queries={queries}>
|
|
@@ -1507,11 +1506,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1507
1506
|
* the start of each row is removed.
|
|
1508
1507
|
*
|
|
1509
1508
|
* ```jsx
|
|
1510
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1511
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1512
1509
|
* import React from 'react';
|
|
1513
|
-
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1514
1510
|
* import {createRoot} from 'react-dom/client';
|
|
1511
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1512
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1513
|
+
* import {ResultTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1515
1514
|
*
|
|
1516
1515
|
* const App = ({queries}) => (
|
|
1517
1516
|
* <Provider queries={queries}>
|
|
@@ -1627,11 +1626,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1627
1626
|
* renders the ResultTable in a <table> element with a CSS class.
|
|
1628
1627
|
*
|
|
1629
1628
|
* ```jsx
|
|
1629
|
+
* import React from 'react';
|
|
1630
|
+
* import {createRoot} from 'react-dom/client';
|
|
1630
1631
|
* import {createQueries, createStore} from 'tinybase';
|
|
1631
1632
|
* import {Provider} from 'tinybase/ui-react';
|
|
1632
|
-
* import React from 'react';
|
|
1633
1633
|
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1634
|
-
* import {createRoot} from 'react-dom/client';
|
|
1635
1634
|
*
|
|
1636
1635
|
* const App = ({queries}) => (
|
|
1637
1636
|
* <Provider queries={queries}>
|
|
@@ -1685,11 +1684,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1685
1684
|
* column at the start of each row is removed.
|
|
1686
1685
|
*
|
|
1687
1686
|
* ```jsx
|
|
1688
|
-
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1689
|
-
* import {createQueries, createStore} from 'tinybase';
|
|
1690
1687
|
* import React from 'react';
|
|
1691
|
-
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1692
1688
|
* import {createRoot} from 'react-dom/client';
|
|
1689
|
+
* import {createQueries, createStore} from 'tinybase';
|
|
1690
|
+
* import {Provider, ResultCellView} from 'tinybase/ui-react';
|
|
1691
|
+
* import {ResultSortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1693
1692
|
*
|
|
1694
1693
|
* const App = ({queries}) => (
|
|
1695
1694
|
* <Provider queries={queries}>
|
|
@@ -1791,11 +1790,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1791
1790
|
* Cell.
|
|
1792
1791
|
*
|
|
1793
1792
|
* ```jsx
|
|
1794
|
-
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1795
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1796
1793
|
* import React from 'react';
|
|
1797
1794
|
* import {createRoot} from 'react-dom/client';
|
|
1798
1795
|
* import {createStore} from 'tinybase';
|
|
1796
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1797
|
+
* import {EditableCellView} from 'tinybase/ui-react-dom';
|
|
1799
1798
|
*
|
|
1800
1799
|
* const App = ({store}) => (
|
|
1801
1800
|
* <Provider store={store}>
|
|
@@ -1872,11 +1871,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1872
1871
|
* Value.
|
|
1873
1872
|
*
|
|
1874
1873
|
* ```jsx
|
|
1875
|
-
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1876
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1877
1874
|
* import React from 'react';
|
|
1878
1875
|
* import {createRoot} from 'react-dom/client';
|
|
1879
1876
|
* import {createStore} from 'tinybase';
|
|
1877
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1878
|
+
* import {EditableValueView} from 'tinybase/ui-react-dom';
|
|
1880
1879
|
*
|
|
1881
1880
|
* const App = ({store}) => (
|
|
1882
1881
|
* <Provider store={store}>
|
|
@@ -1927,11 +1926,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1927
1926
|
* Table in a <table> element with a SortedTablePaginator (the default).
|
|
1928
1927
|
*
|
|
1929
1928
|
* ```jsx
|
|
1930
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
1931
1929
|
* import React from 'react';
|
|
1932
|
-
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1933
1930
|
* import {createRoot} from 'react-dom/client';
|
|
1934
1931
|
* import {createStore} from 'tinybase';
|
|
1932
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
1933
|
+
* import {SortedTableInHtmlTable} from 'tinybase/ui-react-dom';
|
|
1935
1934
|
*
|
|
1936
1935
|
* const App = ({store}) => (
|
|
1937
1936
|
* <Provider store={store}>
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* @module ui-react-inspector
|
|
10
10
|
* @since v5.0.0
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
12
|
import type {ComponentReturnType} from '../ui-react/index.d.cts';
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -54,11 +53,11 @@ export type InspectorProps = {
|
|
|
54
53
|
* tool.
|
|
55
54
|
*
|
|
56
55
|
* ```jsx
|
|
57
|
-
* import {Inspector} from 'tinybase/ui-react-inspector';
|
|
58
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
59
56
|
* import React from 'react';
|
|
60
57
|
* import {createRoot} from 'react-dom/client';
|
|
61
58
|
* import {createStore} from 'tinybase';
|
|
59
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
60
|
+
* import {Inspector} from 'tinybase/ui-react-inspector';
|
|
62
61
|
*
|
|
63
62
|
* const App = ({store}) => (
|
|
64
63
|
* <Provider store={store}>
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* @module ui-react-inspector
|
|
10
10
|
* @since v5.0.0
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
12
|
import type {ComponentReturnType} from '../ui-react/index.d.ts';
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -54,11 +53,11 @@ export type InspectorProps = {
|
|
|
54
53
|
* tool.
|
|
55
54
|
*
|
|
56
55
|
* ```jsx
|
|
57
|
-
* import {Inspector} from 'tinybase/ui-react-inspector';
|
|
58
|
-
* import {Provider} from 'tinybase/ui-react';
|
|
59
56
|
* import React from 'react';
|
|
60
57
|
* import {createRoot} from 'react-dom/client';
|
|
61
58
|
* import {createStore} from 'tinybase';
|
|
59
|
+
* import {Provider} from 'tinybase/ui-react';
|
|
60
|
+
* import {Inspector} from 'tinybase/ui-react-inspector';
|
|
62
61
|
*
|
|
63
62
|
* const App = ({store}) => (
|
|
64
63
|
* <Provider store={store}>
|