@duplojs/utils 1.1.8 → 1.1.10

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.
Files changed (208) hide show
  1. package/dist/array/reduce.cjs +2 -0
  2. package/dist/array/reduce.mjs +2 -0
  3. package/dist/array/reduceRight.cjs +2 -0
  4. package/dist/array/reduceRight.mjs +2 -0
  5. package/dist/common/builder.cjs +70 -0
  6. package/dist/common/builder.d.ts +34 -0
  7. package/dist/common/builder.mjs +66 -0
  8. package/dist/common/globalStore.cjs +21 -0
  9. package/dist/common/globalStore.d.ts +7 -0
  10. package/dist/common/globalStore.mjs +19 -0
  11. package/dist/common/index.d.ts +2 -0
  12. package/dist/common/instanceOf.cjs +2 -0
  13. package/dist/common/instanceOf.mjs +2 -0
  14. package/dist/common/kind.cjs +5 -3
  15. package/dist/common/kind.d.ts +13 -5
  16. package/dist/common/kind.mjs +5 -4
  17. package/dist/common/wrapValue.cjs +4 -0
  18. package/dist/common/wrapValue.d.ts +1 -0
  19. package/dist/common/wrapValue.mjs +4 -1
  20. package/dist/dataParser/base.cjs +2 -0
  21. package/dist/dataParser/base.d.ts +2 -2
  22. package/dist/dataParser/base.mjs +2 -0
  23. package/dist/dataParser/baseExtended.cjs +2 -0
  24. package/dist/dataParser/baseExtended.d.ts +1 -1
  25. package/dist/dataParser/baseExtended.mjs +2 -0
  26. package/dist/dataParser/error.d.ts +3 -3
  27. package/dist/dataParser/extended/array.cjs +2 -0
  28. package/dist/dataParser/extended/array.mjs +2 -0
  29. package/dist/dataParser/extended/bigint.cjs +2 -0
  30. package/dist/dataParser/extended/bigint.mjs +2 -0
  31. package/dist/dataParser/extended/boolean.cjs +2 -0
  32. package/dist/dataParser/extended/boolean.mjs +2 -0
  33. package/dist/dataParser/extended/coerce/bigint.cjs +2 -0
  34. package/dist/dataParser/extended/coerce/bigint.mjs +2 -0
  35. package/dist/dataParser/extended/coerce/boolean.cjs +2 -0
  36. package/dist/dataParser/extended/coerce/boolean.mjs +2 -0
  37. package/dist/dataParser/extended/coerce/empty.cjs +2 -0
  38. package/dist/dataParser/extended/coerce/empty.mjs +2 -0
  39. package/dist/dataParser/extended/coerce/nil.cjs +2 -0
  40. package/dist/dataParser/extended/coerce/nil.mjs +2 -0
  41. package/dist/dataParser/extended/coerce/number.cjs +2 -0
  42. package/dist/dataParser/extended/coerce/number.mjs +2 -0
  43. package/dist/dataParser/extended/coerce/string.cjs +2 -0
  44. package/dist/dataParser/extended/coerce/string.mjs +2 -0
  45. package/dist/dataParser/extended/empty.cjs +2 -0
  46. package/dist/dataParser/extended/empty.mjs +2 -0
  47. package/dist/dataParser/extended/lazy.cjs +2 -0
  48. package/dist/dataParser/extended/lazy.mjs +2 -0
  49. package/dist/dataParser/extended/literal.cjs +2 -0
  50. package/dist/dataParser/extended/literal.mjs +2 -0
  51. package/dist/dataParser/extended/nil.cjs +2 -0
  52. package/dist/dataParser/extended/nil.mjs +2 -0
  53. package/dist/dataParser/extended/nullable.cjs +2 -0
  54. package/dist/dataParser/extended/nullable.mjs +2 -0
  55. package/dist/dataParser/extended/number.cjs +2 -0
  56. package/dist/dataParser/extended/number.mjs +2 -0
  57. package/dist/dataParser/extended/object.cjs +2 -0
  58. package/dist/dataParser/extended/object.mjs +2 -0
  59. package/dist/dataParser/extended/optional.cjs +2 -0
  60. package/dist/dataParser/extended/optional.mjs +2 -0
  61. package/dist/dataParser/extended/pipe.cjs +2 -0
  62. package/dist/dataParser/extended/pipe.mjs +2 -0
  63. package/dist/dataParser/extended/record.cjs +2 -0
  64. package/dist/dataParser/extended/record.mjs +2 -0
  65. package/dist/dataParser/extended/string.cjs +2 -0
  66. package/dist/dataParser/extended/string.mjs +2 -0
  67. package/dist/dataParser/extended/templateLiteral.cjs +2 -0
  68. package/dist/dataParser/extended/templateLiteral.mjs +2 -0
  69. package/dist/dataParser/extended/transform.cjs +2 -0
  70. package/dist/dataParser/extended/transform.mjs +2 -0
  71. package/dist/dataParser/extended/tuple.cjs +2 -0
  72. package/dist/dataParser/extended/tuple.mjs +2 -0
  73. package/dist/dataParser/extended/union.cjs +2 -0
  74. package/dist/dataParser/extended/union.mjs +2 -0
  75. package/dist/dataParser/extended/unknown.cjs +2 -0
  76. package/dist/dataParser/extended/unknown.mjs +2 -0
  77. package/dist/dataParser/kind.cjs +5 -1
  78. package/dist/dataParser/kind.d.ts +1 -1
  79. package/dist/dataParser/kind.mjs +5 -1
  80. package/dist/dataParser/parsers/array/checkers/max.d.ts +1 -1
  81. package/dist/dataParser/parsers/array/checkers/min.d.ts +1 -1
  82. package/dist/dataParser/parsers/array/index.d.ts +1 -1
  83. package/dist/dataParser/parsers/bigint/checkers/max.d.ts +1 -1
  84. package/dist/dataParser/parsers/bigint/checkers/min.d.ts +1 -1
  85. package/dist/dataParser/parsers/bigint/index.d.ts +1 -1
  86. package/dist/dataParser/parsers/boolean.d.ts +1 -1
  87. package/dist/dataParser/parsers/coerce/bigint.cjs +2 -0
  88. package/dist/dataParser/parsers/coerce/bigint.mjs +2 -0
  89. package/dist/dataParser/parsers/coerce/boolean.cjs +2 -0
  90. package/dist/dataParser/parsers/coerce/boolean.mjs +2 -0
  91. package/dist/dataParser/parsers/coerce/empty.cjs +2 -0
  92. package/dist/dataParser/parsers/coerce/empty.mjs +2 -0
  93. package/dist/dataParser/parsers/coerce/nil.cjs +2 -0
  94. package/dist/dataParser/parsers/coerce/nil.mjs +2 -0
  95. package/dist/dataParser/parsers/coerce/number.cjs +2 -0
  96. package/dist/dataParser/parsers/coerce/number.mjs +2 -0
  97. package/dist/dataParser/parsers/coerce/string.cjs +2 -0
  98. package/dist/dataParser/parsers/coerce/string.mjs +2 -0
  99. package/dist/dataParser/parsers/empty.d.ts +1 -1
  100. package/dist/dataParser/parsers/lazy.d.ts +1 -1
  101. package/dist/dataParser/parsers/literal.cjs +2 -0
  102. package/dist/dataParser/parsers/literal.d.ts +1 -1
  103. package/dist/dataParser/parsers/literal.mjs +2 -0
  104. package/dist/dataParser/parsers/nil.d.ts +1 -1
  105. package/dist/dataParser/parsers/nullable.d.ts +1 -1
  106. package/dist/dataParser/parsers/number/checkers/int.d.ts +1 -1
  107. package/dist/dataParser/parsers/number/checkers/max.d.ts +1 -1
  108. package/dist/dataParser/parsers/number/checkers/min.d.ts +1 -1
  109. package/dist/dataParser/parsers/number/index.d.ts +1 -1
  110. package/dist/dataParser/parsers/object.cjs +2 -0
  111. package/dist/dataParser/parsers/object.d.ts +1 -1
  112. package/dist/dataParser/parsers/object.mjs +2 -0
  113. package/dist/dataParser/parsers/optional.d.ts +1 -1
  114. package/dist/dataParser/parsers/pipe.d.ts +1 -1
  115. package/dist/dataParser/parsers/record.d.ts +1 -1
  116. package/dist/dataParser/parsers/string/checkers/email.d.ts +1 -1
  117. package/dist/dataParser/parsers/string/checkers/max.d.ts +1 -1
  118. package/dist/dataParser/parsers/string/checkers/min.d.ts +1 -1
  119. package/dist/dataParser/parsers/string/checkers/regex.d.ts +1 -1
  120. package/dist/dataParser/parsers/string/checkers/url.d.ts +1 -1
  121. package/dist/dataParser/parsers/string/index.d.ts +1 -1
  122. package/dist/dataParser/parsers/templateLiteral.cjs +2 -0
  123. package/dist/dataParser/parsers/templateLiteral.d.ts +1 -1
  124. package/dist/dataParser/parsers/templateLiteral.mjs +2 -0
  125. package/dist/dataParser/parsers/transform.d.ts +1 -1
  126. package/dist/dataParser/parsers/tuple.d.ts +1 -1
  127. package/dist/dataParser/parsers/union.d.ts +1 -1
  128. package/dist/dataParser/parsers/unknown.d.ts +1 -1
  129. package/dist/either/bool/base.d.ts +1 -1
  130. package/dist/either/bool/falsy.cjs +2 -0
  131. package/dist/either/bool/falsy.d.ts +1 -1
  132. package/dist/either/bool/falsy.mjs +2 -0
  133. package/dist/either/bool/truthy.cjs +2 -0
  134. package/dist/either/bool/truthy.d.ts +1 -1
  135. package/dist/either/bool/truthy.mjs +2 -0
  136. package/dist/either/future/base.d.ts +1 -1
  137. package/dist/either/future/create.cjs +2 -0
  138. package/dist/either/future/create.mjs +2 -0
  139. package/dist/either/future/error.cjs +2 -0
  140. package/dist/either/future/error.d.ts +1 -1
  141. package/dist/either/future/error.mjs +2 -0
  142. package/dist/either/future/success.cjs +2 -0
  143. package/dist/either/future/success.d.ts +1 -1
  144. package/dist/either/future/success.mjs +2 -0
  145. package/dist/either/kind.cjs +5 -1
  146. package/dist/either/kind.d.ts +2 -2
  147. package/dist/either/kind.mjs +5 -1
  148. package/dist/either/left/create.d.ts +1 -1
  149. package/dist/either/left/error.d.ts +1 -1
  150. package/dist/either/left/fail.d.ts +1 -1
  151. package/dist/either/left/when.cjs +2 -0
  152. package/dist/either/left/when.mjs +2 -0
  153. package/dist/either/nullable/base.d.ts +1 -1
  154. package/dist/either/nullable/empty.cjs +2 -0
  155. package/dist/either/nullable/empty.d.ts +1 -1
  156. package/dist/either/nullable/empty.mjs +2 -0
  157. package/dist/either/nullable/filled.cjs +2 -0
  158. package/dist/either/nullable/filled.d.ts +1 -1
  159. package/dist/either/nullable/filled.mjs +2 -0
  160. package/dist/either/nullish/base.d.ts +1 -1
  161. package/dist/either/nullish/empty.cjs +2 -0
  162. package/dist/either/nullish/empty.d.ts +1 -1
  163. package/dist/either/nullish/empty.mjs +2 -0
  164. package/dist/either/nullish/filled.cjs +2 -0
  165. package/dist/either/nullish/filled.d.ts +1 -1
  166. package/dist/either/nullish/filled.mjs +2 -0
  167. package/dist/either/optional/base.d.ts +1 -1
  168. package/dist/either/optional/empty.cjs +2 -0
  169. package/dist/either/optional/empty.d.ts +1 -1
  170. package/dist/either/optional/empty.mjs +2 -0
  171. package/dist/either/optional/filled.cjs +2 -0
  172. package/dist/either/optional/filled.d.ts +1 -1
  173. package/dist/either/optional/filled.mjs +2 -0
  174. package/dist/either/right/asyncPipe.cjs +2 -0
  175. package/dist/either/right/asyncPipe.mjs +2 -0
  176. package/dist/either/right/create.d.ts +1 -1
  177. package/dist/either/right/ok.d.ts +1 -1
  178. package/dist/either/right/pipe.cjs +2 -0
  179. package/dist/either/right/pipe.mjs +2 -0
  180. package/dist/either/right/success.d.ts +1 -1
  181. package/dist/either/right/when.cjs +2 -0
  182. package/dist/either/right/when.mjs +2 -0
  183. package/dist/either/whenHasInformation.cjs +2 -0
  184. package/dist/either/whenHasInformation.mjs +2 -0
  185. package/dist/generator/asyncReduce.cjs +2 -0
  186. package/dist/generator/asyncReduce.mjs +2 -0
  187. package/dist/generator/reduce.cjs +2 -0
  188. package/dist/generator/reduce.mjs +2 -0
  189. package/dist/index.cjs +8 -0
  190. package/dist/index.mjs +4 -2
  191. package/dist/object/deepDiscriminate.cjs +2 -0
  192. package/dist/object/deepDiscriminate.mjs +2 -0
  193. package/dist/object/discriminate.cjs +2 -0
  194. package/dist/object/discriminate.mjs +2 -0
  195. package/dist/object/entries.cjs +4 -1
  196. package/dist/object/entries.mjs +5 -2
  197. package/dist/object/keys.cjs +4 -1
  198. package/dist/object/keys.mjs +5 -2
  199. package/dist/pattern/exhaustive.cjs +2 -0
  200. package/dist/pattern/exhaustive.mjs +2 -0
  201. package/dist/pattern/otherwise.cjs +2 -0
  202. package/dist/pattern/otherwise.mjs +2 -0
  203. package/dist/pattern/result.cjs +2 -0
  204. package/dist/pattern/result.mjs +2 -0
  205. package/dist/string/types/forbiddenString.d.ts +7 -0
  206. package/dist/string/types/index.d.ts +1 -1
  207. package/package.json +1 -1
  208. package/dist/string/types/forbiddenCharacters.d.ts +0 -5
