@asaidimu/utils-store 2.2.0 → 2.3.1
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/index.d.mts +4 -4
- package/index.d.ts +4 -4
- package/package.json +2 -2
package/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as SimplePersistence } from '../types-
|
|
1
|
+
import { S as SimplePersistence } from '../types-ZDD-bdCz.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Utility type for representing partial updates to the state.
|
|
5
5
|
*/
|
|
6
|
-
type DeepPartial<T> = T extends object ? {
|
|
7
|
-
[
|
|
8
|
-
} : T;
|
|
6
|
+
type DeepPartial<T> = T extends object ? T extends readonly (infer U)[] ? readonly (DeepPartial<U> | undefined)[] | undefined | T : T extends (infer U)[] ? (DeepPartial<U> | undefined)[] | undefined | T : {
|
|
7
|
+
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> | undefined : T[K] | undefined;
|
|
8
|
+
} | undefined | T : T | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* Extended store state for monitoring execution status
|
|
11
11
|
*/
|
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as SimplePersistence } from '../types-
|
|
1
|
+
import { S as SimplePersistence } from '../types-ZDD-bdCz.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Utility type for representing partial updates to the state.
|
|
5
5
|
*/
|
|
6
|
-
type DeepPartial<T> = T extends object ? {
|
|
7
|
-
[
|
|
8
|
-
} : T;
|
|
6
|
+
type DeepPartial<T> = T extends object ? T extends readonly (infer U)[] ? readonly (DeepPartial<U> | undefined)[] | undefined | T : T extends (infer U)[] ? (DeepPartial<U> | undefined)[] | undefined | T : {
|
|
7
|
+
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> | undefined : T[K] | undefined;
|
|
8
|
+
} | undefined | T : T | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* Extended store state for monitoring execution status
|
|
11
11
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asaidimu/utils-store",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "A reactive data store",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@asaidimu/events": "^1.1.1",
|
|
33
|
-
"@asaidimu/utils-persistence": "2.0
|
|
33
|
+
"@asaidimu/utils-persistence": "2.1.0",
|
|
34
34
|
"uuid": "^11.1.0"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|