@dereekb/util 10.0.5 → 10.0.7
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/CHANGELOG.md +8 -0
- package/fetch/package.json +6 -3
- package/fetch/src/lib/fetch.d.ts +2 -2
- package/fetch/src/lib/fetch.js.map +1 -1
- package/fetch/src/lib/json.d.ts +3 -3
- package/fetch/src/lib/json.js.map +1 -1
- package/fetch/src/lib/provider.d.ts +1 -1
- package/fetch/src/lib/provider.js +2 -3
- package/fetch/src/lib/provider.js.map +1 -1
- package/fetch/src/lib/url.d.ts +1 -1
- package/fetch/src/lib/url.js.map +1 -1
- package/index.cjs.d.ts +1 -0
- package/index.cjs.js +14375 -0
- package/index.esm.js +15743 -0
- package/package.json +13 -8
- package/src/lib/array/array.boolean.d.ts +2 -2
- package/src/lib/array/array.d.ts +1 -1
- package/src/lib/array/array.factory.d.ts +2 -2
- package/src/lib/array/array.filter.d.ts +2 -2
- package/src/lib/array/array.find.d.ts +1 -1
- package/src/lib/array/array.index.d.ts +2 -2
- package/src/lib/array/array.indexed.d.ts +3 -3
- package/src/lib/array/array.limit.d.ts +1 -1
- package/src/lib/array/array.make.d.ts +2 -2
- package/src/lib/array/array.map.d.ts +2 -2
- package/src/lib/array/array.number.d.ts +1 -1
- package/src/lib/array/array.random.d.ts +1 -1
- package/src/lib/array/array.string.d.ts +3 -3
- package/src/lib/array/array.unique.d.ts +2 -2
- package/src/lib/array/array.value.d.ts +1 -1
- package/src/lib/assertion/assert.error.d.ts +2 -2
- package/src/lib/assertion/assertion.d.ts +1 -1
- package/src/lib/assertion/assertion.generic.d.ts +2 -2
- package/src/lib/assertion/assertion.number.d.ts +1 -1
- package/src/lib/auth/auth.role.claims.d.ts +3 -3
- package/src/lib/auth/auth.role.d.ts +1 -1
- package/src/lib/boolean.d.ts +1 -1
- package/src/lib/contact/domain.d.ts +1 -1
- package/src/lib/contact/phone.d.ts +1 -1
- package/src/lib/contact/random.d.ts +6 -6
- package/src/lib/date/date.d.ts +8 -1
- package/src/lib/date/date.time.d.ts +1 -1
- package/src/lib/date/hour.d.ts +2 -2
- package/src/lib/date/week.d.ts +2 -2
- package/src/lib/error/error.d.ts +1 -1
- package/src/lib/error/error.server.d.ts +2 -2
- package/src/lib/filter/filter.d.ts +1 -1
- package/src/lib/function/function.forward.d.ts +2 -2
- package/src/lib/getter/getter.cache.d.ts +1 -1
- package/src/lib/getter/getter.d.ts +5 -5
- package/src/lib/getter/getter.map.d.ts +2 -2
- package/src/lib/getter/getter.util.d.ts +1 -1
- package/src/lib/getter/type.d.ts +1 -1
- package/src/lib/grouping.d.ts +5 -5
- package/src/lib/iterable/iterable.d.ts +3 -3
- package/src/lib/key.d.ts +3 -18
- package/src/lib/lifecycle.d.ts +1 -1
- package/src/lib/map/map.d.ts +2 -2
- package/src/lib/map/map.intersection.d.ts +1 -1
- package/src/lib/map/map.key.d.ts +3 -3
- package/src/lib/misc/host.d.ts +1 -1
- package/src/lib/model/id.batch.d.ts +4 -4
- package/src/lib/model/model.conversion.d.ts +5 -5
- package/src/lib/model/model.conversion.field.d.ts +1 -1
- package/src/lib/model/model.copy.d.ts +1 -1
- package/src/lib/model/model.d.ts +3 -3
- package/src/lib/model/model.modify.d.ts +4 -4
- package/src/lib/number/bitwise.dencoder.d.ts +1 -1
- package/src/lib/number/bound.d.ts +1 -1
- package/src/lib/number/dollar.d.ts +1 -1
- package/src/lib/number/factory.d.ts +1 -1
- package/src/lib/number/number.d.ts +3 -3
- package/src/lib/number/random.d.ts +2 -2
- package/src/lib/number/round.d.ts +3 -3
- package/src/lib/number/sort.d.ts +2 -2
- package/src/lib/number/transform.d.ts +3 -3
- package/src/lib/object/index.d.ts +1 -0
- package/src/lib/object/object.array.d.ts +1 -1
- package/src/lib/object/object.array.delta.d.ts +3 -3
- package/src/lib/object/object.d.ts +3 -3
- package/src/lib/object/object.empty.d.ts +1 -1
- package/src/lib/object/object.equal.d.ts +2 -2
- package/src/lib/object/object.filter.pojo.d.ts +3 -3
- package/src/lib/object/object.filter.tuple.d.ts +2 -2
- package/src/lib/object/object.key.d.ts +17 -0
- package/src/lib/object/object.map.d.ts +1 -1
- package/src/lib/page/page.calculator.d.ts +1 -1
- package/src/lib/page/page.d.ts +1 -1
- package/src/lib/page/page.filter.d.ts +3 -3
- package/src/lib/path/path.d.ts +4 -4
- package/src/lib/promise/callback.d.ts +1 -1
- package/src/lib/promise/map.d.ts +1 -1
- package/src/lib/promise/promise.d.ts +3 -3
- package/src/lib/promise/promise.loop.d.ts +2 -2
- package/src/lib/promise/use.d.ts +2 -2
- package/src/lib/relation/relation.d.ts +1 -1
- package/src/lib/service/handler.config.d.ts +4 -4
- package/src/lib/service/handler.d.ts +3 -3
- package/src/lib/service/typed.service.d.ts +1 -1
- package/src/lib/set/set.allowed.d.ts +2 -2
- package/src/lib/set/set.d.ts +6 -6
- package/src/lib/set/set.decision.d.ts +1 -1
- package/src/lib/set/set.delta.d.ts +1 -1
- package/src/lib/set/set.hashset.d.ts +2 -2
- package/src/lib/set/set.maybe.d.ts +2 -2
- package/src/lib/set/set.selection.d.ts +2 -2
- package/src/lib/sort.d.ts +2 -2
- package/src/lib/storage/storage.d.ts +1 -1
- package/src/lib/storage/storage.error.d.ts +1 -1
- package/src/lib/storage/storage.memory.d.ts +2 -2
- package/src/lib/storage/storage.object.d.ts +2 -2
- package/src/lib/string/char.d.ts +2 -2
- package/src/lib/string/dencoder.d.ts +2 -1
- package/src/lib/string/html.d.ts +2 -2
- package/src/lib/string/replace.d.ts +3 -3
- package/src/lib/string/search.d.ts +2 -2
- package/src/lib/string/sort.d.ts +2 -2
- package/src/lib/string/string.d.ts +2 -2
- package/src/lib/string/transform.d.ts +1 -1
- package/src/lib/string/url.d.ts +6 -6
- package/src/lib/tree/tree.array.d.ts +3 -3
- package/src/lib/tree/tree.expand.d.ts +2 -2
- package/src/lib/tree/tree.flatten.d.ts +1 -1
- package/src/lib/type.d.ts +2 -2
- package/src/lib/value/address.d.ts +1 -1
- package/src/lib/value/bound.d.ts +5 -5
- package/src/lib/value/build.d.ts +1 -1
- package/src/lib/value/comparator.d.ts +2 -2
- package/src/lib/value/cron.d.ts +1 -1
- package/src/lib/value/decision.d.ts +3 -3
- package/src/lib/value/equal.d.ts +2 -2
- package/src/lib/value/indexed.d.ts +6 -6
- package/src/lib/value/map.d.ts +3 -3
- package/src/lib/value/maybe.d.ts +1 -1
- package/src/lib/value/maybe.type.d.ts +1 -1
- package/src/lib/value/modifier.d.ts +2 -2
- package/src/lib/value/point.d.ts +3 -3
- package/src/lib/value/use.d.ts +4 -4
- package/src/lib/value/vector.d.ts +1 -1
- package/test/CHANGELOG.md +8 -0
- package/test/package.json +4 -1
- package/CHANGELOG.md +0 -1797
- package/src/index.js +0 -5
- package/src/index.js.map +0 -1
- package/src/lib/array/array.boolean.js +0 -69
- package/src/lib/array/array.boolean.js.map +0 -1
- package/src/lib/array/array.factory.js +0 -25
- package/src/lib/array/array.factory.js.map +0 -1
- package/src/lib/array/array.filter.js +0 -107
- package/src/lib/array/array.filter.js.map +0 -1
- package/src/lib/array/array.find.js +0 -24
- package/src/lib/array/array.find.js.map +0 -1
- package/src/lib/array/array.index.js +0 -71
- package/src/lib/array/array.index.js.map +0 -1
- package/src/lib/array/array.indexed.js +0 -142
- package/src/lib/array/array.indexed.js.map +0 -1
- package/src/lib/array/array.js +0 -237
- package/src/lib/array/array.js.map +0 -1
- package/src/lib/array/array.limit.js +0 -19
- package/src/lib/array/array.limit.js.map +0 -1
- package/src/lib/array/array.make.js +0 -19
- package/src/lib/array/array.make.js.map +0 -1
- package/src/lib/array/array.map.js +0 -38
- package/src/lib/array/array.map.js.map +0 -1
- package/src/lib/array/array.number.js +0 -82
- package/src/lib/array/array.number.js.map +0 -1
- package/src/lib/array/array.random.js +0 -48
- package/src/lib/array/array.random.js.map +0 -1
- package/src/lib/array/array.set.js +0 -34
- package/src/lib/array/array.set.js.map +0 -1
- package/src/lib/array/array.string.js +0 -74
- package/src/lib/array/array.string.js.map +0 -1
- package/src/lib/array/array.unique.js +0 -75
- package/src/lib/array/array.unique.js.map +0 -1
- package/src/lib/array/array.value.js +0 -55
- package/src/lib/array/array.value.js.map +0 -1
- package/src/lib/array/index.js +0 -20
- package/src/lib/array/index.js.map +0 -1
- package/src/lib/assertion/assert.error.js +0 -43
- package/src/lib/assertion/assert.error.js.map +0 -1
- package/src/lib/assertion/assert.js +0 -3
- package/src/lib/assertion/assert.js.map +0 -1
- package/src/lib/assertion/assertion.generic.js +0 -10
- package/src/lib/assertion/assertion.generic.js.map +0 -1
- package/src/lib/assertion/assertion.js +0 -40
- package/src/lib/assertion/assertion.js.map +0 -1
- package/src/lib/assertion/assertion.number.js +0 -20
- package/src/lib/assertion/assertion.number.js.map +0 -1
- package/src/lib/assertion/index.js +0 -9
- package/src/lib/assertion/index.js.map +0 -1
- package/src/lib/auth/auth.role.claims.js +0 -111
- package/src/lib/auth/auth.role.claims.js.map +0 -1
- package/src/lib/auth/auth.role.js +0 -25
- package/src/lib/auth/auth.role.js.map +0 -1
- package/src/lib/auth/index.js +0 -6
- package/src/lib/auth/index.js.map +0 -1
- package/src/lib/boolean.js +0 -57
- package/src/lib/boolean.js.map +0 -1
- package/src/lib/contact/domain.js +0 -45
- package/src/lib/contact/domain.js.map +0 -1
- package/src/lib/contact/email.js +0 -32
- package/src/lib/contact/email.js.map +0 -1
- package/src/lib/contact/index.js +0 -8
- package/src/lib/contact/index.js.map +0 -1
- package/src/lib/contact/phone.js +0 -71
- package/src/lib/contact/phone.js.map +0 -1
- package/src/lib/contact/random.js +0 -50
- package/src/lib/contact/random.js.map +0 -1
- package/src/lib/date/date.js +0 -132
- package/src/lib/date/date.js.map +0 -1
- package/src/lib/date/date.time.js +0 -39
- package/src/lib/date/date.time.js.map +0 -1
- package/src/lib/date/hour.js +0 -44
- package/src/lib/date/hour.js.map +0 -1
- package/src/lib/date/index.js +0 -8
- package/src/lib/date/index.js.map +0 -1
- package/src/lib/date/week.js +0 -175
- package/src/lib/date/week.js.map +0 -1
- package/src/lib/error/error.js +0 -68
- package/src/lib/error/error.js.map +0 -1
- package/src/lib/error/error.server.js +0 -42
- package/src/lib/error/error.server.js.map +0 -1
- package/src/lib/error/index.js +0 -6
- package/src/lib/error/index.js.map +0 -1
- package/src/lib/file/index.js +0 -5
- package/src/lib/file/index.js.map +0 -1
- package/src/lib/file/xml.js +0 -3
- package/src/lib/file/xml.js.map +0 -1
- package/src/lib/filter/filter.js +0 -37
- package/src/lib/filter/filter.js.map +0 -1
- package/src/lib/filter/index.js +0 -5
- package/src/lib/filter/index.js.map +0 -1
- package/src/lib/function/function.boolean.js +0 -23
- package/src/lib/function/function.boolean.js.map +0 -1
- package/src/lib/function/function.forward.js +0 -24
- package/src/lib/function/function.forward.js.map +0 -1
- package/src/lib/function/function.js +0 -14
- package/src/lib/function/function.js.map +0 -1
- package/src/lib/function/index.js +0 -7
- package/src/lib/function/index.js.map +0 -1
- package/src/lib/getter/getter.cache.js +0 -23
- package/src/lib/getter/getter.cache.js.map +0 -1
- package/src/lib/getter/getter.js +0 -99
- package/src/lib/getter/getter.js.map +0 -1
- package/src/lib/getter/getter.map.js +0 -24
- package/src/lib/getter/getter.map.js.map +0 -1
- package/src/lib/getter/getter.util.js +0 -16
- package/src/lib/getter/getter.util.js.map +0 -1
- package/src/lib/getter/index.js +0 -9
- package/src/lib/getter/index.js.map +0 -1
- package/src/lib/getter/type.js +0 -3
- package/src/lib/getter/type.js.map +0 -1
- package/src/lib/grouping.js +0 -198
- package/src/lib/grouping.js.map +0 -1
- package/src/lib/hash.js +0 -21
- package/src/lib/hash.js.map +0 -1
- package/src/lib/index.js +0 -39
- package/src/lib/index.js.map +0 -1
- package/src/lib/iterable/index.js +0 -6
- package/src/lib/iterable/index.js.map +0 -1
- package/src/lib/iterable/iterable.js +0 -177
- package/src/lib/iterable/iterable.js.map +0 -1
- package/src/lib/iterable/iterable.map.js +0 -18
- package/src/lib/iterable/iterable.map.js.map +0 -1
- package/src/lib/iterate.js +0 -16
- package/src/lib/iterate.js.map +0 -1
- package/src/lib/key.js +0 -107
- package/src/lib/key.js.map +0 -1
- package/src/lib/lifecycle.js +0 -34
- package/src/lib/lifecycle.js.map +0 -1
- package/src/lib/map/index.js +0 -7
- package/src/lib/map/index.js.map +0 -1
- package/src/lib/map/map.intersection.js +0 -24
- package/src/lib/map/map.intersection.js.map +0 -1
- package/src/lib/map/map.js +0 -68
- package/src/lib/map/map.js.map +0 -1
- package/src/lib/map/map.key.js +0 -110
- package/src/lib/map/map.key.js.map +0 -1
- package/src/lib/misc/host.js +0 -13
- package/src/lib/misc/host.js.map +0 -1
- package/src/lib/misc/index.js +0 -5
- package/src/lib/misc/index.js.map +0 -1
- package/src/lib/model/id.batch.js +0 -58
- package/src/lib/model/id.batch.js.map +0 -1
- package/src/lib/model/index.js +0 -10
- package/src/lib/model/index.js.map +0 -1
- package/src/lib/model/model.conversion.field.js +0 -23
- package/src/lib/model/model.conversion.field.js.map +0 -1
- package/src/lib/model/model.conversion.js +0 -112
- package/src/lib/model/model.conversion.js.map +0 -1
- package/src/lib/model/model.copy.js +0 -20
- package/src/lib/model/model.copy.js.map +0 -1
- package/src/lib/model/model.js +0 -150
- package/src/lib/model/model.js.map +0 -1
- package/src/lib/model/model.modify.js +0 -51
- package/src/lib/model/model.modify.js.map +0 -1
- package/src/lib/nodejs/index.js +0 -5
- package/src/lib/nodejs/index.js.map +0 -1
- package/src/lib/nodejs/stream.js +0 -34
- package/src/lib/nodejs/stream.js.map +0 -1
- package/src/lib/number/bitwise.dencoder.js +0 -84
- package/src/lib/number/bitwise.dencoder.js.map +0 -1
- package/src/lib/number/bound.js +0 -60
- package/src/lib/number/bound.js.map +0 -1
- package/src/lib/number/dollar.js +0 -36
- package/src/lib/number/dollar.js.map +0 -1
- package/src/lib/number/factory.js +0 -22
- package/src/lib/number/factory.js.map +0 -1
- package/src/lib/number/index.js +0 -13
- package/src/lib/number/index.js.map +0 -1
- package/src/lib/number/number.js +0 -118
- package/src/lib/number/number.js.map +0 -1
- package/src/lib/number/pay.js +0 -3
- package/src/lib/number/pay.js.map +0 -1
- package/src/lib/number/random.js +0 -35
- package/src/lib/number/random.js.map +0 -1
- package/src/lib/number/round.js +0 -140
- package/src/lib/number/round.js.map +0 -1
- package/src/lib/number/sort.js +0 -16
- package/src/lib/number/sort.js.map +0 -1
- package/src/lib/number/transform.js +0 -21
- package/src/lib/number/transform.js.map +0 -1
- package/src/lib/object/index.js +0 -12
- package/src/lib/object/index.js.map +0 -1
- package/src/lib/object/object.array.delta.js +0 -87
- package/src/lib/object/object.array.delta.js.map +0 -1
- package/src/lib/object/object.array.js +0 -35
- package/src/lib/object/object.array.js.map +0 -1
- package/src/lib/object/object.empty.js +0 -27
- package/src/lib/object/object.empty.js.map +0 -1
- package/src/lib/object/object.equal.js +0 -47
- package/src/lib/object/object.equal.js.map +0 -1
- package/src/lib/object/object.filter.pojo.js +0 -260
- package/src/lib/object/object.filter.pojo.js.map +0 -1
- package/src/lib/object/object.filter.tuple.js +0 -124
- package/src/lib/object/object.filter.tuple.js.map +0 -1
- package/src/lib/object/object.js +0 -43
- package/src/lib/object/object.js.map +0 -1
- package/src/lib/object/object.map.js +0 -62
- package/src/lib/object/object.map.js.map +0 -1
- package/src/lib/page/index.js +0 -7
- package/src/lib/page/index.js.map +0 -1
- package/src/lib/page/page.calculator.js +0 -37
- package/src/lib/page/page.calculator.js.map +0 -1
- package/src/lib/page/page.filter.js +0 -50
- package/src/lib/page/page.filter.js.map +0 -1
- package/src/lib/page/page.js +0 -30
- package/src/lib/page/page.js.map +0 -1
- package/src/lib/path/index.js +0 -5
- package/src/lib/path/index.js.map +0 -1
- package/src/lib/path/path.js +0 -272
- package/src/lib/path/path.js.map +0 -1
- package/src/lib/promise/callback.js +0 -21
- package/src/lib/promise/callback.js.map +0 -1
- package/src/lib/promise/index.js +0 -14
- package/src/lib/promise/index.js.map +0 -1
- package/src/lib/promise/is.js +0 -20
- package/src/lib/promise/is.js.map +0 -1
- package/src/lib/promise/map.js +0 -14
- package/src/lib/promise/map.js.map +0 -1
- package/src/lib/promise/poll.js +0 -16
- package/src/lib/promise/poll.js.map +0 -1
- package/src/lib/promise/promise.js +0 -197
- package/src/lib/promise/promise.js.map +0 -1
- package/src/lib/promise/promise.loop.js +0 -59
- package/src/lib/promise/promise.loop.js.map +0 -1
- package/src/lib/promise/promise.ref.js +0 -19
- package/src/lib/promise/promise.ref.js.map +0 -1
- package/src/lib/promise/promise.type.js +0 -14
- package/src/lib/promise/promise.type.js.map +0 -1
- package/src/lib/promise/use.js +0 -16
- package/src/lib/promise/use.js.map +0 -1
- package/src/lib/promise/wait.js +0 -11
- package/src/lib/promise/wait.js.map +0 -1
- package/src/lib/relation/index.js +0 -5
- package/src/lib/relation/index.js.map +0 -1
- package/src/lib/relation/relation.js +0 -209
- package/src/lib/relation/relation.js.map +0 -1
- package/src/lib/service/handler.config.js +0 -61
- package/src/lib/service/handler.config.js.map +0 -1
- package/src/lib/service/handler.js +0 -55
- package/src/lib/service/handler.js.map +0 -1
- package/src/lib/service/index.js +0 -7
- package/src/lib/service/index.js.map +0 -1
- package/src/lib/service/typed.service.js +0 -41
- package/src/lib/service/typed.service.js.map +0 -1
- package/src/lib/set/index.js +0 -12
- package/src/lib/set/index.js.map +0 -1
- package/src/lib/set/set.allowed.js +0 -29
- package/src/lib/set/set.allowed.js.map +0 -1
- package/src/lib/set/set.decision.js +0 -15
- package/src/lib/set/set.decision.js.map +0 -1
- package/src/lib/set/set.delta.js +0 -91
- package/src/lib/set/set.delta.js.map +0 -1
- package/src/lib/set/set.hashset.js +0 -90
- package/src/lib/set/set.hashset.js.map +0 -1
- package/src/lib/set/set.js +0 -387
- package/src/lib/set/set.js.map +0 -1
- package/src/lib/set/set.maybe.js +0 -22
- package/src/lib/set/set.maybe.js.map +0 -1
- package/src/lib/set/set.mode.js +0 -3
- package/src/lib/set/set.mode.js.map +0 -1
- package/src/lib/set/set.selection.js +0 -21
- package/src/lib/set/set.selection.js.map +0 -1
- package/src/lib/sort.js +0 -92
- package/src/lib/sort.js.map +0 -1
- package/src/lib/storage/index.js +0 -8
- package/src/lib/storage/index.js.map +0 -1
- package/src/lib/storage/storage.error.js +0 -24
- package/src/lib/storage/storage.error.js.map +0 -1
- package/src/lib/storage/storage.js +0 -3
- package/src/lib/storage/storage.js.map +0 -1
- package/src/lib/storage/storage.memory.js +0 -48
- package/src/lib/storage/storage.memory.js.map +0 -1
- package/src/lib/storage/storage.object.js +0 -42
- package/src/lib/storage/storage.object.js.map +0 -1
- package/src/lib/string/char.js +0 -124
- package/src/lib/string/char.js.map +0 -1
- package/src/lib/string/dencoder.js +0 -106
- package/src/lib/string/dencoder.js.map +0 -1
- package/src/lib/string/html.js +0 -44
- package/src/lib/string/html.js.map +0 -1
- package/src/lib/string/index.js +0 -14
- package/src/lib/string/index.js.map +0 -1
- package/src/lib/string/password.js +0 -3
- package/src/lib/string/password.js.map +0 -1
- package/src/lib/string/replace.js +0 -181
- package/src/lib/string/replace.js.map +0 -1
- package/src/lib/string/search.js +0 -39
- package/src/lib/string/search.js.map +0 -1
- package/src/lib/string/sort.js +0 -16
- package/src/lib/string/sort.js.map +0 -1
- package/src/lib/string/string.js +0 -113
- package/src/lib/string/string.js.map +0 -1
- package/src/lib/string/transform.js +0 -79
- package/src/lib/string/transform.js.map +0 -1
- package/src/lib/string/url.js +0 -279
- package/src/lib/string/url.js.map +0 -1
- package/src/lib/tree/index.js +0 -8
- package/src/lib/tree/index.js.map +0 -1
- package/src/lib/tree/tree.array.js +0 -21
- package/src/lib/tree/tree.array.js.map +0 -1
- package/src/lib/tree/tree.expand.js +0 -35
- package/src/lib/tree/tree.expand.js.map +0 -1
- package/src/lib/tree/tree.flatten.js +0 -47
- package/src/lib/tree/tree.flatten.js.map +0 -1
- package/src/lib/tree/tree.js +0 -5
- package/src/lib/tree/tree.js.map +0 -1
- package/src/lib/type.js +0 -48
- package/src/lib/type.js.map +0 -1
- package/src/lib/value/address.js +0 -65
- package/src/lib/value/address.js.map +0 -1
- package/src/lib/value/bound.js +0 -280
- package/src/lib/value/bound.js.map +0 -1
- package/src/lib/value/build.js +0 -16
- package/src/lib/value/build.js.map +0 -1
- package/src/lib/value/comparator.js +0 -60
- package/src/lib/value/comparator.js.map +0 -1
- package/src/lib/value/cron.js +0 -29
- package/src/lib/value/cron.js.map +0 -1
- package/src/lib/value/decision.js +0 -34
- package/src/lib/value/decision.js.map +0 -1
- package/src/lib/value/equal.js +0 -56
- package/src/lib/value/equal.js.map +0 -1
- package/src/lib/value/index.js +0 -24
- package/src/lib/value/index.js.map +0 -1
- package/src/lib/value/indexed.js +0 -420
- package/src/lib/value/indexed.js.map +0 -1
- package/src/lib/value/label.js +0 -3
- package/src/lib/value/label.js.map +0 -1
- package/src/lib/value/map.js +0 -107
- package/src/lib/value/map.js.map +0 -1
- package/src/lib/value/maybe.js +0 -140
- package/src/lib/value/maybe.js.map +0 -1
- package/src/lib/value/maybe.type.js +0 -3
- package/src/lib/value/maybe.type.js.map +0 -1
- package/src/lib/value/modifier.js +0 -109
- package/src/lib/value/modifier.js.map +0 -1
- package/src/lib/value/pixel.js +0 -3
- package/src/lib/value/pixel.js.map +0 -1
- package/src/lib/value/point.js +0 -336
- package/src/lib/value/point.js.map +0 -1
- package/src/lib/value/sync.js +0 -18
- package/src/lib/value/sync.js.map +0 -1
- package/src/lib/value/url.js +0 -22
- package/src/lib/value/url.js.map +0 -1
- package/src/lib/value/use.js +0 -78
- package/src/lib/value/use.js.map +0 -1
- package/src/lib/value/vector.js +0 -70
- package/src/lib/value/vector.js.map +0 -1
- package/src/lib/value/zoom.js +0 -3
- package/src/lib/value/zoom.js.map +0 -1
package/src/lib/number/sort.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MapFunction } from '../value/map';
|
|
2
|
-
import { BoundNumberFunctionConfig } from './bound';
|
|
3
|
-
import { NumberPrecision, RoundNumberToStepFunctionInput } from './round';
|
|
1
|
+
import { type MapFunction } from '../value/map';
|
|
2
|
+
import { type BoundNumberFunctionConfig } from './bound';
|
|
3
|
+
import { type NumberPrecision, type RoundNumberToStepFunctionInput } from './round';
|
|
4
4
|
export type TransformNumberFunctionConfig<N extends number = number> = {
|
|
5
5
|
/**
|
|
6
6
|
* (Optional) transform function for the input. It is processed first.
|
|
@@ -2,6 +2,7 @@ export * from './object.array.delta';
|
|
|
2
2
|
export * from './object.array';
|
|
3
3
|
export * from './object.empty';
|
|
4
4
|
export * from './object.equal';
|
|
5
|
+
export * from './object.key';
|
|
5
6
|
export * from './object.map';
|
|
6
7
|
export * from './object';
|
|
7
8
|
export * from './object.filter.tuple';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MaybeMap } from '../value/maybe.type';
|
|
2
|
-
import { ObjectFieldEqualityChecker } from './object.equal';
|
|
3
|
-
import { EmptyArray } from '../array/array';
|
|
1
|
+
import { type MaybeMap } from '../value/maybe.type';
|
|
2
|
+
import { type ObjectFieldEqualityChecker } from './object.equal';
|
|
3
|
+
import { type EmptyArray } from '../array/array';
|
|
4
4
|
/**
|
|
5
5
|
* A partial "delta" of the given entry. It only contains values that changed from the last entry.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldOfType } from '../key';
|
|
2
|
-
import { SetIncludesMode } from '../set/set.mode';
|
|
3
|
-
import { KeyAsString } from '../type';
|
|
1
|
+
import { type FieldOfType } from '../key';
|
|
2
|
+
import { type SetIncludesMode } from '../set/set.mode';
|
|
3
|
+
import { type KeyAsString } from '../type';
|
|
4
4
|
export type EmptyObject = Record<string, never>;
|
|
5
5
|
export declare function objectHasNoKeys(obj: object): obj is EmptyObject;
|
|
6
6
|
export declare function objectHasKey<T>(obj: T, key: KeyAsString<keyof T>): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldOfType } from '../key';
|
|
2
|
-
import { EqualityComparatorFunction } from '../value/comparator';
|
|
1
|
+
import { type FieldOfType } from '../key';
|
|
2
|
+
import { type EqualityComparatorFunction } from '../value/comparator';
|
|
3
3
|
/**
|
|
4
4
|
* Performs a deep comparison to check if all values on the input filters are equal.
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ArrayOrValue } from './../array/array';
|
|
2
|
-
import { Maybe } from '../value/maybe.type';
|
|
3
|
-
import { FilterKeyValueTuplesInput, KeyValueTuple, KeyValueTupleFilter, KeyValueTypleValueFilter } from './object.filter.tuple';
|
|
1
|
+
import { type ArrayOrValue } from './../array/array';
|
|
2
|
+
import { type Maybe } from '../value/maybe.type';
|
|
3
|
+
import { type FilterKeyValueTuplesInput, type KeyValueTuple, type KeyValueTupleFilter, KeyValueTypleValueFilter } from './object.filter.tuple';
|
|
4
4
|
/**
|
|
5
5
|
* Assigns all undefined values from one or more objects into the target object.
|
|
6
6
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FilterFunction } from '../filter/filter';
|
|
2
|
-
import { KeyAsString } from '../type';
|
|
1
|
+
import { type FilterFunction } from '../filter/filter';
|
|
2
|
+
import { type KeyAsString } from '../type';
|
|
3
3
|
export type ForEachKeyValueTupleFunction<T extends object = object, K extends keyof T = keyof T> = (tuple: KeyValueTuple<T, K>, index: number) => void;
|
|
4
4
|
export interface ForEachKeyValue<T extends object = object, K extends keyof T = keyof T> {
|
|
5
5
|
filter?: FilterKeyValueTuplesInput<T, K>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type PrimativeKey, type ReadKeyFunction, type ReadMultipleKeysFunction } from '../key';
|
|
2
|
+
import { type Maybe } from '../value/maybe.type';
|
|
3
|
+
import { type EqualityComparatorFunction } from '../value/comparator';
|
|
4
|
+
/**
|
|
5
|
+
* Creates a EqualityComparatorFunction that compares the two input values
|
|
6
|
+
*
|
|
7
|
+
* @param readKey
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function objectKeysEqualityComparatorFunction<T, K extends PrimativeKey = PrimativeKey>(readKey: ReadKeyFunction<T, K> | ReadMultipleKeysFunction<T, K>): EqualityComparatorFunction<Maybe<T[]>>;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a EqualityComparatorFunction that compares the two input values
|
|
13
|
+
*
|
|
14
|
+
* @param readKey
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
export declare function objectKeyEqualityComparatorFunction<T, K extends PrimativeKey = PrimativeKey>(readKey: ReadKeyFunction<T, K>): EqualityComparatorFunction<Maybe<T>>;
|
package/src/lib/page/page.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Filter, OptionalFilter } from '../filter';
|
|
2
|
-
import { Page } from '../page';
|
|
3
|
-
import { IterateFn, IteratePageFn } from '../iterate';
|
|
1
|
+
import { type Filter, type OptionalFilter } from '../filter';
|
|
2
|
+
import { type Page } from '../page';
|
|
3
|
+
import { type IterateFn, type IteratePageFn } from '../iterate';
|
|
4
4
|
/**
|
|
5
5
|
* Represents a page number with a filter.
|
|
6
6
|
*/
|
package/src/lib/path/path.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MapSameFunction } from '../value/map';
|
|
2
|
-
import { ArrayOrValue } from '../array/array';
|
|
3
|
-
import { IndexRangeInput, Maybe } from '../value';
|
|
4
|
-
import { FactoryWithRequiredInput } from '../getter/getter';
|
|
1
|
+
import { type MapSameFunction } from '../value/map';
|
|
2
|
+
import { type ArrayOrValue } from '../array/array';
|
|
3
|
+
import { type IndexRangeInput, type Maybe } from '../value';
|
|
4
|
+
import { type FactoryWithRequiredInput } from '../getter/getter';
|
|
5
5
|
export declare const SLASH_PATH_SEPARATOR = "/";
|
|
6
6
|
export declare const SLASH_PATH_FILE_TYPE_SEPARATOR = ".";
|
|
7
7
|
export type SlashPathSeparatorString = typeof SLASH_PATH_SEPARATOR;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Maybe } from '../value/maybe.type';
|
|
1
|
+
import { type Maybe } from '../value/maybe.type';
|
|
2
2
|
export type PromiseCallback = (err?: Maybe<Error>) => void;
|
|
3
3
|
export type UsePromiseCallback = (cb: PromiseCallback) => void;
|
|
4
4
|
export declare function useCallback(use: UsePromiseCallback): Promise<void>;
|
package/src/lib/promise/map.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Milliseconds } from '../date/date';
|
|
2
|
-
import { IndexNumber } from '../value';
|
|
3
|
-
import { Maybe } from '../value/maybe.type';
|
|
1
|
+
import { type Milliseconds } from '../date/date';
|
|
2
|
+
import { type IndexNumber } from '../value';
|
|
3
|
+
import { type Maybe } from '../value/maybe.type';
|
|
4
4
|
export type RunAsyncTaskForValueConfig<T = unknown> = Omit<PerformAsyncTaskConfig<T>, 'throwError'>;
|
|
5
5
|
export type RunAsyncTasksForValuesConfig<T = unknown> = Omit<PerformAsyncTasksConfig<T>, 'throwError'>;
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BatchCount } from '../grouping';
|
|
2
|
-
import { Maybe } from '../value/maybe.type';
|
|
1
|
+
import { type BatchCount } from '../grouping';
|
|
2
|
+
import { type Maybe } from '../value/maybe.type';
|
|
3
3
|
export interface PerformTaskLoopConfig<O> {
|
|
4
4
|
next: (i: number, prev: Maybe<O>) => Promise<O>;
|
|
5
5
|
checkContinue: (prev: Maybe<O>, i: number) => boolean;
|
package/src/lib/promise/use.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MapFunction } from '../value/map';
|
|
2
|
-
import { ArrayOrValue } from '../array/array';
|
|
3
|
-
import { PrimativeKey } from '../key';
|
|
4
|
-
import { Handler, HandlerAccessor, HandlerFunction, HandlerSetAccessor } from './handler';
|
|
1
|
+
import { type MapFunction } from '../value/map';
|
|
2
|
+
import { type ArrayOrValue } from '../array/array';
|
|
3
|
+
import { type PrimativeKey } from '../key';
|
|
4
|
+
import { type Handler, type HandlerAccessor, type HandlerFunction, type HandlerSetAccessor } from './handler';
|
|
5
5
|
/**
|
|
6
6
|
* Wraps a HandlerAccessor and the item it is bound to in order to be a HandlerSetAccessor.
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PrimativeKey, ReadKeyFunction } from '../key';
|
|
2
|
-
import { ArrayOrValue } from '../array/array';
|
|
3
|
-
import { PromiseOrValue } from '../promise/promise.type';
|
|
1
|
+
import { type PrimativeKey, type ReadKeyFunction } from '../key';
|
|
2
|
+
import { type ArrayOrValue } from '../array/array';
|
|
3
|
+
import { type PromiseOrValue } from '../promise/promise.type';
|
|
4
4
|
/**
|
|
5
5
|
* Key used to signify
|
|
6
6
|
*/
|
package/src/lib/set/set.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Maybe } from '../value/maybe.type';
|
|
2
|
-
import { IterableOrValue } from '../iterable/iterable';
|
|
3
|
-
import { PrimativeKey, ReadKeyFunction } from '../key';
|
|
4
|
-
import { SetIncludesMode } from './set.mode';
|
|
5
|
-
import { DecisionFunction } from '../value/decision';
|
|
6
|
-
import { MapFunction } from '../value/map';
|
|
1
|
+
import { type Maybe } from '../value/maybe.type';
|
|
2
|
+
import { type IterableOrValue } from '../iterable/iterable';
|
|
3
|
+
import { type PrimativeKey, type ReadKeyFunction } from '../key';
|
|
4
|
+
import { type SetIncludesMode } from './set.mode';
|
|
5
|
+
import { type DecisionFunction } from '../value/decision';
|
|
6
|
+
import { type MapFunction } from '../value/map';
|
|
7
7
|
export type AllOrNoneSelection = 'all' | 'none';
|
|
8
8
|
export declare function asSet<T>(values: IterableOrValue<T>): Set<T>;
|
|
9
9
|
export declare function copySetAndDo<T>(set: Set<T>, fn: (set: Set<T>) => void): Set<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PrimativeKey, ReadKeyFunction } from '../key';
|
|
2
|
-
import { Maybe } from '../value/maybe.type';
|
|
1
|
+
import { type PrimativeKey, type ReadKeyFunction } from '../key';
|
|
2
|
+
import { type Maybe } from '../value/maybe.type';
|
|
3
3
|
export interface HashSetConfig<K extends PrimativeKey, T> {
|
|
4
4
|
readKey: ReadKeyFunction<T, K>;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PrimativeKey, ReadKeyFunction } from '../key';
|
|
2
|
-
import { DecisionFunction } from '../value';
|
|
1
|
+
import { type PrimativeKey, type ReadKeyFunction } from '../key';
|
|
2
|
+
import { type DecisionFunction } from '../value';
|
|
3
3
|
/**
|
|
4
4
|
* Factory that creates a DecisionFunction using the input "selected" values. That function returns true if the value's key is considered to be included in the selected values.
|
|
5
5
|
*/
|
package/src/lib/sort.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MapSameFunction } from './value/map';
|
|
2
|
-
import { Maybe, MaybeMap } from './value/maybe.type';
|
|
1
|
+
import { type MapSameFunction } from './value/map';
|
|
2
|
+
import { type Maybe, type MaybeMap } from './value/maybe.type';
|
|
3
3
|
export type SortingOrder = 'asc' | 'desc';
|
|
4
4
|
export declare const SORT_VALUE_LESS_THAN: SortComparisonNumber;
|
|
5
5
|
export declare const SORT_VALUE_GREATER_THAN: SortComparisonNumber;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Maybe } from '../value/maybe.type';
|
|
2
|
-
import { StorageObject } from './storage.object';
|
|
1
|
+
import { type Maybe } from '../value/maybe.type';
|
|
2
|
+
import { type StorageObject } from './storage.object';
|
|
3
3
|
export declare class MemoryStorageInstance implements StorageObject {
|
|
4
4
|
private _length;
|
|
5
5
|
private _storage;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Maybe } from '../value/maybe.type';
|
|
2
|
-
import { StoredDataStorageKey } from './storage';
|
|
1
|
+
import { type Maybe } from '../value/maybe.type';
|
|
2
|
+
import { type StoredDataStorageKey } from './storage';
|
|
3
3
|
/**
|
|
4
4
|
* Limited Class/Interface for storing string values synchronously.
|
|
5
5
|
*/
|
package/src/lib/string/char.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayOrValue } from '../array/array';
|
|
2
|
-
import { DecisionFunction } from '../value/decision';
|
|
1
|
+
import { type ArrayOrValue } from '../array/array';
|
|
2
|
+
import { type DecisionFunction } from '../value/decision';
|
|
3
3
|
export interface FirstAndLastCharacterOccurrence {
|
|
4
4
|
readonly first: number | -1;
|
|
5
5
|
readonly last: number | -1;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PrimativeKey } from '../key';
|
|
2
|
+
import { type FactoryWithRequiredInput } from '../getter/getter';
|
|
2
3
|
/**
|
|
3
4
|
* Map object of PrimativeKey dencoder values, keyed by the encoded value.
|
|
4
5
|
*/
|
package/src/lib/string/html.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ArrayOrValue } from '../array/array';
|
|
2
|
-
import { Maybe } from '../value/maybe.type';
|
|
3
|
-
import { MapSameFunction } from '../value/map';
|
|
1
|
+
import { type ArrayOrValue } from '../array/array';
|
|
2
|
+
import { type Maybe } from '../value/maybe.type';
|
|
3
|
+
import { type MapSameFunction } from '../value/map';
|
|
4
4
|
export type ReplaceStringsFunction = MapSameFunction<string>;
|
|
5
5
|
export interface ReplaceStringsConfig {
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReadKeyFunction, ReadMultipleKeysFunction } from '../key';
|
|
2
|
-
import { DecisionFunctionFactory } from '../value/decision';
|
|
1
|
+
import { type ReadKeyFunction, type ReadMultipleKeysFunction } from '../key';
|
|
2
|
+
import { type DecisionFunctionFactory } from '../value/decision';
|
|
3
3
|
/**
|
|
4
4
|
* Decision function factory that is configured with search string values.
|
|
5
5
|
*/
|
package/src/lib/string/sort.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MapFunction } from '../value/map';
|
|
1
|
+
import { type MapFunction } from '../value/map';
|
|
2
2
|
export declare function stringTrimFunction(input: string): string;
|
|
3
3
|
export declare function stringToUppercaseFunction(input: string): string;
|
|
4
4
|
export declare function stringToLowercaseFunction(input: string): string;
|
package/src/lib/string/url.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ArrayOrValue } from '../array/array';
|
|
2
|
-
import { EmailAddress } from '../contact/email';
|
|
3
|
-
import { E164PhoneNumberExtensionPair, E164PhoneNumberWithOptionalExtension, PhoneNumber } from '../contact/phone';
|
|
4
|
-
import { IndexRangeInput } from './../value/indexed';
|
|
5
|
-
import { MapFunction } from '../value/map';
|
|
6
|
-
import { Maybe } from '../value/maybe.type';
|
|
1
|
+
import { type ArrayOrValue } from '../array/array';
|
|
2
|
+
import { type EmailAddress } from '../contact/email';
|
|
3
|
+
import { type E164PhoneNumberExtensionPair, type E164PhoneNumberWithOptionalExtension, type PhoneNumber } from '../contact/phone';
|
|
4
|
+
import { type IndexRangeInput } from './../value/indexed';
|
|
5
|
+
import { type MapFunction } from '../value/map';
|
|
6
|
+
import { type Maybe } from '../value/maybe.type';
|
|
7
7
|
/**
|
|
8
8
|
* Connection protocol
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TreeNode } from './tree';
|
|
2
|
-
import { ExpandTreeFunction } from './tree.expand';
|
|
3
|
-
import { FlattenTreeFunction } from './tree.flatten';
|
|
1
|
+
import { type TreeNode } from './tree';
|
|
2
|
+
import { type ExpandTreeFunction } from './tree.expand';
|
|
3
|
+
import { type FlattenTreeFunction } from './tree.flatten';
|
|
4
4
|
/**
|
|
5
5
|
* Function that expands the input values into a tree, and then flattens the tree to produce a single array of values of another type.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeNode, TreeNodeWithoutChildren } from './tree';
|
|
2
|
-
import { Maybe } from '../value/maybe.type';
|
|
1
|
+
import { type TreeNode, type TreeNodeWithoutChildren } from './tree';
|
|
2
|
+
import { type Maybe } from '../value/maybe.type';
|
|
3
3
|
/**
|
|
4
4
|
* ExpandTreeFunction configuration.
|
|
5
5
|
*/
|
package/src/lib/type.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Merge, NonNever, PickProperties, StrictOmit, UnionToIntersection, Writable } from 'ts-essentials';
|
|
2
|
-
import { Maybe } from './value/maybe.type';
|
|
1
|
+
import { type Merge, type NonNever, type PickProperties, type StrictOmit, type UnionToIntersection, type Writable } from 'ts-essentials';
|
|
2
|
+
import { type Maybe } from './value/maybe.type';
|
|
3
3
|
/**
|
|
4
4
|
* Boolean, string or number value.
|
|
5
5
|
*/
|
package/src/lib/value/bound.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Maybe } from '
|
|
2
|
-
import { Rectangle } from './vector';
|
|
3
|
-
import { LatLngPoint, LatLngPointInput, LatLngPrecision, LatLngPointFunction } from './point';
|
|
4
|
-
import { DecisionFunction } from './decision';
|
|
5
|
-
import { ArrayOrValue } from '../array';
|
|
1
|
+
import { type Maybe } from '../value/maybe.type';
|
|
2
|
+
import { type Rectangle } from './vector';
|
|
3
|
+
import { type LatLngPoint, type LatLngPointInput, type LatLngPrecision, type LatLngPointFunction } from './point';
|
|
4
|
+
import { type DecisionFunction } from './decision';
|
|
5
|
+
import { type ArrayOrValue } from '../array';
|
|
6
6
|
export type LatLngBoundSouthWestPoint = LatLngPoint;
|
|
7
7
|
export type LatLngBoundNothEastPoint = LatLngPoint;
|
|
8
8
|
export interface LatLngBound {
|
package/src/lib/value/build.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReadValueFunction } from './map';
|
|
2
|
-
import { Maybe } from './maybe.type';
|
|
1
|
+
import { type ReadValueFunction } from './map';
|
|
2
|
+
import { type Maybe } from './maybe.type';
|
|
3
3
|
/**
|
|
4
4
|
* A comparator that returns true if the two input values are considered equivalent.
|
|
5
5
|
*/
|
package/src/lib/value/cron.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FactoryWithRequiredInput } from '../getter/getter';
|
|
2
|
-
import { MapFunction, AsyncMapFunction } from './map';
|
|
3
|
-
import { Maybe } from './maybe.type';
|
|
1
|
+
import { type FactoryWithRequiredInput } from '../getter/getter';
|
|
2
|
+
import { type MapFunction, type AsyncMapFunction } from './map';
|
|
3
|
+
import { type Maybe } from './maybe.type';
|
|
4
4
|
/**
|
|
5
5
|
* A map function that derives a boolean from the input.
|
|
6
6
|
*/
|
package/src/lib/value/equal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IterableOrValue } from './../iterable/iterable';
|
|
2
|
-
import { EqualityComparatorFunction } from './comparator';
|
|
1
|
+
import { type IterableOrValue } from './../iterable/iterable';
|
|
2
|
+
import { type EqualityComparatorFunction } from './comparator';
|
|
3
3
|
/**
|
|
4
4
|
* Used to check if the input object is considered equal to the current context.
|
|
5
5
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FindValuesFromInput } from '../set/set';
|
|
2
|
-
import { ArrayOrValue } from '../array/array';
|
|
1
|
+
import { type FindValuesFromInput } from '../set/set';
|
|
2
|
+
import { type ArrayOrValue } from '../array/array';
|
|
3
3
|
import { HashSet } from '../set/set.hashset';
|
|
4
|
-
import { MinAndMaxFunction, MinAndMaxFunctionResult, SortCompareFunction } from '../sort';
|
|
5
|
-
import { FactoryWithRequiredInput } from '../getter/getter';
|
|
6
|
-
import { Maybe } from './maybe.type';
|
|
7
|
-
import { WrapNumberFunction } from '../number';
|
|
4
|
+
import { type MinAndMaxFunction, type MinAndMaxFunctionResult, type SortCompareFunction } from '../sort';
|
|
5
|
+
import { type FactoryWithRequiredInput } from '../getter/getter';
|
|
6
|
+
import { type Maybe } from './maybe.type';
|
|
7
|
+
import { type WrapNumberFunction } from '../number';
|
|
8
8
|
/**
|
|
9
9
|
* A number that denotes which index an item is at.
|
|
10
10
|
*/
|
package/src/lib/value/map.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ArrayOrValue } from '../array/array';
|
|
2
|
-
import { PromiseOrValue } from '../promise/promise.type';
|
|
3
|
-
import { Maybe, MaybeNot } from './maybe.type';
|
|
1
|
+
import { type ArrayOrValue } from '../array/array';
|
|
2
|
+
import { type PromiseOrValue } from '../promise/promise.type';
|
|
3
|
+
import { type Maybe, type MaybeNot } from './maybe.type';
|
|
4
4
|
/**
|
|
5
5
|
* Converts one value to another.
|
|
6
6
|
*/
|
package/src/lib/value/maybe.d.ts
CHANGED