@@ -3,7 +3,7 @@ import { type DataParserCheckerDefinition, type DataParserChecker } from "../../
3
3
  export interface DataParserCheckerDefinitionNumberMax extends DataParserCheckerDefinition {
4
4
  max: number;
5
5
  }
6
- export declare const dataParserCheckerNumberMaxKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-number-max", unknown>>;
6
+ export declare const dataParserCheckerNumberMaxKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-number-max", unknown>>;
7
7
  type _DataParserCheckerNumberMax = (Kind<typeof dataParserCheckerNumberMaxKind.definition> & DataParserChecker<DataParserCheckerDefinitionNumberMax, number>);
8
8
  export interface DataParserCheckerNumberMax extends _DataParserCheckerNumberMax {
9
9
  }
@@ -3,7 +3,7 @@ import { type DataParserCheckerDefinition, type DataParserChecker } from "../../
3
3
  export interface DataParserCheckerDefinitionNumberMin extends DataParserCheckerDefinition {
4
4
  min: number;
5
5
  }
6
- export declare const dataParserCheckerNumberMinKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-number-min", unknown>>;
6
+ export declare const dataParserCheckerNumberMinKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-number-min", unknown>>;
7
7
  type _DataParserCheckerNumberMin = (Kind<typeof dataParserCheckerNumberMinKind.definition> & DataParserChecker<DataParserCheckerDefinitionNumberMin, number>);
