@duplojs/utils 1.2.16 → 1.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array/index.cjs +28 -28
- package/dist/array/index.mjs +14 -14
- package/dist/array/reduce.cjs +0 -27
- package/dist/array/reduce.mjs +0 -27
- package/dist/array/reduceRight.cjs +0 -27
- package/dist/array/reduceRight.mjs +0 -27
- package/dist/common/createKindIdentifier.cjs +1 -26
- package/dist/common/createKindIdentifier.mjs +1 -26
- package/dist/common/instanceOf.cjs +0 -27
- package/dist/common/instanceOf.mjs +0 -27
- package/dist/common/override.cjs +1 -26
- package/dist/common/override.mjs +1 -26
- package/dist/dataParser/base.cjs +3 -27
- package/dist/dataParser/base.mjs +3 -27
- package/dist/dataParser/baseExtended.cjs +9 -71
- package/dist/dataParser/baseExtended.mjs +9 -71
- package/dist/dataParser/extended/array.cjs +1 -48
- package/dist/dataParser/extended/array.mjs +1 -48
- package/dist/dataParser/extended/bigint.cjs +1 -48
- package/dist/dataParser/extended/bigint.mjs +1 -48
- package/dist/dataParser/extended/boolean.cjs +1 -48
- package/dist/dataParser/extended/boolean.mjs +1 -48
- package/dist/dataParser/extended/coerce/bigint.cjs +0 -21
- package/dist/dataParser/extended/coerce/bigint.mjs +0 -21
- package/dist/dataParser/extended/coerce/boolean.cjs +0 -21
- package/dist/dataParser/extended/coerce/boolean.mjs +0 -21
- package/dist/dataParser/extended/coerce/date.cjs +0 -21
- package/dist/dataParser/extended/coerce/date.mjs +0 -21
- package/dist/dataParser/extended/coerce/empty.cjs +0 -21
- package/dist/dataParser/extended/coerce/empty.mjs +0 -21
- package/dist/dataParser/extended/coerce/nil.cjs +0 -21
- package/dist/dataParser/extended/coerce/nil.mjs +0 -21
- package/dist/dataParser/extended/coerce/number.cjs +0 -21
- package/dist/dataParser/extended/coerce/number.mjs +0 -21
- package/dist/dataParser/extended/coerce/string.cjs +0 -21
- package/dist/dataParser/extended/coerce/string.mjs +0 -21
- package/dist/dataParser/extended/date.cjs +1 -48
- package/dist/dataParser/extended/date.mjs +1 -48
- package/dist/dataParser/extended/empty.cjs +1 -48
- package/dist/dataParser/extended/empty.mjs +1 -48
- package/dist/dataParser/extended/lazy.cjs +1 -48
- package/dist/dataParser/extended/lazy.mjs +1 -48
- package/dist/dataParser/extended/literal.cjs +1 -48
- package/dist/dataParser/extended/literal.mjs +1 -48
- package/dist/dataParser/extended/nil.cjs +1 -48
- package/dist/dataParser/extended/nil.mjs +1 -48
- package/dist/dataParser/extended/nullable.cjs +1 -48
- package/dist/dataParser/extended/nullable.mjs +1 -48
- package/dist/dataParser/extended/number.cjs +1 -48
- package/dist/dataParser/extended/number.mjs +1 -48
- package/dist/dataParser/extended/object.cjs +5 -52
- package/dist/dataParser/extended/object.mjs +5 -52
- package/dist/dataParser/extended/optional.cjs +1 -48
- package/dist/dataParser/extended/optional.mjs +1 -48
- package/dist/dataParser/extended/pipe.cjs +1 -48
- package/dist/dataParser/extended/pipe.mjs +1 -48
- package/dist/dataParser/extended/record.cjs +1 -48
- package/dist/dataParser/extended/record.mjs +1 -48
- package/dist/dataParser/extended/recover.cjs +1 -48
- package/dist/dataParser/extended/recover.mjs +1 -48
- package/dist/dataParser/extended/string.cjs +1 -48
- package/dist/dataParser/extended/string.mjs +1 -48
- package/dist/dataParser/extended/templateLiteral.cjs +1 -48
- package/dist/dataParser/extended/templateLiteral.mjs +1 -48
- package/dist/dataParser/extended/transform.cjs +1 -48
- package/dist/dataParser/extended/transform.mjs +1 -48
- package/dist/dataParser/extended/tuple.cjs +1 -48
- package/dist/dataParser/extended/tuple.mjs +1 -48
- package/dist/dataParser/extended/union.cjs +1 -48
- package/dist/dataParser/extended/union.mjs +1 -48
- package/dist/dataParser/extended/unknown.cjs +1 -48
- package/dist/dataParser/extended/unknown.mjs +1 -48
- package/dist/dataParser/identifier.cjs +0 -5
- package/dist/dataParser/identifier.mjs +0 -5
- package/dist/dataParser/index.cjs +52 -52
- package/dist/dataParser/index.mjs +19 -19
- package/dist/dataParser/kind.cjs +0 -27
- package/dist/dataParser/kind.mjs +0 -27
- package/dist/dataParser/parsers/array/index.cjs +1 -33
- package/dist/dataParser/parsers/array/index.mjs +1 -29
- package/dist/dataParser/parsers/bigint/index.cjs +1 -33
- package/dist/dataParser/parsers/bigint/index.mjs +1 -29
- package/dist/dataParser/parsers/boolean.cjs +1 -27
- package/dist/dataParser/parsers/boolean.mjs +1 -27
- package/dist/dataParser/parsers/coerce/bigint.cjs +0 -21
- package/dist/dataParser/parsers/coerce/bigint.mjs +0 -21
- package/dist/dataParser/parsers/coerce/boolean.cjs +0 -21
- package/dist/dataParser/parsers/coerce/boolean.mjs +0 -21
- package/dist/dataParser/parsers/coerce/date.cjs +0 -21
- package/dist/dataParser/parsers/coerce/date.mjs +0 -21
- package/dist/dataParser/parsers/coerce/empty.cjs +0 -21
- package/dist/dataParser/parsers/coerce/empty.mjs +0 -21
- package/dist/dataParser/parsers/coerce/nil.cjs +0 -21
- package/dist/dataParser/parsers/coerce/nil.mjs +0 -21
- package/dist/dataParser/parsers/coerce/number.cjs +0 -21
- package/dist/dataParser/parsers/coerce/number.mjs +0 -21
- package/dist/dataParser/parsers/coerce/string.cjs +0 -21
- package/dist/dataParser/parsers/coerce/string.mjs +0 -21
- package/dist/dataParser/parsers/date.cjs +2 -31
- package/dist/dataParser/parsers/date.mjs +2 -31
- package/dist/dataParser/parsers/empty.cjs +1 -27
- package/dist/dataParser/parsers/empty.mjs +1 -27
- package/dist/dataParser/parsers/lazy.cjs +2 -28
- package/dist/dataParser/parsers/lazy.mjs +2 -28
- package/dist/dataParser/parsers/literal.cjs +2 -28
- package/dist/dataParser/parsers/literal.mjs +2 -28
- package/dist/dataParser/parsers/nil.cjs +1 -27
- package/dist/dataParser/parsers/nil.mjs +1 -27
- package/dist/dataParser/parsers/nullable.cjs +1 -27
- package/dist/dataParser/parsers/nullable.mjs +1 -27
- package/dist/dataParser/parsers/number/index.cjs +1 -37
- package/dist/dataParser/parsers/number/index.mjs +1 -30
- package/dist/dataParser/parsers/object/index.cjs +7 -33
- package/dist/dataParser/parsers/object/index.mjs +7 -33
- package/dist/dataParser/parsers/object/omit.cjs +2 -29
- package/dist/dataParser/parsers/object/omit.mjs +2 -29
- package/dist/dataParser/parsers/object/pick.cjs +2 -29
- package/dist/dataParser/parsers/object/pick.mjs +2 -29
- package/dist/dataParser/parsers/optional.cjs +1 -27
- package/dist/dataParser/parsers/optional.mjs +1 -27
- package/dist/dataParser/parsers/pipe.cjs +1 -27
- package/dist/dataParser/parsers/pipe.mjs +1 -27
- package/dist/dataParser/parsers/record/findRecordRequiredKey.cjs +17 -46
- package/dist/dataParser/parsers/record/findRecordRequiredKey.mjs +17 -46
- package/dist/dataParser/parsers/record/index.cjs +1 -27
- package/dist/dataParser/parsers/record/index.mjs +1 -27
- package/dist/dataParser/parsers/recover.cjs +1 -27
- package/dist/dataParser/parsers/recover.mjs +1 -27
- package/dist/dataParser/parsers/string/index.cjs +1 -44
- package/dist/dataParser/parsers/string/index.mjs +1 -32
- package/dist/dataParser/parsers/templateLiteral/createTemplateLiteralPattern.cjs +14 -43
- package/dist/dataParser/parsers/templateLiteral/createTemplateLiteralPattern.mjs +14 -43
- package/dist/dataParser/parsers/templateLiteral/index.cjs +2 -28
- package/dist/dataParser/parsers/templateLiteral/index.mjs +2 -28
- package/dist/dataParser/parsers/transform.cjs +1 -27
- package/dist/dataParser/parsers/transform.mjs +1 -27
- package/dist/dataParser/parsers/tuple.cjs +1 -27
- package/dist/dataParser/parsers/tuple.mjs +1 -27
- package/dist/dataParser/parsers/union.cjs +1 -27
- package/dist/dataParser/parsers/union.mjs +1 -27
- package/dist/dataParser/parsers/unknown.cjs +1 -27
- package/dist/dataParser/parsers/unknown.mjs +1 -27
- package/dist/date/create.cjs +0 -25
- package/dist/date/create.mjs +0 -25
- package/dist/date/createOrThrow.cjs +2 -29
- package/dist/date/createOrThrow.mjs +2 -29
- package/dist/date/getters/getDayOfMonth.cjs +0 -30
- package/dist/date/getters/getDayOfMonth.mjs +0 -30
- package/dist/date/getters/getDayOfWeek.cjs +0 -30
- package/dist/date/getters/getDayOfWeek.mjs +0 -30
- package/dist/date/getters/getDayOfYear.cjs +0 -30
- package/dist/date/getters/getDayOfYear.mjs +0 -30
- package/dist/date/getters/getHour.cjs +0 -30
- package/dist/date/getters/getHour.mjs +0 -30
- package/dist/date/getters/getMilliseconds.cjs +0 -30
- package/dist/date/getters/getMilliseconds.mjs +0 -30
- package/dist/date/getters/getMinute.cjs +0 -30
- package/dist/date/getters/getMinute.mjs +0 -30
- package/dist/date/getters/getMonth.cjs +0 -30
- package/dist/date/getters/getMonth.mjs +0 -30
- package/dist/date/getters/getSecond.cjs +0 -30
- package/dist/date/getters/getSecond.mjs +0 -30
- package/dist/date/getters/getWeekOfYear.cjs +0 -30
- package/dist/date/getters/getWeekOfYear.mjs +0 -30
- package/dist/date/getters/getYear.cjs +0 -30
- package/dist/date/getters/getYear.mjs +0 -30
- package/dist/date/index.cjs +15 -15
- package/dist/date/index.mjs +7 -7
- package/dist/date/toTimestamp.cjs +2 -29
- package/dist/date/toTimestamp.mjs +2 -29
- package/dist/either/bool/falsy.cjs +3 -26
- package/dist/either/bool/falsy.mjs +3 -26
- package/dist/either/bool/truthy.cjs +5 -28
- package/dist/either/bool/truthy.mjs +5 -28
- package/dist/either/future/create.cjs +2 -27
- package/dist/either/future/create.mjs +2 -27
- package/dist/either/future/error.cjs +2 -25
- package/dist/either/future/error.mjs +2 -25
- package/dist/either/future/success.cjs +0 -23
- package/dist/either/future/success.mjs +0 -23
- package/dist/either/index.cjs +7 -7
- package/dist/either/index.mjs +3 -3
- package/dist/either/kind.cjs +0 -26
- package/dist/either/kind.mjs +0 -26
- package/dist/either/left/when.cjs +1 -28
- package/dist/either/left/when.mjs +1 -28
- package/dist/either/nullable/empty.cjs +4 -27
- package/dist/either/nullable/empty.mjs +4 -27
- package/dist/either/nullable/filled.cjs +4 -27
- package/dist/either/nullable/filled.mjs +4 -27
- package/dist/either/nullish/empty.cjs +4 -27
- package/dist/either/nullish/empty.mjs +4 -27
- package/dist/either/nullish/filled.cjs +4 -27
- package/dist/either/nullish/filled.mjs +4 -27
- package/dist/either/optional/empty.cjs +0 -23
- package/dist/either/optional/empty.mjs +0 -23
- package/dist/either/optional/filled.cjs +6 -29
- package/dist/either/optional/filled.mjs +6 -29
- package/dist/either/right/asyncPipe.cjs +3 -29
- package/dist/either/right/asyncPipe.mjs +3 -29
- package/dist/either/right/pipe.cjs +2 -28
- package/dist/either/right/pipe.mjs +2 -28
- package/dist/either/right/when.cjs +1 -28
- package/dist/either/right/when.mjs +1 -28
- package/dist/either/whenHasInformation.cjs +2 -28
- package/dist/either/whenHasInformation.mjs +2 -28
- package/dist/generator/asyncReduce.cjs +0 -27
- package/dist/generator/asyncReduce.mjs +0 -27
- package/dist/generator/reduce.cjs +0 -27
- package/dist/generator/reduce.mjs +0 -27
- package/dist/index.cjs +33 -33
- package/dist/index.mjs +33 -33
- package/dist/object/deepDiscriminate.cjs +1 -28
- package/dist/object/deepDiscriminate.mjs +1 -28
- package/dist/object/discriminate.cjs +0 -27
- package/dist/object/discriminate.mjs +0 -27
- package/dist/object/entries.cjs +1 -28
- package/dist/object/entries.mjs +1 -28
- package/dist/object/keys.cjs +1 -28
- package/dist/object/keys.mjs +1 -28
- package/dist/object/values.cjs +1 -28
- package/dist/object/values.mjs +1 -28
- package/dist/pattern/exhaustive.cjs +0 -27
- package/dist/pattern/exhaustive.mjs +0 -27
- package/dist/pattern/index.cjs +2 -2
- package/dist/pattern/index.mjs +1 -1
- package/dist/pattern/match/builder.cjs +2 -28
- package/dist/pattern/match/builder.mjs +2 -28
- package/dist/pattern/otherwise.cjs +1 -28
- package/dist/pattern/otherwise.mjs +1 -28
- package/dist/pattern/result.cjs +0 -27
- package/dist/pattern/result.mjs +0 -27
- package/dist/string/index.cjs +12 -12
- package/dist/string/index.mjs +6 -6
- package/package.json +2 -1
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
export { SymbolDataParserError, SymbolDataParserErrorLabel, checkerKind, dataParserCheckerInit, dataParserInit, dataParserKind } from './base.mjs';
|
|
2
2
|
export { dataParserExtendedInit, extendedKind } from './baseExtended.mjs';
|
|
3
3
|
export { SymbolDataParserErrorIssue, SymbolDataParserErrorIssueLabel, SymbolDataParserErrorPromiseIssue, SymbolDataParserErrorPromiseIssueLabel, addIssue, addPromiseIssue, createError, errorIssueKind, errorKind, errorPromiseIssueKind, popErrorPath, setErrorPath } from './error.mjs';
|
|
4
|
+
import * as index from './extended/index.mjs';
|
|
5
|
+
export { index as extended };
|
|
6
|
+
export { identifier } from './identifier.mjs';
|
|
4
7
|
import * as index$1 from './parsers/coerce/index.mjs';
|
|
5
8
|
export { index$1 as coerce };
|
|
9
|
+
export { checkerUrl, checkerUrlKind, url } from './parsers/string/checkers/url.mjs';
|
|
10
|
+
export { checkerEmail, checkerEmailKind, email } from './parsers/string/checkers/email.mjs';
|
|
11
|
+
export { checkerStringMax, checkerStringMaxKind } from './parsers/string/checkers/max.mjs';
|
|
12
|
+
export { checkerStringMin, checkerStringMinKind } from './parsers/string/checkers/min.mjs';
|
|
13
|
+
export { checkerStringRegex, checkerStringRegexKind } from './parsers/string/checkers/regex.mjs';
|
|
6
14
|
export { string, stringKind } from './parsers/string/index.mjs';
|
|
15
|
+
export { omit } from './parsers/object/omit.mjs';
|
|
16
|
+
export { pick } from './parsers/object/pick.mjs';
|
|
7
17
|
export { object, objectKind } from './parsers/object/index.mjs';
|
|
18
|
+
export { checkerInt, checkerIntKind, int } from './parsers/number/checkers/int.mjs';
|
|
19
|
+
export { checkerNumberMin, checkerNumberMinKind } from './parsers/number/checkers/min.mjs';
|
|
20
|
+
export { checkerNumberMax, checkerNumberMaxKind } from './parsers/number/checkers/max.mjs';
|
|
8
21
|
export { number, numberKind } from './parsers/number/index.mjs';
|
|
9
22
|
export { date, dateKind } from './parsers/date.mjs';
|
|
10
23
|
export { literal, literalKind } from './parsers/literal.mjs';
|
|
11
24
|
export { union, unionKind } from './parsers/union.mjs';
|
|
25
|
+
export { checkerArrayMin, checkerArrayMinKind } from './parsers/array/checkers/min.mjs';
|
|
26
|
+
export { checkerArrayMax, checkerArrayMaxKind } from './parsers/array/checkers/max.mjs';
|
|
12
27
|
export { array, arrayKind } from './parsers/array/index.mjs';
|
|
28
|
+
export { checkerBigIntMin, checkerBigIntMinKind } from './parsers/bigint/checkers/min.mjs';
|
|
29
|
+
export { checkerBigIntMax, checkerBigIntMaxKind } from './parsers/bigint/checkers/max.mjs';
|
|
13
30
|
export { bigIntKind, bigint } from './parsers/bigint/index.mjs';
|
|
14
31
|
export { tuple, tupleKind } from './parsers/tuple.mjs';
|
|
15
32
|
export { transform, transformKind } from './parsers/transform.mjs';
|
|
16
33
|
export { nil, nilKind } from './parsers/nil.mjs';
|
|
17
34
|
export { boolean, booleanKind } from './parsers/boolean.mjs';
|
|
18
35
|
export { empty, emptyKind } from './parsers/empty.mjs';
|
|
36
|
+
export { createTemplateLiteralPattern } from './parsers/templateLiteral/createTemplateLiteralPattern.mjs';
|
|
19
37
|
export { templateLiteral, templateLiteralKind } from './parsers/templateLiteral/index.mjs';
|
|
20
38
|
export { pipe, pipeKind } from './parsers/pipe.mjs';
|
|
21
39
|
export { optional, optionalKind } from './parsers/optional.mjs';
|
|
22
40
|
export { nullable, nullableKind } from './parsers/nullable.mjs';
|
|
23
41
|
export { lazy, lazyKind } from './parsers/lazy.mjs';
|
|
24
42
|
export { unknown, unknownKind } from './parsers/unknown.mjs';
|
|
43
|
+
export { findRecordRequiredKey, findRecordRequiredKeyOnTemplateLiteralPart } from './parsers/record/findRecordRequiredKey.mjs';
|
|
25
44
|
export { record, recordKind } from './parsers/record/index.mjs';
|
|
26
45
|
export { checkerRefine, dataParserCheckerRefineKind } from './parsers/refine.mjs';
|
|
27
46
|
export { recover, recoverKind } from './parsers/recover.mjs';
|
|
28
|
-
import * as index from './extended/index.mjs';
|
|
29
|
-
export { index as extended };
|
|
30
|
-
export { identifier } from './identifier.mjs';
|
|
31
|
-
export { checkerUrl, checkerUrlKind, url } from './parsers/string/checkers/url.mjs';
|
|
32
|
-
export { checkerEmail, checkerEmailKind, email } from './parsers/string/checkers/email.mjs';
|
|
33
|
-
export { checkerStringMax, checkerStringMaxKind } from './parsers/string/checkers/max.mjs';
|
|
34
|
-
export { checkerStringMin, checkerStringMinKind } from './parsers/string/checkers/min.mjs';
|
|
35
|
-
export { checkerStringRegex, checkerStringRegexKind } from './parsers/string/checkers/regex.mjs';
|
|
36
|
-
export { omit } from './parsers/object/omit.mjs';
|
|
37
|
-
export { pick } from './parsers/object/pick.mjs';
|
|
38
|
-
export { checkerInt, checkerIntKind, int } from './parsers/number/checkers/int.mjs';
|
|
39
|
-
export { checkerNumberMin, checkerNumberMinKind } from './parsers/number/checkers/min.mjs';
|
|
40
|
-
export { checkerNumberMax, checkerNumberMaxKind } from './parsers/number/checkers/max.mjs';
|
|
41
|
-
export { checkerArrayMin, checkerArrayMinKind } from './parsers/array/checkers/min.mjs';
|
|
42
|
-
export { checkerArrayMax, checkerArrayMaxKind } from './parsers/array/checkers/max.mjs';
|
|
43
|
-
export { checkerBigIntMin, checkerBigIntMinKind } from './parsers/bigint/checkers/min.mjs';
|
|
44
|
-
export { checkerBigIntMax, checkerBigIntMaxKind } from './parsers/bigint/checkers/max.mjs';
|
|
45
|
-
export { createTemplateLiteralPattern } from './parsers/templateLiteral/createTemplateLiteralPattern.mjs';
|
|
46
|
-
export { findRecordRequiredKey, findRecordRequiredKeyOnTemplateLiteralPart } from './parsers/record/findRecordRequiredKey.mjs';
|
package/dist/dataParser/kind.cjs
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var kind = require('../common/kind.cjs');
|
|
4
|
-
require('../common/stringToBytes.cjs');
|
|
5
|
-
require('../common/stringToMillisecond.cjs');
|
|
6
|
-
require('../common/globalStore.cjs');
|
|
7
|
-
require('../common/builder.cjs');
|
|
8
|
-
require('../either/bool/falsy.cjs');
|
|
9
|
-
require('../either/bool/truthy.cjs');
|
|
10
|
-
require('../either/bool/base.cjs');
|
|
11
|
-
require('../either/left/create.cjs');
|
|
12
|
-
require('../either/left/error.cjs');
|
|
13
|
-
require('../either/left/fail.cjs');
|
|
14
|
-
require('../either/kind.cjs');
|
|
15
|
-
require('../either/right/success.cjs');
|
|
16
|
-
require('../either/right/create.cjs');
|
|
17
|
-
require('../either/right/ok.cjs');
|
|
18
|
-
require('../either/future/success.cjs');
|
|
19
|
-
require('../either/future/error.cjs');
|
|
20
|
-
require('../either/future/base.cjs');
|
|
21
|
-
require('../either/nullable/empty.cjs');
|
|
22
|
-
require('../either/nullable/filled.cjs');
|
|
23
|
-
require('../either/nullable/base.cjs');
|
|
24
|
-
require('../either/nullish/empty.cjs');
|
|
25
|
-
require('../either/nullish/filled.cjs');
|
|
26
|
-
require('../either/nullish/base.cjs');
|
|
27
|
-
require('../either/optional/empty.cjs');
|
|
28
|
-
require('../either/optional/filled.cjs');
|
|
29
|
-
require('../either/optional/base.cjs');
|
|
30
|
-
require('../common/override.cjs');
|
|
31
4
|
|
|
32
5
|
const createDataParserKind = kind.createKindNamespace(
|
|
33
6
|
// @ts-expect-error reserved kind namespace
|
package/dist/dataParser/kind.mjs
CHANGED
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
import { createKindNamespace } from '../common/kind.mjs';
|
|
2
|
-
import '../common/stringToBytes.mjs';
|
|
3
|
-
import '../common/stringToMillisecond.mjs';
|
|
4
|
-
import '../common/globalStore.mjs';
|
|
5
|
-
import '../common/builder.mjs';
|
|
6
|
-
import '../either/bool/falsy.mjs';
|
|
7
|
-
import '../either/bool/truthy.mjs';
|
|
8
|
-
import '../either/bool/base.mjs';
|
|
9
|
-
import '../either/left/create.mjs';
|
|
10
|
-
import '../either/left/error.mjs';
|
|
11
|
-
import '../either/left/fail.mjs';
|
|
12
|
-
import '../either/kind.mjs';
|
|
13
|
-
import '../either/right/success.mjs';
|
|
14
|
-
import '../either/right/create.mjs';
|
|
15
|
-
import '../either/right/ok.mjs';
|
|
16
|
-
import '../either/future/success.mjs';
|
|
17
|
-
import '../either/future/error.mjs';
|
|
18
|
-
import '../either/future/base.mjs';
|
|
19
|
-
import '../either/nullable/empty.mjs';
|
|
20
|
-
import '../either/nullable/filled.mjs';
|
|
21
|
-
import '../either/nullable/base.mjs';
|
|
22
|
-
import '../either/nullish/empty.mjs';
|
|
23
|
-
import '../either/nullish/filled.mjs';
|
|
24
|
-
import '../either/nullish/base.mjs';
|
|
25
|
-
import '../either/optional/empty.mjs';
|
|
26
|
-
import '../either/optional/filled.mjs';
|
|
27
|
-
import '../either/optional/base.mjs';
|
|
28
|
-
import '../common/override.mjs';
|
|
29
2
|
|
|
30
3
|
const createDataParserKind = createKindNamespace(
|
|
31
4
|
// @ts-expect-error reserved kind namespace
|
|
@@ -1,37 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../../../common/stringToBytes.cjs');
|
|
4
|
-
require('../../../common/stringToMillisecond.cjs');
|
|
5
|
-
require('../../../common/globalStore.cjs');
|
|
6
|
-
require('../../../common/builder.cjs');
|
|
7
|
-
require('../../../either/bool/falsy.cjs');
|
|
8
|
-
require('../../../either/bool/truthy.cjs');
|
|
9
|
-
require('../../../either/bool/base.cjs');
|
|
10
|
-
require('../../../either/left/create.cjs');
|
|
11
|
-
require('../../../either/left/error.cjs');
|
|
12
|
-
require('../../../either/left/fail.cjs');
|
|
13
|
-
require('../../../either/kind.cjs');
|
|
14
|
-
require('../../../either/right/success.cjs');
|
|
15
|
-
require('../../../either/right/create.cjs');
|
|
16
|
-
require('../../../either/right/ok.cjs');
|
|
17
|
-
require('../../../either/future/success.cjs');
|
|
18
|
-
require('../../../either/future/error.cjs');
|
|
19
|
-
require('../../../either/future/base.cjs');
|
|
20
|
-
require('../../../either/nullable/empty.cjs');
|
|
21
|
-
require('../../../either/nullable/filled.cjs');
|
|
22
|
-
require('../../../either/nullable/base.cjs');
|
|
23
|
-
require('../../../either/nullish/empty.cjs');
|
|
24
|
-
require('../../../either/nullish/filled.cjs');
|
|
25
|
-
require('../../../either/nullish/base.cjs');
|
|
26
|
-
require('../../../either/optional/empty.cjs');
|
|
27
|
-
require('../../../either/optional/filled.cjs');
|
|
28
|
-
require('../../../either/optional/base.cjs');
|
|
29
|
-
var override = require('../../../common/override.cjs');
|
|
30
3
|
var base = require('../../base.cjs');
|
|
31
4
|
var error = require('../../error.cjs');
|
|
32
5
|
var kind = require('../../kind.cjs');
|
|
33
|
-
var
|
|
34
|
-
var max = require('./checkers/max.cjs');
|
|
6
|
+
var override = require('../../../common/override.cjs');
|
|
35
7
|
|
|
36
8
|
const arrayKind = kind.createDataParserKind("array");
|
|
37
9
|
function array(element, definition) {
|
|
@@ -91,9 +63,5 @@ function array(element, definition) {
|
|
|
91
63
|
}
|
|
92
64
|
array.overrideHandler = override.createOverride("@duplojs/utils/data-parser/array");
|
|
93
65
|
|
|
94
|
-
exports.checkerArrayMin = min.checkerArrayMin;
|
|
95
|
-
exports.checkerArrayMinKind = min.checkerArrayMinKind;
|
|
96
|
-
exports.checkerArrayMax = max.checkerArrayMax;
|
|
97
|
-
exports.checkerArrayMaxKind = max.checkerArrayMaxKind;
|
|
98
66
|
exports.array = array;
|
|
99
67
|
exports.arrayKind = arrayKind;
|
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
import '../../../common/stringToBytes.mjs';
|
|
2
|
-
import '../../../common/stringToMillisecond.mjs';
|
|
3
|
-
import '../../../common/globalStore.mjs';
|
|
4
|
-
import '../../../common/builder.mjs';
|
|
5
|
-
import '../../../either/bool/falsy.mjs';
|
|
6
|
-
import '../../../either/bool/truthy.mjs';
|
|
7
|
-
import '../../../either/bool/base.mjs';
|
|
8
|
-
import '../../../either/left/create.mjs';
|
|
9
|
-
import '../../../either/left/error.mjs';
|
|
10
|
-
import '../../../either/left/fail.mjs';
|
|
11
|
-
import '../../../either/kind.mjs';
|
|
12
|
-
import '../../../either/right/success.mjs';
|
|
13
|
-
import '../../../either/right/create.mjs';
|
|
14
|
-
import '../../../either/right/ok.mjs';
|
|
15
|
-
import '../../../either/future/success.mjs';
|
|
16
|
-
import '../../../either/future/error.mjs';
|
|
17
|
-
import '../../../either/future/base.mjs';
|
|
18
|
-
import '../../../either/nullable/empty.mjs';
|
|
19
|
-
import '../../../either/nullable/filled.mjs';
|
|
20
|
-
import '../../../either/nullable/base.mjs';
|
|
21
|
-
import '../../../either/nullish/empty.mjs';
|
|
22
|
-
import '../../../either/nullish/filled.mjs';
|
|
23
|
-
import '../../../either/nullish/base.mjs';
|
|
24
|
-
import '../../../either/optional/empty.mjs';
|
|
25
|
-
import '../../../either/optional/filled.mjs';
|
|
26
|
-
import '../../../either/optional/base.mjs';
|
|
27
|
-
import { createOverride } from '../../../common/override.mjs';
|
|
28
1
|
import { dataParserInit, SymbolDataParserError } from '../../base.mjs';
|
|
29
2
|
import { SymbolDataParserErrorIssue, setErrorPath, popErrorPath } from '../../error.mjs';
|
|
30
3
|
import { createDataParserKind } from '../../kind.mjs';
|
|
31
|
-
|
|
32
|
-
export { checkerArrayMax, checkerArrayMaxKind } from './checkers/max.mjs';
|
|
4
|
+
import { createOverride } from '../../../common/override.mjs';
|
|
33
5
|
|
|
34
6
|
const arrayKind = createDataParserKind("array");
|
|
35
7
|
function array(element, definition) {
|
|
@@ -1,37 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../../../common/stringToBytes.cjs');
|
|
4
|
-
require('../../../common/stringToMillisecond.cjs');
|
|
5
|
-
require('../../../common/globalStore.cjs');
|
|
6
|
-
require('../../../common/builder.cjs');
|
|
7
|
-
require('../../../either/bool/falsy.cjs');
|
|
8
|
-
require('../../../either/bool/truthy.cjs');
|
|
9
|
-
require('../../../either/bool/base.cjs');
|
|
10
|
-
require('../../../either/left/create.cjs');
|
|
11
|
-
require('../../../either/left/error.cjs');
|
|
12
|
-
require('../../../either/left/fail.cjs');
|
|
13
|
-
require('../../../either/kind.cjs');
|
|
14
|
-
require('../../../either/right/success.cjs');
|
|
15
|
-
require('../../../either/right/create.cjs');
|
|
16
|
-
require('../../../either/right/ok.cjs');
|
|
17
|
-
require('../../../either/future/success.cjs');
|
|
18
|
-
require('../../../either/future/error.cjs');
|
|
19
|
-
require('../../../either/future/base.cjs');
|
|
20
|
-
require('../../../either/nullable/empty.cjs');
|
|
21
|
-
require('../../../either/nullable/filled.cjs');
|
|
22
|
-
require('../../../either/nullable/base.cjs');
|
|
23
|
-
require('../../../either/nullish/empty.cjs');
|
|
24
|
-
require('../../../either/nullish/filled.cjs');
|
|
25
|
-
require('../../../either/nullish/base.cjs');
|
|
26
|
-
require('../../../either/optional/empty.cjs');
|
|
27
|
-
require('../../../either/optional/filled.cjs');
|
|
28
|
-
require('../../../either/optional/base.cjs');
|
|
29
|
-
var override = require('../../../common/override.cjs');
|
|
30
3
|
var base = require('../../base.cjs');
|
|
31
4
|
var error = require('../../error.cjs');
|
|
32
5
|
var kind = require('../../kind.cjs');
|
|
33
|
-
var
|
|
34
|
-
var max = require('./checkers/max.cjs');
|
|
6
|
+
var override = require('../../../common/override.cjs');
|
|
35
7
|
|
|
36
8
|
const bigIntKind = kind.createDataParserKind("bigint");
|
|
37
9
|
function bigint(definition) {
|
|
@@ -58,9 +30,5 @@ function bigint(definition) {
|
|
|
58
30
|
}
|
|
59
31
|
bigint.overrideHandler = override.createOverride("@duplojs/utils/data-parser/bigint");
|
|
60
32
|
|
|
61
|
-
exports.checkerBigIntMin = min.checkerBigIntMin;
|
|
62
|
-
exports.checkerBigIntMinKind = min.checkerBigIntMinKind;
|
|
63
|
-
exports.checkerBigIntMax = max.checkerBigIntMax;
|
|
64
|
-
exports.checkerBigIntMaxKind = max.checkerBigIntMaxKind;
|
|
65
33
|
exports.bigIntKind = bigIntKind;
|
|
66
34
|
exports.bigint = bigint;
|
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
import '../../../common/stringToBytes.mjs';
|
|
2
|
-
import '../../../common/stringToMillisecond.mjs';
|
|
3
|
-
import '../../../common/globalStore.mjs';
|
|
4
|
-
import '../../../common/builder.mjs';
|
|
5
|
-
import '../../../either/bool/falsy.mjs';
|
|
6
|
-
import '../../../either/bool/truthy.mjs';
|
|
7
|
-
import '../../../either/bool/base.mjs';
|
|
8
|
-
import '../../../either/left/create.mjs';
|
|
9
|
-
import '../../../either/left/error.mjs';
|
|
10
|
-
import '../../../either/left/fail.mjs';
|
|
11
|
-
import '../../../either/kind.mjs';
|
|
12
|
-
import '../../../either/right/success.mjs';
|
|
13
|
-
import '../../../either/right/create.mjs';
|
|
14
|
-
import '../../../either/right/ok.mjs';
|
|
15
|
-
import '../../../either/future/success.mjs';
|
|
16
|
-
import '../../../either/future/error.mjs';
|
|
17
|
-
import '../../../either/future/base.mjs';
|
|
18
|
-
import '../../../either/nullable/empty.mjs';
|
|
19
|
-
import '../../../either/nullable/filled.mjs';
|
|
20
|
-
import '../../../either/nullable/base.mjs';
|
|
21
|
-
import '../../../either/nullish/empty.mjs';
|
|
22
|
-
import '../../../either/nullish/filled.mjs';
|
|
23
|
-
import '../../../either/nullish/base.mjs';
|
|
24
|
-
import '../../../either/optional/empty.mjs';
|
|
25
|
-
import '../../../either/optional/filled.mjs';
|
|
26
|
-
import '../../../either/optional/base.mjs';
|
|
27
|
-
import { createOverride } from '../../../common/override.mjs';
|
|
28
1
|
import { dataParserInit } from '../../base.mjs';
|
|
29
2
|
import { SymbolDataParserErrorIssue } from '../../error.mjs';
|
|
30
3
|
import { createDataParserKind } from '../../kind.mjs';
|
|
31
|
-
|
|
32
|
-
export { checkerBigIntMax, checkerBigIntMaxKind } from './checkers/max.mjs';
|
|
4
|
+
import { createOverride } from '../../../common/override.mjs';
|
|
33
5
|
|
|
34
6
|
const bigIntKind = createDataParserKind("bigint");
|
|
35
7
|
function bigint(definition) {
|
|
@@ -1,35 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../../common/stringToBytes.cjs');
|
|
4
|
-
require('../../common/stringToMillisecond.cjs');
|
|
5
|
-
require('../../common/globalStore.cjs');
|
|
6
|
-
require('../../common/builder.cjs');
|
|
7
|
-
require('../../either/bool/falsy.cjs');
|
|
8
|
-
require('../../either/bool/truthy.cjs');
|
|
9
|
-
require('../../either/bool/base.cjs');
|
|
10
|
-
require('../../either/left/create.cjs');
|
|
11
|
-
require('../../either/left/error.cjs');
|
|
12
|
-
require('../../either/left/fail.cjs');
|
|
13
|
-
require('../../either/kind.cjs');
|
|
14
|
-
require('../../either/right/success.cjs');
|
|
15
|
-
require('../../either/right/create.cjs');
|
|
16
|
-
require('../../either/right/ok.cjs');
|
|
17
|
-
require('../../either/future/success.cjs');
|
|
18
|
-
require('../../either/future/error.cjs');
|
|
19
|
-
require('../../either/future/base.cjs');
|
|
20
|
-
require('../../either/nullable/empty.cjs');
|
|
21
|
-
require('../../either/nullable/filled.cjs');
|
|
22
|
-
require('../../either/nullable/base.cjs');
|
|
23
|
-
require('../../either/nullish/empty.cjs');
|
|
24
|
-
require('../../either/nullish/filled.cjs');
|
|
25
|
-
require('../../either/nullish/base.cjs');
|
|
26
|
-
require('../../either/optional/empty.cjs');
|
|
27
|
-
require('../../either/optional/filled.cjs');
|
|
28
|
-
require('../../either/optional/base.cjs');
|
|
29
|
-
var override = require('../../common/override.cjs');
|
|
30
3
|
var base = require('../base.cjs');
|
|
31
4
|
var error = require('../error.cjs');
|
|
32
5
|
var kind = require('../kind.cjs');
|
|
6
|
+
var override = require('../../common/override.cjs');
|
|
33
7
|
|
|
34
8
|
const booleanKind = kind.createDataParserKind("boolean");
|
|
35
9
|
function boolean(definition) {
|
|
@@ -1,33 +1,7 @@
|
|
|
1
|
-
import '../../common/stringToBytes.mjs';
|
|
2
|
-
import '../../common/stringToMillisecond.mjs';
|
|
3
|
-
import '../../common/globalStore.mjs';
|
|
4
|
-
import '../../common/builder.mjs';
|
|
5
|
-
import '../../either/bool/falsy.mjs';
|
|
6
|
-
import '../../either/bool/truthy.mjs';
|
|
7
|
-
import '../../either/bool/base.mjs';
|
|
8
|
-
import '../../either/left/create.mjs';
|
|
9
|
-
import '../../either/left/error.mjs';
|
|
10
|
-
import '../../either/left/fail.mjs';
|
|
11
|
-
import '../../either/kind.mjs';
|
|
12
|
-
import '../../either/right/success.mjs';
|
|
13
|
-
import '../../either/right/create.mjs';
|
|
14
|
-
import '../../either/right/ok.mjs';
|
|
15
|
-
import '../../either/future/success.mjs';
|
|
16
|
-
import '../../either/future/error.mjs';
|
|
17
|
-
import '../../either/future/base.mjs';
|
|
18
|
-
import '../../either/nullable/empty.mjs';
|
|
19
|
-
import '../../either/nullable/filled.mjs';
|
|
20
|
-
import '../../either/nullable/base.mjs';
|
|
21
|
-
import '../../either/nullish/empty.mjs';
|
|
22
|
-
import '../../either/nullish/filled.mjs';
|
|
23
|
-
import '../../either/nullish/base.mjs';
|
|
24
|
-
import '../../either/optional/empty.mjs';
|
|
25
|
-
import '../../either/optional/filled.mjs';
|
|
26
|
-
import '../../either/optional/base.mjs';
|
|
27
|
-
import { createOverride } from '../../common/override.mjs';
|
|
28
1
|
import { dataParserInit } from '../base.mjs';
|
|
29
2
|
import { SymbolDataParserErrorIssue } from '../error.mjs';
|
|
30
3
|
import { createDataParserKind } from '../kind.mjs';
|
|
4
|
+
import { createOverride } from '../../common/override.mjs';
|
|
31
5
|
|
|
32
6
|
const booleanKind = createDataParserKind("boolean");
|
|
33
7
|
function boolean(definition) {
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../string/index.cjs');
|
|
4
|
-
require('../object/index.cjs');
|
|
5
|
-
require('../number/index.cjs');
|
|
6
|
-
require('../date.cjs');
|
|
7
|
-
require('../literal.cjs');
|
|
8
|
-
require('../union.cjs');
|
|
9
|
-
require('../array/index.cjs');
|
|
10
3
|
var index = require('../bigint/index.cjs');
|
|
11
|
-
require('../tuple.cjs');
|
|
12
|
-
require('../transform.cjs');
|
|
13
|
-
require('../nil.cjs');
|
|
14
|
-
require('../boolean.cjs');
|
|
15
|
-
require('../empty.cjs');
|
|
16
|
-
require('../templateLiteral/index.cjs');
|
|
17
|
-
require('../pipe.cjs');
|
|
18
|
-
require('../optional.cjs');
|
|
19
|
-
require('../nullable.cjs');
|
|
20
|
-
require('../lazy.cjs');
|
|
21
|
-
require('../unknown.cjs');
|
|
22
|
-
require('../record/index.cjs');
|
|
23
|
-
require('../refine.cjs');
|
|
24
|
-
require('../recover.cjs');
|
|
25
4
|
|
|
26
5
|
function bigint(definition) {
|
|
27
6
|
return index.bigint({
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
import '../string/index.mjs';
|
|
2
|
-
import '../object/index.mjs';
|
|
3
|
-
import '../number/index.mjs';
|
|
4
|
-
import '../date.mjs';
|
|
5
|
-
import '../literal.mjs';
|
|
6
|
-
import '../union.mjs';
|
|
7
|
-
import '../array/index.mjs';
|
|
8
1
|
import { bigint as bigint$1 } from '../bigint/index.mjs';
|
|
9
|
-
import '../tuple.mjs';
|
|
10
|
-
import '../transform.mjs';
|
|
11
|
-
import '../nil.mjs';
|
|
12
|
-
import '../boolean.mjs';
|
|
13
|
-
import '../empty.mjs';
|
|
14
|
-
import '../templateLiteral/index.mjs';
|
|
15
|
-
import '../pipe.mjs';
|
|
16
|
-
import '../optional.mjs';
|
|
17
|
-
import '../nullable.mjs';
|
|
18
|
-
import '../lazy.mjs';
|
|
19
|
-
import '../unknown.mjs';
|
|
20
|
-
import '../record/index.mjs';
|
|
21
|
-
import '../refine.mjs';
|
|
22
|
-
import '../recover.mjs';
|
|
23
2
|
|
|
24
3
|
function bigint(definition) {
|
|
25
4
|
return bigint$1({
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../string/index.cjs');
|
|
4
|
-
require('../object/index.cjs');
|
|
5
|
-
require('../number/index.cjs');
|
|
6
|
-
require('../date.cjs');
|
|
7
|
-
require('../literal.cjs');
|
|
8
|
-
require('../union.cjs');
|
|
9
|
-
require('../array/index.cjs');
|
|
10
|
-
require('../bigint/index.cjs');
|
|
11
|
-
require('../tuple.cjs');
|
|
12
|
-
require('../transform.cjs');
|
|
13
|
-
require('../nil.cjs');
|
|
14
3
|
var boolean$1 = require('../boolean.cjs');
|
|
15
|
-
require('../empty.cjs');
|
|
16
|
-
require('../templateLiteral/index.cjs');
|
|
17
|
-
require('../pipe.cjs');
|
|
18
|
-
require('../optional.cjs');
|
|
19
|
-
require('../nullable.cjs');
|
|
20
|
-
require('../lazy.cjs');
|
|
21
|
-
require('../unknown.cjs');
|
|
22
|
-
require('../record/index.cjs');
|
|
23
|
-
require('../refine.cjs');
|
|
24
|
-
require('../recover.cjs');
|
|
25
4
|
|
|
26
5
|
function boolean(definition) {
|
|
27
6
|
return boolean$1.boolean({
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
import '../string/index.mjs';
|
|
2
|
-
import '../object/index.mjs';
|
|
3
|
-
import '../number/index.mjs';
|
|
4
|
-
import '../date.mjs';
|
|
5
|
-
import '../literal.mjs';
|
|
6
|
-
import '../union.mjs';
|
|
7
|
-
import '../array/index.mjs';
|
|
8
|
-
import '../bigint/index.mjs';
|
|
9
|
-
import '../tuple.mjs';
|
|
10
|
-
import '../transform.mjs';
|
|
11
|
-
import '../nil.mjs';
|
|
12
1
|
import { boolean as boolean$1 } from '../boolean.mjs';
|
|
13
|
-
import '../empty.mjs';
|
|
14
|
-
import '../templateLiteral/index.mjs';
|
|
15
|
-
import '../pipe.mjs';
|
|
16
|
-
import '../optional.mjs';
|
|
17
|
-
import '../nullable.mjs';
|
|
18
|
-
import '../lazy.mjs';
|
|
19
|
-
import '../unknown.mjs';
|
|
20
|
-
import '../record/index.mjs';
|
|
21
|
-
import '../refine.mjs';
|
|
22
|
-
import '../recover.mjs';
|
|
23
2
|
|
|
24
3
|
function boolean(definition) {
|
|
25
4
|
return boolean$1({
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../string/index.cjs');
|
|
4
|
-
require('../object/index.cjs');
|
|
5
|
-
require('../number/index.cjs');
|
|
6
3
|
var date$1 = require('../date.cjs');
|
|
7
|
-
require('../literal.cjs');
|
|
8
|
-
require('../union.cjs');
|
|
9
|
-
require('../array/index.cjs');
|
|
10
|
-
require('../bigint/index.cjs');
|
|
11
|
-
require('../tuple.cjs');
|
|
12
|
-
require('../transform.cjs');
|
|
13
|
-
require('../nil.cjs');
|
|
14
|
-
require('../boolean.cjs');
|
|
15
|
-
require('../empty.cjs');
|
|
16
|
-
require('../templateLiteral/index.cjs');
|
|
17
|
-
require('../pipe.cjs');
|
|
18
|
-
require('../optional.cjs');
|
|
19
|
-
require('../nullable.cjs');
|
|
20
|
-
require('../lazy.cjs');
|
|
21
|
-
require('../unknown.cjs');
|
|
22
|
-
require('../record/index.cjs');
|
|
23
|
-
require('../refine.cjs');
|
|
24
|
-
require('../recover.cjs');
|
|
25
4
|
|
|
26
5
|
function date(definition) {
|
|
27
6
|
return date$1.date({
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
import '../string/index.mjs';
|
|
2
|
-
import '../object/index.mjs';
|
|
3
|
-
import '../number/index.mjs';
|
|
4
1
|
import { date as date$1 } from '../date.mjs';
|
|
5
|
-
import '../literal.mjs';
|
|
6
|
-
import '../union.mjs';
|
|
7
|
-
import '../array/index.mjs';
|
|
8
|
-
import '../bigint/index.mjs';
|
|
9
|
-
import '../tuple.mjs';
|
|
10
|
-
import '../transform.mjs';
|
|
11
|
-
import '../nil.mjs';
|
|
12
|
-
import '../boolean.mjs';
|
|
13
|
-
import '../empty.mjs';
|
|
14
|
-
import '../templateLiteral/index.mjs';
|
|
15
|
-
import '../pipe.mjs';
|
|
16
|
-
import '../optional.mjs';
|
|
17
|
-
import '../nullable.mjs';
|
|
18
|
-
import '../lazy.mjs';
|
|
19
|
-
import '../unknown.mjs';
|
|
20
|
-
import '../record/index.mjs';
|
|
21
|
-
import '../refine.mjs';
|
|
22
|
-
import '../recover.mjs';
|
|
23
2
|
|
|
24
3
|
function date(definition) {
|
|
25
4
|
return date$1({
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../string/index.cjs');
|
|
4
|
-
require('../object/index.cjs');
|
|
5
|
-
require('../number/index.cjs');
|
|
6
|
-
require('../date.cjs');
|
|
7
|
-
require('../literal.cjs');
|
|
8
|
-
require('../union.cjs');
|
|
9
|
-
require('../array/index.cjs');
|
|
10
|
-
require('../bigint/index.cjs');
|
|
11
|
-
require('../tuple.cjs');
|
|
12
|
-
require('../transform.cjs');
|
|
13
|
-
require('../nil.cjs');
|
|
14
|
-
require('../boolean.cjs');
|
|
15
3
|
var empty$1 = require('../empty.cjs');
|
|
16
|
-
require('../templateLiteral/index.cjs');
|
|
17
|
-
require('../pipe.cjs');
|
|
18
|
-
require('../optional.cjs');
|
|
19
|
-
require('../nullable.cjs');
|
|
20
|
-
require('../lazy.cjs');
|
|
21
|
-
require('../unknown.cjs');
|
|
22
|
-
require('../record/index.cjs');
|
|
23
|
-
require('../refine.cjs');
|
|
24
|
-
require('../recover.cjs');
|
|
25
4
|
|
|
26
5
|
function empty(definition) {
|
|
27
6
|
return empty$1.empty({
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
import '../string/index.mjs';
|
|
2
|
-
import '../object/index.mjs';
|
|
3
|
-
import '../number/index.mjs';
|
|
4
|
-
import '../date.mjs';
|
|
5
|
-
import '../literal.mjs';
|
|
6
|
-
import '../union.mjs';
|
|
7
|
-
import '../array/index.mjs';
|
|
8
|
-
import '../bigint/index.mjs';
|
|
9
|
-
import '../tuple.mjs';
|
|
10
|
-
import '../transform.mjs';
|
|
11
|
-
import '../nil.mjs';
|
|
12
|
-
import '../boolean.mjs';
|
|
13
1
|
import { empty as empty$1 } from '../empty.mjs';
|
|
14
|
-
import '../templateLiteral/index.mjs';
|
|
15
|
-
import '../pipe.mjs';
|
|
16
|
-
import '../optional.mjs';
|
|
17
|
-
import '../nullable.mjs';
|
|
18
|
-
import '../lazy.mjs';
|
|
19
|
-
import '../unknown.mjs';
|
|
20
|
-
import '../record/index.mjs';
|
|
21
|
-
import '../refine.mjs';
|
|
22
|
-
import '../recover.mjs';
|
|
23
2
|
|
|
24
3
|
function empty(definition) {
|
|
25
4
|
return empty$1({
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../string/index.cjs');
|
|
4
|
-
require('../object/index.cjs');
|
|
5
|
-
require('../number/index.cjs');
|
|
6
|
-
require('../date.cjs');
|
|
7
|
-
require('../literal.cjs');
|
|
8
|
-
require('../union.cjs');
|
|
9
|
-
require('../array/index.cjs');
|
|
10
|
-
require('../bigint/index.cjs');
|
|
11
|
-
require('../tuple.cjs');
|
|
12
|
-
require('../transform.cjs');
|
|
13
3
|
var nil$1 = require('../nil.cjs');
|
|
14
|
-
require('../boolean.cjs');
|
|
15
|
-
require('../empty.cjs');
|
|
16
|
-
require('../templateLiteral/index.cjs');
|
|
17
|
-
require('../pipe.cjs');
|
|
18
|
-
require('../optional.cjs');
|
|
19
|
-
require('../nullable.cjs');
|
|
20
|
-
require('../lazy.cjs');
|
|
21
|
-
require('../unknown.cjs');
|
|
22
|
-
require('../record/index.cjs');
|
|
23
|
-
require('../refine.cjs');
|
|
24
|
-
require('../recover.cjs');
|
|
25
4
|
|
|
26
5
|
function nil(definition) {
|
|
27
6
|
return nil$1.nil({
|