@thisisagile/easy 17.11.11 → 17.11.12
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/dist/types/Types.d.ts +1 -1
- package/package.json +2 -2
- package/src/types/Types.ts +1 -1
package/dist/types/Types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export type Optional<T> = T | undefined;
|
|
|
3
3
|
export type PartialRecord<K extends keyof any, T> = {
|
|
4
4
|
[P in K]?: T;
|
|
5
5
|
};
|
|
6
|
-
export type FromObject<K, V> = {
|
|
6
|
+
export type FromObject<K, V = boolean> = {
|
|
7
7
|
[key in keyof K]?: V;
|
|
8
8
|
};
|
|
9
9
|
export type FromKeys<T extends readonly (string | number | symbol)[], V = boolean> = FromObject<Record<T[number], unknown>, V>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thisisagile/easy",
|
|
3
|
-
"version": "17.11.
|
|
3
|
+
"version": "17.11.12",
|
|
4
4
|
"description": "Straightforward library for building domain-driven microservice architectures",
|
|
5
5
|
"author": "Sander Hoogendoorn",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@thisisagile/easy-test": "17.11.
|
|
37
|
+
"@thisisagile/easy-test": "17.11.12",
|
|
38
38
|
"@types/form-urlencoded": "^4.4.2",
|
|
39
39
|
"@types/luxon": "3.4.2",
|
|
40
40
|
"@types/validator": "^13.12.2"
|
package/src/types/Types.ts
CHANGED
|
@@ -4,6 +4,6 @@ export type Optional<T> = T | undefined;
|
|
|
4
4
|
|
|
5
5
|
export type PartialRecord<K extends keyof any, T> = { [P in K]?: T };
|
|
6
6
|
|
|
7
|
-
export type FromObject<K, V> = { [key in keyof K]?: V };
|
|
7
|
+
export type FromObject<K, V = boolean> = { [key in keyof K]?: V };
|
|
8
8
|
|
|
9
9
|
export type FromKeys<T extends readonly (string | number | symbol)[], V = boolean> = FromObject<Record<T[number], unknown>, V>;
|