8
8
  export interface DataParserCheckerNumberMin extends _DataParserCheckerNumberMin {
9
9
  }
@@ -7,7 +7,7 @@ export type DataParserNumberCheckers = (DataParserCheckerInt | DataParserChecker
7
7
  export interface DataParserDefinitionNumber extends DataParserDefinition<DataParserNumberCheckers> {
8
8
  readonly coerce: boolean;
9
9
  }
10
- export declare const dataParserNumberKind: import("../../../common").KindHandler<import("../../../common").KindDefinition<"@DataParser/number", unknown>>;
10
+ export declare const dataParserNumberKind: import("../../../common").KindHandler<import("../../../common").KindDefinition<"@DuplojsUtilsDataParser/number", unknown>>;
11
11
  type _DataParserNumber<GenericDefinition extends DataParserDefinitionNumber> = (DataParser<GenericDefinition, number, number> & Kind<typeof dataParserNumberKind.definition>);
12
12
  export interface DataParserNumber<GenericDefinition extends DataParserDefinitionNumber = DataParserDefinitionNumber> extends _DataParserNumber<GenericDefinition> {
13
13
  addChecker<GenericChecker extends readonly [
@@ -6,6 +6,8 @@ var forward = require('../../common/forward.cjs');
6
6
  var memo = require('../../common/memo.cjs');
7
7
  var filter = require('../../array/filter.cjs');
8
8
  var map = require('../../array/map.cjs');
9
+ require('../../common/globalStore.cjs');
10
+ require('../../common/builder.cjs');
9
11
  var base = require('../base.cjs');
10
12
  var error = require('../error.cjs');
11
13
  var kind = require('../kind.cjs');
@@ -16,7 +16,7 @@ export interface DataParserDefinitionObject extends DataParserDefinition<never>
16
16
  readonly value: DataParsers;
17
17
  }[]>;
18
18
  }
19
- export declare const dataParserObjectKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/object", unknown>>;
19
+ export declare const dataParserObjectKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/object", unknown>>;
20
20
  type _DataParserObject<GenericDefinition extends DataParserDefinitionObject> = (DataParser<GenericDefinition, DataParserObjectShapeOutput<GenericDefinition["shape"]>, DataParserObjectShapeInput<GenericDefinition["shape"]>> & Kind<typeof dataParserObjectKind.definition>);
21
21
  export interface DataParserObject<GenericDefinition extends DataParserDefinitionObject = DataParserDefinitionObject> extends _DataParserObject<GenericDefinition> {
22
22
  }
@@ -4,6 +4,8 @@ import { forward } from '../../common/forward.mjs';
4
4
  import { memo } from '../../common/memo.mjs';
5
5
  import { filter } from '../../array/filter.mjs';
6
6
  import { map } from '../../array/map.mjs';
7
+ import '../../common/globalStore.mjs';
8
+ import '../../common/builder.mjs';
7
9
  import { dataParserInit, SymbolDataParserError, dataParserKind } from '../base.mjs';
8
10
  import { SymbolDataParserErrorIssue, setErrorPath, popErrorPath } from '../error.mjs';
9
11
  import { createDataParserKind } from '../kind.mjs';
@@ -4,7 +4,7 @@ import { type DataParsers, type MergeDefinition } from "../../dataParser/types";
4
4
  export interface DataParserDefinitionOptional extends DataParserDefinition<never> {
5
5
  readonly inner: DataParsers;
6
6
  }
7
- export declare const dataParserOptionalKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/optional", unknown>>;
7
+ export declare const dataParserOptionalKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/optional", unknown>>;
8
8
  type _DataParserOptional<GenericDefinition extends DataParserDefinitionOptional> = (DataParser<GenericDefinition, Output<GenericDefinition["inner"]> | undefined, Input<GenericDefinition["inner"]> | undefined> & Kind<typeof dataParserOptionalKind.definition>);
9
9
  export interface DataParserOptional<GenericDefinition extends DataParserDefinitionOptional = DataParserDefinitionOptional> extends _DataParserOptional<GenericDefinition> {
10
10
  }
@@ -5,7 +5,7 @@ export interface DataParserDefinitionPipe extends DataParserDefinition<never> {
5
5
  readonly input: DataParsers;
6
6
  readonly output: DataParsers;
7
7
  }
8
- export declare const dataParserPipeKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/pipe", unknown>>;
8
+ export declare const dataParserPipeKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/pipe", unknown>>;
9
9
  type _DataParserPipe<GenericDefinition extends DataParserDefinitionPipe> = (DataParser<GenericDefinition, Output<GenericDefinition["output"]>, Input<GenericDefinition["input"]>> & Kind<typeof dataParserPipeKind.definition>);
10
10
  export interface DataParserPipe<GenericDefinition extends DataParserDefinitionPipe = DataParserDefinitionPipe> extends _DataParserPipe<GenericDefinition> {
11
11
  }
@@ -17,7 +17,7 @@ export interface DataParserDefinitionRecord extends DataParserDefinition<never>
17
17
  readonly key: DataParserRecordKey;
18
18
  readonly value: DataParsers;
19
19
  }
