tinybase 2.0.0-beta.1 → 2.0.0-beta.4
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/lib/checkpoints.d.ts +5 -4
- package/lib/checkpoints.js +1 -1
- package/lib/checkpoints.js.gz +0 -0
- package/lib/common.js +1 -1
- package/lib/common.js.gz +0 -0
- package/lib/debug/checkpoints.d.ts +5 -4
- package/lib/debug/checkpoints.js +13 -16
- package/lib/debug/common.js +4 -1
- package/lib/debug/indexes.d.ts +4 -2
- package/lib/debug/indexes.js +13 -15
- package/lib/debug/metrics.d.ts +1 -1
- package/lib/debug/metrics.js +13 -16
- package/lib/debug/persisters.d.ts +7 -1
- package/lib/debug/queries.d.ts +296 -326
- package/lib/debug/queries.js +71 -192
- package/lib/debug/relationships.d.ts +7 -6
- package/lib/debug/relationships.js +13 -16
- package/lib/debug/store.d.ts +386 -86
- package/lib/debug/store.js +278 -216
- package/lib/debug/tinybase.js +322 -390
- package/lib/debug/ui-react.d.ts +850 -68
- package/lib/debug/ui-react.js +217 -120
- package/lib/indexes.d.ts +4 -2
- package/lib/indexes.js +1 -1
- package/lib/indexes.js.gz +0 -0
- package/lib/metrics.d.ts +1 -1
- package/lib/metrics.js +1 -1
- package/lib/metrics.js.gz +0 -0
- package/lib/persisters.d.ts +7 -1
- package/lib/queries.d.ts +296 -326
- package/lib/queries.js +1 -1
- package/lib/queries.js.gz +0 -0
- package/lib/relationships.d.ts +7 -6
- package/lib/relationships.js +1 -1
- package/lib/relationships.js.gz +0 -0
- package/lib/store.d.ts +386 -86
- package/lib/store.js +1 -1
- package/lib/store.js.gz +0 -0
- package/lib/tinybase.js +1 -1
- package/lib/tinybase.js.gz +0 -0
- package/lib/ui-react.d.ts +850 -68
- package/lib/ui-react.js +1 -1
- package/lib/ui-react.js.gz +0 -0
- package/lib/umd/checkpoints.js +1 -1
- package/lib/umd/checkpoints.js.gz +0 -0
- package/lib/umd/common.js +1 -1
- package/lib/umd/common.js.gz +0 -0
- package/lib/umd/indexes.js +1 -1
- package/lib/umd/indexes.js.gz +0 -0
- package/lib/umd/metrics.js +1 -1
- package/lib/umd/metrics.js.gz +0 -0
- package/lib/umd/queries.js +1 -1
- package/lib/umd/queries.js.gz +0 -0
- package/lib/umd/relationships.js +1 -1
- package/lib/umd/relationships.js.gz +0 -0
- package/lib/umd/store.js +1 -1
- package/lib/umd/store.js.gz +0 -0
- package/lib/umd/tinybase.js +1 -1
- package/lib/umd/tinybase.js.gz +0 -0
- package/lib/umd/ui-react.js +1 -1
- package/lib/umd/ui-react.js.gz +0 -0
- package/package.json +28 -27
- package/readme.md +11 -11
package/lib/persisters.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* @see Persisting Data guide
|
|
23
23
|
* @see Countries demo
|
|
24
24
|
* @see Todo App demos
|
|
25
|
-
* @see
|
|
25
|
+
* @see Drawing demo
|
|
26
26
|
* @packageDocumentation
|
|
27
27
|
* @module persisters
|
|
28
28
|
*/
|
|
@@ -40,7 +40,13 @@ import {Callback} from './common.d';
|
|
|
40
40
|
* @category Development
|
|
41
41
|
*/
|
|
42
42
|
export type PersisterStats = {
|
|
43
|
+
/**
|
|
44
|
+
* The number of times data has been loaded.
|
|
45
|
+
*/
|
|
43
46
|
loads?: number;
|
|
47
|
+
/**
|
|
48
|
+
* The number of times data has been saved.
|
|
49
|
+
*/
|
|
44
50
|
saves?: number;
|
|
45
51
|
};
|
|
46
52
|
|