@dereekb/util 7.4.0 → 7.7.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ # [7.7.0](https://github.com/dereekb/dbx-components/compare/v7.6.0-dev...v7.7.0) (2022-06-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * added UseAsync ([f52ff34](https://github.com/dereekb/dbx-components/commit/f52ff345621ecbcb4d6b0f2957dcd7f4f901ac3a))
11
+
12
+
13
+
14
+ # [7.6.0](https://github.com/dereekb/dbx-components/compare/v7.5.0-dev...v7.6.0) (2022-06-09)
15
+
16
+
17
+ ### Features
18
+
19
+ * added wrapUseFunction() ([7bbae2f](https://github.com/dereekb/dbx-components/commit/7bbae2fdcbf8344c04c5c26db1d5a40b8048985b))
20
+
21
+
22
+
23
+ # [7.5.0](https://github.com/dereekb/dbx-components/compare/v7.4.0-dev...v7.5.0) (2022-06-08)
24
+
25
+
26
+ ### Features
27
+
28
+ * added UseFunction, MappedUseFunction ([84b6cbe](https://github.com/dereekb/dbx-components/commit/84b6cbe23b7e020ad7de49633642429d7e32f7d4))
29
+
30
+
31
+
5
32
  # [7.4.0](https://github.com/dereekb/dbx-components/compare/v7.3.0-dev...v7.4.0) (2022-06-08)
6
33
 
7
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util",
3
- "version": "7.4.0",
3
+ "version": "7.7.0",
4
4
  "type": "commonjs",
5
5
  "exports": {
6
6
  ".": {
@@ -1,3 +1,4 @@
1
+ import { PromiseOrValue } from '../promise/promise';
1
2
  /**
2
3
  * Function that returns a value.
3
4
  */
@@ -18,6 +19,10 @@ export declare type FactoryWithRequiredInput<T, A> = (args: A) => T;
18
19
  * Either a Getter, or an instance of the item.
19
20
  */
20
21
  export declare type GetterOrValue<T> = T | Getter<T>;
22
+ /**
23
+ * A GetterOrValue returned from a Promise.
24
+ */
25
+ export declare type AsyncGetterOrValue<T> = GetterOrValue<PromiseOrValue<T>>;
21
26
  /**
22
27
  * Either a GetterWithInput, or a Getter.
23
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getter.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/getter/getter.ts"],"names":[],"mappings":";;;AAqCA;;;;;GAKG;AACH,SAAgB,QAAQ,CAAc,KAAc;IAClD,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;AACrC,CAAC;AAFD,4BAEC;AAaD,SAAgB,kBAAkB,CAAsB,KAAc,EAAE,IAAQ;IAC9E,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;QAC/B,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;KACpB;SAAM;QACL,OAAO,KAAU,CAAC;KACnB;AACH,CAAC;AAND,gDAMC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAI,KAAuB;IACjD,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;QAC/B,OAAO,KAAkB,CAAC;KAC3B;SAAM;QACL,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;KAC1B;AACH,CAAC;AAND,4BAMC;AAED;;;;;GAKG;AACH,SAAgB,UAAU,CAAI,KAAQ;IACpC,OAAO,GAAG,EAAE,CAAC,KAAK,CAAC;AACrB,CAAC;AAFD,gCAEC"}
1
+ {"version":3,"file":"getter.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/getter/getter.ts"],"names":[],"mappings":";;;AA4CA;;;;;GAKG;AACH,SAAgB,QAAQ,CAAc,KAAc;IAClD,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;AACrC,CAAC;AAFD,4BAEC;AAaD,SAAgB,kBAAkB,CAAsB,KAAc,EAAE,IAAQ;IAC9E,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;QAC/B,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;KACpB;SAAM;QACL,OAAO,KAAU,CAAC;KACnB;AACH,CAAC;AAND,gDAMC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAI,KAAuB;IACjD,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;QAC/B,OAAO,KAAkB,CAAC;KAC3B;SAAM;QACL,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;KAC1B;AACH,CAAC;AAND,4BAMC;AAED;;;;;GAKG;AACH,SAAgB,UAAU,CAAI,KAAQ;IACpC,OAAO,GAAG,EAAE,CAAC,KAAK,CAAC;AACrB,CAAC;AAFD,gCAEC"}
@@ -1,12 +1,11 @@
1
1
  import { GetterOrValue } from '../getter';
2
- import { PromiseOrValue } from './promise';
3
- export declare type UsePromiseUseFunction<I, O> = (value: I) => PromiseOrValue<O>;
2
+ import { UseAsync } from '../value';
4
3
  /**
5
- * Uses a value returned from a promise.
4
+ * Uses a cached promise value.
6
5
  */
7
- export declare type UsePromiseFunction<I> = <O>(useFn: UsePromiseUseFunction<I, O>) => Promise<O>;
6
+ export declare type UsePromiseFunction<I> = <O>(useFn: UseAsync<I, O>) => Promise<O>;
8
7
  /**
9
- * Creates a UsePromiseFactory.
8
+ * Creates a UsePromiseFunction.
10
9
  *
11
10
  * @param input
12
11
  * @returns
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.usePromise = void 0;
4
4
  const getter_1 = require("../getter");
5
5
  /**
6
- * Creates a UsePromiseFactory.
6
+ * Creates a UsePromiseFunction.
7
7
  *
8
8
  * @param input
9
9
  * @returns
@@ -1 +1 @@
1
- {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/promise/use.ts"],"names":[],"mappings":";;;AAAA,sCAAoD;AAUpD;;;;;GAKG;AACH,SAAgB,UAAU,CAAI,KAAgC;IAC5D,MAAM,OAAO,GAAG,IAAA,iBAAQ,EAAC,KAAK,CAAC,CAAC;IAChC,OAAO,CAAI,KAAkC,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAe,CAAC;AACxF,CAAC;AAHD,gCAGC"}
1
+ {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/promise/use.ts"],"names":[],"mappings":";;;AAAA,sCAAoD;AAQpD;;;;;GAKG;AACH,SAAgB,UAAU,CAAI,KAAgC;IAC5D,MAAM,OAAO,GAAG,IAAA,iBAAQ,EAAC,KAAK,CAAC,CAAC;IAChC,OAAO,CAAI,KAAqB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAe,CAAC;AAC3E,CAAC;AAHD,gCAGC"}
@@ -5,3 +5,4 @@ export * from './maybe.type';
5
5
  export * from './maybe';
6
6
  export * from './modifier';
7
7
  export * from './url';
8
+ export * from './use';
@@ -8,4 +8,5 @@ tslib_1.__exportStar(require("./maybe.type"), exports);
8
8
  tslib_1.__exportStar(require("./maybe"), exports);
9
9
  tslib_1.__exportStar(require("./modifier"), exports);
10
10
  tslib_1.__exportStar(require("./url"), exports);
11
+ tslib_1.__exportStar(require("./use"), exports);
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/value/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB;AACxB,kDAAwB;AACxB,gDAAsB;AACtB,uDAA6B;AAC7B,kDAAwB;AACxB,qDAA2B;AAC3B,gDAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/value/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB;AACxB,kDAAwB;AACxB,gDAAsB;AACtB,uDAA6B;AAC7B,kDAAwB;AACxB,qDAA2B;AAC3B,gDAAsB;AACtB,gDAAsB"}
@@ -1,8 +1,16 @@
1
+ import { PromiseOrValue } from '../promise/promise';
1
2
  import { Maybe } from './maybe.type';
2
3
  /**
3
4
  * Converts one value to another.
4
5
  */
5
6
  export declare type MapFunction<I, O> = (input: I) => O;
7
+ /**
8
+ * Converts a MapFunction into one that returns a promise.
9
+ */
10
+ export declare type AsyncMapFunction<F extends MapFunction<any, any>> = F extends MapFunction<infer I, infer O> ? MapFunction<I, PromiseOrValue<O>> : never;
11
+ /**
12
+ * Converts a MapFunction into one that takes in arrays and returns arrays.
13
+ */
6
14
  export declare type MapArrayFunction<F extends MapFunction<any, any>> = F extends MapFunction<infer I, infer O> ? MapFunction<I[], O[]> : never;
7
15
  /**
8
16
  * Converts values from the input, and applies them to the target if a target is supplied.
@@ -43,3 +51,4 @@ export declare function mapFunctionOutput<O extends object, I = unknown>(output:
43
51
  * A map function that derives a boolean from the input.
44
52
  */
45
53
  export declare type DecisionFunction<I> = MapFunction<I, boolean>;
54
+ export declare type AsyncDecisionFunction<I> = AsyncMapFunction<DecisionFunction<I>>;
@@ -1 +1 @@
1
- {"version":3,"file":"map.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/value/map.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAoBhC,SAAgB,gBAAgB,CAAO,WAA8B;IACnE,OAAO,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAChD,CAAC;AAFD,4CAEC;AAEM,MAAM,YAAY,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,KAAK,CAAC;AAAzC,QAAA,YAAY,gBAA6B;AAEtD,SAAgB,mBAAmB;IACjC,OAAO,oBAAiC,CAAC;AAC3C,CAAC;AAFD,kDAEC;AAQD;;;;;GAKG;AACH,SAAgB,qBAAqB,CAAiB,EAAqB;IACzE,OAAO,CAAC,KAAQ,EAAE,EAAE;QAClB,MAAM,MAAM,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;QAEzB,OAAO;YACL,KAAK;YACL,MAAM;SACP,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AATD,sDASC;AAQD;;;;GAIG;AACH,SAAgB,qBAAqB,CAA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,OAAO,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC,CAAC;AACJ,CAAC;AALD,sDAKC;AAED,SAAgB,iBAAiB,CAAgC,MAAS,EAAE,KAAQ;IAClF,OAAO,IAAA,aAAK,EAA0B;QACpC,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE;YACX,CAAC,CAAC,MAAM,GAAG,KAA0C,CAAC;QACxD,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAPD,8CAOC"}
@@ -0,0 +1,42 @@
1
+ import { AsyncGetterOrValue, GetterOrValue } from '../getter';
2
+ import { PromiseOrValue } from '../promise/promise';
3
+ import { MapFunction } from './map';
4
+ import { Maybe } from './maybe.type';
5
+ /**
6
+ * A map function with the intent of using the input value, and returning another value.
7
+ */
8
+ export declare type UseValue<I, O = void> = MapFunction<I, O>;
9
+ export declare function useValue<I, O = void>(input: Maybe<I>, use: UseValue<I, O>, defaultValue?: Maybe<GetterOrValue<O>>): Maybe<O>;
10
+ export declare type UseFunction<I> = MappedUseFunction<I, I>;
11
+ export declare type MappedUseFunction<A, I> = <O = void>(input: Maybe<A>, use: UseValue<I, O>, defaultValue?: Maybe<GetterOrValue<O>>) => Maybe<O>;
12
+ /**
13
+ * Creates a MappedUseFunction.
14
+ */
15
+ export declare function mappedUseFunction<A, I>(map: MapFunction<A, Maybe<I>>): MappedUseFunction<A, I>;
16
+ /**
17
+ * Wraps another MappedUseFunction and maps the input values.
18
+ */
19
+ export declare function wrapUseFunction<A, B, I>(mappedUseFn: MappedUseFunction<A, B>, map: MapFunction<B, Maybe<I>>): MappedUseFunction<A, I>;
20
+ /**
21
+ * Runs a pre-determined function on the input to return a value.
22
+ */
23
+ export declare type UseContextFunction<I> = <O>(input: Maybe<I>) => Maybe<O>;
24
+ /**
25
+ * Creates a UseContextFunction.
26
+ */
27
+ export declare function useContextFunction<I, O>(use: UseValue<I, O>, defaultValue?: GetterOrValue<O>): UseContextFunction<I>;
28
+ /**
29
+ * A map function with the intent of using the input value, and returning another value as a promise.
30
+ */
31
+ export declare type UseAsync<I, O = void> = MapFunction<I, PromiseOrValue<O>>;
32
+ export declare function useAsync<I, O = void>(input: Maybe<I>, use: UseValue<I, O>, defaultValue?: Maybe<GetterOrValue<O>>): Promise<Maybe<O>>;
33
+ export declare type UseAsyncFunction<I> = MappedUseAsyncFunction<I, I>;
34
+ export declare type MappedUseAsyncFunction<A, I> = <O = void>(input: Maybe<A>, use: UseAsync<I, O>, defaultValue?: Maybe<AsyncGetterOrValue<O>>) => Promise<Maybe<O>>;
35
+ /**
36
+ * Creates a MappedUseFunction.
37
+ */
38
+ export declare function mappedUseAsyncFunction<A, I>(map: MapFunction<A, Maybe<PromiseOrValue<I>>>): MappedUseAsyncFunction<A, I>;
39
+ /**
40
+ * Wraps another MappedUseFunction or MappedUseAsyncFunction and maps the input values.
41
+ */
42
+ export declare function wrapUseAsyncFunction<A, B, I>(mappedUsePromiseFn: MappedUseAsyncFunction<A, B>, map: MapFunction<B, Maybe<PromiseOrValue<I>>>): MappedUseAsyncFunction<A, I>;
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.wrapUseAsyncFunction = exports.mappedUseAsyncFunction = exports.useAsync = exports.useContextFunction = exports.wrapUseFunction = exports.mappedUseFunction = exports.useValue = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const getter_1 = require("../getter");
6
+ function useValue(input, use, defaultValue) {
7
+ let result;
8
+ if (input != null) {
9
+ result = use(input);
10
+ }
11
+ else {
12
+ result = (0, getter_1.getValueFromGetter)(defaultValue);
13
+ }
14
+ return result;
15
+ }
16
+ exports.useValue = useValue;
17
+ /**
18
+ * Creates a MappedUseFunction.
19
+ */
20
+ function mappedUseFunction(map) {
21
+ return wrapUseFunction(useValue, map);
22
+ }
23
+ exports.mappedUseFunction = mappedUseFunction;
24
+ /**
25
+ * Wraps another MappedUseFunction and maps the input values.
26
+ */
27
+ function wrapUseFunction(mappedUseFn, map) {
28
+ return ((input, useFn, defaultValue) => {
29
+ return mappedUseFn(input, ((value) => useValue(map(value), useFn, defaultValue)), defaultValue);
30
+ });
31
+ }
32
+ exports.wrapUseFunction = wrapUseFunction;
33
+ /**
34
+ * Creates a UseContextFunction.
35
+ */
36
+ function useContextFunction(use, defaultValue) {
37
+ return ((input) => {
38
+ let result;
39
+ if (input != null) {
40
+ result = use(input);
41
+ }
42
+ else {
43
+ result = (0, getter_1.getValueFromGetter)(defaultValue);
44
+ }
45
+ return result;
46
+ });
47
+ }
48
+ exports.useContextFunction = useContextFunction;
49
+ function useAsync(input, use, defaultValue) {
50
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
51
+ let result;
52
+ if (input != null) {
53
+ result = (yield use(input));
54
+ }
55
+ else {
56
+ result = yield (0, getter_1.getValueFromGetter)(defaultValue);
57
+ }
58
+ return result;
59
+ });
60
+ }
61
+ exports.useAsync = useAsync;
62
+ /**
63
+ * Creates a MappedUseFunction.
64
+ */
65
+ function mappedUseAsyncFunction(map) {
66
+ return wrapUseAsyncFunction(useAsync, map);
67
+ }
68
+ exports.mappedUseAsyncFunction = mappedUseAsyncFunction;
69
+ /**
70
+ * Wraps another MappedUseFunction or MappedUseAsyncFunction and maps the input values.
71
+ */
72
+ function wrapUseAsyncFunction(mappedUsePromiseFn, map) {
73
+ return ((input, useFn, defaultValue) => {
74
+ return mappedUsePromiseFn(input, ((value) => tslib_1.__awaiter(this, void 0, void 0, function* () { return useValue(yield map(value), useFn, defaultValue); })), defaultValue);
75
+ });
76
+ }
77
+ exports.wrapUseAsyncFunction = wrapUseAsyncFunction;
78
+ //# sourceMappingURL=use.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/value/use.ts"],"names":[],"mappings":";;;;AAAA,sCAAkF;AAWlF,SAAgB,QAAQ,CAAc,KAAe,EAAE,GAAmB,EAAE,YAAsC;I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AC,KAAK,CAAC,CAAa,CAAC;SACzC;aAAM;YACL,MAAM,GAAG,MAAM,IAAA,2BAAkB,EAAC,YAAY,CAAC,CAAC;SACjD;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CAAA;AAVD,4BAUC;AAKD;;GAEG;AACH,SAAgB,sBAAsB,CAAO,GAA6C;IACxF,OAAO,oBAAoB,CAAU,QAAe,EAAE,GAAU,CAAC,CAAC;AACpE,CAAC;AAFD,wDAEC;AAED;;GAEG;AACH,SAAgB,oBAAoB,CAAU,kBAAgD,EAAE,GAA6C;IAC3I,OAAO,CAAC,CAAW,KAAe,EAAE,KAAqB,EAAE,YAA2C,EAAE,EAAE;QACxG,OAAO,kBAAkB,CAAI,KAAK,EAAE,CAAC,CAAO,KAAQ,EAAE,EAAE,wDAAC,OAAA,QAAQ,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,YAAY,CAAC,CAAA,GAAA,CAAmB,EAAE,YAAY,CAAC,CAAC;IAC7I,CAAC,CAAiC,CAAC;AACrC,CAAC;AAJD,oDAIC"}
package/test/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ # [7.7.0](https://github.com/dereekb/dbx-components/compare/v7.6.0-dev...v7.7.0) (2022-06-09)
6
+
7
+
8
+
9
+ # [7.6.0](https://github.com/dereekb/dbx-components/compare/v7.5.0-dev...v7.6.0) (2022-06-09)
10
+
11
+
12
+
13
+ # [7.5.0](https://github.com/dereekb/dbx-components/compare/v7.4.0-dev...v7.5.0) (2022-06-08)
14
+
15
+
16
+
5
17
  # [7.4.0](https://github.com/dereekb/dbx-components/compare/v7.3.0-dev...v7.4.0) (2022-06-08)
6
18
 
7
19
 
package/test/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/util/test",
3
- "version": "7.4.0",
3
+ "version": "7.7.0",
4
4
  "main": "./src/index.js",
5
5
  "typings": "./src/index.d.ts",
6
6
  "dependencies": {},
7
7
  "peerDependencies": {
8
- "@dereekb/util": "7.4.0",
8
+ "@dereekb/util": "7.7.0",
9
9
  "make-error": "^1.3.0",
10
10
  "ts-essentials": "^9.1.2",
11
11
  "extra-set": "^2.2.11",