20
- export declare const dataParserRecordKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/record", unknown>>;
20
+ export declare const dataParserRecordKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/record", unknown>>;
21
21
  export type DataParserRecordShapeOutput<GenericDataParserKey extends DataParserRecordKey, GenericDataParserValue extends DataParsers> = Extract<Record<Output<GenericDataParserKey> extends infer InferredKey extends string | number ? `${InferredKey}` : never, Output<GenericDataParserValue> extends infer InferredValue ? InferredValue : never>, any>;
22
22
  export type DataParserRecordShapeInput<GenericDataParserKey extends DataParserRecordKey, GenericDataParserValue extends DataParsers> = Extract<Record<Input<GenericDataParserKey> extends infer InferredKey extends string | number ? InferredKey : never, Input<GenericDataParserValue> extends infer InferredValue ? InferredValue : never>, any>;
23
23
  type _DataParserRecord<GenericDefinition extends DataParserDefinitionRecord> = (DataParser<GenericDefinition, DataParserRecordShapeOutput<GenericDefinition["key"], GenericDefinition["value"]> extends infer InferredOutput ? InferredOutput : never, DataParserRecordShapeInput<GenericDefinition["key"], GenericDefinition["value"]>> & Kind<typeof dataParserRecordKind.definition>);
@@ -4,7 +4,7 @@ export interface DataParserCheckerDefinitionEmail extends DataParserCheckerDefin
4
4
  normalize?: boolean;
5
5
  pattern: RegExp;
6
6
  }
7
- export declare const dataParserCheckerEmailKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-string-email", unknown>>;
7
+ export declare const dataParserCheckerEmailKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-string-email", unknown>>;
8
8
  type _DataParserCheckerEmail = (Kind<typeof dataParserCheckerEmailKind.definition> & DataParserChecker<DataParserCheckerDefinitionEmail, string>);
9
9
  export interface DataParserCheckerEmail extends _DataParserCheckerEmail {
10
10
  }
@@ -3,7 +3,7 @@ import { type DataParserCheckerDefinition, type DataParserChecker } from "../../
3
3
  export interface DataParserCheckerDefinitionStringMax extends DataParserCheckerDefinition {
4
4
  max: number;
5
5
  }
6
- export declare const dataParserCheckerStringMaxKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-string-max", unknown>>;
6
+ export declare const dataParserCheckerStringMaxKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-string-max", unknown>>;
7
7
  type _DataParserCheckerStringMax = (Kind<typeof dataParserCheckerStringMaxKind.definition> & DataParserChecker<DataParserCheckerDefinitionStringMax, string>);
8
8
  export interface DataParserCheckerStringMax extends _DataParserCheckerStringMax {
9
9
  }
@@ -3,7 +3,7 @@ import { type DataParserCheckerDefinition, type DataParserChecker } from "../../
3
3
  export interface DataParserCheckerDefinitionStringMin extends DataParserCheckerDefinition {
4
4
  min: number;
5
5
  }
6
- export declare const dataParserCheckerStringMinKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-string-min", unknown>>;
6
+ export declare const dataParserCheckerStringMinKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-string-min", unknown>>;
7
7
  type _DataParserCheckerStringMin = (Kind<typeof dataParserCheckerStringMinKind.definition> & DataParserChecker<DataParserCheckerDefinitionStringMin, string>);
8
8
  export interface DataParserCheckerStringMin extends _DataParserCheckerStringMin {
9
9
  }
@@ -3,7 +3,7 @@ import { type DataParserCheckerDefinition, type DataParserChecker } from "../../
3
3
  export interface DataParserCheckerDefinitionStringRegex extends DataParserCheckerDefinition {
4
4
  regex: RegExp;
5
5
  }
6
- export declare const dataParserCheckerStringRegexKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-string-regex", unknown>>;
6
+ export declare const dataParserCheckerStringRegexKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-string-regex", unknown>>;
7
7
  type _DataParserCheckerStringRegex = (Kind<typeof dataParserCheckerStringRegexKind.definition> & DataParserChecker<DataParserCheckerDefinitionStringRegex, string>);
8
8
  export interface DataParserCheckerStringRegex extends _DataParserCheckerStringRegex {
9
9
  }
@@ -5,7 +5,7 @@ export interface DataParserCheckerDefinitionUrl extends DataParserCheckerDefinit
5
5
  protocol?: RegExp;
6
6
  normalize?: boolean;
7
7
  }
8
- export declare const dataParserCheckerUrlKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DataParser/checker-string-url", unknown>>;
8
+ export declare const dataParserCheckerUrlKind: import("../../../../common").KindHandler<import("../../../../common").KindDefinition<"@DuplojsUtilsDataParser/checker-string-url", unknown>>;
9
9
  type _DataParserCheckerUrl = (Kind<typeof dataParserCheckerUrlKind.definition> & DataParserChecker<DataParserCheckerDefinitionUrl, string>);
