@duplojs/lang 0.0.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/README.md +9 -0
- package/dist/_virtual/_rolldown/runtime.cjs +13 -0
- package/dist/_virtual/_rolldown/runtime.mjs +13 -0
- package/dist/array/at/default.cjs +11 -0
- package/dist/array/at/default.d.ts +4 -0
- package/dist/array/at/default.mjs +11 -0
- package/dist/array/at/first.cjs +6 -0
- package/dist/array/at/first.d.ts +3 -0
- package/dist/array/at/first.mjs +6 -0
- package/dist/array/at/index.d.ts +3 -0
- package/dist/array/at/last.cjs +6 -0
- package/dist/array/at/last.d.ts +6 -0
- package/dist/array/at/last.mjs +6 -0
- package/dist/array/chunk.cjs +13 -0
- package/dist/array/chunk.d.ts +2 -0
- package/dist/array/chunk.mjs +13 -0
- package/dist/array/coalescing.cjs +6 -0
- package/dist/array/coalescing.d.ts +3 -0
- package/dist/array/coalescing.mjs +6 -0
- package/dist/array/concat.cjs +11 -0
- package/dist/array/concat.d.ts +5 -0
- package/dist/array/concat.mjs +11 -0
- package/dist/array/constraints/index.d.ts +4 -0
- package/dist/array/constraints/lengthEqual.d.ts +10 -0
- package/dist/array/constraints/maxElements.d.ts +10 -0
- package/dist/array/constraints/minElements.d.ts +11 -0
- package/dist/array/constraints/types/hasAtLeastElements.d.ts +5 -0
- package/dist/array/constraints/types/hasAtMostElements.d.ts +5 -0
- package/dist/array/constraints/types/hasExactLength.d.ts +3 -0
- package/dist/array/constraints/types/index.d.ts +9 -0
- package/dist/array/constraints/types/isIndexCovered.d.ts +5 -0
- package/dist/array/constraints/types/isIndexOutOfRange.d.ts +5 -0
- package/dist/array/constraints/types/reapplyCompatiblesConstraints.d.ts +24 -0
- package/dist/array/constraints/types/requireAtLeastElements.d.ts +3 -0
- package/dist/array/constraints/types/requireAtMostElements.d.ts +3 -0
- package/dist/array/constraints/types/requireExactLength.d.ts +3 -0
- package/dist/array/copyWithin.cjs +11 -0
- package/dist/array/copyWithin.d.ts +5 -0
- package/dist/array/copyWithin.mjs +11 -0
- package/dist/array/every.cjs +14 -0
- package/dist/array/every.d.ts +6 -0
- package/dist/array/every.mjs +14 -0
- package/dist/array/fill/all.cjs +11 -0
- package/dist/array/fill/all.d.ts +5 -0
- package/dist/array/fill/all.mjs +11 -0
- package/dist/array/fill/default.cjs +11 -0
- package/dist/array/fill/default.d.ts +5 -0
- package/dist/array/fill/default.mjs +11 -0
- package/dist/array/fill/index.d.ts +2 -0
- package/dist/array/filter.cjs +14 -0
- package/dist/array/filter.d.ts +11 -0
- package/dist/array/filter.mjs +14 -0
- package/dist/array/find.cjs +14 -0
- package/dist/array/find.d.ts +8 -0
- package/dist/array/find.mjs +14 -0
- package/dist/array/findAndReplace.cjs +18 -0
- package/dist/array/findAndReplace.d.ts +10 -0
- package/dist/array/findAndReplace.mjs +18 -0
- package/dist/array/findAndSplice/delete.cjs +18 -0
- package/dist/array/findAndSplice/delete.d.ts +9 -0
- package/dist/array/findAndSplice/delete.mjs +18 -0
- package/dist/array/findAndSplice/index.d.ts +3 -0
- package/dist/array/findAndSplice/insert.cjs +18 -0
- package/dist/array/findAndSplice/insert.d.ts +9 -0
- package/dist/array/findAndSplice/insert.mjs +18 -0
- package/dist/array/findAndSplice/replace.cjs +18 -0
- package/dist/array/findAndSplice/replace.d.ts +6 -0
- package/dist/array/findAndSplice/replace.mjs +18 -0
- package/dist/array/findDuplicates.cjs +33 -0
- package/dist/array/findDuplicates.d.ts +4 -0
- package/dist/array/findDuplicates.mjs +33 -0
- package/dist/array/findIndex.cjs +14 -0
- package/dist/array/findIndex.d.ts +6 -0
- package/dist/array/findIndex.mjs +14 -0
- package/dist/array/findLast.cjs +17 -0
- package/dist/array/findLast.d.ts +8 -0
- package/dist/array/findLast.mjs +17 -0
- package/dist/array/findLastIndex.cjs +17 -0
- package/dist/array/findLastIndex.d.ts +6 -0
- package/dist/array/findLastIndex.mjs +17 -0
- package/dist/array/flat.cjs +6 -0
- package/dist/array/flat.d.ts +1 -0
- package/dist/array/flat.mjs +6 -0
- package/dist/array/flatMap.cjs +14 -0
- package/dist/array/flatMap.d.ts +6 -0
- package/dist/array/flatMap.mjs +14 -0
- package/dist/array/from.cjs +11 -0
- package/dist/array/from.d.ts +4 -0
- package/dist/array/from.mjs +11 -0
- package/dist/array/group.cjs +32 -0
- package/dist/array/group.d.ts +16 -0
- package/dist/array/group.mjs +31 -0
- package/dist/array/includes.cjs +11 -0
- package/dist/array/includes.d.ts +2 -0
- package/dist/array/includes.mjs +11 -0
- package/dist/array/index.cjs +183 -0
- package/dist/array/index.d.ts +49 -0
- package/dist/array/index.mjs +119 -0
- package/dist/array/indexOf.cjs +12 -0
- package/dist/array/indexOf.d.ts +2 -0
- package/dist/array/indexOf.mjs +12 -0
- package/dist/array/infer.cjs +6 -0
- package/dist/array/infer.d.ts +14 -0
- package/dist/array/infer.mjs +6 -0
- package/dist/array/insert.cjs +13 -0
- package/dist/array/insert.d.ts +5 -0
- package/dist/array/insert.mjs +13 -0
- package/dist/array/is.cjs +6 -0
- package/dist/array/is.d.ts +4 -0
- package/dist/array/is.mjs +6 -0
- package/dist/array/isLastIndex.cjs +11 -0
- package/dist/array/isLastIndex.d.ts +2 -0
- package/dist/array/isLastIndex.mjs +11 -0
- package/dist/array/kind.cjs +4 -0
- package/dist/array/kind.d.ts +2 -0
- package/dist/array/kind.mjs +5 -0
- package/dist/array/lastIndexOf.cjs +12 -0
- package/dist/array/lastIndexOf.d.ts +2 -0
- package/dist/array/lastIndexOf.mjs +12 -0
- package/dist/array/length.cjs +6 -0
- package/dist/array/length.d.ts +5 -0
- package/dist/array/length.mjs +6 -0
- package/dist/array/lengthEqual.cjs +11 -0
- package/dist/array/lengthEqual.d.ts +14 -0
- package/dist/array/lengthEqual.mjs +11 -0
- package/dist/array/map.cjs +14 -0
- package/dist/array/map.d.ts +9 -0
- package/dist/array/map.mjs +14 -0
- package/dist/array/maxElements.cjs +11 -0
- package/dist/array/maxElements.d.ts +13 -0
- package/dist/array/maxElements.mjs +11 -0
- package/dist/array/minElements.cjs +11 -0
- package/dist/array/minElements.d.ts +13 -0
- package/dist/array/minElements.mjs +11 -0
- package/dist/array/notIncludes.cjs +11 -0
- package/dist/array/notIncludes.d.ts +2 -0
- package/dist/array/notIncludes.mjs +11 -0
- package/dist/array/pop.cjs +6 -0
- package/dist/array/pop.d.ts +4 -0
- package/dist/array/pop.mjs +6 -0
- package/dist/array/prepend.cjs +11 -0
- package/dist/array/prepend.d.ts +5 -0
- package/dist/array/prepend.mjs +11 -0
- package/dist/array/push.cjs +13 -0
- package/dist/array/push.d.ts +5 -0
- package/dist/array/push.mjs +13 -0
- package/dist/array/reduce.cjs +48 -0
- package/dist/array/reduce.d.ts +27 -0
- package/dist/array/reduce.mjs +45 -0
- package/dist/array/reduceRight.cjs +25 -0
- package/dist/array/reduceRight.d.ts +4 -0
- package/dist/array/reduceRight.mjs +25 -0
- package/dist/array/reverse.cjs +6 -0
- package/dist/array/reverse.d.ts +4 -0
- package/dist/array/reverse.mjs +6 -0
- package/dist/array/select.cjs +32 -0
- package/dist/array/select.d.ts +17 -0
- package/dist/array/select.mjs +31 -0
- package/dist/array/set.cjs +13 -0
- package/dist/array/set.d.ts +2 -0
- package/dist/array/set.mjs +13 -0
- package/dist/array/shift.cjs +6 -0
- package/dist/array/shift.d.ts +4 -0
- package/dist/array/shift.mjs +6 -0
- package/dist/array/slice.cjs +11 -0
- package/dist/array/slice.d.ts +2 -0
- package/dist/array/slice.mjs +11 -0
- package/dist/array/some.cjs +14 -0
- package/dist/array/some.d.ts +6 -0
- package/dist/array/some.mjs +14 -0
- package/dist/array/sort.cjs +11 -0
- package/dist/array/sort.d.ts +5 -0
- package/dist/array/sort.mjs +11 -0
- package/dist/array/splice/delete.cjs +13 -0
- package/dist/array/splice/delete.d.ts +5 -0
- package/dist/array/splice/delete.mjs +13 -0
- package/dist/array/splice/index.d.ts +3 -0
- package/dist/array/splice/insert.cjs +13 -0
- package/dist/array/splice/insert.d.ts +5 -0
- package/dist/array/splice/insert.mjs +13 -0
- package/dist/array/splice/replace.cjs +13 -0
- package/dist/array/splice/replace.d.ts +2 -0
- package/dist/array/splice/replace.mjs +13 -0
- package/dist/array/types/index.d.ts +1 -0
- package/dist/array/types/unwrap.d.ts +1 -0
- package/dist/array/unshift.cjs +11 -0
- package/dist/array/unshift.d.ts +5 -0
- package/dist/array/unshift.mjs +11 -0
- package/dist/chrono/applyTimezone.cjs +15 -0
- package/dist/chrono/applyTimezone.d.ts +5 -0
- package/dist/chrono/applyTimezone.mjs +15 -0
- package/dist/chrono/closestTo.cjs +27 -0
- package/dist/chrono/closestTo.d.ts +7 -0
- package/dist/chrono/closestTo.mjs +27 -0
- package/dist/chrono/computeTime.cjs +21 -0
- package/dist/chrono/computeTime.d.ts +5 -0
- package/dist/chrono/computeTime.mjs +21 -0
- package/dist/chrono/constants.cjs +28 -0
- package/dist/chrono/constants.d.ts +18 -0
- package/dist/chrono/constants.mjs +16 -0
- package/dist/chrono/createDate.cjs +68 -0
- package/dist/chrono/createDate.d.ts +21 -0
- package/dist/chrono/createDate.mjs +68 -0
- package/dist/chrono/createDateOrThrow.cjs +22 -0
- package/dist/chrono/createDateOrThrow.d.ts +11 -0
- package/dist/chrono/createDateOrThrow.mjs +21 -0
- package/dist/chrono/createTime.cjs +45 -0
- package/dist/chrono/createTime.d.ts +30 -0
- package/dist/chrono/createTime.mjs +45 -0
- package/dist/chrono/createTimeOrThrow.cjs +22 -0
- package/dist/chrono/createTimeOrThrow.d.ts +10 -0
- package/dist/chrono/createTimeOrThrow.mjs +21 -0
- package/dist/chrono/eachDate.cjs +36 -0
- package/dist/chrono/eachDate.d.ts +6 -0
- package/dist/chrono/eachDate.mjs +36 -0
- package/dist/chrono/formatDate.cjs +36 -0
- package/dist/chrono/formatDate.d.ts +5 -0
- package/dist/chrono/formatDate.mjs +36 -0
- package/dist/chrono/formatTime.cjs +36 -0
- package/dist/chrono/formatTime.d.ts +4 -0
- package/dist/chrono/formatTime.mjs +36 -0
- package/dist/chrono/getDifference.cjs +16 -0
- package/dist/chrono/getDifference.d.ts +5 -0
- package/dist/chrono/getDifference.mjs +16 -0
- package/dist/chrono/getTimezoneOffset.cjs +25 -0
- package/dist/chrono/getTimezoneOffset.d.ts +5 -0
- package/dist/chrono/getTimezoneOffset.mjs +25 -0
- package/dist/chrono/getters/getDayOfMonth.cjs +13 -0
- package/dist/chrono/getters/getDayOfMonth.d.ts +4 -0
- package/dist/chrono/getters/getDayOfMonth.mjs +13 -0
- package/dist/chrono/getters/getDayOfWeek.cjs +22 -0
- package/dist/chrono/getters/getDayOfWeek.d.ts +4 -0
- package/dist/chrono/getters/getDayOfWeek.mjs +22 -0
- package/dist/chrono/getters/getDayOfYear.cjs +30 -0
- package/dist/chrono/getters/getDayOfYear.d.ts +4 -0
- package/dist/chrono/getters/getDayOfYear.mjs +30 -0
- package/dist/chrono/getters/getFirstDayOfMonth.cjs +11 -0
- package/dist/chrono/getters/getFirstDayOfMonth.d.ts +3 -0
- package/dist/chrono/getters/getFirstDayOfMonth.mjs +11 -0
- package/dist/chrono/getters/getFirstDayOfWeek.cjs +13 -0
- package/dist/chrono/getters/getFirstDayOfWeek.d.ts +3 -0
- package/dist/chrono/getters/getFirstDayOfWeek.mjs +13 -0
- package/dist/chrono/getters/getHour.cjs +14 -0
- package/dist/chrono/getters/getHour.d.ts +4 -0
- package/dist/chrono/getters/getHour.mjs +14 -0
- package/dist/chrono/getters/getLastDayOfMonth.cjs +11 -0
- package/dist/chrono/getters/getLastDayOfMonth.d.ts +3 -0
- package/dist/chrono/getters/getLastDayOfMonth.mjs +11 -0
- package/dist/chrono/getters/getLastDayOfWeek.cjs +13 -0
- package/dist/chrono/getters/getLastDayOfWeek.d.ts +3 -0
- package/dist/chrono/getters/getLastDayOfWeek.mjs +13 -0
- package/dist/chrono/getters/getMilliseconds.cjs +7 -0
- package/dist/chrono/getters/getMilliseconds.d.ts +3 -0
- package/dist/chrono/getters/getMilliseconds.mjs +7 -0
- package/dist/chrono/getters/getMinute.cjs +13 -0
- package/dist/chrono/getters/getMinute.d.ts +4 -0
- package/dist/chrono/getters/getMinute.mjs +13 -0
- package/dist/chrono/getters/getMonth.cjs +13 -0
- package/dist/chrono/getters/getMonth.d.ts +4 -0
- package/dist/chrono/getters/getMonth.mjs +13 -0
- package/dist/chrono/getters/getSecond.cjs +13 -0
- package/dist/chrono/getters/getSecond.d.ts +4 -0
- package/dist/chrono/getters/getSecond.mjs +13 -0
- package/dist/chrono/getters/getWeekOfYear.cjs +35 -0
- package/dist/chrono/getters/getWeekOfYear.d.ts +4 -0
- package/dist/chrono/getters/getWeekOfYear.mjs +35 -0
- package/dist/chrono/getters/getYear.cjs +13 -0
- package/dist/chrono/getters/getYear.d.ts +4 -0
- package/dist/chrono/getters/getYear.mjs +13 -0
- package/dist/chrono/getters/index.d.ts +14 -0
- package/dist/chrono/index.cjs +305 -0
- package/dist/chrono/index.d.ts +44 -0
- package/dist/chrono/index.mjs +199 -0
- package/dist/chrono/isDate.cjs +7 -0
- package/dist/chrono/isDate.d.ts +2 -0
- package/dist/chrono/isDate.mjs +7 -0
- package/dist/chrono/isSafeTimeValue.cjs +9 -0
- package/dist/chrono/isSafeTimeValue.d.ts +1 -0
- package/dist/chrono/isSafeTimeValue.mjs +9 -0
- package/dist/chrono/isSafeTimestamp.cjs +9 -0
- package/dist/chrono/isSafeTimestamp.d.ts +1 -0
- package/dist/chrono/isSafeTimestamp.mjs +9 -0
- package/dist/chrono/isSerializedTheDate.cjs +13 -0
- package/dist/chrono/isSerializedTheDate.d.ts +2 -0
- package/dist/chrono/isSerializedTheDate.mjs +13 -0
- package/dist/chrono/isSerializedTheTime.cjs +13 -0
- package/dist/chrono/isSerializedTheTime.d.ts +2 -0
- package/dist/chrono/isSerializedTheTime.mjs +13 -0
- package/dist/chrono/isTime.cjs +7 -0
- package/dist/chrono/isTime.d.ts +2 -0
- package/dist/chrono/isTime.mjs +7 -0
- package/dist/chrono/kind.cjs +4 -0
- package/dist/chrono/kind.d.ts +2 -0
- package/dist/chrono/kind.mjs +5 -0
- package/dist/chrono/makeSafeTimeValue.cjs +10 -0
- package/dist/chrono/makeSafeTimeValue.d.ts +1 -0
- package/dist/chrono/makeSafeTimeValue.mjs +10 -0
- package/dist/chrono/makeSafeTimestamp.cjs +10 -0
- package/dist/chrono/makeSafeTimestamp.d.ts +1 -0
- package/dist/chrono/makeSafeTimestamp.mjs +10 -0
- package/dist/chrono/maxDate.cjs +8 -0
- package/dist/chrono/maxDate.d.ts +4 -0
- package/dist/chrono/maxDate.mjs +8 -0
- package/dist/chrono/maxTime.cjs +8 -0
- package/dist/chrono/maxTime.d.ts +4 -0
- package/dist/chrono/maxTime.mjs +8 -0
- package/dist/chrono/minDate.cjs +8 -0
- package/dist/chrono/minDate.d.ts +4 -0
- package/dist/chrono/minDate.mjs +8 -0
- package/dist/chrono/minTime.cjs +8 -0
- package/dist/chrono/minTime.d.ts +4 -0
- package/dist/chrono/minTime.mjs +8 -0
- package/dist/chrono/now.cjs +8 -0
- package/dist/chrono/now.d.ts +2 -0
- package/dist/chrono/now.mjs +8 -0
- package/dist/chrono/operators/addDays.cjs +14 -0
- package/dist/chrono/operators/addDays.d.ts +4 -0
- package/dist/chrono/operators/addDays.mjs +14 -0
- package/dist/chrono/operators/addHours.cjs +14 -0
- package/dist/chrono/operators/addHours.d.ts +4 -0
- package/dist/chrono/operators/addHours.mjs +14 -0
- package/dist/chrono/operators/addMilliseconds.cjs +13 -0
- package/dist/chrono/operators/addMilliseconds.d.ts +4 -0
- package/dist/chrono/operators/addMilliseconds.mjs +13 -0
- package/dist/chrono/operators/addMinutes.cjs +14 -0
- package/dist/chrono/operators/addMinutes.d.ts +4 -0
- package/dist/chrono/operators/addMinutes.mjs +14 -0
- package/dist/chrono/operators/addMonths.cjs +15 -0
- package/dist/chrono/operators/addMonths.d.ts +4 -0
- package/dist/chrono/operators/addMonths.mjs +15 -0
- package/dist/chrono/operators/addSeconds.cjs +14 -0
- package/dist/chrono/operators/addSeconds.d.ts +4 -0
- package/dist/chrono/operators/addSeconds.mjs +14 -0
- package/dist/chrono/operators/addTime.cjs +26 -0
- package/dist/chrono/operators/addTime.d.ts +7 -0
- package/dist/chrono/operators/addTime.mjs +26 -0
- package/dist/chrono/operators/addWeeks.cjs +15 -0
- package/dist/chrono/operators/addWeeks.d.ts +4 -0
- package/dist/chrono/operators/addWeeks.mjs +15 -0
- package/dist/chrono/operators/addYears.cjs +15 -0
- package/dist/chrono/operators/addYears.d.ts +4 -0
- package/dist/chrono/operators/addYears.mjs +15 -0
- package/dist/chrono/operators/betweenThanDate.cjs +15 -0
- package/dist/chrono/operators/betweenThanDate.d.ts +4 -0
- package/dist/chrono/operators/betweenThanDate.mjs +15 -0
- package/dist/chrono/operators/betweenThanOrEqualDate.cjs +15 -0
- package/dist/chrono/operators/betweenThanOrEqualDate.d.ts +4 -0
- package/dist/chrono/operators/betweenThanOrEqualDate.mjs +15 -0
- package/dist/chrono/operators/betweenThanOrEqualTime.cjs +15 -0
- package/dist/chrono/operators/betweenThanOrEqualTime.d.ts +4 -0
- package/dist/chrono/operators/betweenThanOrEqualTime.mjs +15 -0
- package/dist/chrono/operators/betweenThanTime.cjs +15 -0
- package/dist/chrono/operators/betweenThanTime.d.ts +4 -0
- package/dist/chrono/operators/betweenThanTime.mjs +15 -0
- package/dist/chrono/operators/equalDate.cjs +12 -0
- package/dist/chrono/operators/equalDate.d.ts +4 -0
- package/dist/chrono/operators/equalDate.mjs +12 -0
- package/dist/chrono/operators/equalTime.cjs +12 -0
- package/dist/chrono/operators/equalTime.d.ts +4 -0
- package/dist/chrono/operators/equalTime.mjs +12 -0
- package/dist/chrono/operators/greaterThanDate.cjs +12 -0
- package/dist/chrono/operators/greaterThanDate.d.ts +4 -0
- package/dist/chrono/operators/greaterThanDate.mjs +12 -0
- package/dist/chrono/operators/greaterThanOrEqualDate.cjs +12 -0
- package/dist/chrono/operators/greaterThanOrEqualDate.d.ts +4 -0
- package/dist/chrono/operators/greaterThanOrEqualDate.mjs +12 -0
- package/dist/chrono/operators/greaterThanOrEqualTime.cjs +12 -0
- package/dist/chrono/operators/greaterThanOrEqualTime.d.ts +4 -0
- package/dist/chrono/operators/greaterThanOrEqualTime.mjs +12 -0
- package/dist/chrono/operators/greaterThanTime.cjs +12 -0
- package/dist/chrono/operators/greaterThanTime.d.ts +4 -0
- package/dist/chrono/operators/greaterThanTime.mjs +12 -0
- package/dist/chrono/operators/index.d.ts +32 -0
- package/dist/chrono/operators/lessThanDate.cjs +12 -0
- package/dist/chrono/operators/lessThanDate.d.ts +4 -0
- package/dist/chrono/operators/lessThanDate.mjs +12 -0
- package/dist/chrono/operators/lessThanOrEqualDate.cjs +12 -0
- package/dist/chrono/operators/lessThanOrEqualDate.d.ts +4 -0
- package/dist/chrono/operators/lessThanOrEqualDate.mjs +12 -0
- package/dist/chrono/operators/lessThanOrEqualTime.cjs +12 -0
- package/dist/chrono/operators/lessThanOrEqualTime.d.ts +4 -0
- package/dist/chrono/operators/lessThanOrEqualTime.mjs +12 -0
- package/dist/chrono/operators/lessThanTime.cjs +12 -0
- package/dist/chrono/operators/lessThanTime.d.ts +4 -0
- package/dist/chrono/operators/lessThanTime.mjs +12 -0
- package/dist/chrono/operators/subtractDays.cjs +14 -0
- package/dist/chrono/operators/subtractDays.d.ts +4 -0
- package/dist/chrono/operators/subtractDays.mjs +14 -0
- package/dist/chrono/operators/subtractHours.cjs +14 -0
- package/dist/chrono/operators/subtractHours.d.ts +4 -0
- package/dist/chrono/operators/subtractHours.mjs +14 -0
- package/dist/chrono/operators/subtractMilliseconds.cjs +13 -0
- package/dist/chrono/operators/subtractMilliseconds.d.ts +4 -0
- package/dist/chrono/operators/subtractMilliseconds.mjs +13 -0
- package/dist/chrono/operators/subtractMinutes.cjs +14 -0
- package/dist/chrono/operators/subtractMinutes.d.ts +4 -0
- package/dist/chrono/operators/subtractMinutes.mjs +14 -0
- package/dist/chrono/operators/subtractMonths.cjs +15 -0
- package/dist/chrono/operators/subtractMonths.d.ts +4 -0
- package/dist/chrono/operators/subtractMonths.mjs +15 -0
- package/dist/chrono/operators/subtractSeconds.cjs +14 -0
- package/dist/chrono/operators/subtractSeconds.d.ts +4 -0
- package/dist/chrono/operators/subtractSeconds.mjs +14 -0
- package/dist/chrono/operators/subtractTime.cjs +26 -0
- package/dist/chrono/operators/subtractTime.d.ts +7 -0
- package/dist/chrono/operators/subtractTime.mjs +26 -0
- package/dist/chrono/operators/subtractWeeks.cjs +14 -0
- package/dist/chrono/operators/subtractWeeks.d.ts +4 -0
- package/dist/chrono/operators/subtractWeeks.mjs +14 -0
- package/dist/chrono/operators/subtractYears.cjs +15 -0
- package/dist/chrono/operators/subtractYears.d.ts +4 -0
- package/dist/chrono/operators/subtractYears.mjs +15 -0
- package/dist/chrono/round.cjs +21 -0
- package/dist/chrono/round.d.ts +4 -0
- package/dist/chrono/round.mjs +21 -0
- package/dist/chrono/serialize.cjs +12 -0
- package/dist/chrono/serialize.d.ts +5 -0
- package/dist/chrono/serialize.mjs +12 -0
- package/dist/chrono/sortDates.cjs +13 -0
- package/dist/chrono/sortDates.d.ts +6 -0
- package/dist/chrono/sortDates.mjs +13 -0
- package/dist/chrono/sortTimes.cjs +13 -0
- package/dist/chrono/sortTimes.d.ts +6 -0
- package/dist/chrono/sortTimes.mjs +13 -0
- package/dist/chrono/theDate.cjs +119 -0
- package/dist/chrono/theDate.d.ts +70 -0
- package/dist/chrono/theDate.mjs +119 -0
- package/dist/chrono/theTime.cjs +31 -0
- package/dist/chrono/theTime.d.ts +11 -0
- package/dist/chrono/theTime.mjs +31 -0
- package/dist/chrono/timezone.cjs +603 -0
- package/dist/chrono/timezone.d.ts +605 -0
- package/dist/chrono/timezone.mjs +604 -0
- package/dist/chrono/toDateISOString.cjs +9 -0
- package/dist/chrono/toDateISOString.d.ts +3 -0
- package/dist/chrono/toDateISOString.mjs +9 -0
- package/dist/chrono/toNative.cjs +13 -0
- package/dist/chrono/toNative.d.ts +5 -0
- package/dist/chrono/toNative.mjs +13 -0
- package/dist/chrono/toTimeValue.cjs +11 -0
- package/dist/chrono/toTimeValue.d.ts +3 -0
- package/dist/chrono/toTimeValue.mjs +11 -0
- package/dist/chrono/toTimestamp.cjs +11 -0
- package/dist/chrono/toTimestamp.d.ts +3 -0
- package/dist/chrono/toTimestamp.mjs +11 -0
- package/dist/chrono/today.cjs +8 -0
- package/dist/chrono/today.d.ts +2 -0
- package/dist/chrono/today.mjs +8 -0
- package/dist/chrono/tomorrow.cjs +9 -0
- package/dist/chrono/tomorrow.d.ts +2 -0
- package/dist/chrono/tomorrow.mjs +9 -0
- package/dist/chrono/types/index.d.ts +9 -0
- package/dist/chrono/types/isLeapYear.d.ts +8 -0
- package/dist/chrono/types/isSafeYear.d.ts +6 -0
- package/dist/chrono/types/month.d.ts +9 -0
- package/dist/chrono/types/serializedTheDate.d.ts +1 -0
- package/dist/chrono/types/serializedTheTime.d.ts +1 -0
- package/dist/chrono/types/spoolingDate.d.ts +13 -0
- package/dist/chrono/types/spoolingTime.d.ts +9 -0
- package/dist/chrono/types/time.d.ts +5 -0
- package/dist/chrono/types/unit.d.ts +1 -0
- package/dist/chrono/yesterday.cjs +9 -0
- package/dist/chrono/yesterday.d.ts +2 -0
- package/dist/chrono/yesterday.mjs +9 -0
- package/dist/common/and.cjs +12 -0
- package/dist/common/and.d.ts +31 -0
- package/dist/common/and.mjs +12 -0
- package/dist/common/asserts.cjs +16 -0
- package/dist/common/asserts.d.ts +8 -0
- package/dist/common/asserts.mjs +15 -0
- package/dist/common/asyncInnerPipe.cjs +10 -0
- package/dist/common/asyncInnerPipe.d.ts +16 -0
- package/dist/common/asyncInnerPipe.mjs +10 -0
- package/dist/common/asyncLoop.cjs +16 -0
- package/dist/common/asyncLoop.d.ts +10 -0
- package/dist/common/asyncLoop.mjs +16 -0
- package/dist/common/asyncPipe.cjs +8 -0
- package/dist/common/asyncPipe.d.ts +16 -0
- package/dist/common/asyncPipe.mjs +8 -0
- package/dist/common/asyncRetry.cjs +16 -0
- package/dist/common/asyncRetry.d.ts +7 -0
- package/dist/common/asyncRetry.mjs +15 -0
- package/dist/common/bindPrototypeMethods.cjs +19 -0
- package/dist/common/bindPrototypeMethods.d.ts +1 -0
- package/dist/common/bindPrototypeMethods.mjs +19 -0
- package/dist/common/builder.cjs +47 -0
- package/dist/common/builder.d.ts +32 -0
- package/dist/common/builder.mjs +46 -0
- package/dist/common/callThen.cjs +13 -0
- package/dist/common/callThen.d.ts +1 -0
- package/dist/common/callThen.mjs +13 -0
- package/dist/common/clone.cjs +16 -0
- package/dist/common/clone.d.ts +2 -0
- package/dist/common/clone.mjs +16 -0
- package/dist/common/constraint/cast/array.d.ts +9 -0
- package/dist/common/constraint/cast/error.d.ts +9 -0
- package/dist/common/constraint/cast/index.cjs +10 -0
- package/dist/common/constraint/cast/index.d.ts +37 -0
- package/dist/common/constraint/cast/index.mjs +9 -0
- package/dist/common/constraint/cast/number.d.ts +10 -0
- package/dist/common/constraint/cast/string.d.ts +9 -0
- package/dist/common/constraint/index.d.ts +2 -0
- package/dist/common/constraint/types/base.d.ts +7 -0
- package/dist/common/constraint/types/compatibilityResult.d.ts +5 -0
- package/dist/common/constraint/types/dynamic.d.ts +3 -0
- package/dist/common/constraint/types/get.d.ts +3 -0
- package/dist/common/constraint/types/index.d.ts +6 -0
- package/dist/common/constraint/types/remove.d.ts +7 -0
- package/dist/common/constraint/types/unbundles.d.ts +17 -0
- package/dist/common/detachObjectMethod.cjs +6 -0
- package/dist/common/detachObjectMethod.d.ts +3 -0
- package/dist/common/detachObjectMethod.mjs +6 -0
- package/dist/common/enum.cjs +11 -0
- package/dist/common/enum.d.ts +17 -0
- package/dist/common/enum.mjs +11 -0
- package/dist/common/equal.cjs +11 -0
- package/dist/common/equal.d.ts +14 -0
- package/dist/common/equal.mjs +11 -0
- package/dist/common/escapeRegExp.cjs +6 -0
- package/dist/common/escapeRegExp.d.ts +1 -0
- package/dist/common/escapeRegExp.mjs +6 -0
- package/dist/common/externalPromise.cjs +16 -0
- package/dist/common/externalPromise.d.ts +6 -0
- package/dist/common/externalPromise.mjs +16 -0
- package/dist/common/falsy.cjs +6 -0
- package/dist/common/falsy.d.ts +4 -0
- package/dist/common/falsy.mjs +6 -0
- package/dist/common/formData.cjs +64 -0
- package/dist/common/formData.d.ts +11 -0
- package/dist/common/formData.mjs +63 -0
- package/dist/common/forward.cjs +6 -0
- package/dist/common/forward.d.ts +1 -0
- package/dist/common/forward.mjs +6 -0
- package/dist/common/forwardAsserts.cjs +13 -0
- package/dist/common/forwardAsserts.d.ts +4 -0
- package/dist/common/forwardAsserts.mjs +13 -0
- package/dist/common/forwardLog.cjs +7 -0
- package/dist/common/forwardLog.d.ts +1 -0
- package/dist/common/forwardLog.mjs +7 -0
- package/dist/common/globalStore.cjs +15 -0
- package/dist/common/globalStore.d.ts +7 -0
- package/dist/common/globalStore.mjs +15 -0
- package/dist/common/index.cjs +194 -0
- package/dist/common/index.d.ts +54 -0
- package/dist/common/index.mjs +124 -0
- package/dist/common/innerPipe.cjs +10 -0
- package/dist/common/innerPipe.d.ts +16 -0
- package/dist/common/innerPipe.mjs +10 -0
- package/dist/common/instanceOf.cjs +14 -0
- package/dist/common/instanceOf.d.ts +3 -0
- package/dist/common/instanceOf.mjs +14 -0
- package/dist/common/interpolation.cjs +6 -0
- package/dist/common/interpolation.d.ts +5 -0
- package/dist/common/interpolation.mjs +6 -0
- package/dist/common/isType.cjs +25 -0
- package/dist/common/isType.d.ts +22 -0
- package/dist/common/isType.mjs +25 -0
- package/dist/common/justExec.cjs +6 -0
- package/dist/common/justExec.d.ts +1 -0
- package/dist/common/justExec.mjs +6 -0
- package/dist/common/justReturn.cjs +11 -0
- package/dist/common/justReturn.d.ts +3 -0
- package/dist/common/justReturn.mjs +11 -0
- package/dist/common/kind.cjs +4 -0
- package/dist/common/kind.d.ts +2 -0
- package/dist/common/kind.mjs +5 -0
- package/dist/common/loop.cjs +16 -0
- package/dist/common/loop.d.ts +15 -0
- package/dist/common/loop.mjs +16 -0
- package/dist/common/memo.cjs +10 -0
- package/dist/common/memo.d.ts +4 -0
- package/dist/common/memo.mjs +10 -0
- package/dist/common/memoObject.cjs +28 -0
- package/dist/common/memoObject.d.ts +1 -0
- package/dist/common/memoObject.mjs +28 -0
- package/dist/common/memoPromise.cjs +19 -0
- package/dist/common/memoPromise.d.ts +5 -0
- package/dist/common/memoPromise.mjs +19 -0
- package/dist/common/mimeType.cjs +1314 -0
- package/dist/common/mimeType.d.ts +5 -0
- package/dist/common/mimeType.mjs +1314 -0
- package/dist/common/or.cjs +12 -0
- package/dist/common/or.d.ts +26 -0
- package/dist/common/or.mjs +12 -0
- package/dist/common/pipe.cjs +8 -0
- package/dist/common/pipe.d.ts +16 -0
- package/dist/common/pipe.mjs +8 -0
- package/dist/common/pipeCall.cjs +6 -0
- package/dist/common/pipeCall.d.ts +1 -0
- package/dist/common/pipeCall.mjs +6 -0
- package/dist/common/prepareAsyncPipe.cjs +10 -0
- package/dist/common/prepareAsyncPipe.d.ts +19 -0
- package/dist/common/prepareAsyncPipe.mjs +10 -0
- package/dist/common/preparePipe.cjs +10 -0
- package/dist/common/preparePipe.d.ts +19 -0
- package/dist/common/preparePipe.mjs +10 -0
- package/dist/common/promiseAll.cjs +6 -0
- package/dist/common/promiseAll.d.ts +4 -0
- package/dist/common/promiseAll.mjs +6 -0
- package/dist/common/promiseObject.cjs +6 -0
- package/dist/common/promiseObject.d.ts +5 -0
- package/dist/common/promiseObject.mjs +6 -0
- package/dist/common/queue.cjs +73 -0
- package/dist/common/queue.d.ts +11 -0
- package/dist/common/queue.mjs +72 -0
- package/dist/common/simpleClone.cjs +17 -0
- package/dist/common/simpleClone.d.ts +1 -0
- package/dist/common/simpleClone.mjs +17 -0
- package/dist/common/stringToBytes.cjs +30 -0
- package/dist/common/stringToBytes.d.ts +17 -0
- package/dist/common/stringToBytes.mjs +29 -0
- package/dist/common/stringToMillisecond.cjs +33 -0
- package/dist/common/stringToMillisecond.d.ts +17 -0
- package/dist/common/stringToMillisecond.mjs +32 -0
- package/dist/common/timeout.cjs +6 -0
- package/dist/common/timeout.d.ts +1 -0
- package/dist/common/timeout.mjs +6 -0
- package/dist/common/toCurriedPredicate.cjs +6 -0
- package/dist/common/toCurriedPredicate.d.ts +1 -0
- package/dist/common/toCurriedPredicate.mjs +6 -0
- package/dist/common/toRegExp.cjs +12 -0
- package/dist/common/toRegExp.d.ts +2 -0
- package/dist/common/toRegExp.mjs +12 -0
- package/dist/common/transformer.cjs +24 -0
- package/dist/common/transformer.d.ts +25 -0
- package/dist/common/transformer.mjs +21 -0
- package/dist/common/truthy.cjs +6 -0
- package/dist/common/truthy.d.ts +3 -0
- package/dist/common/truthy.mjs +6 -0
- package/dist/common/types/IsExtends.d.ts +2 -0
- package/dist/common/types/and.d.ts +1 -0
- package/dist/common/types/anyConstructor.d.ts +2 -0
- package/dist/common/types/anyFunction.d.ts +1 -0
- package/dist/common/types/anyObject.d.ts +4 -0
- package/dist/common/types/anyPredicate.d.ts +1 -0
- package/dist/common/types/anyTuple.d.ts +1 -0
- package/dist/common/types/anyValue.d.ts +2 -0
- package/dist/common/types/bivariantFunction.d.ts +9 -0
- package/dist/common/types/breakGenericLink.d.ts +1 -0
- package/dist/common/types/cleanObjectEntry.d.ts +1 -0
- package/dist/common/types/clearClassKeys.d.ts +4 -0
- package/dist/common/types/coalescing.d.ts +2 -0
- package/dist/common/types/computedTypeError.d.ts +6 -0
- package/dist/common/types/escapeAny.d.ts +1 -0
- package/dist/common/types/escapeVoid.d.ts +1 -0
- package/dist/common/types/excludeEqual.d.ts +2 -0
- package/dist/common/types/expectType.d.ts +6 -0
- package/dist/common/types/extractEqual.d.ts +2 -0
- package/dist/common/types/falsyValue.d.ts +1 -0
- package/dist/common/types/fixDeepFunctionInfer.d.ts +2 -0
- package/dist/common/types/forbiddenPromise.d.ts +2 -0
- package/dist/common/types/forbiddenUnion.d.ts +3 -0
- package/dist/common/types/forcePredicate.d.ts +5 -0
- package/dist/common/types/hasSomething.d.ts +3 -0
- package/dist/common/types/index.d.ts +55 -0
- package/dist/common/types/isEqual.d.ts +4 -0
- package/dist/common/types/isNever.d.ts +1 -0
- package/dist/common/types/isUnion.d.ts +4 -0
- package/dist/common/types/json.d.ts +4 -0
- package/dist/common/types/lastUnionElement.d.ts +6 -0
- package/dist/common/types/maybeArray.d.ts +1 -0
- package/dist/common/types/maybeAsyncGenerator.d.ts +1 -0
- package/dist/common/types/maybeGetter.d.ts +1 -0
- package/dist/common/types/maybePromise.d.ts +1 -0
- package/dist/common/types/mergePromise.d.ts +1 -0
- package/dist/common/types/neverCoalescing.d.ts +2 -0
- package/dist/common/types/not.d.ts +1 -0
- package/dist/common/types/objectEntry.d.ts +2 -0
- package/dist/common/types/objectKey.d.ts +1 -0
- package/dist/common/types/or.d.ts +2 -0
- package/dist/common/types/predicate.d.ts +1 -0
- package/dist/common/types/removeAbstractFromConstructor.d.ts +5 -0
- package/dist/common/types/removeDuplicateInUnion.d.ts +6 -0
- package/dist/common/types/removeFromUnion.d.ts +2 -0
- package/dist/common/types/removeReadonly.d.ts +3 -0
- package/dist/common/types/requireConstructor.d.ts +3 -0
- package/dist/common/types/simplifyTopLevel.d.ts +3 -0
- package/dist/common/types/simplifyType.d.ts +3 -0
- package/dist/common/types/simplifyTypeForce.d.ts +3 -0
- package/dist/common/types/sortType.d.ts +1 -0
- package/dist/common/types/toLargeEnsemble.d.ts +6 -0
- package/dist/common/types/unionContain.d.ts +2 -0
- package/dist/common/types/unionToIntersection.d.ts +1 -0
- package/dist/common/types/unionToTuple.d.ts +4 -0
- package/dist/common/types/unwrapGetter.d.ts +3 -0
- package/dist/common/when.cjs +12 -0
- package/dist/common/when.d.ts +5 -0
- package/dist/common/when.mjs +12 -0
- package/dist/common/whenElse.cjs +12 -0
- package/dist/common/whenElse.d.ts +5 -0
- package/dist/common/whenElse.mjs +12 -0
- package/dist/common/whenNot.cjs +12 -0
- package/dist/common/whenNot.d.ts +5 -0
- package/dist/common/whenNot.mjs +12 -0
- package/dist/dataStructure/common/codec.cjs +28 -0
- package/dist/dataStructure/common/codec.d.ts +29 -0
- package/dist/dataStructure/common/codec.mjs +25 -0
- package/dist/dataStructure/common/error.cjs +53 -0
- package/dist/dataStructure/common/error.d.ts +30 -0
- package/dist/dataStructure/common/error.mjs +52 -0
- package/dist/dataStructure/common/index.d.ts +3 -0
- package/dist/dataStructure/common/resultSymbol.cjs +6 -0
- package/dist/dataStructure/common/resultSymbol.d.ts +4 -0
- package/dist/dataStructure/common/resultSymbol.mjs +5 -0
- package/dist/dataStructure/constraint/base.cjs +17 -0
- package/dist/dataStructure/constraint/base.d.ts +22 -0
- package/dist/dataStructure/constraint/base.mjs +17 -0
- package/dist/dataStructure/constraint/defaults/allowedCharacters.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/allowedCharacters.d.ts +13 -0
- package/dist/dataStructure/constraint/defaults/allowedCharacters.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/arrayLengthEqual.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/arrayLengthEqual.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/arrayLengthEqual.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/betweenThan.cjs +17 -0
- package/dist/dataStructure/constraint/defaults/betweenThan.d.ts +12 -0
- package/dist/dataStructure/constraint/defaults/betweenThan.mjs +16 -0
- package/dist/dataStructure/constraint/defaults/betweenThanOrEqual.cjs +17 -0
- package/dist/dataStructure/constraint/defaults/betweenThanOrEqual.d.ts +12 -0
- package/dist/dataStructure/constraint/defaults/betweenThanOrEqual.mjs +16 -0
- package/dist/dataStructure/constraint/defaults/email.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/email.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/email.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/even.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/even.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/even.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/greaterThan.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/greaterThan.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/greaterThan.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/greaterThanOrEqual.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/greaterThanOrEqual.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/greaterThanOrEqual.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/index.d.ts +28 -0
- package/dist/dataStructure/constraint/defaults/integer.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/integer.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/integer.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/lessThan.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/lessThan.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/lessThan.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/lessThanOrEqual.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/lessThanOrEqual.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/lessThanOrEqual.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/maxCharacters.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/maxCharacters.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/maxCharacters.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/maxElements.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/maxElements.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/maxElements.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/minCharacters.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/minCharacters.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/minCharacters.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/minElements.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/minElements.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/minElements.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/multipleOf.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/multipleOf.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/multipleOf.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/negative.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/negative.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/negative.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/notEmpty.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/notEmpty.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/notEmpty.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/notZero.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/notZero.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/notZero.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/odd.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/odd.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/odd.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/positive.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/positive.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/positive.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/refine.cjs +12 -0
- package/dist/dataStructure/constraint/defaults/refine.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/refine.mjs +11 -0
- package/dist/dataStructure/constraint/defaults/safe.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/safe.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/safe.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/strictNegative.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/strictNegative.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/strictNegative.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/strictPositive.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/strictPositive.d.ts +10 -0
- package/dist/dataStructure/constraint/defaults/strictPositive.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/stringLengthEqual.cjs +14 -0
- package/dist/dataStructure/constraint/defaults/stringLengthEqual.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/stringLengthEqual.mjs +13 -0
- package/dist/dataStructure/constraint/defaults/url.cjs +13 -0
- package/dist/dataStructure/constraint/defaults/url.d.ts +11 -0
- package/dist/dataStructure/constraint/defaults/url.mjs +12 -0
- package/dist/dataStructure/constraint/defaults/uuid.cjs +15 -0
- package/dist/dataStructure/constraint/defaults/uuid.d.ts +12 -0
- package/dist/dataStructure/constraint/defaults/uuid.mjs +13 -0
- package/dist/dataStructure/constraint/identifier.cjs +4 -0
- package/dist/dataStructure/constraint/identifier.d.ts +5 -0
- package/dist/dataStructure/constraint/identifier.mjs +5 -0
- package/dist/dataStructure/constraint/index.d.ts +4 -0
- package/dist/dataStructure/constraint/types/constraints.d.ts +32 -0
- package/dist/dataStructure/constraint/types/index.d.ts +2 -0
- package/dist/dataStructure/constraint/types/value.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/base.cjs +13 -0
- package/dist/dataStructure/fundamentalType/base.d.ts +9 -0
- package/dist/dataStructure/fundamentalType/base.mjs +13 -0
- package/dist/dataStructure/fundamentalType/defaults/bigint.cjs +7 -0
- package/dist/dataStructure/fundamentalType/defaults/bigint.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/defaults/bigint.mjs +5 -0
- package/dist/dataStructure/fundamentalType/defaults/boolean.cjs +7 -0
- package/dist/dataStructure/fundamentalType/defaults/boolean.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/defaults/boolean.mjs +5 -0
- package/dist/dataStructure/fundamentalType/defaults/date.cjs +8 -0
- package/dist/dataStructure/fundamentalType/defaults/date.d.ts +8 -0
- package/dist/dataStructure/fundamentalType/defaults/date.mjs +6 -0
- package/dist/dataStructure/fundamentalType/defaults/index.d.ts +8 -0
- package/dist/dataStructure/fundamentalType/defaults/null.cjs +7 -0
- package/dist/dataStructure/fundamentalType/defaults/null.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/defaults/null.mjs +5 -0
- package/dist/dataStructure/fundamentalType/defaults/number.cjs +7 -0
- package/dist/dataStructure/fundamentalType/defaults/number.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/defaults/number.mjs +5 -0
- package/dist/dataStructure/fundamentalType/defaults/string.cjs +7 -0
- package/dist/dataStructure/fundamentalType/defaults/string.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/defaults/string.mjs +5 -0
- package/dist/dataStructure/fundamentalType/defaults/time.cjs +8 -0
- package/dist/dataStructure/fundamentalType/defaults/time.d.ts +8 -0
- package/dist/dataStructure/fundamentalType/defaults/time.mjs +6 -0
- package/dist/dataStructure/fundamentalType/defaults/undefined.cjs +7 -0
- package/dist/dataStructure/fundamentalType/defaults/undefined.d.ts +7 -0
- package/dist/dataStructure/fundamentalType/defaults/undefined.mjs +5 -0
- package/dist/dataStructure/fundamentalType/identifier.cjs +4 -0
- package/dist/dataStructure/fundamentalType/identifier.d.ts +5 -0
- package/dist/dataStructure/fundamentalType/identifier.mjs +5 -0
- package/dist/dataStructure/fundamentalType/index.d.ts +4 -0
- package/dist/dataStructure/fundamentalType/types/fundamentalTypes.d.ts +13 -0
- package/dist/dataStructure/fundamentalType/types/index.d.ts +2 -0
- package/dist/dataStructure/fundamentalType/types/value.d.ts +3 -0
- package/dist/dataStructure/helpers/allowedCharacters.cjs +7 -0
- package/dist/dataStructure/helpers/allowedCharacters.d.ts +4 -0
- package/dist/dataStructure/helpers/allowedCharacters.mjs +7 -0
- package/dist/dataStructure/helpers/array.cjs +7 -0
- package/dist/dataStructure/helpers/array.d.ts +3 -0
- package/dist/dataStructure/helpers/array.mjs +7 -0
- package/dist/dataStructure/helpers/arrayLengthEqual.cjs +7 -0
- package/dist/dataStructure/helpers/arrayLengthEqual.d.ts +2 -0
- package/dist/dataStructure/helpers/arrayLengthEqual.mjs +7 -0
- package/dist/dataStructure/helpers/betweenThan.cjs +7 -0
- package/dist/dataStructure/helpers/betweenThan.d.ts +2 -0
- package/dist/dataStructure/helpers/betweenThan.mjs +7 -0
- package/dist/dataStructure/helpers/betweenThanOrEqual.cjs +7 -0
- package/dist/dataStructure/helpers/betweenThanOrEqual.d.ts +2 -0
- package/dist/dataStructure/helpers/betweenThanOrEqual.mjs +7 -0
- package/dist/dataStructure/helpers/bigint.cjs +8 -0
- package/dist/dataStructure/helpers/bigint.d.ts +3 -0
- package/dist/dataStructure/helpers/bigint.mjs +8 -0
- package/dist/dataStructure/helpers/boolean.cjs +8 -0
- package/dist/dataStructure/helpers/boolean.d.ts +3 -0
- package/dist/dataStructure/helpers/boolean.mjs +8 -0
- package/dist/dataStructure/helpers/date.cjs +8 -0
- package/dist/dataStructure/helpers/date.d.ts +4 -0
- package/dist/dataStructure/helpers/date.mjs +8 -0
- package/dist/dataStructure/helpers/email.cjs +7 -0
- package/dist/dataStructure/helpers/email.d.ts +2 -0
- package/dist/dataStructure/helpers/email.mjs +7 -0
- package/dist/dataStructure/helpers/even.cjs +7 -0
- package/dist/dataStructure/helpers/even.d.ts +2 -0
- package/dist/dataStructure/helpers/even.mjs +7 -0
- package/dist/dataStructure/helpers/extend.cjs +10 -0
- package/dist/dataStructure/helpers/extend.d.ts +3 -0
- package/dist/dataStructure/helpers/extend.mjs +10 -0
- package/dist/dataStructure/helpers/greaterThan.cjs +7 -0
- package/dist/dataStructure/helpers/greaterThan.d.ts +2 -0
- package/dist/dataStructure/helpers/greaterThan.mjs +7 -0
- package/dist/dataStructure/helpers/greaterThanOrEqual.cjs +7 -0
- package/dist/dataStructure/helpers/greaterThanOrEqual.d.ts +2 -0
- package/dist/dataStructure/helpers/greaterThanOrEqual.mjs +7 -0
- package/dist/dataStructure/helpers/index.d.ts +49 -0
- package/dist/dataStructure/helpers/integer.cjs +7 -0
- package/dist/dataStructure/helpers/integer.d.ts +2 -0
- package/dist/dataStructure/helpers/integer.mjs +7 -0
- package/dist/dataStructure/helpers/isNullStructure.cjs +10 -0
- package/dist/dataStructure/helpers/isNullStructure.d.ts +2 -0
- package/dist/dataStructure/helpers/isNullStructure.mjs +10 -0
- package/dist/dataStructure/helpers/isUndefinedStructure.cjs +10 -0
- package/dist/dataStructure/helpers/isUndefinedStructure.d.ts +2 -0
- package/dist/dataStructure/helpers/isUndefinedStructure.mjs +10 -0
- package/dist/dataStructure/helpers/lazy.cjs +7 -0
- package/dist/dataStructure/helpers/lazy.d.ts +3 -0
- package/dist/dataStructure/helpers/lazy.mjs +7 -0
- package/dist/dataStructure/helpers/lessThan.cjs +7 -0
- package/dist/dataStructure/helpers/lessThan.d.ts +2 -0
- package/dist/dataStructure/helpers/lessThan.mjs +7 -0
- package/dist/dataStructure/helpers/lessThanOrEqual.cjs +7 -0
- package/dist/dataStructure/helpers/lessThanOrEqual.d.ts +2 -0
- package/dist/dataStructure/helpers/lessThanOrEqual.mjs +7 -0
- package/dist/dataStructure/helpers/literal.cjs +20 -0
- package/dist/dataStructure/helpers/literal.d.ts +5 -0
- package/dist/dataStructure/helpers/literal.mjs +20 -0
- package/dist/dataStructure/helpers/maxCharacters.cjs +7 -0
- package/dist/dataStructure/helpers/maxCharacters.d.ts +2 -0
- package/dist/dataStructure/helpers/maxCharacters.mjs +7 -0
- package/dist/dataStructure/helpers/maxElements.cjs +7 -0
- package/dist/dataStructure/helpers/maxElements.d.ts +2 -0
- package/dist/dataStructure/helpers/maxElements.mjs +7 -0
- package/dist/dataStructure/helpers/minCharacters.cjs +7 -0
- package/dist/dataStructure/helpers/minCharacters.d.ts +2 -0
- package/dist/dataStructure/helpers/minCharacters.mjs +7 -0
- package/dist/dataStructure/helpers/minElements.cjs +7 -0
- package/dist/dataStructure/helpers/minElements.d.ts +2 -0
- package/dist/dataStructure/helpers/minElements.mjs +7 -0
- package/dist/dataStructure/helpers/multipleOf.cjs +7 -0
- package/dist/dataStructure/helpers/multipleOf.d.ts +2 -0
- package/dist/dataStructure/helpers/multipleOf.mjs +7 -0
- package/dist/dataStructure/helpers/negative.cjs +7 -0
- package/dist/dataStructure/helpers/negative.d.ts +2 -0
- package/dist/dataStructure/helpers/negative.mjs +7 -0
- package/dist/dataStructure/helpers/notEmpty.cjs +7 -0
- package/dist/dataStructure/helpers/notEmpty.d.ts +2 -0
- package/dist/dataStructure/helpers/notEmpty.mjs +7 -0
- package/dist/dataStructure/helpers/notZero.cjs +7 -0
- package/dist/dataStructure/helpers/notZero.d.ts +2 -0
- package/dist/dataStructure/helpers/notZero.mjs +7 -0
- package/dist/dataStructure/helpers/null.cjs +8 -0
- package/dist/dataStructure/helpers/null.d.ts +4 -0
- package/dist/dataStructure/helpers/null.mjs +8 -0
- package/dist/dataStructure/helpers/nullable.cjs +12 -0
- package/dist/dataStructure/helpers/nullable.d.ts +2 -0
- package/dist/dataStructure/helpers/nullable.mjs +12 -0
- package/dist/dataStructure/helpers/number.cjs +8 -0
- package/dist/dataStructure/helpers/number.d.ts +3 -0
- package/dist/dataStructure/helpers/number.mjs +8 -0
- package/dist/dataStructure/helpers/object.cjs +7 -0
- package/dist/dataStructure/helpers/object.d.ts +3 -0
- package/dist/dataStructure/helpers/object.mjs +7 -0
- package/dist/dataStructure/helpers/odd.cjs +7 -0
- package/dist/dataStructure/helpers/odd.d.ts +2 -0
- package/dist/dataStructure/helpers/odd.mjs +7 -0
- package/dist/dataStructure/helpers/optional.cjs +12 -0
- package/dist/dataStructure/helpers/optional.d.ts +2 -0
- package/dist/dataStructure/helpers/optional.mjs +12 -0
- package/dist/dataStructure/helpers/partial.cjs +17 -0
- package/dist/dataStructure/helpers/partial.d.ts +4 -0
- package/dist/dataStructure/helpers/partial.mjs +17 -0
- package/dist/dataStructure/helpers/positive.cjs +7 -0
- package/dist/dataStructure/helpers/positive.d.ts +2 -0
- package/dist/dataStructure/helpers/positive.mjs +7 -0
- package/dist/dataStructure/helpers/record.cjs +7 -0
- package/dist/dataStructure/helpers/record.d.ts +3 -0
- package/dist/dataStructure/helpers/record.mjs +7 -0
- package/dist/dataStructure/helpers/refine.cjs +7 -0
- package/dist/dataStructure/helpers/refine.d.ts +2 -0
- package/dist/dataStructure/helpers/refine.mjs +7 -0
- package/dist/dataStructure/helpers/required.cjs +18 -0
- package/dist/dataStructure/helpers/required.d.ts +4 -0
- package/dist/dataStructure/helpers/required.mjs +18 -0
- package/dist/dataStructure/helpers/safe.cjs +7 -0
- package/dist/dataStructure/helpers/safe.d.ts +2 -0
- package/dist/dataStructure/helpers/safe.mjs +7 -0
- package/dist/dataStructure/helpers/strictNegative.cjs +7 -0
- package/dist/dataStructure/helpers/strictNegative.d.ts +2 -0
- package/dist/dataStructure/helpers/strictNegative.mjs +7 -0
- package/dist/dataStructure/helpers/strictPositive.cjs +7 -0
- package/dist/dataStructure/helpers/strictPositive.d.ts +2 -0
- package/dist/dataStructure/helpers/strictPositive.mjs +7 -0
- package/dist/dataStructure/helpers/string.cjs +8 -0
- package/dist/dataStructure/helpers/string.d.ts +3 -0
- package/dist/dataStructure/helpers/string.mjs +8 -0
- package/dist/dataStructure/helpers/stringLengthEqual.cjs +7 -0
- package/dist/dataStructure/helpers/stringLengthEqual.d.ts +2 -0
- package/dist/dataStructure/helpers/stringLengthEqual.mjs +7 -0
- package/dist/dataStructure/helpers/time.cjs +8 -0
- package/dist/dataStructure/helpers/time.d.ts +4 -0
- package/dist/dataStructure/helpers/time.mjs +8 -0
- package/dist/dataStructure/helpers/undefined.cjs +8 -0
- package/dist/dataStructure/helpers/undefined.d.ts +4 -0
- package/dist/dataStructure/helpers/undefined.mjs +8 -0
- package/dist/dataStructure/helpers/union.cjs +7 -0
- package/dist/dataStructure/helpers/union.d.ts +4 -0
- package/dist/dataStructure/helpers/union.mjs +7 -0
- package/dist/dataStructure/helpers/url.cjs +7 -0
- package/dist/dataStructure/helpers/url.d.ts +3 -0
- package/dist/dataStructure/helpers/url.mjs +7 -0
- package/dist/dataStructure/helpers/uuid.cjs +7 -0
- package/dist/dataStructure/helpers/uuid.d.ts +2 -0
- package/dist/dataStructure/helpers/uuid.mjs +7 -0
- package/dist/dataStructure/index.cjs +470 -0
- package/dist/dataStructure/index.d.ts +7 -0
- package/dist/dataStructure/index.mjs +293 -0
- package/dist/dataStructure/kind.cjs +4 -0
- package/dist/dataStructure/kind.d.ts +2 -0
- package/dist/dataStructure/kind.mjs +5 -0
- package/dist/dataStructure/structure/base.cjs +113 -0
- package/dist/dataStructure/structure/base.d.ts +50 -0
- package/dist/dataStructure/structure/base.mjs +111 -0
- package/dist/dataStructure/structure/defaults/array.cjs +44 -0
- package/dist/dataStructure/structure/defaults/array.d.ts +18 -0
- package/dist/dataStructure/structure/defaults/array.mjs +40 -0
- package/dist/dataStructure/structure/defaults/index.d.ts +6 -0
- package/dist/dataStructure/structure/defaults/lazy.cjs +17 -0
- package/dist/dataStructure/structure/defaults/lazy.d.ts +12 -0
- package/dist/dataStructure/structure/defaults/lazy.mjs +16 -0
- package/dist/dataStructure/structure/defaults/object.cjs +53 -0
- package/dist/dataStructure/structure/defaults/object.d.ts +30 -0
- package/dist/dataStructure/structure/defaults/object.mjs +49 -0
- package/dist/dataStructure/structure/defaults/record.cjs +70 -0
- package/dist/dataStructure/structure/defaults/record.d.ts +19 -0
- package/dist/dataStructure/structure/defaults/record.mjs +66 -0
- package/dist/dataStructure/structure/defaults/type.cjs +25 -0
- package/dist/dataStructure/structure/defaults/type.d.ts +12 -0
- package/dist/dataStructure/structure/defaults/type.mjs +24 -0
- package/dist/dataStructure/structure/defaults/union.cjs +77 -0
- package/dist/dataStructure/structure/defaults/union.d.ts +12 -0
- package/dist/dataStructure/structure/defaults/union.mjs +73 -0
- package/dist/dataStructure/structure/identifier.cjs +4 -0
- package/dist/dataStructure/structure/identifier.d.ts +5 -0
- package/dist/dataStructure/structure/identifier.mjs +5 -0
- package/dist/dataStructure/structure/index.d.ts +4 -0
- package/dist/dataStructure/structure/types/constraintsValue.d.ts +7 -0
- package/dist/dataStructure/structure/types/index.d.ts +3 -0
- package/dist/dataStructure/structure/types/structures.d.ts +12 -0
- package/dist/dataStructure/structure/types/value.d.ts +5 -0
- package/dist/dataStructure/type/base.cjs +21 -0
- package/dist/dataStructure/type/base.d.ts +21 -0
- package/dist/dataStructure/type/base.mjs +20 -0
- package/dist/dataStructure/type/defaults/bigint.cjs +13 -0
- package/dist/dataStructure/type/defaults/bigint.d.ts +10 -0
- package/dist/dataStructure/type/defaults/bigint.mjs +12 -0
- package/dist/dataStructure/type/defaults/bigintLiteral.cjs +13 -0
- package/dist/dataStructure/type/defaults/bigintLiteral.d.ts +11 -0
- package/dist/dataStructure/type/defaults/bigintLiteral.mjs +12 -0
- package/dist/dataStructure/type/defaults/boolean.cjs +13 -0
- package/dist/dataStructure/type/defaults/boolean.d.ts +10 -0
- package/dist/dataStructure/type/defaults/boolean.mjs +12 -0
- package/dist/dataStructure/type/defaults/booleanLiteral.cjs +13 -0
- package/dist/dataStructure/type/defaults/booleanLiteral.d.ts +11 -0
- package/dist/dataStructure/type/defaults/booleanLiteral.mjs +12 -0
- package/dist/dataStructure/type/defaults/date.cjs +13 -0
- package/dist/dataStructure/type/defaults/date.d.ts +11 -0
- package/dist/dataStructure/type/defaults/date.mjs +12 -0
- package/dist/dataStructure/type/defaults/index.d.ts +12 -0
- package/dist/dataStructure/type/defaults/null.cjs +13 -0
- package/dist/dataStructure/type/defaults/null.d.ts +10 -0
- package/dist/dataStructure/type/defaults/null.mjs +12 -0
- package/dist/dataStructure/type/defaults/number.cjs +13 -0
- package/dist/dataStructure/type/defaults/number.d.ts +10 -0
- package/dist/dataStructure/type/defaults/number.mjs +12 -0
- package/dist/dataStructure/type/defaults/numberLiteral.cjs +13 -0
- package/dist/dataStructure/type/defaults/numberLiteral.d.ts +11 -0
- package/dist/dataStructure/type/defaults/numberLiteral.mjs +12 -0
- package/dist/dataStructure/type/defaults/string.cjs +13 -0
- package/dist/dataStructure/type/defaults/string.d.ts +10 -0
- package/dist/dataStructure/type/defaults/string.mjs +12 -0
- package/dist/dataStructure/type/defaults/stringLiteral.cjs +13 -0
- package/dist/dataStructure/type/defaults/stringLiteral.d.ts +11 -0
- package/dist/dataStructure/type/defaults/stringLiteral.mjs +12 -0
- package/dist/dataStructure/type/defaults/time.cjs +13 -0
- package/dist/dataStructure/type/defaults/time.d.ts +11 -0
- package/dist/dataStructure/type/defaults/time.mjs +12 -0
- package/dist/dataStructure/type/defaults/undefined.cjs +13 -0
- package/dist/dataStructure/type/defaults/undefined.d.ts +10 -0
- package/dist/dataStructure/type/defaults/undefined.mjs +12 -0
- package/dist/dataStructure/type/identifier.cjs +4 -0
- package/dist/dataStructure/type/identifier.d.ts +5 -0
- package/dist/dataStructure/type/identifier.mjs +5 -0
- package/dist/dataStructure/type/index.d.ts +4 -0
- package/dist/dataStructure/type/types/index.d.ts +2 -0
- package/dist/dataStructure/type/types/types.d.ts +17 -0
- package/dist/dataStructure/type/types/value.d.ts +3 -0
- package/dist/either/asyncSafeCallback.cjs +17 -0
- package/dist/either/asyncSafeCallback.d.ts +7 -0
- package/dist/either/asyncSafeCallback.mjs +17 -0
- package/dist/either/expect.cjs +6 -0
- package/dist/either/expect.d.ts +5 -0
- package/dist/either/expect.mjs +6 -0
- package/dist/either/forwardAssertsSelection.cjs +24 -0
- package/dist/either/forwardAssertsSelection.d.ts +18 -0
- package/dist/either/forwardAssertsSelection.mjs +23 -0
- package/dist/either/hasInformation.cjs +14 -0
- package/dist/either/hasInformation.d.ts +10 -0
- package/dist/either/hasInformation.mjs +14 -0
- package/dist/either/index.cjs +156 -0
- package/dist/either/index.d.ts +21 -0
- package/dist/either/index.mjs +98 -0
- package/dist/either/keepAsRightByInformation.cjs +22 -0
- package/dist/either/keepAsRightByInformation.d.ts +10 -0
- package/dist/either/keepAsRightByInformation.mjs +22 -0
- package/dist/either/keepAsRightSelection.cjs +23 -0
- package/dist/either/keepAsRightSelection.d.ts +12 -0
- package/dist/either/keepAsRightSelection.mjs +23 -0
- package/dist/either/kind.cjs +8 -0
- package/dist/either/kind.d.ts +4 -0
- package/dist/either/kind.mjs +7 -0
- package/dist/either/left/create.cjs +13 -0
- package/dist/either/left/create.d.ts +8 -0
- package/dist/either/left/create.mjs +12 -0
- package/dist/either/left/error.cjs +15 -0
- package/dist/either/left/error.d.ts +8 -0
- package/dist/either/left/error.mjs +14 -0
- package/dist/either/left/fail.cjs +15 -0
- package/dist/either/left/fail.d.ts +8 -0
- package/dist/either/left/fail.mjs +14 -0
- package/dist/either/left/index.d.ts +8 -0
- package/dist/either/left/is.cjs +8 -0
- package/dist/either/left/is.d.ts +2 -0
- package/dist/either/left/is.mjs +8 -0
- package/dist/either/left/unwrap.cjs +9 -0
- package/dist/either/left/unwrap.d.ts +3 -0
- package/dist/either/left/unwrap.mjs +9 -0
- package/dist/either/left/unwrapOrThrow.cjs +18 -0
- package/dist/either/left/unwrapOrThrow.d.ts +10 -0
- package/dist/either/left/unwrapOrThrow.mjs +17 -0
- package/dist/either/left/when.cjs +14 -0
- package/dist/either/left/when.d.ts +5 -0
- package/dist/either/left/when.mjs +14 -0
- package/dist/either/left/whenOtherwise.cjs +14 -0
- package/dist/either/left/whenOtherwise.d.ts +8 -0
- package/dist/either/left/whenOtherwise.mjs +14 -0
- package/dist/either/matchInformation.cjs +13 -0
- package/dist/either/matchInformation.d.ts +15 -0
- package/dist/either/matchInformation.mjs +13 -0
- package/dist/either/matchInformationOtherwise.cjs +15 -0
- package/dist/either/matchInformationOtherwise.d.ts +15 -0
- package/dist/either/matchInformationOtherwise.mjs +15 -0
- package/dist/either/right/asyncGroup.cjs +17 -0
- package/dist/either/right/asyncGroup.d.ts +10 -0
- package/dist/either/right/asyncGroup.mjs +17 -0
- package/dist/either/right/asyncPipe.cjs +17 -0
- package/dist/either/right/asyncPipe.d.ts +23 -0
- package/dist/either/right/asyncPipe.mjs +17 -0
- package/dist/either/right/create.cjs +13 -0
- package/dist/either/right/create.d.ts +8 -0
- package/dist/either/right/create.mjs +12 -0
- package/dist/either/right/group.cjs +16 -0
- package/dist/either/right/group.d.ts +13 -0
- package/dist/either/right/group.mjs +16 -0
- package/dist/either/right/index.d.ts +13 -0
- package/dist/either/right/is.cjs +8 -0
- package/dist/either/right/is.d.ts +2 -0
- package/dist/either/right/is.mjs +8 -0
- package/dist/either/right/ok.cjs +15 -0
- package/dist/either/right/ok.d.ts +8 -0
- package/dist/either/right/ok.mjs +14 -0
- package/dist/either/right/pipe.cjs +16 -0
- package/dist/either/right/pipe.d.ts +23 -0
- package/dist/either/right/pipe.mjs +16 -0
- package/dist/either/right/result.cjs +20 -0
- package/dist/either/right/result.d.ts +9 -0
- package/dist/either/right/result.mjs +19 -0
- package/dist/either/right/success.cjs +15 -0
- package/dist/either/right/success.d.ts +8 -0
- package/dist/either/right/success.mjs +14 -0
- package/dist/either/right/unwrap.cjs +9 -0
- package/dist/either/right/unwrap.d.ts +3 -0
- package/dist/either/right/unwrap.mjs +9 -0
- package/dist/either/right/unwrapOrThrow.cjs +18 -0
- package/dist/either/right/unwrapOrThrow.d.ts +10 -0
- package/dist/either/right/unwrapOrThrow.mjs +17 -0
- package/dist/either/right/when.cjs +14 -0
- package/dist/either/right/when.d.ts +5 -0
- package/dist/either/right/when.mjs +14 -0
- package/dist/either/right/whenOtherwise.cjs +14 -0
- package/dist/either/right/whenOtherwise.d.ts +8 -0
- package/dist/either/right/whenOtherwise.mjs +14 -0
- package/dist/either/safeCallback.cjs +21 -0
- package/dist/either/safeCallback.d.ts +8 -0
- package/dist/either/safeCallback.mjs +21 -0
- package/dist/either/types/getInformation.d.ts +3 -0
- package/dist/either/types/getValue.d.ts +3 -0
- package/dist/either/types/index.d.ts +2 -0
- package/dist/either/unwrapByInformation.cjs +14 -0
- package/dist/either/unwrapByInformation.d.ts +10 -0
- package/dist/either/unwrapByInformation.mjs +14 -0
- package/dist/either/unwrapByInformationOrThrow.cjs +26 -0
- package/dist/either/unwrapByInformationOrThrow.d.ts +16 -0
- package/dist/either/unwrapByInformationOrThrow.mjs +25 -0
- package/dist/either/unwrapSelection.cjs +13 -0
- package/dist/either/unwrapSelection.d.ts +12 -0
- package/dist/either/unwrapSelection.mjs +13 -0
- package/dist/either/unwrapSelectionOrThrow.cjs +24 -0
- package/dist/either/unwrapSelectionOrThrow.d.ts +18 -0
- package/dist/either/unwrapSelectionOrThrow.mjs +23 -0
- package/dist/either/whenHasInformation.cjs +16 -0
- package/dist/either/whenHasInformation.d.ts +10 -0
- package/dist/either/whenHasInformation.mjs +16 -0
- package/dist/either/whenHasInformationOtherwise.cjs +14 -0
- package/dist/either/whenHasInformationOtherwise.d.ts +10 -0
- package/dist/either/whenHasInformationOtherwise.mjs +14 -0
- package/dist/either/whenIsSelected.cjs +13 -0
- package/dist/either/whenIsSelected.d.ts +12 -0
- package/dist/either/whenIsSelected.mjs +13 -0
- package/dist/either/whenIsSelectedOtherwise.cjs +13 -0
- package/dist/either/whenIsSelectedOtherwise.d.ts +14 -0
- package/dist/either/whenIsSelectedOtherwise.mjs +13 -0
- package/dist/generator/asyncChunk.cjs +21 -0
- package/dist/generator/asyncChunk.d.ts +2 -0
- package/dist/generator/asyncChunk.mjs +21 -0
- package/dist/generator/asyncConcat.cjs +15 -0
- package/dist/generator/asyncConcat.d.ts +2 -0
- package/dist/generator/asyncConcat.mjs +15 -0
- package/dist/generator/asyncFilter.cjs +17 -0
- package/dist/generator/asyncFilter.d.ts +7 -0
- package/dist/generator/asyncFilter.mjs +17 -0
- package/dist/generator/asyncFlat.cjs +7 -0
- package/dist/generator/asyncFlat.d.ts +2 -0
- package/dist/generator/asyncFlat.mjs +7 -0
- package/dist/generator/asyncGroup.cjs +25 -0
- package/dist/generator/asyncGroup.d.ts +4 -0
- package/dist/generator/asyncGroup.mjs +25 -0
- package/dist/generator/asyncLoop.cjs +20 -0
- package/dist/generator/asyncLoop.d.ts +3 -0
- package/dist/generator/asyncLoop.mjs +20 -0
- package/dist/generator/asyncMap.cjs +17 -0
- package/dist/generator/asyncMap.d.ts +5 -0
- package/dist/generator/asyncMap.mjs +17 -0
- package/dist/generator/asyncReduce.cjs +28 -0
- package/dist/generator/asyncReduce.d.ts +4 -0
- package/dist/generator/asyncReduce.mjs +28 -0
- package/dist/generator/chunk.cjs +21 -0
- package/dist/generator/chunk.d.ts +2 -0
- package/dist/generator/chunk.mjs +21 -0
- package/dist/generator/concat.cjs +15 -0
- package/dist/generator/concat.d.ts +2 -0
- package/dist/generator/concat.mjs +15 -0
- package/dist/generator/createExternalAsyncGenerator.cjs +18 -0
- package/dist/generator/createExternalAsyncGenerator.d.ts +5 -0
- package/dist/generator/createExternalAsyncGenerator.mjs +18 -0
- package/dist/generator/execute.cjs +11 -0
- package/dist/generator/execute.d.ts +2 -0
- package/dist/generator/execute.mjs +11 -0
- package/dist/generator/filter.cjs +20 -0
- package/dist/generator/filter.d.ts +8 -0
- package/dist/generator/filter.mjs +20 -0
- package/dist/generator/flat.cjs +7 -0
- package/dist/generator/flat.d.ts +2 -0
- package/dist/generator/flat.mjs +7 -0
- package/dist/generator/group.cjs +34 -0
- package/dist/generator/group.d.ts +16 -0
- package/dist/generator/group.mjs +33 -0
- package/dist/generator/index.cjs +74 -0
- package/dist/generator/index.d.ts +20 -0
- package/dist/generator/index.mjs +47 -0
- package/dist/generator/kind.cjs +4 -0
- package/dist/generator/kind.d.ts +2 -0
- package/dist/generator/kind.mjs +5 -0
- package/dist/generator/loop.cjs +20 -0
- package/dist/generator/loop.d.ts +14 -0
- package/dist/generator/loop.mjs +20 -0
- package/dist/generator/map.cjs +20 -0
- package/dist/generator/map.d.ts +6 -0
- package/dist/generator/map.mjs +20 -0
- package/dist/generator/reduce.cjs +31 -0
- package/dist/generator/reduce.d.ts +25 -0
- package/dist/generator/reduce.mjs +30 -0
- package/dist/generator/types/flat.d.ts +3 -0
- package/dist/generator/types/index.d.ts +1 -0
- package/dist/index.cjs +303 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.mjs +70 -0
- package/dist/invocation/evidence.cjs +18 -0
- package/dist/invocation/evidence.d.ts +18 -0
- package/dist/invocation/evidence.mjs +17 -0
- package/dist/invocation/flow/base.cjs +17 -0
- package/dist/invocation/flow/base.d.ts +975 -0
- package/dist/invocation/flow/base.mjs +17 -0
- package/dist/invocation/flow/controller/base.cjs +18 -0
- package/dist/invocation/flow/controller/base.d.ts +23 -0
- package/dist/invocation/flow/controller/base.mjs +16 -0
- package/dist/invocation/flow/controller/defaults/debounce.cjs +25 -0
- package/dist/invocation/flow/controller/defaults/debounce.d.ts +8 -0
- package/dist/invocation/flow/controller/defaults/debounce.mjs +24 -0
- package/dist/invocation/flow/controller/defaults/filter.cjs +16 -0
- package/dist/invocation/flow/controller/defaults/filter.d.ts +8 -0
- package/dist/invocation/flow/controller/defaults/filter.mjs +15 -0
- package/dist/invocation/flow/controller/defaults/index.d.ts +5 -0
- package/dist/invocation/flow/controller/defaults/retry.cjs +24 -0
- package/dist/invocation/flow/controller/defaults/retry.d.ts +11 -0
- package/dist/invocation/flow/controller/defaults/retry.mjs +23 -0
- package/dist/invocation/flow/controller/defaults/throttling.cjs +27 -0
- package/dist/invocation/flow/controller/defaults/throttling.d.ts +8 -0
- package/dist/invocation/flow/controller/defaults/throttling.mjs +26 -0
- package/dist/invocation/flow/controller/defaults/timeout.cjs +18 -0
- package/dist/invocation/flow/controller/defaults/timeout.d.ts +7 -0
- package/dist/invocation/flow/controller/defaults/timeout.mjs +17 -0
- package/dist/invocation/flow/controller/index.d.ts +2 -0
- package/dist/invocation/flow/index.d.ts +2 -0
- package/dist/invocation/index.cjs +66 -0
- package/dist/invocation/index.d.ts +5 -0
- package/dist/invocation/index.mjs +39 -0
- package/dist/invocation/kind.cjs +4 -0
- package/dist/invocation/kind.d.ts +2 -0
- package/dist/invocation/kind.mjs +5 -0
- package/dist/invocation/port.cjs +13 -0
- package/dist/invocation/port.d.ts +6 -0
- package/dist/invocation/port.mjs +13 -0
- package/dist/invocation/useCase.cjs +26 -0
- package/dist/invocation/useCase.d.ts +28 -0
- package/dist/invocation/useCase.mjs +25 -0
- package/dist/kind/base.cjs +35 -0
- package/dist/kind/base.d.ts +29 -0
- package/dist/kind/base.mjs +33 -0
- package/dist/kind/createIdentifier.cjs +16 -0
- package/dist/kind/createIdentifier.d.ts +7 -0
- package/dist/kind/createIdentifier.mjs +16 -0
- package/dist/kind/has.cjs +12 -0
- package/dist/kind/has.d.ts +4 -0
- package/dist/kind/has.mjs +12 -0
- package/dist/kind/hasSome.cjs +12 -0
- package/dist/kind/hasSome.d.ts +4 -0
- package/dist/kind/hasSome.mjs +12 -0
- package/dist/kind/index.cjs +33 -0
- package/dist/kind/index.d.ts +7 -0
- package/dist/kind/index.mjs +20 -0
- package/dist/kind/namespace.cjs +9 -0
- package/dist/kind/namespace.d.ts +3 -0
- package/dist/kind/namespace.mjs +9 -0
- package/dist/kind/parentClass.cjs +14 -0
- package/dist/kind/parentClass.d.ts +7 -0
- package/dist/kind/parentClass.mjs +14 -0
- package/dist/kind/types/getHandler.d.ts +4 -0
- package/dist/kind/types/getValue.d.ts +2 -0
- package/dist/kind/types/index.d.ts +3 -0
- package/dist/kind/types/remove.d.ts +2 -0
- package/dist/modeling/entity/base.cjs +87 -0
- package/dist/modeling/entity/base.d.ts +43 -0
- package/dist/modeling/entity/base.mjs +85 -0
- package/dist/modeling/entity/entityName.cjs +13 -0
- package/dist/modeling/entity/entityName.d.ts +13 -0
- package/dist/modeling/entity/entityName.mjs +13 -0
- package/dist/modeling/entity/helper.cjs +7 -0
- package/dist/modeling/entity/helper.d.ts +15 -0
- package/dist/modeling/entity/helper.mjs +7 -0
- package/dist/modeling/entity/index.d.ts +4 -0
- package/dist/modeling/entity/namespace.cjs +18 -0
- package/dist/modeling/entity/namespace.d.ts +15 -0
- package/dist/modeling/entity/namespace.mjs +17 -0
- package/dist/modeling/flag/base.cjs +36 -0
- package/dist/modeling/flag/base.d.ts +19 -0
- package/dist/modeling/flag/base.mjs +35 -0
- package/dist/modeling/flag/index.d.ts +1 -0
- package/dist/modeling/index.cjs +47 -0
- package/dist/modeling/index.d.ts +4 -0
- package/dist/modeling/index.mjs +28 -0
- package/dist/modeling/kind.cjs +4 -0
- package/dist/modeling/kind.d.ts +2 -0
- package/dist/modeling/kind.mjs +5 -0
- package/dist/modeling/newType/base.cjs +61 -0
- package/dist/modeling/newType/base.d.ts +37 -0
- package/dist/modeling/newType/base.mjs +61 -0
- package/dist/modeling/newType/helper.cjs +7 -0
- package/dist/modeling/newType/helper.d.ts +5 -0
- package/dist/modeling/newType/helper.mjs +7 -0
- package/dist/modeling/newType/index.d.ts +2 -0
- package/dist/number/betweenThan.cjs +11 -0
- package/dist/number/betweenThan.d.ts +13 -0
- package/dist/number/betweenThan.mjs +11 -0
- package/dist/number/betweenThanOrEqual.cjs +11 -0
- package/dist/number/betweenThanOrEqual.d.ts +13 -0
- package/dist/number/betweenThanOrEqual.mjs +11 -0
- package/dist/number/constraints/even.d.ts +3 -0
- package/dist/number/constraints/greaterThan.d.ts +11 -0
- package/dist/number/constraints/greaterThanOrEqual.d.ts +11 -0
- package/dist/number/constraints/index.d.ts +15 -0
- package/dist/number/constraints/integer.d.ts +4 -0
- package/dist/number/constraints/lessThan.d.ts +11 -0
- package/dist/number/constraints/lessThanOrEqual.d.ts +11 -0
- package/dist/number/constraints/multipleOf.d.ts +5 -0
- package/dist/number/constraints/negative.d.ts +3 -0
- package/dist/number/constraints/notZero.d.ts +3 -0
- package/dist/number/constraints/odd.d.ts +3 -0
- package/dist/number/constraints/positive.d.ts +3 -0
- package/dist/number/constraints/safe.d.ts +5 -0
- package/dist/number/constraints/strictNegative.d.ts +3 -0
- package/dist/number/constraints/strictPositive.d.ts +3 -0
- package/dist/number/constraints/types/index.d.ts +2 -0
- package/dist/number/constraints/types/isPositiveInteger.d.ts +28 -0
- package/dist/number/constraints/types/requirePositiveInteger.d.ts +3 -0
- package/dist/number/greaterThan.cjs +11 -0
- package/dist/number/greaterThan.d.ts +11 -0
- package/dist/number/greaterThan.mjs +11 -0
- package/dist/number/greaterThanOrEqual.cjs +11 -0
- package/dist/number/greaterThanOrEqual.d.ts +11 -0
- package/dist/number/greaterThanOrEqual.mjs +11 -0
- package/dist/number/index.cjs +80 -0
- package/dist/number/index.d.ts +25 -0
- package/dist/number/index.mjs +52 -0
- package/dist/number/infer.cjs +6 -0
- package/dist/number/infer.d.ts +12 -0
- package/dist/number/infer.mjs +6 -0
- package/dist/number/isEven.cjs +6 -0
- package/dist/number/isEven.d.ts +2 -0
- package/dist/number/isEven.mjs +6 -0
- package/dist/number/isInteger.cjs +6 -0
- package/dist/number/isInteger.d.ts +2 -0
- package/dist/number/isInteger.mjs +6 -0
- package/dist/number/isMultipleOf.cjs +11 -0
- package/dist/number/isMultipleOf.d.ts +10 -0
- package/dist/number/isMultipleOf.mjs +11 -0
- package/dist/number/isNegative.cjs +6 -0
- package/dist/number/isNegative.d.ts +2 -0
- package/dist/number/isNegative.mjs +6 -0
- package/dist/number/isNotZero.cjs +6 -0
- package/dist/number/isNotZero.d.ts +2 -0
- package/dist/number/isNotZero.mjs +6 -0
- package/dist/number/isOdd.cjs +6 -0
- package/dist/number/isOdd.d.ts +2 -0
- package/dist/number/isOdd.mjs +6 -0
- package/dist/number/isPositive.cjs +6 -0
- package/dist/number/isPositive.d.ts +2 -0
- package/dist/number/isPositive.mjs +6 -0
- package/dist/number/isSafe.cjs +6 -0
- package/dist/number/isSafe.d.ts +2 -0
- package/dist/number/isSafe.mjs +6 -0
- package/dist/number/isStrictNegative.cjs +6 -0
- package/dist/number/isStrictNegative.d.ts +2 -0
- package/dist/number/isStrictNegative.mjs +6 -0
- package/dist/number/isStrictPositive.cjs +6 -0
- package/dist/number/isStrictPositive.d.ts +2 -0
- package/dist/number/isStrictPositive.mjs +6 -0
- package/dist/number/lessThan.cjs +11 -0
- package/dist/number/lessThan.d.ts +11 -0
- package/dist/number/lessThan.mjs +11 -0
- package/dist/number/lessThanOrEqual.cjs +11 -0
- package/dist/number/lessThanOrEqual.d.ts +11 -0
- package/dist/number/lessThanOrEqual.mjs +11 -0
- package/dist/number/max.cjs +6 -0
- package/dist/number/max.d.ts +2 -0
- package/dist/number/max.mjs +6 -0
- package/dist/number/maxOf.cjs +11 -0
- package/dist/number/maxOf.d.ts +2 -0
- package/dist/number/maxOf.mjs +11 -0
- package/dist/number/min.cjs +6 -0
- package/dist/number/min.d.ts +2 -0
- package/dist/number/min.mjs +6 -0
- package/dist/number/minOf.cjs +11 -0
- package/dist/number/minOf.d.ts +2 -0
- package/dist/number/minOf.mjs +11 -0
- package/dist/number/sort.cjs +11 -0
- package/dist/number/sort.d.ts +6 -0
- package/dist/number/sort.mjs +11 -0
- package/dist/number/sum.cjs +8 -0
- package/dist/number/sum.d.ts +1 -0
- package/dist/number/sum.mjs +8 -0
- package/dist/number/types/IsZero.d.ts +1 -0
- package/dist/number/types/absolute.d.ts +3 -0
- package/dist/number/types/addOne.d.ts +23 -0
- package/dist/number/types/forbiddenNegative.d.ts +3 -0
- package/dist/number/types/index.d.ts +14 -0
- package/dist/number/types/isGreater.d.ts +75 -0
- package/dist/number/types/isInterger.d.ts +7 -0
- package/dist/number/types/isLess.d.ts +4 -0
- package/dist/number/types/isLiteral.d.ts +3 -0
- package/dist/number/types/isNegative.d.ts +2 -0
- package/dist/number/types/isPositive.d.ts +3 -0
- package/dist/number/types/isSafe.d.ts +10 -0
- package/dist/number/types/requireLiteral.d.ts +3 -0
- package/dist/number/types/requireSimpleLiteral.d.ts +2 -0
- package/dist/number/types/toString.d.ts +1 -0
- package/dist/object/assign.cjs +14 -0
- package/dist/object/assign.d.ts +4 -0
- package/dist/object/assign.mjs +14 -0
- package/dist/object/countKeys.cjs +7 -0
- package/dist/object/countKeys.d.ts +1 -0
- package/dist/object/countKeys.mjs +7 -0
- package/dist/object/deepDiscriminate.cjs +13 -0
- package/dist/object/deepDiscriminate.d.ts +10 -0
- package/dist/object/deepDiscriminate.mjs +13 -0
- package/dist/object/discriminate.cjs +12 -0
- package/dist/object/discriminate.d.ts +9 -0
- package/dist/object/discriminate.mjs +12 -0
- package/dist/object/discriminateEntryKey.cjs +11 -0
- package/dist/object/discriminateEntryKey.d.ts +11 -0
- package/dist/object/discriminateEntryKey.mjs +11 -0
- package/dist/object/discriminateEntryValue.cjs +11 -0
- package/dist/object/discriminateEntryValue.d.ts +11 -0
- package/dist/object/discriminateEntryValue.mjs +11 -0
- package/dist/object/entries.cjs +13 -0
- package/dist/object/entries.d.ts +15 -0
- package/dist/object/entries.mjs +13 -0
- package/dist/object/entry.cjs +6 -0
- package/dist/object/entry.d.ts +2 -0
- package/dist/object/entry.mjs +6 -0
- package/dist/object/fromEntries.cjs +6 -0
- package/dist/object/fromEntries.d.ts +8 -0
- package/dist/object/fromEntries.mjs +6 -0
- package/dist/object/getDeepProperty.cjs +18 -0
- package/dist/object/getDeepProperty.d.ts +6 -0
- package/dist/object/getDeepProperty.mjs +18 -0
- package/dist/object/getProperty.cjs +11 -0
- package/dist/object/getProperty.d.ts +7 -0
- package/dist/object/getProperty.mjs +11 -0
- package/dist/object/hasKeys.cjs +14 -0
- package/dist/object/hasKeys.d.ts +3 -0
- package/dist/object/hasKeys.mjs +14 -0
- package/dist/object/index.cjs +74 -0
- package/dist/object/index.d.ts +22 -0
- package/dist/object/index.mjs +48 -0
- package/dist/object/isSimple.cjs +6 -0
- package/dist/object/isSimple.d.ts +1 -0
- package/dist/object/isSimple.mjs +6 -0
- package/dist/object/keys.cjs +9 -0
- package/dist/object/keys.d.ts +1 -0
- package/dist/object/keys.mjs +9 -0
- package/dist/object/omit.cjs +18 -0
- package/dist/object/omit.d.ts +8 -0
- package/dist/object/omit.mjs +18 -0
- package/dist/object/override.cjs +14 -0
- package/dist/object/override.d.ts +2 -0
- package/dist/object/override.mjs +14 -0
- package/dist/object/pick.cjs +18 -0
- package/dist/object/pick.d.ts +8 -0
- package/dist/object/pick.mjs +18 -0
- package/dist/object/to.cjs +14 -0
- package/dist/object/to.d.ts +10 -0
- package/dist/object/to.mjs +14 -0
- package/dist/object/transformProperties.cjs +14 -0
- package/dist/object/transformProperties.d.ts +10 -0
- package/dist/object/transformProperties.mjs +14 -0
- package/dist/object/transformProperty.cjs +15 -0
- package/dist/object/transformProperty.d.ts +7 -0
- package/dist/object/transformProperty.mjs +15 -0
- package/dist/object/types/assignObjects.d.ts +2 -0
- package/dist/object/types/deepPartial.d.ts +3 -0
- package/dist/object/types/deepReadonly.d.ts +3 -0
- package/dist/object/types/deepRemoveReadonly.d.ts +3 -0
- package/dist/object/types/deepRequired.d.ts +3 -0
- package/dist/object/types/everyCombination.d.ts +6 -0
- package/dist/object/types/flatObject.d.ts +25 -0
- package/dist/object/types/forbiddenKey.d.ts +2 -0
- package/dist/object/types/getPropsWithValue.d.ts +4 -0
- package/dist/object/types/getPropsWithValueExtends.d.ts +3 -0
- package/dist/object/types/index.d.ts +17 -0
- package/dist/object/types/partialKeys.d.ts +2 -0
- package/dist/object/types/requireAtLeastOne.d.ts +2 -0
- package/dist/object/types/requiredKeys.d.ts +2 -0
- package/dist/object/types/split.d.ts +13 -0
- package/dist/object/types/unFlatObject.d.ts +21 -0
- package/dist/object/types/unionObjectToIntersection.d.ts +2 -0
- package/dist/object/types/values.d.ts +1 -0
- package/dist/object/values.cjs +7 -0
- package/dist/object/values.d.ts +2 -0
- package/dist/object/values.mjs +7 -0
- package/dist/path/computeRelative.cjs +14 -0
- package/dist/path/computeRelative.d.ts +2 -0
- package/dist/path/computeRelative.mjs +14 -0
- package/dist/path/constraints/absolute.d.ts +3 -0
- package/dist/path/constraints/index.d.ts +2 -0
- package/dist/path/constraints/path.d.ts +3 -0
- package/dist/path/fix.cjs +8 -0
- package/dist/path/fix.d.ts +1 -0
- package/dist/path/fix.mjs +8 -0
- package/dist/path/getBaseName.cjs +12 -0
- package/dist/path/getBaseName.d.ts +5 -0
- package/dist/path/getBaseName.mjs +12 -0
- package/dist/path/getExtensionName.cjs +9 -0
- package/dist/path/getExtensionName.d.ts +5 -0
- package/dist/path/getExtensionName.mjs +9 -0
- package/dist/path/getParentFolderPath.cjs +9 -0
- package/dist/path/getParentFolderPath.d.ts +3 -0
- package/dist/path/getParentFolderPath.mjs +9 -0
- package/dist/path/index.cjs +38 -0
- package/dist/path/index.d.ts +11 -0
- package/dist/path/index.mjs +24 -0
- package/dist/path/is.cjs +8 -0
- package/dist/path/is.d.ts +2 -0
- package/dist/path/is.mjs +8 -0
- package/dist/path/isAbsolute.cjs +9 -0
- package/dist/path/isAbsolute.d.ts +2 -0
- package/dist/path/isAbsolute.mjs +9 -0
- package/dist/path/resolveFrom.cjs +10 -0
- package/dist/path/resolveFrom.d.ts +3 -0
- package/dist/path/resolveFrom.mjs +10 -0
- package/dist/path/resolveRelative.cjs +26 -0
- package/dist/path/resolveRelative.d.ts +3 -0
- package/dist/path/resolveRelative.mjs +26 -0
- package/dist/path/types/index.d.ts +1 -0
- package/dist/path/types/requireSegments.d.ts +3 -0
- package/dist/pattern/exhaustive.cjs +7 -0
- package/dist/pattern/exhaustive.d.ts +4 -0
- package/dist/pattern/exhaustive.mjs +7 -0
- package/dist/pattern/index.cjs +54 -0
- package/dist/pattern/index.d.ts +13 -0
- package/dist/pattern/index.mjs +34 -0
- package/dist/pattern/isMatch.cjs +23 -0
- package/dist/pattern/isMatch.d.ts +4 -0
- package/dist/pattern/isMatch.mjs +23 -0
- package/dist/pattern/kind.cjs +7 -0
- package/dist/pattern/kind.d.ts +4 -0
- package/dist/pattern/kind.mjs +7 -0
- package/dist/pattern/match/builder.cjs +49 -0
- package/dist/pattern/match/builder.d.ts +29 -0
- package/dist/pattern/match/builder.mjs +48 -0
- package/dist/pattern/match/index.cjs +24 -0
- package/dist/pattern/match/index.d.ts +9 -0
- package/dist/pattern/match/index.mjs +22 -0
- package/dist/pattern/matchWithNumber.cjs +11 -0
- package/dist/pattern/matchWithNumber.d.ts +9 -0
- package/dist/pattern/matchWithNumber.mjs +11 -0
- package/dist/pattern/matchWithNumberOtherwise.cjs +15 -0
- package/dist/pattern/matchWithNumberOtherwise.d.ts +11 -0
- package/dist/pattern/matchWithNumberOtherwise.mjs +15 -0
- package/dist/pattern/matchWithString.cjs +11 -0
- package/dist/pattern/matchWithString.d.ts +10 -0
- package/dist/pattern/matchWithString.mjs +11 -0
- package/dist/pattern/matchWithStringOtherwise.cjs +15 -0
- package/dist/pattern/matchWithStringOtherwise.d.ts +11 -0
- package/dist/pattern/matchWithStringOtherwise.mjs +15 -0
- package/dist/pattern/otherwise.cjs +13 -0
- package/dist/pattern/otherwise.d.ts +6 -0
- package/dist/pattern/otherwise.mjs +13 -0
- package/dist/pattern/result.cjs +9 -0
- package/dist/pattern/result.d.ts +6 -0
- package/dist/pattern/result.mjs +8 -0
- package/dist/pattern/types/complexMatchedValue/array.d.ts +40 -0
- package/dist/pattern/types/complexMatchedValue/function.d.ts +8 -0
- package/dist/pattern/types/complexMatchedValue/index.d.ts +8 -0
- package/dist/pattern/types/complexMatchedValue/maybeAll.d.ts +5 -0
- package/dist/pattern/types/complexMatchedValue/object.d.ts +12 -0
- package/dist/pattern/types/complexMatchedValue/primitive.d.ts +9 -0
- package/dist/pattern/types/complexUnMatchedValue/array.d.ts +34 -0
- package/dist/pattern/types/complexUnMatchedValue/function.d.ts +8 -0
- package/dist/pattern/types/complexUnMatchedValue/getIncompleteUnion.d.ts +77 -0
- package/dist/pattern/types/complexUnMatchedValue/index.d.ts +16 -0
- package/dist/pattern/types/complexUnMatchedValue/maybeAll.d.ts +5 -0
- package/dist/pattern/types/complexUnMatchedValue/object.d.ts +17 -0
- package/dist/pattern/types/complexUnMatchedValue/primitive.d.ts +8 -0
- package/dist/pattern/types/complexUnMatchedValue/unionObject.d.ts +3 -0
- package/dist/pattern/types/index.d.ts +3 -0
- package/dist/pattern/types/pattern.cjs +4 -0
- package/dist/pattern/types/pattern.d.ts +36 -0
- package/dist/pattern/types/pattern.mjs +4 -0
- package/dist/pattern/union.cjs +12 -0
- package/dist/pattern/union.d.ts +6 -0
- package/dist/pattern/union.mjs +12 -0
- package/dist/pattern/when.cjs +13 -0
- package/dist/pattern/when.d.ts +8 -0
- package/dist/pattern/when.mjs +13 -0
- package/dist/pattern/whenNot.cjs +13 -0
- package/dist/pattern/whenNot.d.ts +6 -0
- package/dist/pattern/whenNot.mjs +13 -0
- package/dist/printer/back.d.ts +1 -0
- package/dist/printer/bold.cjs +7 -0
- package/dist/printer/bold.d.ts +1 -0
- package/dist/printer/bold.mjs +7 -0
- package/dist/printer/codes.cjs +16 -0
- package/dist/printer/codes.d.ts +11 -0
- package/dist/printer/codes.mjs +14 -0
- package/dist/printer/colorized.cjs +12 -0
- package/dist/printer/colorized.d.ts +3 -0
- package/dist/printer/colorized.mjs +12 -0
- package/dist/printer/colorizedBold.cjs +13 -0
- package/dist/printer/colorizedBold.d.ts +3 -0
- package/dist/printer/colorizedBold.mjs +13 -0
- package/dist/printer/dash.d.ts +1 -0
- package/dist/printer/indent.cjs +7 -0
- package/dist/printer/indent.d.ts +1 -0
- package/dist/printer/indent.mjs +7 -0
- package/dist/printer/index.cjs +35 -0
- package/dist/printer/index.d.ts +11 -0
- package/dist/printer/index.mjs +23 -0
- package/dist/printer/render.cjs +20 -0
- package/dist/printer/render.d.ts +3 -0
- package/dist/printer/render.mjs +20 -0
- package/dist/printer/renderLine.cjs +4 -0
- package/dist/printer/renderLine.d.ts +1 -0
- package/dist/printer/renderLine.mjs +5 -0
- package/dist/printer/renderParagraph.cjs +4 -0
- package/dist/printer/renderParagraph.d.ts +1 -0
- package/dist/printer/renderParagraph.mjs +5 -0
- package/dist/printer/tab.d.ts +1 -0
- package/dist/printer/types/colors.d.ts +2 -0
- package/dist/printer/types/index.d.ts +2 -0
- package/dist/printer/types/renderInput.d.ts +1 -0
- package/dist/string/at.cjs +11 -0
- package/dist/string/at.d.ts +3 -0
- package/dist/string/at.mjs +11 -0
- package/dist/string/capitalize.cjs +6 -0
- package/dist/string/capitalize.d.ts +5 -0
- package/dist/string/capitalize.mjs +6 -0
- package/dist/string/charAt.cjs +11 -0
- package/dist/string/charAt.d.ts +6 -0
- package/dist/string/charAt.mjs +11 -0
- package/dist/string/concat.cjs +11 -0
- package/dist/string/concat.d.ts +14 -0
- package/dist/string/concat.mjs +11 -0
- package/dist/string/constraints/allowedCharacters.d.ts +9 -0
- package/dist/string/constraints/email.d.ts +3 -0
- package/dist/string/constraints/format.d.ts +3 -0
- package/dist/string/constraints/index.d.ts +11 -0
- package/dist/string/constraints/lengthEqual.d.ts +11 -0
- package/dist/string/constraints/maxCharacters.d.ts +11 -0
- package/dist/string/constraints/minCharacters.d.ts +15 -0
- package/dist/string/constraints/notEmpty.d.ts +3 -0
- package/dist/string/constraints/trimmed.d.ts +3 -0
- package/dist/string/constraints/types/applyFormat.d.ts +3 -0
- package/dist/string/constraints/types/index.d.ts +5 -0
- package/dist/string/constraints/types/isIndexCovered.d.ts +5 -0
- package/dist/string/constraints/types/isIndexOutOfRange.d.ts +5 -0
- package/dist/string/constraints/types/reapplyAllowedCharacters.d.ts +2 -0
- package/dist/string/constraints/types/reapplyCompatiblesConstraints.d.ts +25 -0
- package/dist/string/constraints/url.d.ts +3 -0
- package/dist/string/constraints/uuid.d.ts +3 -0
- package/dist/string/endsWith.cjs +11 -0
- package/dist/string/endsWith.d.ts +5 -0
- package/dist/string/endsWith.mjs +11 -0
- package/dist/string/extract.cjs +19 -0
- package/dist/string/extract.d.ts +9 -0
- package/dist/string/extract.mjs +19 -0
- package/dist/string/extractAll.cjs +18 -0
- package/dist/string/extractAll.d.ts +3 -0
- package/dist/string/extractAll.mjs +18 -0
- package/dist/string/first.cjs +6 -0
- package/dist/string/first.d.ts +2 -0
- package/dist/string/first.mjs +6 -0
- package/dist/string/includes.cjs +11 -0
- package/dist/string/includes.d.ts +5 -0
- package/dist/string/includes.mjs +11 -0
- package/dist/string/index.cjs +165 -0
- package/dist/string/index.d.ts +50 -0
- package/dist/string/index.mjs +108 -0
- package/dist/string/indexOf.cjs +12 -0
- package/dist/string/indexOf.d.ts +2 -0
- package/dist/string/indexOf.mjs +12 -0
- package/dist/string/infer.cjs +6 -0
- package/dist/string/infer.d.ts +12 -0
- package/dist/string/infer.mjs +6 -0
- package/dist/string/isComposedOf.cjs +19 -0
- package/dist/string/isComposedOf.d.ts +14 -0
- package/dist/string/isComposedOf.mjs +19 -0
- package/dist/string/isEmail.cjs +8 -0
- package/dist/string/isEmail.d.ts +3 -0
- package/dist/string/isEmail.mjs +7 -0
- package/dist/string/isIn.cjs +11 -0
- package/dist/string/isIn.d.ts +2 -0
- package/dist/string/isIn.mjs +11 -0
- package/dist/string/isKeyof.cjs +11 -0
- package/dist/string/isKeyof.d.ts +3 -0
- package/dist/string/isKeyof.mjs +11 -0
- package/dist/string/isNotEmpty.cjs +6 -0
- package/dist/string/isNotEmpty.d.ts +2 -0
- package/dist/string/isNotEmpty.mjs +6 -0
- package/dist/string/isUrl.cjs +20 -0
- package/dist/string/isUrl.d.ts +6 -0
- package/dist/string/isUrl.mjs +20 -0
- package/dist/string/isUuid.cjs +8 -0
- package/dist/string/isUuid.d.ts +3 -0
- package/dist/string/isUuid.mjs +7 -0
- package/dist/string/join.cjs +11 -0
- package/dist/string/join.d.ts +3 -0
- package/dist/string/join.mjs +11 -0
- package/dist/string/last.cjs +6 -0
- package/dist/string/last.d.ts +2 -0
- package/dist/string/last.mjs +6 -0
- package/dist/string/lastIndexOf.cjs +12 -0
- package/dist/string/lastIndexOf.d.ts +2 -0
- package/dist/string/lastIndexOf.mjs +12 -0
- package/dist/string/length.cjs +6 -0
- package/dist/string/length.d.ts +2 -0
- package/dist/string/length.mjs +6 -0
- package/dist/string/lengthEqual.cjs +11 -0
- package/dist/string/lengthEqual.d.ts +14 -0
- package/dist/string/lengthEqual.mjs +11 -0
- package/dist/string/maxCharacters.cjs +11 -0
- package/dist/string/maxCharacters.d.ts +13 -0
- package/dist/string/maxCharacters.mjs +11 -0
- package/dist/string/minCharacters.cjs +11 -0
- package/dist/string/minCharacters.d.ts +13 -0
- package/dist/string/minCharacters.mjs +11 -0
- package/dist/string/normalize.cjs +11 -0
- package/dist/string/normalize.d.ts +3 -0
- package/dist/string/normalize.mjs +11 -0
- package/dist/string/padEnd.cjs +11 -0
- package/dist/string/padEnd.d.ts +6 -0
- package/dist/string/padEnd.mjs +11 -0
- package/dist/string/padStart.cjs +11 -0
- package/dist/string/padStart.d.ts +6 -0
- package/dist/string/padStart.mjs +11 -0
- package/dist/string/pop.cjs +6 -0
- package/dist/string/pop.d.ts +4 -0
- package/dist/string/pop.mjs +6 -0
- package/dist/string/prepend.cjs +11 -0
- package/dist/string/prepend.d.ts +14 -0
- package/dist/string/prepend.mjs +11 -0
- package/dist/string/repeat.cjs +12 -0
- package/dist/string/repeat.d.ts +6 -0
- package/dist/string/repeat.mjs +12 -0
- package/dist/string/replace.cjs +22 -0
- package/dist/string/replace.d.ts +10 -0
- package/dist/string/replace.mjs +22 -0
- package/dist/string/replaceAll.cjs +23 -0
- package/dist/string/replaceAll.d.ts +3 -0
- package/dist/string/replaceAll.mjs +23 -0
- package/dist/string/search.cjs +12 -0
- package/dist/string/search.d.ts +2 -0
- package/dist/string/search.mjs +12 -0
- package/dist/string/shift.cjs +6 -0
- package/dist/string/shift.d.ts +4 -0
- package/dist/string/shift.mjs +6 -0
- package/dist/string/slice.cjs +11 -0
- package/dist/string/slice.d.ts +5 -0
- package/dist/string/slice.mjs +11 -0
- package/dist/string/sort.cjs +15 -0
- package/dist/string/sort.d.ts +6 -0
- package/dist/string/sort.mjs +15 -0
- package/dist/string/sortCompare.cjs +17 -0
- package/dist/string/sortCompare.d.ts +2 -0
- package/dist/string/sortCompare.mjs +17 -0
- package/dist/string/split.cjs +11 -0
- package/dist/string/split.d.ts +26 -0
- package/dist/string/split.mjs +11 -0
- package/dist/string/startsWith.cjs +11 -0
- package/dist/string/startsWith.d.ts +5 -0
- package/dist/string/startsWith.mjs +11 -0
- package/dist/string/stringify.cjs +10 -0
- package/dist/string/stringify.d.ts +1 -0
- package/dist/string/stringify.mjs +10 -0
- package/dist/string/substring.cjs +11 -0
- package/dist/string/substring.d.ts +5 -0
- package/dist/string/substring.mjs +11 -0
- package/dist/string/test.cjs +11 -0
- package/dist/string/test.d.ts +2 -0
- package/dist/string/test.mjs +11 -0
- package/dist/string/to.cjs +6 -0
- package/dist/string/to.d.ts +3 -0
- package/dist/string/to.mjs +6 -0
- package/dist/string/toLowerCase.cjs +6 -0
- package/dist/string/toLowerCase.d.ts +5 -0
- package/dist/string/toLowerCase.mjs +6 -0
- package/dist/string/toUpperCase.cjs +6 -0
- package/dist/string/toUpperCase.d.ts +5 -0
- package/dist/string/toUpperCase.mjs +6 -0
- package/dist/string/trim/default.cjs +6 -0
- package/dist/string/trim/default.d.ts +4 -0
- package/dist/string/trim/default.mjs +6 -0
- package/dist/string/trim/end.cjs +6 -0
- package/dist/string/trim/end.d.ts +4 -0
- package/dist/string/trim/end.mjs +6 -0
- package/dist/string/trim/index.d.ts +3 -0
- package/dist/string/trim/start.cjs +6 -0
- package/dist/string/trim/start.d.ts +4 -0
- package/dist/string/trim/start.mjs +6 -0
- package/dist/string/types/at.d.ts +15 -0
- package/dist/string/types/countMinCharacters.d.ts +4 -0
- package/dist/string/types/digit.d.ts +1 -0
- package/dist/string/types/endsWith.d.ts +1 -0
- package/dist/string/types/first.d.ts +2 -0
- package/dist/string/types/forbiddenContain.d.ts +2 -0
- package/dist/string/types/forbiddenString.d.ts +2 -0
- package/dist/string/types/includes.d.ts +1 -0
- package/dist/string/types/index.d.ts +24 -0
- package/dist/string/types/isKeyPattern.d.ts +1 -0
- package/dist/string/types/isLiteral.d.ts +3 -0
- package/dist/string/types/isTemplateLiteral.d.ts +6 -0
- package/dist/string/types/join.d.ts +8 -0
- package/dist/string/types/last.d.ts +2 -0
- package/dist/string/types/length.d.ts +2 -0
- package/dist/string/types/normalizeForm.d.ts +1 -0
- package/dist/string/types/number.d.ts +1 -0
- package/dist/string/types/pop.d.ts +5 -0
- package/dist/string/types/replace.d.ts +1 -0
- package/dist/string/types/requireLiteral.d.ts +3 -0
- package/dist/string/types/requireSimpleLiteral.d.ts +3 -0
- package/dist/string/types/shift.d.ts +3 -0
- package/dist/string/types/split.d.ts +10 -0
- package/dist/string/types/startsWith.d.ts +1 -0
- package/dist/string/uncapitalize.cjs +6 -0
- package/dist/string/uncapitalize.d.ts +5 -0
- package/dist/string/uncapitalize.mjs +6 -0
- package/dist/tuple/index.cjs +12 -0
- package/dist/tuple/index.d.ts +2 -0
- package/dist/tuple/index.mjs +6 -0
- package/dist/tuple/map.cjs +14 -0
- package/dist/tuple/map.d.ts +8 -0
- package/dist/tuple/map.mjs +14 -0
- package/dist/tuple/types/at.d.ts +1 -0
- package/dist/tuple/types/countMinElement.d.ts +2 -0
- package/dist/tuple/types/create.d.ts +2 -0
- package/dist/tuple/types/hasSpread.d.ts +2 -0
- package/dist/tuple/types/index.d.ts +14 -0
- package/dist/tuple/types/isCompromise.d.ts +2 -0
- package/dist/tuple/types/join.d.ts +6 -0
- package/dist/tuple/types/map.d.ts +1 -0
- package/dist/tuple/types/matched.d.ts +38 -0
- package/dist/tuple/types/mergeUnion.d.ts +7 -0
- package/dist/tuple/types/pop.d.ts +2 -0
- package/dist/tuple/types/require.d.ts +2 -0
- package/dist/tuple/types/reverse.d.ts +2 -0
- package/dist/tuple/types/shift.d.ts +2 -0
- package/dist/tuple/types/unmatched.d.ts +29 -0
- package/package.json +160 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { escapeRegExp } from "./escapeRegExp.mjs";
|
|
2
|
+
import { TheDate } from "../chrono/theDate.mjs";
|
|
3
|
+
import { TheTime } from "../chrono/theTime.mjs";
|
|
4
|
+
//#region scripts/common/formData.ts
|
|
5
|
+
const separator = "/*\\";
|
|
6
|
+
const firstElementInPathRegex = new RegExp(`^((?:(?!${escapeRegExp(separator)}).)*)(?:${escapeRegExp(separator)})?`);
|
|
7
|
+
const getIndexRegex = /^\[(\d+)\]$/;
|
|
8
|
+
const invalidEntryRegex = /__proto__|constructor|prototype/;
|
|
9
|
+
var TheFormData = class TheFormData extends FormData {
|
|
10
|
+
inputValues;
|
|
11
|
+
constructor(inputValues) {
|
|
12
|
+
super();
|
|
13
|
+
this.inputValues = inputValues;
|
|
14
|
+
for (const entry of TheFormData.toFlatEntries(inputValues)) this.append(entry[0], entry[1]);
|
|
15
|
+
}
|
|
16
|
+
static *toFlatEntries(input, path) {
|
|
17
|
+
if (typeof input === "string" || input instanceof TheTime || input instanceof TheDate || typeof input === "number" || typeof input === "boolean") yield [path ?? "", input.toString()];
|
|
18
|
+
else if (input instanceof File) yield [path ?? "", input];
|
|
19
|
+
else if (input === null) yield [path ?? "", "null"];
|
|
20
|
+
else if (input === void 0) return;
|
|
21
|
+
else if (input instanceof Array) for (let index = 0; index < input.length; index++) {
|
|
22
|
+
const entriesIterator = this.toFlatEntries(input[index], path === void 0 ? `[${index}]` : `${path}${separator}[${index}]`);
|
|
23
|
+
for (const entry of entriesIterator) yield entry;
|
|
24
|
+
}
|
|
25
|
+
else for (const key in input) {
|
|
26
|
+
const entriesIterator = this.toFlatEntries(input[key], path === void 0 ? key : `${path}${separator}${key}`);
|
|
27
|
+
for (const entry of entriesIterator) yield entry;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
static fromEntries(iterable, arrayMaxIndex) {
|
|
31
|
+
const constructObject = (input, path, value) => {
|
|
32
|
+
const firstElement = path.match(firstElementInPathRegex)[1];
|
|
33
|
+
const index = firstElement.match(getIndexRegex)?.[1];
|
|
34
|
+
if (index && Number(index) > arrayMaxIndex) return input;
|
|
35
|
+
let output = input;
|
|
36
|
+
if (output === void 0) if (index !== void 0) output = [];
|
|
37
|
+
else output = {};
|
|
38
|
+
if (firstElement === path) {
|
|
39
|
+
output[index ?? firstElement] = value;
|
|
40
|
+
return output;
|
|
41
|
+
}
|
|
42
|
+
output[index ?? firstElement] = constructObject(output[index ?? firstElement], path.replace(firstElementInPathRegex, ""), value);
|
|
43
|
+
return output;
|
|
44
|
+
};
|
|
45
|
+
let result = void 0;
|
|
46
|
+
for (const entry of iterable) {
|
|
47
|
+
if (invalidEntryRegex.test(entry[0])) continue;
|
|
48
|
+
result = constructObject(result, entry[0], entry[1]);
|
|
49
|
+
}
|
|
50
|
+
return result ?? {};
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
static "new"(inputValues) {
|
|
56
|
+
return new TheFormData(inputValues);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
function createFormData(inputValues) {
|
|
60
|
+
return TheFormData.new(inputValues);
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { TheFormData, createFormData };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function forward<GenericValue extends unknown>(value: GenericValue): GenericValue;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const require_asserts = require("./asserts.cjs");
|
|
2
|
+
//#region scripts/common/forwardAsserts.ts
|
|
3
|
+
function forwardAsserts(...args) {
|
|
4
|
+
if (args.length === 1) {
|
|
5
|
+
const [predicate] = args;
|
|
6
|
+
return (input) => forwardAsserts(input, predicate);
|
|
7
|
+
}
|
|
8
|
+
const [input, predicate] = args;
|
|
9
|
+
if (!predicate(input)) throw new require_asserts.AssertsError(input);
|
|
10
|
+
return input;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.forwardAsserts = forwardAsserts;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function forwardAsserts<GenericInput extends unknown, GenericPredicate extends GenericInput>(predicate: (input: GenericInput) => input is GenericPredicate): (input: GenericInput) => GenericPredicate;
|
|
2
|
+
export declare function forwardAsserts<GenericInput extends unknown>(predicate: (input: GenericInput) => boolean): (input: GenericInput) => GenericInput;
|
|
3
|
+
export declare function forwardAsserts<GenericInput extends unknown, GenericPredicate extends GenericInput>(input: GenericInput, predicate: (input: GenericInput) => input is GenericPredicate): GenericPredicate;
|
|
4
|
+
export declare function forwardAsserts<GenericInput extends unknown>(input: GenericInput, predicate: (input: GenericInput) => boolean): GenericInput;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AssertsError } from "./asserts.mjs";
|
|
2
|
+
//#region scripts/common/forwardAsserts.ts
|
|
3
|
+
function forwardAsserts(...args) {
|
|
4
|
+
if (args.length === 1) {
|
|
5
|
+
const [predicate] = args;
|
|
6
|
+
return (input) => forwardAsserts(input, predicate);
|
|
7
|
+
}
|
|
8
|
+
const [input, predicate] = args;
|
|
9
|
+
if (!predicate(input)) throw new AssertsError(input);
|
|
10
|
+
return input;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { forwardAsserts };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function forwardLog<const GenericInput extends unknown>(input: GenericInput): GenericInput;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region scripts/common/globalStore.ts
|
|
2
|
+
const store = {};
|
|
3
|
+
function createGlobalStore(storeName, defaultValue) {
|
|
4
|
+
if (store[storeName] === void 0) store[storeName] = defaultValue;
|
|
5
|
+
return {
|
|
6
|
+
get value() {
|
|
7
|
+
return store[storeName];
|
|
8
|
+
},
|
|
9
|
+
set(value) {
|
|
10
|
+
store[storeName] = value;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.createGlobalStore = createGlobalStore;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface GlobalStore {
|
|
2
|
+
}
|
|
3
|
+
export interface GlobalStoreHandler<GenericValue extends unknown> {
|
|
4
|
+
readonly value: GenericValue;
|
|
5
|
+
set(value: GenericValue): void;
|
|
6
|
+
}
|
|
7
|
+
export declare function createGlobalStore<GenericStoreName extends keyof GlobalStore>(storeName: GenericStoreName, defaultValue: GlobalStore[GenericStoreName]): GlobalStoreHandler<GlobalStore[GenericStoreName]>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region scripts/common/globalStore.ts
|
|
2
|
+
const store = {};
|
|
3
|
+
function createGlobalStore(storeName, defaultValue) {
|
|
4
|
+
if (store[storeName] === void 0) store[storeName] = defaultValue;
|
|
5
|
+
return {
|
|
6
|
+
get value() {
|
|
7
|
+
return store[storeName];
|
|
8
|
+
},
|
|
9
|
+
set(value) {
|
|
10
|
+
store[storeName] = value;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { createGlobalStore };
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_and = require("./and.cjs");
|
|
3
|
+
const require_kind = require("./kind.cjs");
|
|
4
|
+
const require_asserts = require("./asserts.cjs");
|
|
5
|
+
const require_asyncInnerPipe = require("./asyncInnerPipe.cjs");
|
|
6
|
+
const require_asyncLoop = require("./asyncLoop.cjs");
|
|
7
|
+
const require_asyncPipe = require("./asyncPipe.cjs");
|
|
8
|
+
const require_timeout = require("./timeout.cjs");
|
|
9
|
+
const require_asyncRetry = require("./asyncRetry.cjs");
|
|
10
|
+
const require_bindPrototypeMethods = require("./bindPrototypeMethods.cjs");
|
|
11
|
+
const require_globalStore = require("./globalStore.cjs");
|
|
12
|
+
const require_builder = require("./builder.cjs");
|
|
13
|
+
const require_callThen = require("./callThen.cjs");
|
|
14
|
+
const require_clone = require("./clone.cjs");
|
|
15
|
+
const require_index = require("./constraint/cast/index.cjs");
|
|
16
|
+
const require_detachObjectMethod = require("./detachObjectMethod.cjs");
|
|
17
|
+
const require_enum = require("./enum.cjs");
|
|
18
|
+
const require_equal = require("./equal.cjs");
|
|
19
|
+
const require_escapeRegExp = require("./escapeRegExp.cjs");
|
|
20
|
+
const require_externalPromise = require("./externalPromise.cjs");
|
|
21
|
+
const require_falsy = require("./falsy.cjs");
|
|
22
|
+
const require_formData = require("./formData.cjs");
|
|
23
|
+
const require_forward = require("./forward.cjs");
|
|
24
|
+
const require_forwardAsserts = require("./forwardAsserts.cjs");
|
|
25
|
+
const require_forwardLog = require("./forwardLog.cjs");
|
|
26
|
+
const require_innerPipe = require("./innerPipe.cjs");
|
|
27
|
+
const require_instanceOf = require("./instanceOf.cjs");
|
|
28
|
+
const require_interpolation = require("./interpolation.cjs");
|
|
29
|
+
const require_isType = require("./isType.cjs");
|
|
30
|
+
const require_justExec = require("./justExec.cjs");
|
|
31
|
+
const require_justReturn = require("./justReturn.cjs");
|
|
32
|
+
const require_loop = require("./loop.cjs");
|
|
33
|
+
const require_memo = require("./memo.cjs");
|
|
34
|
+
const require_memoObject = require("./memoObject.cjs");
|
|
35
|
+
const require_memoPromise = require("./memoPromise.cjs");
|
|
36
|
+
const require_mimeType = require("./mimeType.cjs");
|
|
37
|
+
const require_or = require("./or.cjs");
|
|
38
|
+
const require_pipe = require("./pipe.cjs");
|
|
39
|
+
const require_pipeCall = require("./pipeCall.cjs");
|
|
40
|
+
const require_prepareAsyncPipe = require("./prepareAsyncPipe.cjs");
|
|
41
|
+
const require_preparePipe = require("./preparePipe.cjs");
|
|
42
|
+
const require_promiseAll = require("./promiseAll.cjs");
|
|
43
|
+
const require_promiseObject = require("./promiseObject.cjs");
|
|
44
|
+
const require_queue = require("./queue.cjs");
|
|
45
|
+
const require_simpleClone = require("./simpleClone.cjs");
|
|
46
|
+
const require_stringToBytes = require("./stringToBytes.cjs");
|
|
47
|
+
const require_stringToMillisecond = require("./stringToMillisecond.cjs");
|
|
48
|
+
const require_toCurriedPredicate = require("./toCurriedPredicate.cjs");
|
|
49
|
+
const require_toRegExp = require("./toRegExp.cjs");
|
|
50
|
+
const require_transformer = require("./transformer.cjs");
|
|
51
|
+
const require_truthy = require("./truthy.cjs");
|
|
52
|
+
const require_when = require("./when.cjs");
|
|
53
|
+
const require_whenElse = require("./whenElse.cjs");
|
|
54
|
+
const require_whenNot = require("./whenNot.cjs");
|
|
55
|
+
//#region scripts/common/index.ts
|
|
56
|
+
var common_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
57
|
+
AssertsError: () => require_asserts.AssertsError,
|
|
58
|
+
InvalidBytesInStringError: () => require_stringToBytes.InvalidBytesInStringError,
|
|
59
|
+
InvalidMillisecondInStringError: () => require_stringToMillisecond.InvalidMillisecondInStringError,
|
|
60
|
+
MissingBuilderMethodsError: () => require_builder.MissingBuilderMethodsError,
|
|
61
|
+
TheFormData: () => require_formData.TheFormData,
|
|
62
|
+
and: () => require_and.and,
|
|
63
|
+
asserts: () => require_asserts.asserts,
|
|
64
|
+
asyncInnerPipe: () => require_asyncInnerPipe.asyncInnerPipe,
|
|
65
|
+
asyncLoop: () => require_asyncLoop.asyncLoop,
|
|
66
|
+
asyncPipe: () => require_asyncPipe.asyncPipe,
|
|
67
|
+
bindPrototypeMethods: () => require_bindPrototypeMethods.bindPrototypeMethods,
|
|
68
|
+
builderKind: () => require_builder.builderKind,
|
|
69
|
+
callThen: () => require_callThen.callThen,
|
|
70
|
+
cast: () => require_index.cast,
|
|
71
|
+
clone: () => require_clone.clone,
|
|
72
|
+
createAsyncRetry: () => require_asyncRetry.createAsyncRetry,
|
|
73
|
+
createBuilder: () => require_builder.createBuilder,
|
|
74
|
+
createEnum: () => require_enum.createEnum,
|
|
75
|
+
createExternalPromise: () => require_externalPromise.createExternalPromise,
|
|
76
|
+
createFormData: () => require_formData.createFormData,
|
|
77
|
+
createGlobalStore: () => require_globalStore.createGlobalStore,
|
|
78
|
+
createInterpolation: () => require_interpolation.createInterpolation,
|
|
79
|
+
createKind: () => require_kind.createKind,
|
|
80
|
+
createQueue: () => require_queue.createQueue,
|
|
81
|
+
createTransformer: () => require_transformer.createTransformer,
|
|
82
|
+
detachObjectMethod: () => require_detachObjectMethod.detachObjectMethod,
|
|
83
|
+
equal: () => require_equal.equal,
|
|
84
|
+
escapeRegExp: () => require_escapeRegExp.escapeRegExp,
|
|
85
|
+
falsy: () => require_falsy.falsy,
|
|
86
|
+
forward: () => require_forward.forward,
|
|
87
|
+
forwardAsserts: () => require_forwardAsserts.forwardAsserts,
|
|
88
|
+
forwardLog: () => require_forwardLog.forwardLog,
|
|
89
|
+
innerPipe: () => require_innerPipe.innerPipe,
|
|
90
|
+
instanceOf: () => require_instanceOf.instanceOf,
|
|
91
|
+
isType: () => require_isType.isType,
|
|
92
|
+
justExec: () => require_justExec.justExec,
|
|
93
|
+
justReturn: () => require_justReturn.justReturn,
|
|
94
|
+
loop: () => require_loop.loop,
|
|
95
|
+
memo: () => require_memo.memo,
|
|
96
|
+
memoObject: () => require_memoObject.memoObject,
|
|
97
|
+
memoPromise: () => require_memoPromise.memoPromise,
|
|
98
|
+
mimeType: () => require_mimeType.mimeType,
|
|
99
|
+
or: () => require_or.or,
|
|
100
|
+
pipe: () => require_pipe.pipe,
|
|
101
|
+
pipeCall: () => require_pipeCall.pipeCall,
|
|
102
|
+
prepareAsyncPipe: () => require_prepareAsyncPipe.prepareAsyncPipe,
|
|
103
|
+
preparePipe: () => require_preparePipe.preparePipe,
|
|
104
|
+
promiseAll: () => require_promiseAll.promiseAll,
|
|
105
|
+
promiseObject: () => require_promiseObject.promiseObject,
|
|
106
|
+
queueKind: () => require_queue.queueKind,
|
|
107
|
+
shameOnYou: () => require_index.shameOnYou,
|
|
108
|
+
simpleClone: () => require_simpleClone.simpleClone,
|
|
109
|
+
stringToBytes: () => require_stringToBytes.stringToBytes,
|
|
110
|
+
stringToMillisecond: () => require_stringToMillisecond.stringToMillisecond,
|
|
111
|
+
timeout: () => require_timeout.timeout,
|
|
112
|
+
toCurriedPredicate: () => require_toCurriedPredicate.toCurriedPredicate,
|
|
113
|
+
toJSON: () => require_transformer.toJSON,
|
|
114
|
+
toNative: () => require_transformer.toNative,
|
|
115
|
+
toRegExp: () => require_toRegExp.toRegExp,
|
|
116
|
+
transformer: () => require_transformer.transformer,
|
|
117
|
+
truthy: () => require_truthy.truthy,
|
|
118
|
+
useAsyncRetry: () => require_asyncRetry.useAsyncRetry,
|
|
119
|
+
when: () => require_when.when,
|
|
120
|
+
whenElse: () => require_whenElse.whenElse,
|
|
121
|
+
whenNot: () => require_whenNot.whenNot
|
|
122
|
+
});
|
|
123
|
+
//#endregion
|
|
124
|
+
exports.AssertsError = require_asserts.AssertsError;
|
|
125
|
+
exports.InvalidBytesInStringError = require_stringToBytes.InvalidBytesInStringError;
|
|
126
|
+
exports.InvalidMillisecondInStringError = require_stringToMillisecond.InvalidMillisecondInStringError;
|
|
127
|
+
exports.MissingBuilderMethodsError = require_builder.MissingBuilderMethodsError;
|
|
128
|
+
exports.TheFormData = require_formData.TheFormData;
|
|
129
|
+
exports.and = require_and.and;
|
|
130
|
+
exports.asserts = require_asserts.asserts;
|
|
131
|
+
exports.asyncInnerPipe = require_asyncInnerPipe.asyncInnerPipe;
|
|
132
|
+
exports.asyncLoop = require_asyncLoop.asyncLoop;
|
|
133
|
+
exports.asyncPipe = require_asyncPipe.asyncPipe;
|
|
134
|
+
exports.bindPrototypeMethods = require_bindPrototypeMethods.bindPrototypeMethods;
|
|
135
|
+
exports.builderKind = require_builder.builderKind;
|
|
136
|
+
exports.callThen = require_callThen.callThen;
|
|
137
|
+
exports.cast = require_index.cast;
|
|
138
|
+
exports.clone = require_clone.clone;
|
|
139
|
+
Object.defineProperty(exports, "common_exports", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function() {
|
|
142
|
+
return common_exports;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
exports.createAsyncRetry = require_asyncRetry.createAsyncRetry;
|
|
146
|
+
exports.createBuilder = require_builder.createBuilder;
|
|
147
|
+
exports.createEnum = require_enum.createEnum;
|
|
148
|
+
exports.createExternalPromise = require_externalPromise.createExternalPromise;
|
|
149
|
+
exports.createFormData = require_formData.createFormData;
|
|
150
|
+
exports.createGlobalStore = require_globalStore.createGlobalStore;
|
|
151
|
+
exports.createInterpolation = require_interpolation.createInterpolation;
|
|
152
|
+
exports.createKind = require_kind.createKind;
|
|
153
|
+
exports.createQueue = require_queue.createQueue;
|
|
154
|
+
exports.createTransformer = require_transformer.createTransformer;
|
|
155
|
+
exports.detachObjectMethod = require_detachObjectMethod.detachObjectMethod;
|
|
156
|
+
exports.equal = require_equal.equal;
|
|
157
|
+
exports.escapeRegExp = require_escapeRegExp.escapeRegExp;
|
|
158
|
+
exports.falsy = require_falsy.falsy;
|
|
159
|
+
exports.forward = require_forward.forward;
|
|
160
|
+
exports.forwardAsserts = require_forwardAsserts.forwardAsserts;
|
|
161
|
+
exports.forwardLog = require_forwardLog.forwardLog;
|
|
162
|
+
exports.innerPipe = require_innerPipe.innerPipe;
|
|
163
|
+
exports.instanceOf = require_instanceOf.instanceOf;
|
|
164
|
+
exports.isType = require_isType.isType;
|
|
165
|
+
exports.justExec = require_justExec.justExec;
|
|
166
|
+
exports.justReturn = require_justReturn.justReturn;
|
|
167
|
+
exports.loop = require_loop.loop;
|
|
168
|
+
exports.memo = require_memo.memo;
|
|
169
|
+
exports.memoObject = require_memoObject.memoObject;
|
|
170
|
+
exports.memoPromise = require_memoPromise.memoPromise;
|
|
171
|
+
exports.mimeType = require_mimeType.mimeType;
|
|
172
|
+
exports.or = require_or.or;
|
|
173
|
+
exports.pipe = require_pipe.pipe;
|
|
174
|
+
exports.pipeCall = require_pipeCall.pipeCall;
|
|
175
|
+
exports.prepareAsyncPipe = require_prepareAsyncPipe.prepareAsyncPipe;
|
|
176
|
+
exports.preparePipe = require_preparePipe.preparePipe;
|
|
177
|
+
exports.promiseAll = require_promiseAll.promiseAll;
|
|
178
|
+
exports.promiseObject = require_promiseObject.promiseObject;
|
|
179
|
+
exports.queueKind = require_queue.queueKind;
|
|
180
|
+
exports.shameOnYou = require_index.shameOnYou;
|
|
181
|
+
exports.simpleClone = require_simpleClone.simpleClone;
|
|
182
|
+
exports.stringToBytes = require_stringToBytes.stringToBytes;
|
|
183
|
+
exports.stringToMillisecond = require_stringToMillisecond.stringToMillisecond;
|
|
184
|
+
exports.timeout = require_timeout.timeout;
|
|
185
|
+
exports.toCurriedPredicate = require_toCurriedPredicate.toCurriedPredicate;
|
|
186
|
+
exports.toJSON = require_transformer.toJSON;
|
|
187
|
+
exports.toNative = require_transformer.toNative;
|
|
188
|
+
exports.toRegExp = require_toRegExp.toRegExp;
|
|
189
|
+
exports.transformer = require_transformer.transformer;
|
|
190
|
+
exports.truthy = require_truthy.truthy;
|
|
191
|
+
exports.useAsyncRetry = require_asyncRetry.useAsyncRetry;
|
|
192
|
+
exports.when = require_when.when;
|
|
193
|
+
exports.whenElse = require_whenElse.whenElse;
|
|
194
|
+
exports.whenNot = require_whenNot.whenNot;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export * from './and';
|
|
2
|
+
export * from './asserts';
|
|
3
|
+
export * from './asyncInnerPipe';
|
|
4
|
+
export * from './asyncLoop';
|
|
5
|
+
export * from './asyncPipe';
|
|
6
|
+
export * from './asyncRetry';
|
|
7
|
+
export * from './bindPrototypeMethods';
|
|
8
|
+
export * from './builder';
|
|
9
|
+
export * from './callThen';
|
|
10
|
+
export * from './clone';
|
|
11
|
+
export * from './constraint';
|
|
12
|
+
export * from './detachObjectMethod';
|
|
13
|
+
export * from './enum';
|
|
14
|
+
export * from './equal';
|
|
15
|
+
export * from './escapeRegExp';
|
|
16
|
+
export * from './externalPromise';
|
|
17
|
+
export * from './falsy';
|
|
18
|
+
export * from './formData';
|
|
19
|
+
export * from './forward';
|
|
20
|
+
export * from './forwardAsserts';
|
|
21
|
+
export * from './forwardLog';
|
|
22
|
+
export * from './globalStore';
|
|
23
|
+
export * from './innerPipe';
|
|
24
|
+
export * from './instanceOf';
|
|
25
|
+
export * from './interpolation';
|
|
26
|
+
export * from './isType';
|
|
27
|
+
export * from './justExec';
|
|
28
|
+
export * from './justReturn';
|
|
29
|
+
export * from './kind';
|
|
30
|
+
export * from './loop';
|
|
31
|
+
export * from './memo';
|
|
32
|
+
export * from './memoObject';
|
|
33
|
+
export * from './memoPromise';
|
|
34
|
+
export * from './mimeType';
|
|
35
|
+
export * from './or';
|
|
36
|
+
export * from './pipe';
|
|
37
|
+
export * from './pipeCall';
|
|
38
|
+
export * from './prepareAsyncPipe';
|
|
39
|
+
export * from './preparePipe';
|
|
40
|
+
export * from './promiseAll';
|
|
41
|
+
export * from './promiseObject';
|
|
42
|
+
export * from './queue';
|
|
43
|
+
export * from './simpleClone';
|
|
44
|
+
export * from './stringToBytes';
|
|
45
|
+
export * from './stringToMillisecond';
|
|
46
|
+
export * from './timeout';
|
|
47
|
+
export * from './toCurriedPredicate';
|
|
48
|
+
export * from './toRegExp';
|
|
49
|
+
export * from './transformer';
|
|
50
|
+
export * from './truthy';
|
|
51
|
+
export type * from './types';
|
|
52
|
+
export * from './when';
|
|
53
|
+
export * from './whenElse';
|
|
54
|
+
export * from './whenNot';
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { and } from "./and.mjs";
|
|
3
|
+
import { createKind } from "./kind.mjs";
|
|
4
|
+
import { AssertsError, asserts } from "./asserts.mjs";
|
|
5
|
+
import { asyncInnerPipe } from "./asyncInnerPipe.mjs";
|
|
6
|
+
import { asyncLoop } from "./asyncLoop.mjs";
|
|
7
|
+
import { asyncPipe } from "./asyncPipe.mjs";
|
|
8
|
+
import { timeout } from "./timeout.mjs";
|
|
9
|
+
import { createAsyncRetry, useAsyncRetry } from "./asyncRetry.mjs";
|
|
10
|
+
import { bindPrototypeMethods } from "./bindPrototypeMethods.mjs";
|
|
11
|
+
import { createGlobalStore } from "./globalStore.mjs";
|
|
12
|
+
import { MissingBuilderMethodsError, builderKind, createBuilder } from "./builder.mjs";
|
|
13
|
+
import { callThen } from "./callThen.mjs";
|
|
14
|
+
import { clone } from "./clone.mjs";
|
|
15
|
+
import { cast, shameOnYou } from "./constraint/cast/index.mjs";
|
|
16
|
+
import { detachObjectMethod } from "./detachObjectMethod.mjs";
|
|
17
|
+
import { createEnum } from "./enum.mjs";
|
|
18
|
+
import { equal } from "./equal.mjs";
|
|
19
|
+
import { escapeRegExp } from "./escapeRegExp.mjs";
|
|
20
|
+
import { createExternalPromise } from "./externalPromise.mjs";
|
|
21
|
+
import { falsy } from "./falsy.mjs";
|
|
22
|
+
import { TheFormData, createFormData } from "./formData.mjs";
|
|
23
|
+
import { forward } from "./forward.mjs";
|
|
24
|
+
import { forwardAsserts } from "./forwardAsserts.mjs";
|
|
25
|
+
import { forwardLog } from "./forwardLog.mjs";
|
|
26
|
+
import { innerPipe } from "./innerPipe.mjs";
|
|
27
|
+
import { instanceOf } from "./instanceOf.mjs";
|
|
28
|
+
import { createInterpolation } from "./interpolation.mjs";
|
|
29
|
+
import { isType } from "./isType.mjs";
|
|
30
|
+
import { justExec } from "./justExec.mjs";
|
|
31
|
+
import { justReturn } from "./justReturn.mjs";
|
|
32
|
+
import { loop } from "./loop.mjs";
|
|
33
|
+
import { memo } from "./memo.mjs";
|
|
34
|
+
import { memoObject } from "./memoObject.mjs";
|
|
35
|
+
import { memoPromise } from "./memoPromise.mjs";
|
|
36
|
+
import { mimeType } from "./mimeType.mjs";
|
|
37
|
+
import { or } from "./or.mjs";
|
|
38
|
+
import { pipe } from "./pipe.mjs";
|
|
39
|
+
import { pipeCall } from "./pipeCall.mjs";
|
|
40
|
+
import { prepareAsyncPipe } from "./prepareAsyncPipe.mjs";
|
|
41
|
+
import { preparePipe } from "./preparePipe.mjs";
|
|
42
|
+
import { promiseAll } from "./promiseAll.mjs";
|
|
43
|
+
import { promiseObject } from "./promiseObject.mjs";
|
|
44
|
+
import { createQueue, queueKind } from "./queue.mjs";
|
|
45
|
+
import { simpleClone } from "./simpleClone.mjs";
|
|
46
|
+
import { InvalidBytesInStringError, stringToBytes } from "./stringToBytes.mjs";
|
|
47
|
+
import { InvalidMillisecondInStringError, stringToMillisecond } from "./stringToMillisecond.mjs";
|
|
48
|
+
import { toCurriedPredicate } from "./toCurriedPredicate.mjs";
|
|
49
|
+
import { toRegExp } from "./toRegExp.mjs";
|
|
50
|
+
import { createTransformer, toJSON, toNative, transformer } from "./transformer.mjs";
|
|
51
|
+
import { truthy } from "./truthy.mjs";
|
|
52
|
+
import { when } from "./when.mjs";
|
|
53
|
+
import { whenElse } from "./whenElse.mjs";
|
|
54
|
+
import { whenNot } from "./whenNot.mjs";
|
|
55
|
+
//#region scripts/common/index.ts
|
|
56
|
+
var common_exports = /* @__PURE__ */ __exportAll({
|
|
57
|
+
AssertsError: () => AssertsError,
|
|
58
|
+
InvalidBytesInStringError: () => InvalidBytesInStringError,
|
|
59
|
+
InvalidMillisecondInStringError: () => InvalidMillisecondInStringError,
|
|
60
|
+
MissingBuilderMethodsError: () => MissingBuilderMethodsError,
|
|
61
|
+
TheFormData: () => TheFormData,
|
|
62
|
+
and: () => and,
|
|
63
|
+
asserts: () => asserts,
|
|
64
|
+
asyncInnerPipe: () => asyncInnerPipe,
|
|
65
|
+
asyncLoop: () => asyncLoop,
|
|
66
|
+
asyncPipe: () => asyncPipe,
|
|
67
|
+
bindPrototypeMethods: () => bindPrototypeMethods,
|
|
68
|
+
builderKind: () => builderKind,
|
|
69
|
+
callThen: () => callThen,
|
|
70
|
+
cast: () => cast,
|
|
71
|
+
clone: () => clone,
|
|
72
|
+
createAsyncRetry: () => createAsyncRetry,
|
|
73
|
+
createBuilder: () => createBuilder,
|
|
74
|
+
createEnum: () => createEnum,
|
|
75
|
+
createExternalPromise: () => createExternalPromise,
|
|
76
|
+
createFormData: () => createFormData,
|
|
77
|
+
createGlobalStore: () => createGlobalStore,
|
|
78
|
+
createInterpolation: () => createInterpolation,
|
|
79
|
+
createKind: () => createKind,
|
|
80
|
+
createQueue: () => createQueue,
|
|
81
|
+
createTransformer: () => createTransformer,
|
|
82
|
+
detachObjectMethod: () => detachObjectMethod,
|
|
83
|
+
equal: () => equal,
|
|
84
|
+
escapeRegExp: () => escapeRegExp,
|
|
85
|
+
falsy: () => falsy,
|
|
86
|
+
forward: () => forward,
|
|
87
|
+
forwardAsserts: () => forwardAsserts,
|
|
88
|
+
forwardLog: () => forwardLog,
|
|
89
|
+
innerPipe: () => innerPipe,
|
|
90
|
+
instanceOf: () => instanceOf,
|
|
91
|
+
isType: () => isType,
|
|
92
|
+
justExec: () => justExec,
|
|
93
|
+
justReturn: () => justReturn,
|
|
94
|
+
loop: () => loop,
|
|
95
|
+
memo: () => memo,
|
|
96
|
+
memoObject: () => memoObject,
|
|
97
|
+
memoPromise: () => memoPromise,
|
|
98
|
+
mimeType: () => mimeType,
|
|
99
|
+
or: () => or,
|
|
100
|
+
pipe: () => pipe,
|
|
101
|
+
pipeCall: () => pipeCall,
|
|
102
|
+
prepareAsyncPipe: () => prepareAsyncPipe,
|
|
103
|
+
preparePipe: () => preparePipe,
|
|
104
|
+
promiseAll: () => promiseAll,
|
|
105
|
+
promiseObject: () => promiseObject,
|
|
106
|
+
queueKind: () => queueKind,
|
|
107
|
+
shameOnYou: () => shameOnYou,
|
|
108
|
+
simpleClone: () => simpleClone,
|
|
109
|
+
stringToBytes: () => stringToBytes,
|
|
110
|
+
stringToMillisecond: () => stringToMillisecond,
|
|
111
|
+
timeout: () => timeout,
|
|
112
|
+
toCurriedPredicate: () => toCurriedPredicate,
|
|
113
|
+
toJSON: () => toJSON,
|
|
114
|
+
toNative: () => toNative,
|
|
115
|
+
toRegExp: () => toRegExp,
|
|
116
|
+
transformer: () => transformer,
|
|
117
|
+
truthy: () => truthy,
|
|
118
|
+
useAsyncRetry: () => useAsyncRetry,
|
|
119
|
+
when: () => when,
|
|
120
|
+
whenElse: () => whenElse,
|
|
121
|
+
whenNot: () => whenNot
|
|
122
|
+
});
|
|
123
|
+
//#endregion
|
|
124
|
+
export { AssertsError, InvalidBytesInStringError, InvalidMillisecondInStringError, MissingBuilderMethodsError, TheFormData, and, asserts, asyncInnerPipe, asyncLoop, asyncPipe, bindPrototypeMethods, builderKind, callThen, cast, clone, common_exports, createAsyncRetry, createBuilder, createEnum, createExternalPromise, createFormData, createGlobalStore, createInterpolation, createKind, createQueue, createTransformer, detachObjectMethod, equal, escapeRegExp, falsy, forward, forwardAsserts, forwardLog, innerPipe, instanceOf, isType, justExec, justReturn, loop, memo, memoObject, memoPromise, mimeType, or, pipe, pipeCall, prepareAsyncPipe, preparePipe, promiseAll, promiseObject, queueKind, shameOnYou, simpleClone, stringToBytes, stringToMillisecond, timeout, toCurriedPredicate, toJSON, toNative, toRegExp, transformer, truthy, useAsyncRetry, when, whenElse, whenNot };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BreakGenericLink } from './types';
|
|
2
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1): (input: GenericInput) => BreakGenericLink<GenericOutputPipe1>;
|
|
3
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2): (input: GenericInput) => BreakGenericLink<GenericOutputPipe2>;
|
|
4
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3): (input: GenericInput) => BreakGenericLink<GenericOutputPipe3>;
|
|
5
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4): (input: GenericInput) => BreakGenericLink<GenericOutputPipe4>;
|
|
6
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5): (input: GenericInput) => BreakGenericLink<GenericOutputPipe5>;
|
|
7
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6): (input: GenericInput) => BreakGenericLink<GenericOutputPipe6>;
|
|
8
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7): (input: GenericInput) => BreakGenericLink<GenericOutputPipe7>;
|
|
9
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8): (input: GenericInput) => BreakGenericLink<GenericOutputPipe8>;
|
|
10
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9): (input: GenericInput) => BreakGenericLink<GenericOutputPipe9>;
|
|
11
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown, const GenericOutputPipe10 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9, pipe10: (input: GenericOutputPipe9) => GenericOutputPipe10): (input: GenericInput) => BreakGenericLink<GenericOutputPipe10>;
|
|
12
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown, const GenericOutputPipe10 extends unknown, const GenericOutputPipe11 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9, pipe10: (input: GenericOutputPipe9) => GenericOutputPipe10, pipe11: (input: GenericOutputPipe10) => GenericOutputPipe11): (input: GenericInput) => BreakGenericLink<GenericOutputPipe11>;
|
|
13
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown, const GenericOutputPipe10 extends unknown, const GenericOutputPipe11 extends unknown, const GenericOutputPipe12 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9, pipe10: (input: GenericOutputPipe9) => GenericOutputPipe10, pipe11: (input: GenericOutputPipe10) => GenericOutputPipe11, pipe12: (input: GenericOutputPipe11) => GenericOutputPipe12): (input: GenericInput) => BreakGenericLink<GenericOutputPipe12>;
|
|
14
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown, const GenericOutputPipe10 extends unknown, const GenericOutputPipe11 extends unknown, const GenericOutputPipe12 extends unknown, const GenericOutputPipe13 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9, pipe10: (input: GenericOutputPipe9) => GenericOutputPipe10, pipe11: (input: GenericOutputPipe10) => GenericOutputPipe11, pipe12: (input: GenericOutputPipe11) => GenericOutputPipe12, pipe13: (input: GenericOutputPipe12) => GenericOutputPipe13): (input: GenericInput) => BreakGenericLink<GenericOutputPipe13>;
|
|
15
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown, const GenericOutputPipe10 extends unknown, const GenericOutputPipe11 extends unknown, const GenericOutputPipe12 extends unknown, const GenericOutputPipe13 extends unknown, const GenericOutputPipe14 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9, pipe10: (input: GenericOutputPipe9) => GenericOutputPipe10, pipe11: (input: GenericOutputPipe10) => GenericOutputPipe11, pipe12: (input: GenericOutputPipe11) => GenericOutputPipe12, pipe13: (input: GenericOutputPipe12) => GenericOutputPipe13, pipe14: (input: GenericOutputPipe13) => GenericOutputPipe14): (input: GenericInput) => BreakGenericLink<GenericOutputPipe14>;
|
|
16
|
+
export declare function innerPipe<const GenericInput extends unknown, const GenericOutputPipe1 extends unknown, const GenericOutputPipe2 extends unknown, const GenericOutputPipe3 extends unknown, const GenericOutputPipe4 extends unknown, const GenericOutputPipe5 extends unknown, const GenericOutputPipe6 extends unknown, const GenericOutputPipe7 extends unknown, const GenericOutputPipe8 extends unknown, const GenericOutputPipe9 extends unknown, const GenericOutputPipe10 extends unknown, const GenericOutputPipe11 extends unknown, const GenericOutputPipe12 extends unknown, const GenericOutputPipe13 extends unknown, const GenericOutputPipe14 extends unknown, const GenericOutputPipe15 extends unknown>(pipe1: (input: GenericInput) => GenericOutputPipe1, pipe2: (input: GenericOutputPipe1) => GenericOutputPipe2, pipe3: (input: GenericOutputPipe2) => GenericOutputPipe3, pipe4: (input: GenericOutputPipe3) => GenericOutputPipe4, pipe5: (input: GenericOutputPipe4) => GenericOutputPipe5, pipe6: (input: GenericOutputPipe5) => GenericOutputPipe6, pipe7: (input: GenericOutputPipe6) => GenericOutputPipe7, pipe8: (input: GenericOutputPipe7) => GenericOutputPipe8, pipe9: (input: GenericOutputPipe8) => GenericOutputPipe9, pipe10: (input: GenericOutputPipe9) => GenericOutputPipe10, pipe11: (input: GenericOutputPipe10) => GenericOutputPipe11, pipe12: (input: GenericOutputPipe11) => GenericOutputPipe12, pipe13: (input: GenericOutputPipe12) => GenericOutputPipe13, pipe14: (input: GenericOutputPipe13) => GenericOutputPipe14, pipe15: (input: GenericOutputPipe14) => GenericOutputPipe15): (input: GenericInput) => BreakGenericLink<GenericOutputPipe15>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const require_coalescing = require("../array/coalescing.cjs");
|
|
2
|
+
//#region scripts/common/instanceOf.ts
|
|
3
|
+
function instanceOf(...args) {
|
|
4
|
+
if (args.length === 1) {
|
|
5
|
+
const [valueConstructor] = args;
|
|
6
|
+
return (input) => instanceOf(input, valueConstructor);
|
|
7
|
+
}
|
|
8
|
+
const [input, valueConstructor] = args;
|
|
9
|
+
const valueConstructors = require_coalescing.coalescing(valueConstructor);
|
|
10
|
+
for (const currentConstructor of valueConstructors) if (input instanceof currentConstructor) return true;
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.instanceOf = instanceOf;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AnyConstructor } from './types';
|
|
2
|
+
export declare function instanceOf<GenericInput extends unknown, GenericConstructor extends AnyConstructor>(valueConstructor: GenericConstructor | GenericConstructor[]): (input: GenericInput) => input is Extract<GenericInput, InstanceType<GenericConstructor>>;
|
|
3
|
+
export declare function instanceOf<GenericInput extends unknown, GenericConstructor extends AnyConstructor>(input: GenericInput, valueConstructor: GenericConstructor | GenericConstructor[]): input is Extract<GenericInput, InstanceType<GenericConstructor>>;
|