tinybase 3.1.0-beta.4 → 3.1.0-beta.5
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/debug/ui-react.js +2 -2
- package/lib/{cjs-es6 → types}/checkpoints.d.ts +11 -13
- package/lib/{debug → types}/indexes.d.ts +8 -16
- package/lib/{debug → types}/metrics.d.ts +47 -50
- package/lib/{cjs → types}/persisters.d.ts +24 -30
- package/lib/{cjs-es6 → types}/queries.d.ts +472 -309
- package/lib/{debug → types}/relationships.d.ts +9 -17
- package/lib/{cjs-es6 → types}/store.d.ts +176 -1084
- package/lib/types/tinybase.d.ts +14 -0
- package/lib/{cjs-es6 → types}/tools.d.ts +7 -12
- package/lib/{debug → types}/ui-react.d.ts +11 -5
- package/lib/{checkpoints.d.ts → types/with-schemas/checkpoints.d.ts} +9 -7
- package/lib/{cjs → types/with-schemas}/indexes.d.ts +31 -18
- package/lib/types/with-schemas/internal/queries.d.ts +15 -0
- package/lib/types/with-schemas/internal/store.d.ts +101 -0
- package/lib/types/with-schemas/internal/ui-react.d.ts +776 -0
- package/lib/{cjs → types/with-schemas}/metrics.d.ts +54 -50
- package/lib/{debug → types/with-schemas}/persisters.d.ts +4 -4
- package/lib/{debug → types/with-schemas}/queries.d.ts +607 -346
- package/lib/{cjs → types/with-schemas}/relationships.d.ts +29 -20
- package/lib/{debug → types/with-schemas}/store.d.ts +386 -829
- package/lib/types/with-schemas/tinybase.d.ts +14 -0
- package/lib/{debug → types/with-schemas}/tools.d.ts +7 -10
- package/lib/{cjs-es6 → types/with-schemas}/ui-react.d.ts +817 -1314
- package/package.json +145 -29
- package/readme.md +3 -3
- package/lib/cjs/checkpoints.d.ts +0 -961
- package/lib/cjs/queries.d.ts +0 -3028
- package/lib/cjs/store.d.ts +0 -6143
- package/lib/cjs/tinybase.d.ts +0 -14
- package/lib/cjs/tools.d.ts +0 -536
- package/lib/cjs/ui-react.d.ts +0 -10921
- package/lib/cjs-es6/indexes.d.ts +0 -974
- package/lib/cjs-es6/metrics.d.ts +0 -829
- package/lib/cjs-es6/persisters.d.ts +0 -733
- package/lib/cjs-es6/relationships.d.ts +0 -1209
- package/lib/cjs-es6/tinybase.d.ts +0 -14
- package/lib/common.d.ts +0 -115
- package/lib/debug/checkpoints.d.ts +0 -961
- package/lib/debug/common.d.ts +0 -115
- package/lib/debug/tinybase.d.ts +0 -14
- package/lib/es6/checkpoints.d.ts +0 -961
- package/lib/es6/common.d.ts +0 -115
- package/lib/es6/indexes.d.ts +0 -974
- package/lib/es6/metrics.d.ts +0 -829
- package/lib/es6/persisters.d.ts +0 -733
- package/lib/es6/queries.d.ts +0 -3028
- package/lib/es6/relationships.d.ts +0 -1209
- package/lib/es6/store.d.ts +0 -6143
- package/lib/es6/tinybase.d.ts +0 -14
- package/lib/es6/tools.d.ts +0 -536
- package/lib/es6/ui-react.d.ts +0 -10921
- package/lib/indexes.d.ts +0 -974
- package/lib/metrics.d.ts +0 -829
- package/lib/persisters.d.ts +0 -733
- package/lib/queries.d.ts +0 -3028
- package/lib/relationships.d.ts +0 -1209
- package/lib/store.d.ts +0 -6143
- package/lib/tinybase.d.ts +0 -14
- package/lib/tools.d.ts +0 -536
- package/lib/ui-react.d.ts +0 -10921
- package/lib/umd/checkpoints.d.ts +0 -961
- package/lib/umd/common.d.ts +0 -115
- package/lib/umd/indexes.d.ts +0 -974
- package/lib/umd/metrics.d.ts +0 -829
- package/lib/umd/persisters.d.ts +0 -733
- package/lib/umd/queries.d.ts +0 -3028
- package/lib/umd/relationships.d.ts +0 -1209
- package/lib/umd/store.d.ts +0 -6143
- package/lib/umd/tinybase.d.ts +0 -14
- package/lib/umd/tools.d.ts +0 -536
- package/lib/umd/ui-react.d.ts +0 -10921
- package/lib/umd-es6/checkpoints.d.ts +0 -961
- package/lib/umd-es6/common.d.ts +0 -115
- package/lib/umd-es6/indexes.d.ts +0 -974
- package/lib/umd-es6/metrics.d.ts +0 -829
- package/lib/umd-es6/persisters.d.ts +0 -733
- package/lib/umd-es6/queries.d.ts +0 -3028
- package/lib/umd-es6/relationships.d.ts +0 -1209
- package/lib/umd-es6/store.d.ts +0 -6143
- package/lib/umd-es6/tinybase.d.ts +0 -14
- package/lib/umd-es6/tools.d.ts +0 -536
- package/lib/umd-es6/ui-react.d.ts +0 -10921
- /package/lib/{cjs-es6 → types}/common.d.ts +0 -0
- /package/lib/{cjs → types/with-schemas}/common.d.ts +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is everything.
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export * from './checkpoints.d';
|
|
8
|
+
export * from './common.d';
|
|
9
|
+
export * from './indexes.d';
|
|
10
|
+
export * from './metrics.d';
|
|
11
|
+
export * from './persisters.d';
|
|
12
|
+
export * from './queries.d';
|
|
13
|
+
export * from './relationships.d';
|
|
14
|
+
export * from './store.d';
|
|
@@ -10,13 +10,7 @@
|
|
|
10
10
|
* @since v2.2.0
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import {
|
|
14
|
-
NoSchemas,
|
|
15
|
-
OptionalSchemas,
|
|
16
|
-
Store,
|
|
17
|
-
TablesSchema,
|
|
18
|
-
ValuesSchema,
|
|
19
|
-
} from './store.d';
|
|
13
|
+
import {OptionalSchemas, Store} from './store.d';
|
|
20
14
|
import {Id} from './common.d';
|
|
21
15
|
|
|
22
16
|
/**
|
|
@@ -90,6 +84,9 @@ export type StoreStatsTableDetail = {
|
|
|
90
84
|
* The number of Cell objects in the Table, across all Row objects.
|
|
91
85
|
*/
|
|
92
86
|
tableCells: number;
|
|
87
|
+
/**
|
|
88
|
+
* Detail about the Table object.
|
|
89
|
+
*/
|
|
93
90
|
rows: {[rowId: Id]: StoreStatsRowDetail};
|
|
94
91
|
};
|
|
95
92
|
|
|
@@ -115,7 +112,7 @@ export type StoreStatsRowDetail = {
|
|
|
115
112
|
* @category Tools
|
|
116
113
|
* @since v2.2.0
|
|
117
114
|
*/
|
|
118
|
-
export interface Tools<Schemas extends OptionalSchemas
|
|
115
|
+
export interface Tools<in out Schemas extends OptionalSchemas> {
|
|
119
116
|
/* eslint-disable max-len */
|
|
120
117
|
/**
|
|
121
118
|
* The getStoreStats method provides a set of statistics about the Store, and
|
|
@@ -236,7 +233,7 @@ export interface Tools<Schemas extends OptionalSchemas = NoSchemas> {
|
|
|
236
233
|
* @category Modelling
|
|
237
234
|
* @since v3.0.0
|
|
238
235
|
*/
|
|
239
|
-
getStoreTablesSchema():
|
|
236
|
+
getStoreTablesSchema(): Schemas[0];
|
|
240
237
|
|
|
241
238
|
/**
|
|
242
239
|
* The getStoreValuesSchema method returns the ValuesSchema of the Store as an
|
|
@@ -275,7 +272,7 @@ export interface Tools<Schemas extends OptionalSchemas = NoSchemas> {
|
|
|
275
272
|
* @category Modelling
|
|
276
273
|
* @since v3.0.0
|
|
277
274
|
*/
|
|
278
|
-
getStoreValuesSchema():
|
|
275
|
+
getStoreValuesSchema(): Schemas[1];
|
|
279
276
|
|
|
280
277
|
/**
|
|
281
278
|
* The getStoreApi method returns code-generated `.d.ts` and `.ts(x)` files
|