10
10
  export interface DataParserCheckerUrl extends _DataParserCheckerUrl {
11
11
  }
@@ -7,7 +7,7 @@ export type DataParserStringCheckers = (DataParserCheckerUrl | DataParserChecker
7
7
  export interface DataParserDefinitionString extends DataParserDefinition<DataParserStringCheckers> {
8
8
  readonly coerce: boolean;
9
9
  }
10
- export declare const dataParserStringKind: import("../../../common").KindHandler<import("../../../common").KindDefinition<"@DataParser/string", unknown>>;
10
+ export declare const dataParserStringKind: import("../../../common").KindHandler<import("../../../common").KindDefinition<"@DuplojsUtilsDataParser/string", unknown>>;
11
11
  type _DataParserString<GenericDefinition extends DataParserDefinitionString> = (DataParser<GenericDefinition, string, string> & Kind<typeof dataParserStringKind.definition>);
12
12
  export interface DataParserString<GenericDefinition extends DataParserDefinitionString = DataParserDefinitionString> extends _DataParserString<GenericDefinition> {
13
13
  addChecker<GenericChecker extends readonly [
@@ -8,6 +8,8 @@ var isType = require('../../common/isType.cjs');
8
8
  var whenElse = require('../../common/whenElse.cjs');
9
9
  var map = require('../../array/map.cjs');
10
10
  var join = require('../../array/join.cjs');
11
+ require('../../common/globalStore.cjs');
12
+ require('../../common/builder.cjs');
11
13
  var base = require('../base.cjs');
12
14
  var error = require('../error.cjs');
13
15
  require('../../pattern/result.cjs');
@@ -39,7 +39,7 @@ export interface DataParserDefinitionTemplateLiteral extends DataParserDefinitio
39
39
  readonly template: TemplateLiteralShape;
40
40
  readonly pattern: RegExp;
41
41
  }
42
- export declare const dataParserTemplateLiteralKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/template-literal", unknown>>;
42
+ export declare const dataParserTemplateLiteralKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/template-literal", unknown>>;
43
43
  type _DataParserTemplateLiteral<GenericDefinition extends DataParserDefinitionTemplateLiteral> = (DataParser<GenericDefinition, TemplateLiteralShapeOutput<GenericDefinition["template"]>, TemplateLiteralShapeInput<GenericDefinition["template"]>> & Kind<typeof dataParserTemplateLiteralKind.definition>);
44
44
  export interface DataParserTemplateLiteral<GenericDefinition extends DataParserDefinitionTemplateLiteral = DataParserDefinitionTemplateLiteral> extends _DataParserTemplateLiteral<GenericDefinition> {
45
45
  }
@@ -6,6 +6,8 @@ import { isType } from '../../common/isType.mjs';
6
6
  import { whenElse } from '../../common/whenElse.mjs';
7
7
  import { map } from '../../array/map.mjs';
8
8
  import { join } from '../../array/join.mjs';
9
+ import '../../common/globalStore.mjs';
10
+ import '../../common/builder.mjs';
9
11
  import { dataParserInit } from '../base.mjs';
10
12
  import { SymbolDataParserErrorIssue } from '../error.mjs';
11
13
  import '../../pattern/result.mjs';
@@ -6,7 +6,7 @@ export interface DataParserDefinitionTransform extends DataParserDefinition<neve
6
6
  readonly inner: DataParsers;
7
7
  theFunction(input: any, error: DataParserError): unknown;
8
8
  }
9
- export declare const dataParserTransformKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/transform", unknown>>;
9
+ export declare const dataParserTransformKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/transform", unknown>>;
10
10
  type _DataParserTransform<GenericDefinition extends DataParserDefinitionTransform> = (DataParser<GenericDefinition, Exclude<Awaited<ReturnType<GenericDefinition["theFunction"]>>, SymbolDataParserError | SymbolDataParserErrorIssue | SymbolDataParserErrorPromiseIssue>, Input<GenericDefinition["inner"]>> & Kind<typeof dataParserTransformKind.definition>);
11
11
  export interface DataParserTransform<GenericDefinition extends DataParserDefinitionTransform = DataParserDefinitionTransform> extends _DataParserTransform<GenericDefinition> {
12
12
  }
@@ -22,7 +22,7 @@ export interface DataParserDefinitionTuple extends DataParserDefinition<DataPars
22
22
  readonly shape: TupleShape;
23
23
  readonly rest?: DataParsers;
24
24
  }
25
- export declare const dataParserTupleKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/tuple", unknown>>;
25
+ export declare const dataParserTupleKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/tuple", unknown>>;
26
26
  type _DataParserTuple<GenericDefinition extends DataParserDefinitionTuple> = (DataParser<GenericDefinition, DataParserTupleShapeOutput<GenericDefinition["shape"], GenericDefinition["rest"]>, DataParserTupleShapeInput<GenericDefinition["shape"], GenericDefinition["rest"]>> & Kind<typeof dataParserTupleKind.definition>);
