@strictly/define 0.0.30 → 0.0.32

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 (224) hide show
  1. package/.out/index.d.ts +26 -26
  2. package/.out/index.js +26 -26
  3. package/.out/transformers/copies/copy.d.ts +3 -3
  4. package/.out/transformers/copies/copy.js +1 -1
  5. package/.out/transformers/copies/{copy_to.d.ts → copyTo.d.ts} +3 -3
  6. package/.out/transformers/copies/{copy_to.js → copyTo.js} +2 -3
  7. package/.out/transformers/copies/mobxCopy.d.ts +5 -0
  8. package/.out/transformers/copies/{mobx_copy.js → mobxCopy.js} +5 -5
  9. package/.out/transformers/copies/specs/{copy_to.tests.js → copyTo.tests.js} +3 -3
  10. package/.out/transformers/copies/specs/{mobx_copy.tests.js → mobxCopy.tests.js} +1 -1
  11. package/.out/transformers/equals.d.ts +2 -2
  12. package/.out/transformers/equals.js +1 -1
  13. package/.out/transformers/flatteners/{flatten_accessors_of_type.d.ts → flattenAccessorsOfType.d.ts} +4 -4
  14. package/.out/transformers/flatteners/{flatten_accessors_of_type.js → flattenAccessorsOfType.js} +1 -1
  15. package/.out/transformers/flatteners/{flatten_json_value_to_type_paths_of.d.ts → flattenJsonValueToTypePathsOf.d.ts} +2 -2
  16. package/.out/transformers/flatteners/{flatten_json_value_to_type_paths_of.js → flattenJsonValueToTypePathsOf.js} +1 -1
  17. package/.out/transformers/flatteners/{flatten_type_to.d.ts → flattenTypeTo.d.ts} +1 -1
  18. package/.out/transformers/flatteners/{flatten_type_to.js → flattenTypeTo.js} +2 -2
  19. package/.out/transformers/flatteners/flattenTypesOfType.d.ts +3 -0
  20. package/.out/transformers/flatteners/{flatten_types_of_type.js → flattenTypesOfType.js} +1 -1
  21. package/.out/transformers/flatteners/{flatten_validation_errors_of_type.d.ts → flattenValidationErrorsOfType.d.ts} +5 -5
  22. package/.out/transformers/flatteners/{flatten_validation_errors_of_type.js → flattenValidationErrorsOfType.js} +1 -1
  23. package/.out/transformers/flatteners/{flatten_validators_of_validating_type.d.ts → flattenValidatorsOfValidatingType.d.ts} +3 -3
  24. package/.out/transformers/flatteners/{flatten_validators_of_validating_type.js → flattenValidatorsOfValidatingType.js} +1 -1
  25. package/.out/transformers/flatteners/{flatten_value_to.d.ts → flattenValueTo.d.ts} +5 -5
  26. package/.out/transformers/flatteners/{flatten_value_to.js → flattenValueTo.js} +2 -2
  27. package/.out/transformers/flatteners/{flatten_values_of_type.d.ts → flattenValuesOfType.d.ts} +2 -2
  28. package/.out/transformers/flatteners/{flatten_values_of_type.js → flattenValuesOfType.js} +1 -1
  29. package/.out/transformers/flatteners/specs/{flatten_accessors_of_type.tests.js → flattenAccessorsOfType.tests.js} +1 -1
  30. package/.out/transformers/flatteners/specs/{flatten_json_value_to_type_paths_of.tests.js → flattenJsonValueToTypePathsOf.tests.js} +2 -1
  31. package/.out/transformers/flatteners/specs/{flatten_type_to.tests.js → flattenTypeTo.tests.js} +5 -3
  32. package/.out/transformers/flatteners/specs/{flatten_types_of_type.tests.js → flattenTypesOfType.tests.js} +1 -1
  33. package/.out/transformers/flatteners/specs/{flatten_validation_errors_of_type.tests.js → flattenValidationErrorsOfType.tests.js} +1 -1
  34. package/.out/transformers/flatteners/specs/{flatten_value_to.tests.js → flattenValueTo.tests.js} +2 -1
  35. package/.out/transformers/flatteners/specs/{flatten_values_of_type.tests.js → flattenValuesOfType.tests.js} +1 -1
  36. package/.out/transformers/flatteners/specs/{json_paths.tests.js → jsonPaths.tests.js} +1 -1
  37. package/.out/transformers/flatteners/specs/{value_path_to_type_path.tests.js → valuePathToTypePath.tests.js} +1 -1
  38. package/.out/transformers/flatteners/{value_path_to_type_path.d.ts → valuePathToTypePath.d.ts} +1 -1
  39. package/.out/transformers/flatteners/{value_path_to_type_path.js → valuePathToTypePath.js} +1 -1
  40. package/.out/tsconfig.tsbuildinfo +1 -1
  41. package/.out/types/{flattened_accessors_of_type.d.ts → FlattenedAccessorsOfType.d.ts} +2 -2
  42. package/.out/types/{flattened_types_of_type.d.ts → FlattenedTypesOfType.d.ts} +2 -2
  43. package/.out/types/{flattened_types_of_validating_type.d.ts → FlattenedTypesOfValidatingType.d.ts} +3 -3
  44. package/.out/types/{flattened_validators_of_validating_type.d.ts → FlattenedValidatorsOfValidatingType.d.ts} +4 -4
  45. package/.out/types/{flattened_values_of_type.d.ts → FlattenedValuesOfType.d.ts} +3 -3
  46. package/.out/types/{mobx_value_of_type.d.ts → MobxValueOfType.d.ts} +2 -2
  47. package/.out/types/{partial_type_of_type.d.ts → PartialTypeOfType.d.ts} +1 -1
  48. package/.out/types/{paths_of_type.d.ts → PathsOfType.d.ts} +2 -2
  49. package/.out/types/{readonly_type_of_type.d.ts → ReadonlyTypeOfType.d.ts} +1 -1
  50. package/.out/types/{strict_definitions.d.ts → StrictType.d.ts} +1 -1
  51. package/.out/types/{validating_definitions.d.ts → ValidatingType.d.ts} +1 -1
  52. package/.out/types/{validating_type_def_with_error.d.ts → ValidatingTypeDefWithError.d.ts} +2 -2
  53. package/.out/types/{value_of_type.d.ts → ValueOfType.d.ts} +1 -1
  54. package/.out/types/{value_to_type_paths_of_type.d.ts → ValueToTypePathsOfType.d.ts} +3 -3
  55. package/.out/types/{value_types_of_discriminated_union.d.ts → ValueTypesOfDiscriminatedUnion.d.ts} +3 -3
  56. package/.out/types/builders.d.ts +5 -5
  57. package/.out/types/builders.js +26 -4
  58. package/.out/types/flattened.d.ts +1 -1
  59. package/.out/types/specs/builder.tests.js +1 -1
  60. package/.out/types/{type_of_type.d.ts → typeOfType.d.ts} +1 -1
  61. package/.out/types/{type_of_type.js → typeOfType.js} +1 -1
  62. package/.out/validation/validator.js +1 -1
  63. package/.out/validation/validators/specs/{minimum_string_length_validator.tests.js → minimumStringLengthValidator.tests.js} +1 -1
  64. package/.out/validation/validators/specs/{regexp_validator.tests.js → regexpValidator.tests.js} +1 -1
  65. package/.turbo/turbo-build.log +8 -8
  66. package/.turbo/turbo-check-types.log +1 -1
  67. package/.turbo/turbo-release$colon$exports.log +1 -1
  68. package/dist/index.cjs +56 -33
  69. package/dist/index.d.cts +2 -2
  70. package/dist/index.d.ts +2 -2
  71. package/dist/index.js +59 -34
  72. package/index.ts +26 -26
  73. package/package.json +1 -1
  74. package/transformers/copies/copy.ts +4 -4
  75. package/transformers/copies/{copy_to.ts → copyTo.ts} +10 -18
  76. package/transformers/copies/{mobx_copy.ts → mobxCopy.ts} +11 -12
  77. package/transformers/copies/specs/{copy_to.tests.ts → copyTo.tests.ts} +4 -4
  78. package/transformers/copies/specs/{mobx_copy.tests.ts → mobxCopy.tests.ts} +2 -2
  79. package/transformers/equals.ts +2 -2
  80. package/transformers/flatteners/{flatten_accessors_of_type.ts → flattenAccessorsOfType.ts} +7 -7
  81. package/transformers/flatteners/{flatten_json_value_to_type_paths_of.ts → flattenJsonValueToTypePathsOf.ts} +3 -3
  82. package/transformers/flatteners/{flatten_type_to.ts → flattenTypeTo.ts} +3 -5
  83. package/transformers/flatteners/{flatten_types_of_type.ts → flattenTypesOfType.ts} +3 -3
  84. package/transformers/flatteners/{flatten_validation_errors_of_type.ts → flattenValidationErrorsOfType.ts} +8 -8
  85. package/transformers/flatteners/{flatten_validators_of_validating_type.ts → flattenValidatorsOfValidatingType.ts} +4 -4
  86. package/transformers/flatteners/{flatten_value_to.ts → flattenValueTo.ts} +10 -10
  87. package/transformers/flatteners/{flatten_values_of_type.ts → flattenValuesOfType.ts} +4 -4
  88. package/transformers/flatteners/specs/{flatten_accessors_of_type.tests.ts → flattenAccessorsOfType.tests.ts} +3 -3
  89. package/transformers/flatteners/specs/{flatten_json_value_to_type_paths_of.tests.ts → flattenJsonValueToTypePathsOf.tests.ts} +2 -1
  90. package/transformers/flatteners/specs/{flatten_type_to.tests.ts → flattenTypeTo.tests.ts} +5 -3
  91. package/transformers/flatteners/specs/{flatten_types_of_type.tests.ts → flattenTypesOfType.tests.ts} +1 -1
  92. package/transformers/flatteners/specs/{flatten_validation_errors_of_type.tests.ts → flattenValidationErrorsOfType.tests.ts} +2 -2
  93. package/transformers/flatteners/specs/{flatten_value_to.tests.ts → flattenValueTo.tests.ts} +5 -4
  94. package/transformers/flatteners/specs/{flatten_values_of_type.tests.ts → flattenValuesOfType.tests.ts} +1 -1
  95. package/transformers/flatteners/specs/{json_paths.tests.ts → jsonPaths.tests.ts} +1 -1
  96. package/transformers/flatteners/specs/{value_path_to_type_path.tests.ts → valuePathToTypePath.tests.ts} +2 -2
  97. package/transformers/flatteners/{value_path_to_type_path.ts → valuePathToTypePath.ts} +1 -1
  98. package/types/{flattened_accessors_of_type.ts → FlattenedAccessorsOfType.ts} +2 -2
  99. package/types/{flattened_types_of_type.ts → FlattenedTypesOfType.ts} +6 -6
  100. package/types/{flattened_types_of_validating_type.ts → FlattenedTypesOfValidatingType.ts} +6 -6
  101. package/types/{flattened_validators_of_validating_type.ts → FlattenedValidatorsOfValidatingType.ts} +4 -4
  102. package/types/{flattened_values_of_type.ts → FlattenedValuesOfType.ts} +3 -3
  103. package/types/{mobx_value_of_type.ts → MobxValueOfType.ts} +2 -2
  104. package/types/{partial_type_of_type.ts → PartialTypeOfType.ts} +1 -1
  105. package/types/{paths_of_type.ts → PathsOfType.ts} +6 -6
  106. package/types/{readonly_type_of_type.ts → ReadonlyTypeOfType.ts} +1 -1
  107. package/types/{strict_definitions.ts → StrictType.ts} +1 -1
  108. package/types/{validating_definitions.ts → ValidatingType.ts} +1 -1
  109. package/types/{validating_type_def_with_error.ts → ValidatingTypeDefWithError.ts} +2 -2
  110. package/types/{value_of_type.ts → ValueOfType.ts} +1 -1
  111. package/types/{value_to_type_paths_of_type.ts → ValueToTypePathsOfType.ts} +7 -7
  112. package/types/{value_types_of_discriminated_union.ts → ValueTypesOfDiscriminatedUnion.ts} +3 -3
  113. package/types/builders.ts +44 -6
  114. package/types/flattened.ts +1 -1
  115. package/types/specs/{flattened_accessors_of_type.tests.ts → FlattenedAccessorsOfType.tests.ts} +1 -1
  116. package/types/specs/{flattened_types_of_type.tests.ts → FlattenedTypesOfType.tests.ts} +2 -2
  117. package/types/specs/{flattened_validators_of_validating_type.tests.ts → FlattenedValidatorsOfValidatingType.tests.ts} +2 -2
  118. package/types/specs/{flattened_values_of_type.tests.ts → FlattenedValuesOfType.tests.ts} +1 -1
  119. package/types/specs/{partial_type_of_type.tests.ts → PartialTypeOfType.tests.ts} +2 -2
  120. package/types/specs/{paths_of_type.tests.ts → PathsOfType.tests.ts} +1 -1
  121. package/types/specs/{readonly_type_of_type.tests.ts → ReadonlyTypeOfType.tests.ts} +2 -2
  122. package/types/specs/{strict_definitions.tests.ts → StrictType.tests.ts} +5 -5
  123. package/types/specs/{type_of_type.tests.ts → TypeOfType.tests.ts} +2 -2
  124. package/types/specs/{value_of_type.tests.ts → ValueOfType.tests.ts} +2 -2
  125. package/types/specs/{value_to_type_paths_of_type.tests.ts → ValueToTypePathsOfType.tests.ts} +2 -2
  126. package/types/specs/{value_types_of_discriminated_union.tests.ts → ValueTypesOfDiscriminatedUnion.tests.ts} +1 -1
  127. package/types/specs/builder.tests.ts +2 -2
  128. package/types/{type_of_type.ts → typeOfType.ts} +1 -1
  129. package/validation/specs/{errors_of_validators.tests.ts → errorsOfValidators.tests.ts} +1 -1
  130. package/validation/specs/{validators_of_values.tests.ts → validatorsOfValues.tests.ts} +1 -1
  131. package/validation/validator.ts +1 -1
  132. package/validation/validators/specs/{minimum_string_length_validator.tests.ts → minimumStringLengthValidator.tests.ts} +1 -1
  133. package/validation/validators/specs/{regexp_validator.tests.ts → regexpValidator.tests.ts} +1 -1
  134. package/.out/transformers/copies/mobx_copy.d.ts +0 -5
  135. package/.out/transformers/flatteners/flatten_types_of_type.d.ts +0 -3
  136. /package/.out/transformers/copies/specs/{copy_to.tests.d.ts → copyTo.tests.d.ts} +0 -0
  137. /package/.out/transformers/copies/specs/{mobx_copy.tests.d.ts → mobxCopy.tests.d.ts} +0 -0
  138. /package/.out/transformers/flatteners/{json_path.d.ts → jsonPath.d.ts} +0 -0
  139. /package/.out/transformers/flatteners/{json_path.js → jsonPath.js} +0 -0
  140. /package/.out/transformers/flatteners/specs/{flatten_accessors_of_type.tests.d.ts → flattenAccessorsOfType.tests.d.ts} +0 -0
  141. /package/.out/transformers/flatteners/specs/{flatten_json_value_to_type_paths_of.tests.d.ts → flattenJsonValueToTypePathsOf.tests.d.ts} +0 -0
  142. /package/.out/transformers/flatteners/specs/{flatten_type_to.tests.d.ts → flattenTypeTo.tests.d.ts} +0 -0
  143. /package/.out/transformers/flatteners/specs/{flatten_types_of_type.tests.d.ts → flattenTypesOfType.tests.d.ts} +0 -0
  144. /package/.out/transformers/flatteners/specs/{flatten_validation_errors_of_type.tests.d.ts → flattenValidationErrorsOfType.tests.d.ts} +0 -0
  145. /package/.out/transformers/flatteners/specs/{flatten_value_to.tests.d.ts → flattenValueTo.tests.d.ts} +0 -0
  146. /package/.out/transformers/flatteners/specs/{flatten_values_of_type.tests.d.ts → flattenValuesOfType.tests.d.ts} +0 -0
  147. /package/.out/transformers/flatteners/specs/{json_paths.tests.d.ts → jsonPaths.tests.d.ts} +0 -0
  148. /package/.out/transformers/flatteners/specs/{value_path_to_type_path.tests.d.ts → valuePathToTypePath.tests.d.ts} +0 -0
  149. /package/.out/types/{flattened_accessors_of_type.js → FlattenedAccessorsOfType.js} +0 -0
  150. /package/.out/types/{flattened_types_of_type.js → FlattenedTypesOfType.js} +0 -0
  151. /package/.out/types/{flattened_types_of_validating_type.js → FlattenedTypesOfValidatingType.js} +0 -0
  152. /package/.out/types/{flattened_validators_of_validating_type.js → FlattenedValidatorsOfValidatingType.js} +0 -0
  153. /package/.out/types/{flattened_values_of_type.js → FlattenedValuesOfType.js} +0 -0
  154. /package/.out/types/{mobx_value_of_type.js → MobxValueOfType.js} +0 -0
  155. /package/.out/types/{partial_type_of_type.js → PartialTypeOfType.js} +0 -0
  156. /package/.out/types/{path_of.d.ts → PathOf.d.ts} +0 -0
  157. /package/.out/types/{path_of.js → PathOf.js} +0 -0
  158. /package/.out/types/{paths_of_type.js → PathsOfType.js} +0 -0
  159. /package/.out/types/{readonly_type_of_type.js → ReadonlyTypeOfType.js} +0 -0
  160. /package/.out/types/{specs/flattened_accessors_of_type.tests.d.ts → StrictType.js} +0 -0
  161. /package/.out/types/{definitions.d.ts → Type.d.ts} +0 -0
  162. /package/.out/types/{definitions.js → Type.js} +0 -0
  163. /package/.out/types/{specs/flattened_types_of_type.tests.d.ts → ValidatingType.js} +0 -0
  164. /package/.out/types/{specs/flattened_validators_of_validating_type.tests.d.ts → ValidatingTypeDefWithError.js} +0 -0
  165. /package/.out/types/{specs/flattened_values_of_type.tests.d.ts → ValueOfType.js} +0 -0
  166. /package/.out/types/{specs/partial_type_of_type.tests.d.ts → ValueToTypePathsOfType.js} +0 -0
  167. /package/.out/types/{specs/paths_of_type.tests.d.ts → ValueTypesOfDiscriminatedUnion.js} +0 -0
  168. /package/.out/types/specs/{readonly_type_of_type.tests.d.ts → FlattenedAccessorsOfType.tests.d.ts} +0 -0
  169. /package/.out/types/specs/{flattened_accessors_of_type.tests.js → FlattenedAccessorsOfType.tests.js} +0 -0
  170. /package/.out/types/specs/{strict_definitions.tests.d.ts → FlattenedTypesOfType.tests.d.ts} +0 -0
  171. /package/.out/types/specs/{flattened_types_of_type.tests.js → FlattenedTypesOfType.tests.js} +0 -0
  172. /package/.out/types/specs/{type_of_type.tests.d.ts → FlattenedValidatorsOfValidatingType.tests.d.ts} +0 -0
  173. /package/.out/types/specs/{flattened_validators_of_validating_type.tests.js → FlattenedValidatorsOfValidatingType.tests.js} +0 -0
  174. /package/.out/types/specs/{value_of_type.tests.d.ts → FlattenedValuesOfType.tests.d.ts} +0 -0
  175. /package/.out/types/specs/{flattened_values_of_type.tests.js → FlattenedValuesOfType.tests.js} +0 -0
  176. /package/.out/types/specs/{value_to_type_paths_of_type.tests.d.ts → PartialTypeOfType.tests.d.ts} +0 -0
  177. /package/.out/types/specs/{partial_type_of_type.tests.js → PartialTypeOfType.tests.js} +0 -0
  178. /package/.out/types/specs/{value_types_of_discriminated_union.tests.d.ts → PathsOfType.tests.d.ts} +0 -0
  179. /package/.out/types/specs/{paths_of_type.tests.js → PathsOfType.tests.js} +0 -0
  180. /package/.out/types/{strict_definitions.js → specs/ReadonlyTypeOfType.tests.d.ts} +0 -0
  181. /package/.out/types/specs/{readonly_type_of_type.tests.js → ReadonlyTypeOfType.tests.js} +0 -0
  182. /package/.out/types/{validating_definitions.js → specs/StrictType.tests.d.ts} +0 -0
  183. /package/.out/types/specs/{strict_definitions.tests.js → StrictType.tests.js} +0 -0
  184. /package/.out/types/{validating_type_def_with_error.js → specs/TypeOfType.tests.d.ts} +0 -0
  185. /package/.out/types/specs/{type_of_type.tests.js → TypeOfType.tests.js} +0 -0
  186. /package/.out/types/{value_of_type.js → specs/ValueOfType.tests.d.ts} +0 -0
  187. /package/.out/types/specs/{value_of_type.tests.js → ValueOfType.tests.js} +0 -0
  188. /package/.out/types/{value_to_type_paths_of_type.js → specs/ValueToTypePathsOfType.tests.d.ts} +0 -0
  189. /package/.out/types/specs/{value_to_type_paths_of_type.tests.js → ValueToTypePathsOfType.tests.js} +0 -0
  190. /package/.out/types/{value_types_of_discriminated_union.js → specs/ValueTypesOfDiscriminatedUnion.tests.d.ts} +0 -0
  191. /package/.out/types/specs/{value_types_of_discriminated_union.tests.js → ValueTypesOfDiscriminatedUnion.tests.js} +0 -0
  192. /package/.out/validation/{errors_of_validators.d.ts → ErrorsOfValidators.d.ts} +0 -0
  193. /package/.out/validation/{errors_of_validators.js → ErrorsOfValidators.js} +0 -0
  194. /package/.out/validation/{validators_of_values.d.ts → ValidatorsOfValues.d.ts} +0 -0
  195. /package/.out/validation/{specs/errors_of_validators.tests.d.ts → ValidatorsOfValues.js} +0 -0
  196. /package/.out/validation/specs/{validators_of_values.tests.d.ts → errorsOfValidators.tests.d.ts} +0 -0
  197. /package/.out/validation/specs/{errors_of_validators.tests.js → errorsOfValidators.tests.js} +0 -0
  198. /package/.out/validation/{validators/specs/minimum_string_length_validator.tests.d.ts → specs/validatorsOfValues.tests.d.ts} +0 -0
  199. /package/.out/validation/specs/{validators_of_values.tests.js → validatorsOfValues.tests.js} +0 -0
  200. /package/.out/validation/validators/{composite_validator.d.ts → CompositeValidator.d.ts} +0 -0
  201. /package/.out/validation/validators/{composite_validator.js → CompositeValidator.js} +0 -0
  202. /package/.out/validation/validators/{defined_validator.d.ts → DefinedValidator.d.ts} +0 -0
  203. /package/.out/validation/validators/{defined_validator.js → DefinedValidator.js} +0 -0
  204. /package/.out/validation/validators/{maximum_string_length_validator.d.ts → MaximumStringLengthValidator.d.ts} +0 -0
  205. /package/.out/validation/validators/{maximum_string_length_validator.js → MaximumStringLengthValidator.js} +0 -0
  206. /package/.out/validation/validators/{minimum_string_length_validator.d.ts → MinimumStringLengthValidator.d.ts} +0 -0
  207. /package/.out/validation/validators/{minimum_string_length_validator.js → MinimumStringLengthValidator.js} +0 -0
  208. /package/.out/validation/validators/{optional_validator_proxy.d.ts → OptionalValidatorProxy.d.ts} +0 -0
  209. /package/.out/validation/validators/{optional_validator_proxy.js → OptionalValidatorProxy.js} +0 -0
  210. /package/.out/validation/validators/{regexp_validator.d.ts → RegexpValidator.d.ts} +0 -0
  211. /package/.out/validation/validators/{regexp_validator.js → RegexpValidator.js} +0 -0
  212. /package/.out/validation/validators/specs/{regexp_validator.tests.d.ts → minimumStringLengthValidator.tests.d.ts} +0 -0
  213. /package/.out/validation/{validators_of_values.js → validators/specs/regexpValidator.tests.d.ts} +0 -0
  214. /package/transformers/flatteners/{json_path.ts → jsonPath.ts} +0 -0
  215. /package/types/{path_of.ts → PathOf.ts} +0 -0
  216. /package/types/{definitions.ts → Type.ts} +0 -0
  217. /package/validation/{errors_of_validators.ts → ErrorsOfValidators.ts} +0 -0
  218. /package/validation/{validators_of_values.ts → ValidatorsOfValues.ts} +0 -0
  219. /package/validation/validators/{composite_validator.ts → CompositeValidator.ts} +0 -0
  220. /package/validation/validators/{defined_validator.ts → DefinedValidator.ts} +0 -0
  221. /package/validation/validators/{maximum_string_length_validator.ts → MaximumStringLengthValidator.ts} +0 -0
  222. /package/validation/validators/{minimum_string_length_validator.ts → MinimumStringLengthValidator.ts} +0 -0
  223. /package/validation/validators/{optional_validator_proxy.ts → OptionalValidatorProxy.ts} +0 -0
  224. /package/validation/validators/{regexp_validator.ts → RegexpValidator.ts} +0 -0
