tinybase 5.3.0 → 5.3.2
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/cjs/common/index.cjs +5 -7
- package/cjs/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/common/index.cjs +5 -7
- package/cjs/es6/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/index.cjs +18 -12
- package/cjs/es6/indexes/index.cjs +0 -6
- package/cjs/es6/indexes/with-schemas/index.cjs +0 -6
- package/cjs/es6/mergeable-store/index.cjs +17 -11
- package/cjs/es6/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/es6/metrics/index.cjs +1 -1
- package/cjs/es6/metrics/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs.gz +0 -0
- package/cjs/es6/min/common/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/index.cjs +1 -1
- package/cjs/es6/min/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/index.cjs +1 -1
- package/cjs/es6/min/indexes/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/indexes/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/store/index.cjs +1 -1
- package/cjs/es6/min/store/index.cjs.gz +0 -0
- package/cjs/es6/min/store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/index.cjs +1 -1
- package/cjs/es6/min/tools/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/index.cjs +1 -1
- package/cjs/es6/min/ui-react/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/queries/index.cjs +1 -1
- package/cjs/es6/queries/with-schemas/index.cjs +1 -1
- package/cjs/es6/store/index.cjs +0 -6
- package/cjs/es6/store/with-schemas/index.cjs +0 -6
- package/cjs/es6/synchronizers/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/es6/tools/index.cjs +7 -4
- package/cjs/es6/tools/with-schemas/index.cjs +7 -4
- package/cjs/es6/ui-react/index.cjs +101 -109
- package/cjs/es6/ui-react/with-schemas/index.cjs +101 -109
- package/cjs/es6/ui-react-dom/index.cjs +14 -8
- package/cjs/es6/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/es6/ui-react-inspector/index.cjs +18 -16
- package/cjs/es6/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/es6/with-schemas/index.cjs +18 -12
- package/cjs/index.cjs +18 -12
- package/cjs/indexes/index.cjs +0 -6
- package/cjs/indexes/with-schemas/index.cjs +0 -6
- package/cjs/mergeable-store/index.cjs +17 -11
- package/cjs/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/metrics/index.cjs +1 -1
- package/cjs/metrics/with-schemas/index.cjs +1 -1
- package/cjs/min/common/index.cjs +1 -1
- package/cjs/min/common/index.cjs.gz +0 -0
- package/cjs/min/common/with-schemas/index.cjs +1 -1
- package/cjs/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/index.cjs +1 -1
- package/cjs/min/index.cjs.gz +0 -0
- package/cjs/min/indexes/index.cjs +1 -1
- package/cjs/min/indexes/index.cjs.gz +0 -0
- package/cjs/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/min/indexes/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/index.cjs +1 -1
- package/cjs/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/store/index.cjs +1 -1
- package/cjs/min/store/index.cjs.gz +0 -0
- package/cjs/min/store/with-schemas/index.cjs +1 -1
- package/cjs/min/store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/index.cjs +1 -1
- package/cjs/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/tools/index.cjs +1 -1
- package/cjs/min/tools/index.cjs.gz +0 -0
- package/cjs/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react/index.cjs +1 -1
- package/cjs/min/ui-react/index.cjs.gz +0 -0
- package/cjs/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/index.cjs +1 -1
- package/cjs/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/with-schemas/index.cjs +1 -1
- package/cjs/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/queries/index.cjs +1 -1
- package/cjs/queries/with-schemas/index.cjs +1 -1
- package/cjs/store/index.cjs +0 -6
- package/cjs/store/with-schemas/index.cjs +0 -6
- package/cjs/synchronizers/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/tools/index.cjs +7 -4
- package/cjs/tools/with-schemas/index.cjs +7 -4
- package/cjs/ui-react/index.cjs +97 -107
- package/cjs/ui-react/with-schemas/index.cjs +97 -107
- package/cjs/ui-react-dom/index.cjs +14 -8
- package/cjs/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/ui-react-inspector/index.cjs +18 -16
- package/cjs/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/with-schemas/index.cjs +18 -12
- package/common/index.js +5 -7
- package/common/with-schemas/index.js +5 -7
- package/es6/common/index.js +5 -7
- package/es6/common/with-schemas/index.js +5 -7
- package/es6/index.js +18 -12
- package/es6/indexes/index.js +0 -6
- package/es6/indexes/with-schemas/index.js +0 -6
- package/es6/mergeable-store/index.js +17 -11
- package/es6/mergeable-store/with-schemas/index.js +17 -11
- package/es6/metrics/index.js +1 -1
- package/es6/metrics/with-schemas/index.js +1 -1
- package/es6/min/common/index.js +1 -1
- package/es6/min/common/index.js.gz +0 -0
- package/es6/min/common/with-schemas/index.js +1 -1
- package/es6/min/common/with-schemas/index.js.gz +0 -0
- package/es6/min/index.js +1 -1
- package/es6/min/index.js.gz +0 -0
- package/es6/min/indexes/index.js +1 -1
- package/es6/min/indexes/index.js.gz +0 -0
- package/es6/min/indexes/with-schemas/index.js +1 -1
- package/es6/min/indexes/with-schemas/index.js.gz +0 -0
- package/es6/min/mergeable-store/index.js +1 -1
- package/es6/min/mergeable-store/index.js.gz +0 -0
- package/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/index.js +1 -1
- package/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/es6/min/store/index.js +1 -1
- package/es6/min/store/index.js.gz +0 -0
- package/es6/min/store/with-schemas/index.js +1 -1
- package/es6/min/store/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/index.js +1 -1
- package/es6/min/synchronizers/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/es6/min/tools/index.js +1 -1
- package/es6/min/tools/index.js.gz +0 -0
- package/es6/min/tools/with-schemas/index.js +1 -1
- package/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react/index.js +1 -1
- package/es6/min/ui-react/index.js.gz +0 -0
- package/es6/min/ui-react/with-schemas/index.js +1 -1
- package/es6/min/ui-react/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-dom/index.js +1 -1
- package/es6/min/ui-react-dom/index.js.gz +0 -0
- package/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/index.js +1 -1
- package/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/es6/min/with-schemas/index.js +1 -1
- package/es6/min/with-schemas/index.js.gz +0 -0
- package/es6/persisters/persister-pglite/index.js +1 -1
- package/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/queries/index.js +1 -1
- package/es6/queries/with-schemas/index.js +1 -1
- package/es6/store/index.js +0 -6
- package/es6/store/with-schemas/index.js +0 -6
- package/es6/synchronizers/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/es6/synchronizers/with-schemas/index.js +5 -7
- package/es6/tools/index.js +7 -4
- package/es6/tools/with-schemas/index.js +7 -4
- package/es6/ui-react/index.js +101 -109
- package/es6/ui-react/with-schemas/index.js +101 -109
- package/es6/ui-react-dom/index.js +14 -8
- package/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/es6/ui-react-inspector/index.js +18 -16
- package/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/es6/with-schemas/index.js +18 -12
- package/index.js +18 -12
- package/indexes/index.js +0 -6
- package/indexes/with-schemas/index.js +0 -6
- package/mergeable-store/index.js +17 -11
- package/mergeable-store/with-schemas/index.js +17 -11
- package/metrics/index.js +1 -1
- package/metrics/with-schemas/index.js +1 -1
- package/min/common/index.js +1 -1
- package/min/common/index.js.gz +0 -0
- package/min/common/with-schemas/index.js +1 -1
- package/min/common/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/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/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/with-schemas/index.js +1 -1
- package/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/min/tools/index.js +1 -1
- package/min/tools/index.js.gz +0 -0
- package/min/tools/with-schemas/index.js +1 -1
- package/min/tools/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 +5 -5
- package/persisters/persister-pglite/index.js +1 -1
- package/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/queries/index.js +1 -1
- package/queries/with-schemas/index.js +1 -1
- package/readme.md +14 -14
- package/releases.md +24 -24
- package/store/index.js +0 -6
- package/store/with-schemas/index.js +0 -6
- package/synchronizers/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-local/index.js +5 -7
- package/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/synchronizers/with-schemas/index.js +5 -7
- package/tools/index.js +7 -4
- package/tools/with-schemas/index.js +7 -4
- package/ui-react/index.js +97 -107
- package/ui-react/with-schemas/index.js +97 -107
- package/ui-react-dom/index.js +14 -8
- package/ui-react-dom/with-schemas/index.js +14 -8
- package/ui-react-inspector/index.js +18 -16
- package/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/common/index.js +5 -7
- package/umd/common/with-schemas/index.js +5 -7
- package/umd/es6/common/index.js +5 -7
- package/umd/es6/common/with-schemas/index.js +5 -7
- package/umd/es6/index.js +18 -12
- package/umd/es6/indexes/index.js +0 -6
- package/umd/es6/indexes/with-schemas/index.js +0 -6
- package/umd/es6/mergeable-store/index.js +17 -11
- package/umd/es6/mergeable-store/with-schemas/index.js +17 -11
- package/umd/es6/metrics/index.js +1 -1
- package/umd/es6/metrics/with-schemas/index.js +1 -1
- package/umd/es6/min/common/index.js +1 -1
- package/umd/es6/min/common/index.js.gz +0 -0
- package/umd/es6/min/common/with-schemas/index.js +1 -1
- package/umd/es6/min/common/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/index.js +1 -1
- package/umd/es6/min/index.js.gz +0 -0
- package/umd/es6/min/indexes/index.js +1 -1
- package/umd/es6/min/indexes/index.js.gz +0 -0
- package/umd/es6/min/indexes/with-schemas/index.js +1 -1
- package/umd/es6/min/indexes/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/index.js +1 -1
- package/umd/es6/min/mergeable-store/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/store/index.js +1 -1
- package/umd/es6/min/store/index.js.gz +0 -0
- package/umd/es6/min/store/with-schemas/index.js +1 -1
- package/umd/es6/min/store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/index.js +1 -1
- package/umd/es6/min/synchronizers/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/tools/index.js +1 -1
- package/umd/es6/min/tools/index.js.gz +0 -0
- package/umd/es6/min/tools/with-schemas/index.js +1 -1
- package/umd/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react/index.js +1 -1
- package/umd/es6/min/ui-react/index.js.gz +0 -0
- package/umd/es6/min/ui-react/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/index.js +1 -1
- package/umd/es6/min/ui-react-dom/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/with-schemas/index.js +1 -1
- package/umd/es6/min/with-schemas/index.js.gz +0 -0
- package/umd/es6/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/queries/index.js +1 -1
- package/umd/es6/queries/with-schemas/index.js +1 -1
- package/umd/es6/store/index.js +0 -6
- package/umd/es6/store/with-schemas/index.js +0 -6
- package/umd/es6/synchronizers/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/with-schemas/index.js +5 -7
- package/umd/es6/tools/index.js +7 -4
- package/umd/es6/tools/with-schemas/index.js +7 -4
- package/umd/es6/ui-react/index.js +101 -118
- package/umd/es6/ui-react/with-schemas/index.js +101 -118
- package/umd/es6/ui-react-dom/index.js +14 -8
- package/umd/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/es6/ui-react-inspector/index.js +18 -16
- package/umd/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/es6/with-schemas/index.js +18 -12
- package/umd/index.js +18 -12
- package/umd/indexes/index.js +0 -6
- package/umd/indexes/with-schemas/index.js +0 -6
- package/umd/mergeable-store/index.js +17 -11
- package/umd/mergeable-store/with-schemas/index.js +17 -11
- package/umd/metrics/index.js +1 -1
- package/umd/metrics/with-schemas/index.js +1 -1
- package/umd/min/common/index.js +1 -1
- package/umd/min/common/index.js.gz +0 -0
- package/umd/min/common/with-schemas/index.js +1 -1
- package/umd/min/common/with-schemas/index.js.gz +0 -0
- package/umd/min/index.js +1 -1
- package/umd/min/index.js.gz +0 -0
- package/umd/min/indexes/index.js +1 -1
- package/umd/min/indexes/index.js.gz +0 -0
- package/umd/min/indexes/with-schemas/index.js +1 -1
- package/umd/min/indexes/with-schemas/index.js.gz +0 -0
- package/umd/min/mergeable-store/index.js +1 -1
- package/umd/min/mergeable-store/index.js.gz +0 -0
- package/umd/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/index.js +1 -1
- package/umd/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/min/store/index.js +1 -1
- package/umd/min/store/index.js.gz +0 -0
- package/umd/min/store/with-schemas/index.js +1 -1
- package/umd/min/store/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/index.js +1 -1
- package/umd/min/synchronizers/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/min/tools/index.js +1 -1
- package/umd/min/tools/index.js.gz +0 -0
- package/umd/min/tools/with-schemas/index.js +1 -1
- package/umd/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react/index.js +1 -1
- package/umd/min/ui-react/index.js.gz +0 -0
- package/umd/min/ui-react/with-schemas/index.js +1 -1
- package/umd/min/ui-react/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-dom/index.js +1 -1
- package/umd/min/ui-react-dom/index.js.gz +0 -0
- package/umd/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/index.js +1 -1
- package/umd/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/min/with-schemas/index.js +1 -1
- package/umd/min/with-schemas/index.js.gz +0 -0
- package/umd/persisters/persister-pglite/index.js +1 -1
- package/umd/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/queries/index.js +1 -1
- package/umd/queries/with-schemas/index.js +1 -1
- package/umd/store/index.js +0 -6
- package/umd/store/with-schemas/index.js +0 -6
- package/umd/synchronizers/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/synchronizers/with-schemas/index.js +5 -7
- package/umd/tools/index.js +7 -4
- package/umd/tools/with-schemas/index.js +7 -4
- package/umd/ui-react/index.js +97 -110
- package/umd/ui-react/with-schemas/index.js +97 -110
- package/umd/ui-react-dom/index.js +14 -8
- package/umd/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/ui-react-inspector/index.js +18 -16
- package/umd/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/with-schemas/index.js +18 -12
- package/with-schemas/index.js +18 -12
|
@@ -10,7 +10,9 @@ const FUNCTION = getTypeOf(getTypeOf);
|
|
|
10
10
|
const LISTENER = 'Listener';
|
|
11
11
|
const RESULT = 'Result';
|
|
12
12
|
const GET = 'get';
|
|
13
|
+
const SET = 'set';
|
|
13
14
|
const ADD = 'add';
|
|
15
|
+
const DEL = 'del';
|
|
14
16
|
const HAS = 'Has';
|
|
15
17
|
const _HAS = 'has';
|
|
16
18
|
const IDS = 'Ids';
|
|
@@ -26,7 +28,19 @@ const CELL_IDS = CELL + IDS;
|
|
|
26
28
|
const VALUE = 'Value';
|
|
27
29
|
const VALUES = VALUE + 's';
|
|
28
30
|
const VALUE_IDS = VALUE + IDS;
|
|
31
|
+
const TRANSACTION = 'Transaction';
|
|
32
|
+
const PARTIAL = 'Partial';
|
|
33
|
+
const FINISH = 'Finish';
|
|
29
34
|
const STATUS = 'Status';
|
|
35
|
+
const METRIC = 'Metric';
|
|
36
|
+
const INDEX = 'Index';
|
|
37
|
+
const SLICE = 'Slice';
|
|
38
|
+
const RELATIONSHIP = 'Relationship';
|
|
39
|
+
const REMOTE_ROW_ID = 'Remote' + ROW + 'Id';
|
|
40
|
+
const LOCAL = 'Local';
|
|
41
|
+
const LINKED = 'Linked';
|
|
42
|
+
const QUERY = 'Query';
|
|
43
|
+
const CHECKPOINT = 'Checkpoint';
|
|
30
44
|
|
|
31
45
|
const GLOBAL = globalThis;
|
|
32
46
|
const isUndefined = (thing) => thing == void 0;
|
|
@@ -49,6 +63,38 @@ const arrayIsEmpty = (array) => size(array) == 0;
|
|
|
49
63
|
const arrayFilter = (array, cb) => array.filter(cb);
|
|
50
64
|
const arrayWith = (array, index, value) => array.with(index, value);
|
|
51
65
|
|
|
66
|
+
const {
|
|
67
|
+
PureComponent,
|
|
68
|
+
Fragment,
|
|
69
|
+
createContext,
|
|
70
|
+
createElement,
|
|
71
|
+
useCallback,
|
|
72
|
+
useContext,
|
|
73
|
+
useEffect,
|
|
74
|
+
useLayoutEffect,
|
|
75
|
+
useMemo,
|
|
76
|
+
useRef,
|
|
77
|
+
useState,
|
|
78
|
+
useSyncExternalStore,
|
|
79
|
+
} = React;
|
|
80
|
+
const getProps = (getProps2, ...ids) =>
|
|
81
|
+
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
82
|
+
const getRelationshipsStoreTableIds = (relationships, relationshipId) => [
|
|
83
|
+
relationships,
|
|
84
|
+
relationships == null ? void 0 : relationships.getStore(),
|
|
85
|
+
relationships == null
|
|
86
|
+
? void 0
|
|
87
|
+
: relationships.getLocalTableId(relationshipId),
|
|
88
|
+
relationships == null
|
|
89
|
+
? void 0
|
|
90
|
+
: relationships.getRemoteTableId(relationshipId),
|
|
91
|
+
];
|
|
92
|
+
const getIndexStoreTableId = (indexes, indexId) => [
|
|
93
|
+
indexes,
|
|
94
|
+
indexes == null ? void 0 : indexes.getStore(),
|
|
95
|
+
indexes == null ? void 0 : indexes.getTableId(indexId),
|
|
96
|
+
];
|
|
97
|
+
|
|
52
98
|
const object = Object;
|
|
53
99
|
const getPrototypeOf = (obj) => object.getPrototypeOf(obj);
|
|
54
100
|
const objEntries = object.entries;
|
|
@@ -91,22 +137,10 @@ const objEnsure = (obj, id, getDefaultValue) => {
|
|
|
91
137
|
return obj[id];
|
|
92
138
|
};
|
|
93
139
|
|
|
94
|
-
const {createContext, useContext: useContext$1, useEffect: useEffect$1} = React;
|
|
95
|
-
var Offsets = /* @__PURE__ */ ((Offsets2) => {
|
|
96
|
-
Offsets2[(Offsets2['Store'] = 0)] = 'Store';
|
|
97
|
-
Offsets2[(Offsets2['Metrics'] = 1)] = 'Metrics';
|
|
98
|
-
Offsets2[(Offsets2['Indexes'] = 2)] = 'Indexes';
|
|
99
|
-
Offsets2[(Offsets2['Relationships'] = 3)] = 'Relationships';
|
|
100
|
-
Offsets2[(Offsets2['Queries'] = 4)] = 'Queries';
|
|
101
|
-
Offsets2[(Offsets2['Checkpoints'] = 5)] = 'Checkpoints';
|
|
102
|
-
Offsets2[(Offsets2['Persister'] = 6)] = 'Persister';
|
|
103
|
-
Offsets2[(Offsets2['Synchronizer'] = 7)] = 'Synchronizer';
|
|
104
|
-
return Offsets2;
|
|
105
|
-
})(Offsets || {});
|
|
106
140
|
const Context = objEnsure(GLOBAL, TINYBASE + '_uirc', () => createContext([]));
|
|
107
141
|
const useThing = (id, offset) => {
|
|
108
142
|
var _a;
|
|
109
|
-
const contextValue = useContext
|
|
143
|
+
const contextValue = useContext(Context);
|
|
110
144
|
return isUndefined(id)
|
|
111
145
|
? contextValue[offset * 2]
|
|
112
146
|
: isString(id)
|
|
@@ -120,8 +154,8 @@ const useThingOrThingById = (thingOrThingId, offset) => {
|
|
|
120
154
|
: thingOrThingId;
|
|
121
155
|
};
|
|
122
156
|
const useProvideThing = (thingId, thing, offset) => {
|
|
123
|
-
const {16: addExtraThingById, 17: delExtraThingById} = useContext
|
|
124
|
-
useEffect
|
|
157
|
+
const {16: addExtraThingById, 17: delExtraThingById} = useContext(Context);
|
|
158
|
+
useEffect(() => {
|
|
125
159
|
addExtraThingById == null
|
|
126
160
|
? void 0
|
|
127
161
|
: addExtraThingById(offset, thingId, thing);
|
|
@@ -131,7 +165,7 @@ const useProvideThing = (thingId, thing, offset) => {
|
|
|
131
165
|
};
|
|
132
166
|
const useThingIds = (offset) => {
|
|
133
167
|
var _a;
|
|
134
|
-
return objIds((_a = useContext
|
|
168
|
+
return objIds((_a = useContext(Context)[offset * 2 + 1]) != null ? _a : {});
|
|
135
169
|
};
|
|
136
170
|
const useStoreIds = () => useThingIds(0 /* Store */);
|
|
137
171
|
const useStore = (id) => useThing(id, 0 /* Store */);
|
|
@@ -182,11 +216,6 @@ const useSynchronizerOrSynchronizerById = (synchronizerOrSynchronizerId) =>
|
|
|
182
216
|
const useProvideSynchronizer = (persisterId, persister) =>
|
|
183
217
|
useProvideThing(persisterId, persister, 7 /* Synchronizer */);
|
|
184
218
|
|
|
185
|
-
const lower = (str) => str.toLowerCase();
|
|
186
|
-
lower(LISTENER);
|
|
187
|
-
const TRANSACTION = 'Transaction';
|
|
188
|
-
lower(TRANSACTION);
|
|
189
|
-
|
|
190
219
|
var __async = (__this, __arguments, generator) => {
|
|
191
220
|
return new Promise((resolve, reject) => {
|
|
192
221
|
var fulfilled = (value) => {
|
|
@@ -210,15 +239,6 @@ var __async = (__this, __arguments, generator) => {
|
|
|
210
239
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
211
240
|
});
|
|
212
241
|
};
|
|
213
|
-
const {
|
|
214
|
-
useCallback: useCallback$2,
|
|
215
|
-
useEffect,
|
|
216
|
-
useMemo: useMemo$1,
|
|
217
|
-
useLayoutEffect: useLayoutEffect$1,
|
|
218
|
-
useRef: useRef$1,
|
|
219
|
-
useState: useState$2,
|
|
220
|
-
useSyncExternalStore,
|
|
221
|
-
} = React;
|
|
222
242
|
const EMPTY_ARRAY = [];
|
|
223
243
|
const DEFAULTS = [{}, [], [EMPTY_ARRAY, void 0, EMPTY_ARRAY], void 0, false, 0];
|
|
224
244
|
const IS_EQUALS = [
|
|
@@ -234,8 +254,8 @@ const IS_EQUALS = [
|
|
|
234
254
|
];
|
|
235
255
|
const isEqual = (thing1, thing2) => thing1 === thing2;
|
|
236
256
|
const useCreate = (store, create, createDeps = EMPTY_ARRAY) => {
|
|
237
|
-
const [, rerender] = useState
|
|
238
|
-
const [thing, setThing] = useState
|
|
257
|
+
const [, rerender] = useState();
|
|
258
|
+
const [thing, setThing] = useState();
|
|
239
259
|
useEffect(
|
|
240
260
|
() => {
|
|
241
261
|
const newThing = store ? create(store) : void 0;
|
|
@@ -257,8 +277,8 @@ const addAndDelListener = (thing, listenable, ...args) => {
|
|
|
257
277
|
return () => (thing == null ? void 0 : thing.delListener(listenerId));
|
|
258
278
|
};
|
|
259
279
|
const useListenable = (listenable, thing, returnType, args = EMPTY_ARRAY) => {
|
|
260
|
-
const lastResult = useRef
|
|
261
|
-
const getResult = useCallback
|
|
280
|
+
const lastResult = useRef(DEFAULTS[returnType]);
|
|
281
|
+
const getResult = useCallback(
|
|
262
282
|
() => {
|
|
263
283
|
var _a, _b, _c;
|
|
264
284
|
const nextResult =
|
|
@@ -283,7 +303,7 @@ const useListenable = (listenable, thing, returnType, args = EMPTY_ARRAY) => {
|
|
|
283
303
|
/* eslint-disable-next-line react-hooks/exhaustive-deps */
|
|
284
304
|
[thing, returnType, listenable, ...args],
|
|
285
305
|
);
|
|
286
|
-
const subscribe = useCallback
|
|
306
|
+
const subscribe = useCallback(
|
|
287
307
|
(listener) =>
|
|
288
308
|
addAndDelListener(
|
|
289
309
|
thing,
|
|
@@ -304,7 +324,7 @@ const useListener = (
|
|
|
304
324
|
preArgs = EMPTY_ARRAY,
|
|
305
325
|
...postArgs
|
|
306
326
|
) =>
|
|
307
|
-
useLayoutEffect
|
|
327
|
+
useLayoutEffect(
|
|
308
328
|
() =>
|
|
309
329
|
addAndDelListener(thing, listenable, ...preArgs, listener, ...postArgs),
|
|
310
330
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -320,12 +340,12 @@ const useSetCallback = (
|
|
|
320
340
|
...args
|
|
321
341
|
) => {
|
|
322
342
|
const store = useStoreOrStoreById(storeOrStoreId);
|
|
323
|
-
return useCallback
|
|
343
|
+
return useCallback(
|
|
324
344
|
(parameter) =>
|
|
325
345
|
ifNotUndefined(store, (store2) =>
|
|
326
346
|
ifNotUndefined(get(parameter, store2), (thing) =>
|
|
327
347
|
then(
|
|
328
|
-
store2[
|
|
348
|
+
store2[SET + settable](
|
|
329
349
|
...argsOrGetArgs(args, store2, parameter),
|
|
330
350
|
thing,
|
|
331
351
|
),
|
|
@@ -348,12 +368,12 @@ const useDel = (
|
|
|
348
368
|
...args
|
|
349
369
|
) => {
|
|
350
370
|
const store = useStoreOrStoreById(storeOrStoreId);
|
|
351
|
-
return useCallback
|
|
371
|
+
return useCallback(
|
|
352
372
|
(parameter) =>
|
|
353
373
|
then(
|
|
354
374
|
store == null
|
|
355
375
|
? void 0
|
|
356
|
-
: store[
|
|
376
|
+
: store[DEL + deletable](...argsOrGetArgs(args, store, parameter)),
|
|
357
377
|
),
|
|
358
378
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
359
379
|
[store, deletable, ...thenDeps, ...nonFunctionDeps(args)],
|
|
@@ -363,16 +383,16 @@ const useCheckpointAction = (checkpointsOrCheckpointsId, action, arg) => {
|
|
|
363
383
|
const checkpoints = useCheckpointsOrCheckpointsById(
|
|
364
384
|
checkpointsOrCheckpointsId,
|
|
365
385
|
);
|
|
366
|
-
return useCallback
|
|
386
|
+
return useCallback(
|
|
367
387
|
() => (checkpoints == null ? void 0 : checkpoints[action](arg)),
|
|
368
388
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
369
389
|
[checkpoints, action, arg],
|
|
370
390
|
);
|
|
371
391
|
};
|
|
372
392
|
const useCreateStore = (create, createDeps = EMPTY_ARRAY) =>
|
|
373
|
-
useMemo
|
|
393
|
+
useMemo(create, createDeps);
|
|
374
394
|
const useCreateMergeableStore = (create, createDeps = EMPTY_ARRAY) =>
|
|
375
|
-
useMemo
|
|
395
|
+
useMemo(create, createDeps);
|
|
376
396
|
const useHasTables = (storeOrStoreId) =>
|
|
377
397
|
useListenable(
|
|
378
398
|
TABLES,
|
|
@@ -542,7 +562,7 @@ const useAddRowCallback = (
|
|
|
542
562
|
reuseRowIds = true,
|
|
543
563
|
) => {
|
|
544
564
|
const store = useStoreOrStoreById(storeOrStoreId);
|
|
545
|
-
return useCallback
|
|
565
|
+
return useCallback(
|
|
546
566
|
(parameter) =>
|
|
547
567
|
ifNotUndefined(store, (store2) =>
|
|
548
568
|
ifNotUndefined(getRow(parameter, store2), (row) =>
|
|
@@ -572,7 +592,7 @@ const useSetPartialRowCallback = (
|
|
|
572
592
|
) =>
|
|
573
593
|
useSetCallback(
|
|
574
594
|
storeOrStoreId,
|
|
575
|
-
|
|
595
|
+
PARTIAL + ROW,
|
|
576
596
|
getPartialRow,
|
|
577
597
|
getPartialRowDeps,
|
|
578
598
|
then,
|
|
@@ -625,7 +645,7 @@ const useSetPartialValuesCallback = (
|
|
|
625
645
|
) =>
|
|
626
646
|
useSetCallback(
|
|
627
647
|
storeOrStoreId,
|
|
628
|
-
|
|
648
|
+
PARTIAL + VALUES,
|
|
629
649
|
getPartialValues,
|
|
630
650
|
getPartialValuesDeps,
|
|
631
651
|
then,
|
|
@@ -976,7 +996,7 @@ const useWillFinishTransactionListener = (
|
|
|
976
996
|
storeOrStoreId,
|
|
977
997
|
) =>
|
|
978
998
|
useListener(
|
|
979
|
-
'
|
|
999
|
+
'Will' + FINISH + TRANSACTION,
|
|
980
1000
|
useStoreOrStoreById(storeOrStoreId),
|
|
981
1001
|
listener,
|
|
982
1002
|
listenerDeps,
|
|
@@ -987,7 +1007,7 @@ const useDidFinishTransactionListener = (
|
|
|
987
1007
|
storeOrStoreId,
|
|
988
1008
|
) =>
|
|
989
1009
|
useListener(
|
|
990
|
-
'
|
|
1010
|
+
'Did' + FINISH + TRANSACTION,
|
|
991
1011
|
useStoreOrStoreById(storeOrStoreId),
|
|
992
1012
|
listener,
|
|
993
1013
|
listenerDeps,
|
|
@@ -996,13 +1016,13 @@ const useCreateMetrics = (store, create, createDeps) =>
|
|
|
996
1016
|
useCreate(store, create, createDeps);
|
|
997
1017
|
const useMetricIds = (metricsOrMetricsId) =>
|
|
998
1018
|
useListenable(
|
|
999
|
-
|
|
1019
|
+
METRIC + IDS,
|
|
1000
1020
|
useMetricsOrMetricsById(metricsOrMetricsId),
|
|
1001
1021
|
1 /* Array */,
|
|
1002
1022
|
);
|
|
1003
1023
|
const useMetric = (metricId, metricsOrMetricsId) =>
|
|
1004
1024
|
useListenable(
|
|
1005
|
-
|
|
1025
|
+
METRIC,
|
|
1006
1026
|
useMetricsOrMetricsById(metricsOrMetricsId),
|
|
1007
1027
|
3 /* CellOrValue */,
|
|
1008
1028
|
[metricId],
|
|
@@ -1014,7 +1034,7 @@ const useMetricListener = (
|
|
|
1014
1034
|
metricsOrMetricsId,
|
|
1015
1035
|
) =>
|
|
1016
1036
|
useListener(
|
|
1017
|
-
|
|
1037
|
+
METRIC,
|
|
1018
1038
|
useMetricsOrMetricsById(metricsOrMetricsId),
|
|
1019
1039
|
listener,
|
|
1020
1040
|
listenerDeps,
|
|
@@ -1024,20 +1044,20 @@ const useCreateIndexes = (store, create, createDeps) =>
|
|
|
1024
1044
|
useCreate(store, create, createDeps);
|
|
1025
1045
|
const useSliceIds = (indexId, indexesOrIndexesId) =>
|
|
1026
1046
|
useListenable(
|
|
1027
|
-
|
|
1047
|
+
SLICE + IDS,
|
|
1028
1048
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1029
1049
|
1 /* Array */,
|
|
1030
1050
|
[indexId],
|
|
1031
1051
|
);
|
|
1032
1052
|
const useIndexIds = (indexesOrIndexesId) =>
|
|
1033
1053
|
useListenable(
|
|
1034
|
-
|
|
1054
|
+
INDEX + IDS,
|
|
1035
1055
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1036
1056
|
1 /* Array */,
|
|
1037
1057
|
);
|
|
1038
1058
|
const useSliceRowIds = (indexId, sliceId, indexesOrIndexesId) =>
|
|
1039
1059
|
useListenable(
|
|
1040
|
-
|
|
1060
|
+
SLICE + ROW_IDS,
|
|
1041
1061
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1042
1062
|
1 /* Array */,
|
|
1043
1063
|
[indexId, sliceId],
|
|
@@ -1049,7 +1069,7 @@ const useSliceIdsListener = (
|
|
|
1049
1069
|
indexesOrIndexesId,
|
|
1050
1070
|
) =>
|
|
1051
1071
|
useListener(
|
|
1052
|
-
|
|
1072
|
+
SLICE + IDS,
|
|
1053
1073
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1054
1074
|
listener,
|
|
1055
1075
|
listenerDeps,
|
|
@@ -1063,7 +1083,7 @@ const useSliceRowIdsListener = (
|
|
|
1063
1083
|
indexesOrIndexesId,
|
|
1064
1084
|
) =>
|
|
1065
1085
|
useListener(
|
|
1066
|
-
|
|
1086
|
+
SLICE + ROW_IDS,
|
|
1067
1087
|
useIndexesOrIndexesById(indexesOrIndexesId),
|
|
1068
1088
|
listener,
|
|
1069
1089
|
listenerDeps,
|
|
@@ -1073,7 +1093,7 @@ const useCreateRelationships = (store, create, createDeps) =>
|
|
|
1073
1093
|
useCreate(store, create, createDeps);
|
|
1074
1094
|
const useRelationshipIds = (relationshipsOrRelationshipsId) =>
|
|
1075
1095
|
useListenable(
|
|
1076
|
-
|
|
1096
|
+
RELATIONSHIP + IDS,
|
|
1077
1097
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1078
1098
|
1 /* Array */,
|
|
1079
1099
|
);
|
|
@@ -1083,7 +1103,7 @@ const useRemoteRowId = (
|
|
|
1083
1103
|
relationshipsOrRelationshipsId,
|
|
1084
1104
|
) =>
|
|
1085
1105
|
useListenable(
|
|
1086
|
-
|
|
1106
|
+
REMOTE_ROW_ID,
|
|
1087
1107
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1088
1108
|
3 /* CellOrValue */,
|
|
1089
1109
|
[relationshipId, localRowId],
|
|
@@ -1094,7 +1114,7 @@ const useLocalRowIds = (
|
|
|
1094
1114
|
relationshipsOrRelationshipsId,
|
|
1095
1115
|
) =>
|
|
1096
1116
|
useListenable(
|
|
1097
|
-
|
|
1117
|
+
LOCAL + ROW_IDS,
|
|
1098
1118
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1099
1119
|
1 /* Array */,
|
|
1100
1120
|
[relationshipId, remoteRowId],
|
|
@@ -1105,7 +1125,7 @@ const useLinkedRowIds = (
|
|
|
1105
1125
|
relationshipsOrRelationshipsId,
|
|
1106
1126
|
) =>
|
|
1107
1127
|
useListenable(
|
|
1108
|
-
|
|
1128
|
+
LINKED + ROW_IDS,
|
|
1109
1129
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1110
1130
|
1 /* Array */,
|
|
1111
1131
|
[relationshipId, firstRowId],
|
|
@@ -1118,7 +1138,7 @@ const useRemoteRowIdListener = (
|
|
|
1118
1138
|
relationshipsOrRelationshipsId,
|
|
1119
1139
|
) =>
|
|
1120
1140
|
useListener(
|
|
1121
|
-
|
|
1141
|
+
REMOTE_ROW_ID,
|
|
1122
1142
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1123
1143
|
listener,
|
|
1124
1144
|
listenerDeps,
|
|
@@ -1132,7 +1152,7 @@ const useLocalRowIdsListener = (
|
|
|
1132
1152
|
relationshipsOrRelationshipsId,
|
|
1133
1153
|
) =>
|
|
1134
1154
|
useListener(
|
|
1135
|
-
|
|
1155
|
+
LOCAL + ROW_IDS,
|
|
1136
1156
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1137
1157
|
listener,
|
|
1138
1158
|
listenerDeps,
|
|
@@ -1146,7 +1166,7 @@ const useLinkedRowIdsListener = (
|
|
|
1146
1166
|
relationshipsOrRelationshipsId,
|
|
1147
1167
|
) =>
|
|
1148
1168
|
useListener(
|
|
1149
|
-
|
|
1169
|
+
LINKED + ROW_IDS,
|
|
1150
1170
|
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
|
|
1151
1171
|
listener,
|
|
1152
1172
|
listenerDeps,
|
|
@@ -1156,7 +1176,7 @@ const useCreateQueries = (store, create, createDeps) =>
|
|
|
1156
1176
|
useCreate(store, create, createDeps);
|
|
1157
1177
|
const useQueryIds = (queriesOrQueriesId) =>
|
|
1158
1178
|
useListenable(
|
|
1159
|
-
|
|
1179
|
+
QUERY + IDS,
|
|
1160
1180
|
useQueriesOrQueriesById(queriesOrQueriesId),
|
|
1161
1181
|
1 /* Array */,
|
|
1162
1182
|
);
|
|
@@ -1339,13 +1359,13 @@ const useCreateCheckpoints = (store, create, createDeps) =>
|
|
|
1339
1359
|
useCreate(store, create, createDeps);
|
|
1340
1360
|
const useCheckpointIds = (checkpointsOrCheckpointsId) =>
|
|
1341
1361
|
useListenable(
|
|
1342
|
-
|
|
1362
|
+
CHECKPOINT + IDS,
|
|
1343
1363
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1344
1364
|
2 /* Checkpoints */,
|
|
1345
1365
|
);
|
|
1346
1366
|
const useCheckpoint = (checkpointId, checkpointsOrCheckpointsId) =>
|
|
1347
1367
|
useListenable(
|
|
1348
|
-
|
|
1368
|
+
CHECKPOINT,
|
|
1349
1369
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1350
1370
|
3 /* CellOrValue */,
|
|
1351
1371
|
[checkpointId],
|
|
@@ -1360,7 +1380,7 @@ const useSetCheckpointCallback = (
|
|
|
1360
1380
|
const checkpoints = useCheckpointsOrCheckpointsById(
|
|
1361
1381
|
checkpointsOrCheckpointsId,
|
|
1362
1382
|
);
|
|
1363
|
-
return useCallback
|
|
1383
|
+
return useCallback(
|
|
1364
1384
|
(parameter) =>
|
|
1365
1385
|
ifNotUndefined(checkpoints, (checkpoints2) => {
|
|
1366
1386
|
const label = getCheckpoint(parameter);
|
|
@@ -1384,7 +1404,7 @@ const useGoToCallback = (
|
|
|
1384
1404
|
const checkpoints = useCheckpointsOrCheckpointsById(
|
|
1385
1405
|
checkpointsOrCheckpointsId,
|
|
1386
1406
|
);
|
|
1387
|
-
return useCallback
|
|
1407
|
+
return useCallback(
|
|
1388
1408
|
(parameter) =>
|
|
1389
1409
|
ifNotUndefined(checkpoints, (checkpoints2) =>
|
|
1390
1410
|
ifNotUndefined(getCheckpointId(parameter), (checkpointId) =>
|
|
@@ -1435,7 +1455,7 @@ const useCheckpointIdsListener = (
|
|
|
1435
1455
|
checkpointsOrCheckpointsId,
|
|
1436
1456
|
) =>
|
|
1437
1457
|
useListener(
|
|
1438
|
-
|
|
1458
|
+
CHECKPOINT + IDS,
|
|
1439
1459
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1440
1460
|
listener,
|
|
1441
1461
|
listenerDeps,
|
|
@@ -1447,7 +1467,7 @@ const useCheckpointListener = (
|
|
|
1447
1467
|
checkpointsOrCheckpointsId,
|
|
1448
1468
|
) =>
|
|
1449
1469
|
useListener(
|
|
1450
|
-
|
|
1470
|
+
CHECKPOINT,
|
|
1451
1471
|
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
|
|
1452
1472
|
listener,
|
|
1453
1473
|
listenerDeps,
|
|
@@ -1462,8 +1482,8 @@ const useCreatePersister = (
|
|
|
1462
1482
|
destroy,
|
|
1463
1483
|
destroyDeps = EMPTY_ARRAY,
|
|
1464
1484
|
) => {
|
|
1465
|
-
const [, rerender] = useState
|
|
1466
|
-
const [persister, setPersister] = useState
|
|
1485
|
+
const [, rerender] = useState();
|
|
1486
|
+
const [persister, setPersister] = useState();
|
|
1467
1487
|
useEffect(
|
|
1468
1488
|
() => {
|
|
1469
1489
|
(() =>
|
|
@@ -1520,7 +1540,7 @@ const useCreateSynchronizer = (
|
|
|
1520
1540
|
destroy,
|
|
1521
1541
|
destroyDeps = EMPTY_ARRAY,
|
|
1522
1542
|
) => {
|
|
1523
|
-
const [synchronizer, setSynchronizer] = useState
|
|
1543
|
+
const [synchronizer, setSynchronizer] = useState();
|
|
1524
1544
|
useEffect(
|
|
1525
1545
|
() => {
|
|
1526
1546
|
(() =>
|
|
@@ -1564,33 +1584,6 @@ const useSynchronizerStatusListener = (
|
|
|
1564
1584
|
[],
|
|
1565
1585
|
);
|
|
1566
1586
|
|
|
1567
|
-
const {
|
|
1568
|
-
PureComponent,
|
|
1569
|
-
Fragment,
|
|
1570
|
-
createElement,
|
|
1571
|
-
useCallback: useCallback$1,
|
|
1572
|
-
useLayoutEffect,
|
|
1573
|
-
useRef,
|
|
1574
|
-
useState: useState$1,
|
|
1575
|
-
} = React;
|
|
1576
|
-
const getProps = (getProps2, ...ids) =>
|
|
1577
|
-
isUndefined(getProps2) ? {} : getProps2(...ids);
|
|
1578
|
-
const getRelationshipsStoreTableIds = (relationships, relationshipId) => [
|
|
1579
|
-
relationships,
|
|
1580
|
-
relationships == null ? void 0 : relationships.getStore(),
|
|
1581
|
-
relationships == null
|
|
1582
|
-
? void 0
|
|
1583
|
-
: relationships.getLocalTableId(relationshipId),
|
|
1584
|
-
relationships == null
|
|
1585
|
-
? void 0
|
|
1586
|
-
: relationships.getRemoteTableId(relationshipId),
|
|
1587
|
-
];
|
|
1588
|
-
const getIndexStoreTableId = (indexes, indexId) => [
|
|
1589
|
-
indexes,
|
|
1590
|
-
indexes == null ? void 0 : indexes.getStore(),
|
|
1591
|
-
indexes == null ? void 0 : indexes.getTableId(indexId),
|
|
1592
|
-
];
|
|
1593
|
-
|
|
1594
1587
|
var __defProp = Object.defineProperty;
|
|
1595
1588
|
var __defProps = Object.defineProperties;
|
|
1596
1589
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -1628,7 +1621,6 @@ var __objRest = (source, exclude) => {
|
|
|
1628
1621
|
}
|
|
1629
1622
|
return target;
|
|
1630
1623
|
};
|
|
1631
|
-
const {useCallback, useContext, useMemo, useState} = React;
|
|
1632
1624
|
const mergeParentThings = (
|
|
1633
1625
|
offset,
|
|
1634
1626
|
parentValue,
|
|
@@ -1835,56 +1827,56 @@ const Provider = ({
|
|
|
1835
1827
|
value: useMemo(
|
|
1836
1828
|
() => [
|
|
1837
1829
|
...mergeParentThings(
|
|
1838
|
-
|
|
1830
|
+
0 /* Store */,
|
|
1839
1831
|
parentValue,
|
|
1840
1832
|
store,
|
|
1841
1833
|
storesById,
|
|
1842
1834
|
extraThingsById,
|
|
1843
1835
|
),
|
|
1844
1836
|
...mergeParentThings(
|
|
1845
|
-
|
|
1837
|
+
1 /* Metrics */,
|
|
1846
1838
|
parentValue,
|
|
1847
1839
|
metrics,
|
|
1848
1840
|
metricsById,
|
|
1849
1841
|
extraThingsById,
|
|
1850
1842
|
),
|
|
1851
1843
|
...mergeParentThings(
|
|
1852
|
-
|
|
1844
|
+
2 /* Indexes */,
|
|
1853
1845
|
parentValue,
|
|
1854
1846
|
indexes,
|
|
1855
1847
|
indexesById,
|
|
1856
1848
|
extraThingsById,
|
|
1857
1849
|
),
|
|
1858
1850
|
...mergeParentThings(
|
|
1859
|
-
|
|
1851
|
+
3 /* Relationships */,
|
|
1860
1852
|
parentValue,
|
|
1861
1853
|
relationships,
|
|
1862
1854
|
relationshipsById,
|
|
1863
1855
|
extraThingsById,
|
|
1864
1856
|
),
|
|
1865
1857
|
...mergeParentThings(
|
|
1866
|
-
|
|
1858
|
+
4 /* Queries */,
|
|
1867
1859
|
parentValue,
|
|
1868
1860
|
queries,
|
|
1869
1861
|
queriesById,
|
|
1870
1862
|
extraThingsById,
|
|
1871
1863
|
),
|
|
1872
1864
|
...mergeParentThings(
|
|
1873
|
-
|
|
1865
|
+
5 /* Checkpoints */,
|
|
1874
1866
|
parentValue,
|
|
1875
1867
|
checkpoints,
|
|
1876
1868
|
checkpointsById,
|
|
1877
1869
|
extraThingsById,
|
|
1878
1870
|
),
|
|
1879
1871
|
...mergeParentThings(
|
|
1880
|
-
|
|
1872
|
+
6 /* Persister */,
|
|
1881
1873
|
parentValue,
|
|
1882
1874
|
persister,
|
|
1883
1875
|
persistersById,
|
|
1884
1876
|
extraThingsById,
|
|
1885
1877
|
),
|
|
1886
1878
|
...mergeParentThings(
|
|
1887
|
-
|
|
1879
|
+
7 /* Synchronizer */,
|
|
1888
1880
|
parentValue,
|
|
1889
1881
|
synchronizer,
|
|
1890
1882
|
synchronizersById,
|