27
27
  export interface DataParserTuple<GenericDefinition extends DataParserDefinitionTuple = DataParserDefinitionTuple> extends _DataParserTuple<GenericDefinition> {
28
28
  addChecker<GenericChecker extends [DataParserTupleCheckers, ...DataParserTupleCheckers[]]>(...args: GenericChecker): DataParserTuple<AddCheckersToDefinition<GenericDefinition, GenericChecker>>;
@@ -5,7 +5,7 @@ export type UnionOptions = readonly [DataParsers, ...DataParsers[]];
5
5
  export interface DataParserDefinitionUnion extends DataParserDefinition<never> {
6
6
  readonly options: UnionOptions;
7
7
  }
8
- export declare const dataParserUnionKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/union", unknown>>;
8
+ export declare const dataParserUnionKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/union", unknown>>;
9
9
  type _DataParserUnion<GenericDefinition extends DataParserDefinitionUnion> = (DataParser<GenericDefinition, Output<GenericDefinition["options"][number]>, Input<GenericDefinition["options"][number]>> & Kind<typeof dataParserUnionKind.definition>);
10
10
  export interface DataParserUnion<GenericDefinition extends DataParserDefinitionUnion = DataParserDefinitionUnion> extends _DataParserUnion<GenericDefinition> {
11
11
  }
@@ -3,7 +3,7 @@ import { type DataParserDefinition, type DataParser } from "../base";
3
3
  import { type MergeDefinition } from "../../dataParser/types";
4
4
  export interface DataParserDefinitionUnknown extends DataParserDefinition<never> {
5
5
  }
6
- export declare const dataParserUnknownKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DataParser/unknown", unknown>>;
6
+ export declare const dataParserUnknownKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsDataParser/unknown", unknown>>;
7
7
  type _DataParserUnknown<GenericDefinition extends DataParserDefinitionUnknown> = (DataParser<GenericDefinition, unknown, unknown> & Kind<typeof dataParserUnknownKind.definition>);
8
8
  export interface DataParserUnknown<GenericDefinition extends DataParserDefinitionUnknown = DataParserDefinitionUnknown> extends _DataParserUnknown<GenericDefinition> {
9
9
  }
@@ -1 +1 @@
1
- export declare const eitherBoolKind: import("../..").KindHandler<import("../..").KindDefinition<"@Either/bool", unknown>>;
1
+ export declare const eitherBoolKind: import("../..").KindHandler<import("../..").KindDefinition<"@DuplojsUtilsEither/bool", unknown>>;
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var unwrap = require('../../common/unwrap.cjs');
4
+ require('../../common/globalStore.cjs');
5
+ require('../../common/builder.cjs');
4
6
  var kind = require('../kind.cjs');
5
7
  var base = require('./base.cjs');
6
8
  var create$1 = require('./create.cjs');
@@ -5,7 +5,7 @@ import { bool } from "./create";
5
5
  import { type EitherLeft } from "../left";
6
6
  import { type EitherRight } from "../right";
7
7
  export type BoolFalsyValue = 0 | "" | undefined | null | false;
8
- export declare const eitherBoolFalsyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@Either/bool-falsy", unknown>>;
8
+ export declare const eitherBoolFalsyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsEither/bool-falsy", unknown>>;
9
9
  type _EitherBoolFalsy<GenericValue extends BoolFalsyValue = BoolFalsyValue> = (EitherLeft<"bool", GenericValue> & Kind<typeof eitherBoolKind.definition> & Kind<typeof eitherBoolFalsyKind.definition>);
10
10
  export interface EitherBoolFalsy<GenericValue extends BoolFalsyValue = BoolFalsyValue> extends _EitherBoolFalsy<GenericValue> {
11
11
  }
@@ -1,4 +1,6 @@
1
1
  import { unwrap } from '../../common/unwrap.mjs';
2
+ import '../../common/globalStore.mjs';
3
+ import '../../common/builder.mjs';
2
4
  import { createEitherKind } from '../kind.mjs';
3
5
  import { eitherBoolKind } from './base.mjs';
4
6
  import { bool } from './create.mjs';
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var unwrap = require('../../common/unwrap.cjs');
4
+ require('../../common/globalStore.cjs');
5
+ require('../../common/builder.cjs');
4
6
  var base = require('./base.cjs');
5
7
  var kind = require('../kind.cjs');
6
8
  var is$1 = require('../left/is.cjs');
@@ -4,7 +4,7 @@ import { eitherBoolKind } from "./base";
4
4
  import { type EitherLeft } from "../left";
5
5
  import { type EitherRight } from "../right";
6
6
  import { bool } from "./create";
7
- export declare const eitherBoolTruthyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@Either/bool-truthy", unknown>>;
7
+ export declare const eitherBoolTruthyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsEither/bool-truthy", unknown>>;
8
8
  type _EitherBoolTruthy<GenericValue extends unknown = unknown> = (EitherRight<"bool", GenericValue> & Kind<typeof eitherBoolKind.definition> & Kind<typeof eitherBoolTruthyKind.definition>);
9
9
  export interface EitherBoolTruthy<GenericValue extends unknown = unknown> extends _EitherBoolTruthy<GenericValue> {
10
10
  }
@@ -1,4 +1,6 @@
1
1
  import { unwrap } from '../../common/unwrap.mjs';
2
+ import '../../common/globalStore.mjs';
3
+ import '../../common/builder.mjs';
2
4
  import { eitherBoolKind } from './base.mjs';
3
5
  import { createEitherKind } from '../kind.mjs';
4
6
  import { isLeft } from '../left/is.mjs';
@@ -1 +1 @@
1
- export declare const eitherFutureKind: import("../..").KindHandler<import("../..").KindDefinition<"@Either/future", unknown>>;
1
+ export declare const eitherFutureKind: import("../..").KindHandler<import("../..").KindDefinition<"@DuplojsUtilsEither/future", unknown>>;
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('../../common/globalStore.cjs');
4
+ require('../../common/builder.cjs');
3
5
  var is$1 = require('../left/is.cjs');
4
6
  var success = require('./success.cjs');
5
7
  var error = require('./error.cjs');
@@ -1,3 +1,5 @@
1
+ import '../../common/globalStore.mjs';
2
+ import '../../common/builder.mjs';
1
3
  import { isLeft } from '../left/is.mjs';
2
4
  import { futureSuccess } from './success.mjs';
3
5
  import { futureError } from './error.mjs';
@@ -2,6 +2,8 @@
2
2
 
3
3
  var create = require('../left/create.cjs');
4
4
  var kind = require('../kind.cjs');
5
+ require('../../common/globalStore.cjs');
6
+ require('../../common/builder.cjs');
5
7
  var base = require('./base.cjs');
6
8
 
7
9
  const eitherFutureErrorKind = kind.createEitherKind("future-error");
@@ -1,7 +1,7 @@
1
1
  import { type Kind } from "../../common/kind";
2
2
  import { type EitherLeft } from "../left";
3
3
  import { eitherFutureKind } from "./base";
4
- export declare const eitherFutureErrorKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@Either/future-error", unknown>>;
4
+ export declare const eitherFutureErrorKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@DuplojsUtilsEither/future-error", unknown>>;
5
5
  type _EitherFutureError = (EitherLeft<"future", unknown> & Kind<typeof eitherFutureKind.definition> & Kind<typeof eitherFutureErrorKind.definition>);
6
6
  export interface EitherFutureError extends _EitherFutureError {
7
7
  }
@@ -1,5 +1,7 @@
1
1
  import { left } from '../left/create.mjs';
2
2
  import { createEitherKind } from '../kind.mjs';
3
+ import '../../common/globalStore.mjs';
4
+ import '../../common/builder.mjs';
3
5
  import { eitherFutureKind } from './base.mjs';
4
6
 
5
7
  const eitherFutureErrorKind = createEitherKind("future-error");
@@ -2,6 +2,8 @@
2
2
 
3
3
  var kind = require('../kind.cjs');
4
4
  var base = require('./base.cjs');
5
+ require('../../common/globalStore.cjs');
6
+ require('../../common/builder.cjs');
5
7
  var create = require('../right/create.cjs');
6
8
 
7
9
  const eitherFutureSuccessKind = kind.createEitherKind("future-success");
@@ -1,7 +1,7 @@
1
1
  import { type Kind } from "../../common/kind";
2
2
  import { eitherFutureKind } from "./base";
3
3
  import { type EitherRight } from "../right";
4
- export declare const eitherFutureSuccessKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@Either/future-success", unknown>>;
4
+ export declare const eitherFutureSuccessKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@DuplojsUtilsEither/future-success", unknown>>;
5
5
  type _EitherFutureSuccess<GenericValue extends unknown = unknown> = (EitherRight<"future", GenericValue> & Kind<typeof eitherFutureKind.definition> & Kind<typeof eitherFutureSuccessKind.definition>);
6
6
  export interface EitherFutureSuccess<GenericValue extends unknown = unknown> extends _EitherFutureSuccess<GenericValue> {
7
7
  }
@@ -1,5 +1,7 @@
1
1
  import { createEitherKind } from '../kind.mjs';
2
2
  import { eitherFutureKind } from './base.mjs';
3
+ import '../../common/globalStore.mjs';
4
+ import '../../common/builder.mjs';
3
5
  import { right } from '../right/create.mjs';
4
6
 
5
7
  const eitherFutureSuccessKind = createEitherKind("future-success");
@@ -1,8 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var kind = require('../common/kind.cjs');
4
+ require('../common/globalStore.cjs');
5
+ require('../common/builder.cjs');
4
6
 
5
- const createEitherKind = kind.createKindNamespace("Either");
7
+ const createEitherKind = kind.createKindNamespace(
8
+ // @ts-expect-error reserved kind namespace
9
+ "DuplojsUtilsEither");
6
10
  const eitherInformationKind = createEitherKind("information");
7
11
 
8
12
  exports.createEitherKind = createEitherKind;
@@ -1,2 +1,2 @@
1
- export declare const createEitherKind: <GenericName extends string, GenericKindValue extends unknown = unknown>(name: GenericName & import("../string").ForbiddenCharacters<GenericName, "@" | "/">) => import("../common").KindHandler<import("../common").KindDefinition<`@Either/${GenericName}`, GenericKindValue>>;
2
- export declare const eitherInformationKind: import("../common").KindHandler<import("../common").KindDefinition<"@Either/information", string>>;
1
+ export declare const createEitherKind: <GenericName extends string, GenericKindValue extends unknown = unknown>(name: GenericName & import("../string").ForbiddenString<GenericName, "@" | "/">) => import("../common").KindHandler<import("../common").KindDefinition<`@DuplojsUtilsEither/${GenericName}`, GenericKindValue>>;
2
+ export declare const eitherInformationKind: import("../common").KindHandler<import("../common").KindDefinition<"@DuplojsUtilsEither/information", string>>;
@@ -1,6 +1,10 @@
1
1
  import { createKindNamespace } from '../common/kind.mjs';
2
+ import '../common/globalStore.mjs';
3
+ import '../common/builder.mjs';
2
4
 
3
- const createEitherKind = createKindNamespace("Either");
5
+ const createEitherKind = createKindNamespace(
6
+ // @ts-expect-error reserved kind namespace
7
+ "DuplojsUtilsEither");
4
8
  const eitherInformationKind = createEitherKind("information");
5
9
 
6
10
  export { createEitherKind, eitherInformationKind };
@@ -1,7 +1,7 @@
1
1
  import { type Kind } from "../../common/kind";
2
2
  import { type WrappedValue } from "../../common/wrapValue";
3
3
  import { eitherInformationKind } from "../kind";
4
- export declare const eitherLeftKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@Either/left", unknown>>;
4
+ export declare const eitherLeftKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@DuplojsUtilsEither/left", unknown>>;
5
5
  type _EitherLeft<GenericInformation extends string = string, GenericValue extends unknown = unknown> = (Kind<typeof eitherLeftKind.definition> & Kind<typeof eitherInformationKind.definition, GenericInformation> & WrappedValue<GenericValue>);
6
6
  export interface EitherLeft<GenericInformation extends string = string, GenericValue extends unknown = unknown> extends _EitherLeft<GenericInformation, GenericValue> {
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { type Kind } from "../../common/kind";
2
2
  import { type EitherLeft } from "./create";
3
- export declare const eitherErrorKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@Either/error", unknown>>;
3
+ export declare const eitherErrorKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@DuplojsUtilsEither/error", unknown>>;
4
4
  type _EitherError<GenericValue extends unknown = unknown> = (EitherLeft<"error", GenericValue> & Kind<typeof eitherErrorKind.definition>);
5
5
  export interface EitherError<GenericValue extends unknown = unknown> extends _EitherError<GenericValue> {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { type Kind } from "../../common/kind";
2
2
  import { type EitherLeft } from "./create";
3
- export declare const eitherFailKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@Either/fail", unknown>>;
3
+ export declare const eitherFailKind: import("../../common/kind").KindHandler<import("../../common/kind").KindDefinition<"@DuplojsUtilsEither/fail", unknown>>;
4
4
  type _EitherFail = (EitherLeft<"fail", never> & Kind<typeof eitherFailKind.definition>);
5
5
  export interface EitherFail extends _EitherFail {
6
6
  }
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var unwrap = require('../../common/unwrap.cjs');
4
+ require('../../common/globalStore.cjs');
5
+ require('../../common/builder.cjs');
4
6
  var is = require('./is.cjs');
5
7
 
6
8
  function whenIsLeft(...args) {
@@ -1,4 +1,6 @@
1
1
  import { unwrap } from '../../common/unwrap.mjs';
2
+ import '../../common/globalStore.mjs';
3
+ import '../../common/builder.mjs';
2
4
  import { isLeft } from './is.mjs';
3
5
 
4
6
  function whenIsLeft(...args) {
@@ -1 +1 @@
1
- export declare const eitherNullableKind: import("../..").KindHandler<import("../..").KindDefinition<"@Either/nullable", unknown>>;
1
+ export declare const eitherNullableKind: import("../..").KindHandler<import("../..").KindDefinition<"@DuplojsUtilsEither/nullable", unknown>>;
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var unwrap = require('../../common/unwrap.cjs');
4
+ require('../../common/globalStore.cjs');
5
+ require('../../common/builder.cjs');
4
6
  var create = require('../left/create.cjs');
5
7
  var kind = require('../kind.cjs');
6
8
  var is = require('../left/is.cjs');
@@ -4,7 +4,7 @@ import { type EitherLeft } from "../left";
4
4
  import { type EitherRight } from "../right";
5
5
  import { nullable } from "./create";
6
6
  import { eitherNullableKind } from "./base";
7
- export declare const eitherNullableEmptyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@Either/nullable-empty", unknown>>;
7
+ export declare const eitherNullableEmptyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsEither/nullable-empty", unknown>>;
8
8
  type _EitherNullableEmpty = (EitherLeft<"nullable", null> & Kind<typeof eitherNullableKind.definition> & Kind<typeof eitherNullableEmptyKind.definition>);
9
9
  export interface EitherNullableEmpty extends _EitherNullableEmpty {
10
10
  }
@@ -1,4 +1,6 @@
1
1
  import { unwrap } from '../../common/unwrap.mjs';
2
+ import '../../common/globalStore.mjs';
3
+ import '../../common/builder.mjs';
2
4
  import { left } from '../left/create.mjs';
3
5
  import { createEitherKind } from '../kind.mjs';
4
6
  import { isLeft } from '../left/is.mjs';
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var unwrap = require('../../common/unwrap.cjs');
4
+ require('../../common/globalStore.cjs');
5
+ require('../../common/builder.cjs');
4
6
  var kind = require('../kind.cjs');
5
7
  var is$1 = require('../left/is.cjs');
6
8
  var create = require('../right/create.cjs');
@@ -4,7 +4,7 @@ import { type EitherLeft } from "../left";
4
4
  import { type EitherRight } from "../right";
5
5
  import { nullable } from "./create";
6
6
  import { eitherNullableKind } from "./base";
7
- export declare const eitherNullableFilledKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@Either/nullable-filled", unknown>>;
7
+ export declare const eitherNullableFilledKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsEither/nullable-filled", unknown>>;
8
8
  type _EitherNullableFilled<GenericValue extends unknown = unknown> = (EitherRight<"nullable", GenericValue> & Kind<typeof eitherNullableKind.definition> & Kind<typeof eitherNullableFilledKind.definition>);
9
9
  export interface EitherNullableFilled<GenericValue extends unknown = unknown> extends _EitherNullableFilled<GenericValue> {
10
10
  }
@@ -1,4 +1,6 @@
1
1
  import { unwrap } from '../../common/unwrap.mjs';
2
+ import '../../common/globalStore.mjs';
3
+ import '../../common/builder.mjs';
2
4
  import { createEitherKind } from '../kind.mjs';
3
5
  import { isLeft } from '../left/is.mjs';
4
6
  import { right } from '../right/create.mjs';
@@ -1 +1 @@
1
- export declare const eitherNullishKind: import("../..").KindHandler<import("../..").KindDefinition<"@Either/nullish", unknown>>;
1
+ export declare const eitherNullishKind: import("../..").KindHandler<import("../..").KindDefinition<"@DuplojsUtilsEither/nullish", unknown>>;
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var unwrap = require('../../common/unwrap.cjs');
4
+ require('../../common/globalStore.cjs');
5
+ require('../../common/builder.cjs');
4
6
  var kind = require('../kind.cjs');
5
7
  var create = require('../left/create.cjs');
6
8
  var is = require('../left/is.cjs');
@@ -5,7 +5,7 @@ import { type EitherRight } from "../right";
5
5
  import { nullish } from "./create";
6
6
  import { eitherNullishKind } from "./base";
7
7
  export type NullishValue = null | undefined;
8
- export declare const eitherNullishEmptyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@Either/nullish-empty", unknown>>;
8
+ export declare const eitherNullishEmptyKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsEither/nullish-empty", unknown>>;
9
9
  type _EitherNullishEmpty<GenericValue extends NullishValue = NullishValue> = (EitherLeft<"nullish", GenericValue> & Kind<typeof eitherNullishKind.definition> & Kind<typeof eitherNullishEmptyKind.definition>);
10
10
  export interface EitherNullishEmpty<GenericValue extends NullishValue = NullishValue> extends _EitherNullishEmpty<GenericValue> {
11
11
  }
@@ -1,4 +1,6 @@
1
1
  import { unwrap } from '../../common/unwrap.mjs';
2
+ import '../../common/globalStore.mjs';
3
+ import '../../common/builder.mjs';
2
4
  import { createEitherKind } from '../kind.mjs';
3
5
  import { left } from '../left/create.mjs';
4
6
  import { isLeft } from '../left/is.mjs';
@@ -3,6 +3,8 @@
3
3
  var kind = require('../kind.cjs');
4
4
  var is$1 = require('../left/is.cjs');
5
5
  var unwrap = require('../../common/unwrap.cjs');
6
+ require('../../common/globalStore.cjs');
7
+ require('../../common/builder.cjs');
6
8
  var create = require('../right/create.cjs');
7
9
  var is = require('../right/is.cjs');
8
10
  var create$1 = require('./create.cjs');
@@ -4,7 +4,7 @@ import { nullish } from "./create";
4
4
  import { type Kind } from "../../common/kind";
5
5
  import { type EscapeVoid, type AnyValue, type Unwrap, type BreakGenericLink } from "../../common";
6
6
  import { eitherNullishKind } from "./base";
7
- export declare const eitherNullishFilledKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@Either/nullish-filled", unknown>>;
7
+ export declare const eitherNullishFilledKind: import("../../common").KindHandler<import("../../common").KindDefinition<"@DuplojsUtilsEither/nullish-filled", unknown>>;
8
8
  type _EitherNullishFilled<GenericValue extends unknown = unknown> = (EitherRight<"nullish", GenericValue> & Kind<typeof eitherNullishKind.definition> & Kind<typeof eitherNullishFilledKind.definition>);
9
9
  export interface EitherNullishFilled<GenericValue extends unknown = unknown> extends _EitherNullishFilled<GenericValue> {
10
10
  }