@@ -12,8 +12,8 @@ import {
12
12
  stringType,
13
13
  union,
14
14
  } from 'types/builders'
15
- import { type FlattenedTypesOfType } from 'types/flattened_types_of_type'
16
- import { type ValueToTypePathsOfType } from 'types/value_to_type_paths_of_type'
15
+ import { type FlattenedTypesOfType } from 'types/FlattenedTypesOfType'
16
+ import { type ValueToTypePathsOfType } from 'types/ValueToTypePathsOfType'
17
17
 
18
18
  describe('ValueToTypePathsOfType', function () {
19
19
  describe('literal', function () {
@@ -5,7 +5,7 @@ import {
5
5
  object,
6
6
  union,
7
7
  } from 'types/builders'
8
- import { type ValueTypesOfDiscriminatedUnion } from 'types/value_types_of_discriminated_union'
8
+ import { type ValueTypesOfDiscriminatedUnion } from 'types/ValueTypesOfDiscriminatedUnion'
9
9
 
10
10
  describe('ValueTypesOfDiscriminatedUnion', function () {
11
11
  it('matches expected type', function () {
@@ -10,8 +10,8 @@ import {
10
10
  } from 'types/builders'
11
11
  import {
12
12
  TypeDefType,
13
- } from 'types/definitions'
14
- import { type Rule } from 'types/validating_definitions'
13
+ } from 'types/Type'
14
+ import { type Rule } from 'types/ValidatingType'
15
15
 
16
16
  describe('builder', function () {
17
17
  describe('literal', function () {
@@ -13,7 +13,7 @@ import {
13
13
  type TypeDef,
14
14
  TypeDefType,
15
15
  type UnionTypeDef,
16
- } from 'types/definitions'
16
+ } from './Type'
17
17
 
18
18
  // useful for turning annotated type to type (e.g. Removing validation from ValidatingDefinition)
19
19
  export type TypeOfType<T extends Type> = T extends Type<infer D> ? {
@@ -1,4 +1,4 @@
1
- import { type ErrorsOfValidators } from 'validation/errors_of_validators'
1
+ import { type ErrorsOfValidators } from 'validation/ErrorsOfValidators'
2
2
  import { type Validator } from 'validation/validator'
3
3
 
4
4
  describe('ErrorsOfValidators', function () {
@@ -1,5 +1,5 @@
1
1
  import { type Validator } from 'validation/validator'
2
- import { type ValidatorsOfValues } from 'validation/validators_of_values'
2
+ import { type ValidatorsOfValues } from 'validation/ValidatorsOfValues'
3
3
 
4
4
  describe('FlattenedValidatorsOfType', function () {
5
5
  describe('literal', function () {
@@ -1,5 +1,5 @@
1
1
  import { type Simplify } from 'type-fest'
2
- import { CompositeValidator } from './validators/composite_validator'
2
+ import { CompositeValidator } from './validators/CompositeValidator'
3
3
 
4
4
  export type Annotations = {
5
5
  readonly required: boolean,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MinimumStringLengthValidationErrorType,
3
3
  MinimumStringLengthValidator,
4
- } from 'validation/validators/minimum_string_length_validator'
4
+ } from 'validation/validators/MinimumStringLengthValidator'
5
5
 
6
6
  describe('MinimumStringLengthValidator', () => {
7
7
  describe('required', () => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RegexpValidationErrorType,
3
3
  RegexpValidator,
4
- } from 'validation/validators/regexp_validator'
4
+ } from 'validation/validators/RegexpValidator'
5
5
 
6
6
  describe('RegexpValidator', () => {
7
7
  describe('phone', () => {
@@ -1,5 +0,0 @@
1
- import { type MobxValueOfType } from 'types/mobx_value_of_type';
2
- import { type ReadonlyTypeOfType } from 'types/readonly_type_of_type';
3
- import { type StrictType } from 'types/strict_definitions';
4
- import { type ValueOfType } from 'types/value_of_type';
5
- export declare function mobxCopy<T extends StrictType>(t: T, proto: ValueOfType<ReadonlyTypeOfType<T>>): MobxValueOfType<T>;
@@ -1,3 +0,0 @@
1
- import { type Type } from 'types/definitions';
2
- import { type StrictType } from 'types/strict_definitions';
3
- export declare function flattenTypesOfType<T extends StrictType>(t: T): Record<string, Type>;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes