@dereekb/util 12.2.0 → 12.2.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/fetch/package.json +1 -1
- package/package.json +1 -1
- package/src/lib/key.d.ts +4 -0
- package/test/CHANGELOG.md +4 -0
- package/test/package.json +1 -1
package/fetch/package.json
CHANGED
package/package.json
CHANGED
package/src/lib/key.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export type FieldOfType<T> = keyof T;
|
|
|
13
13
|
* Reads a key from the input object.
|
|
14
14
|
*/
|
|
15
15
|
export type ReadKeyFunction<T, K extends PrimativeKey = PrimativeKey> = MapFunction<T, Maybe<K>>;
|
|
16
|
+
/**
|
|
17
|
+
* Reads a key value from the input object that is required to exist.
|
|
18
|
+
*/
|
|
19
|
+
export type ReadRequiredKeyFunction<T, K extends PrimativeKey = PrimativeKey> = MapFunction<T, K>;
|
|
16
20
|
/**
|
|
17
21
|
* Reads one or more keys from the input object.
|
|
18
22
|
*/
|
package/test/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [12.2.1](https://github.com/dereekb/dbx-components/compare/v12.2.0-dev...v12.2.1) (2025-07-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
# [12.2.0](https://github.com/dereekb/dbx-components/compare/v12.1.14-dev...v12.2.0) (2025-06-29)
|
|
6
10
|
|
|
7
11
|
|