typia 3.8.3 → 3.8.4-dev.20230502

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 (157) hide show
  1. package/lib/functional/$dictionary.js +3 -2
  2. package/lib/functional/$dictionary.js.map +1 -1
  3. package/package.json +1 -1
  4. package/src/Primitive.ts +123 -123
  5. package/src/executable/TypiaGenerateWizard.ts +85 -85
  6. package/src/executable/TypiaSetupWizard.ts +133 -133
  7. package/src/executable/setup/CommandExecutor.ts +8 -8
  8. package/src/executable/setup/PackageManager.ts +71 -71
  9. package/src/executable/setup/PluginConfigurator.ts +70 -70
  10. package/src/executable/typia.ts +52 -52
  11. package/src/factories/CommentFactory.ts +14 -14
  12. package/src/factories/ExpressionFactory.ts +70 -70
  13. package/src/factories/IdentifierFactory.ts +63 -63
  14. package/src/factories/LiteralFactory.ts +39 -39
  15. package/src/factories/MetadataCollection.ts +121 -121
  16. package/src/factories/MetadataFactory.ts +62 -62
  17. package/src/factories/MetadataTagFactory.ts +297 -297
  18. package/src/factories/StatementFactory.ts +24 -24
  19. package/src/factories/TemplateFactory.ts +58 -58
  20. package/src/factories/TypeFactory.ts +124 -124
  21. package/src/factories/internal/metadata/MetadataHelper.ts +12 -12
  22. package/src/factories/internal/metadata/emplace_metadata_object.ts +143 -143
  23. package/src/factories/internal/metadata/iterate_metadata.ts +67 -67
  24. package/src/factories/internal/metadata/iterate_metadata_map.ts +41 -41
  25. package/src/factories/internal/metadata/iterate_metadata_native.ts +219 -219
  26. package/src/factories/internal/metadata/iterate_metadata_resolve.ts +27 -27
  27. package/src/factories/internal/metadata/iterate_metadata_set.ts +33 -33
  28. package/src/factories/internal/metadata/iterate_metadata_tuple.ts +48 -48
  29. package/src/factories/internal/metadata/iterate_metadata_union.ts +57 -57
  30. package/src/functional/$any.ts +2 -2
  31. package/src/functional/$dictionary.ts +25 -20
  32. package/src/functional/$is_between.ts +2 -2
  33. package/src/functional/$is_custom.ts +14 -14
  34. package/src/functional/$is_date.ts +3 -3
  35. package/src/functional/$is_datetime.ts +2 -2
  36. package/src/functional/$is_email.ts +4 -4
  37. package/src/functional/$is_ipv4.ts +4 -4
  38. package/src/functional/$is_ipv6.ts +4 -4
  39. package/src/functional/$is_url.ts +4 -4
  40. package/src/functional/$is_uuid.ts +4 -4
  41. package/src/functional/$join.ts +46 -46
  42. package/src/functional/$number.ts +12 -12
  43. package/src/functional/$rest.ts +3 -3
  44. package/src/functional/$string.ts +37 -37
  45. package/src/functional/$tail.ts +5 -5
  46. package/src/metadata/IMetadata.ts +26 -26
  47. package/src/metadata/Metadata.ts +539 -539
  48. package/src/metadata/MetadataConstant.ts +3 -3
  49. package/src/metadata/MetadataObject.ts +127 -127
  50. package/src/module.ts +2043 -2043
  51. package/src/programmers/ApplicationProgrammer.ts +62 -62
  52. package/src/programmers/AssertCloneProgrammer.ts +79 -79
  53. package/src/programmers/AssertParseProgrammer.ts +74 -74
  54. package/src/programmers/AssertProgrammer.ts +285 -285
  55. package/src/programmers/AssertPruneProgrammer.ts +76 -76
  56. package/src/programmers/AssertStringifyProgrammer.ts +74 -74
  57. package/src/programmers/CheckerProgrammer.ts +901 -901
  58. package/src/programmers/CloneProgrammer.ts +389 -389
  59. package/src/programmers/FeatureProgrammer.ts +500 -500
  60. package/src/programmers/IsCloneProgrammer.ts +86 -86
  61. package/src/programmers/IsParseProgrammer.ts +80 -80
  62. package/src/programmers/IsProgrammer.ts +212 -212
  63. package/src/programmers/IsPruneProgrammer.ts +81 -81
  64. package/src/programmers/IsStringifyProgrammer.ts +84 -84
  65. package/src/programmers/LiteralsProgrammer.ts +65 -65
  66. package/src/programmers/PruneProgrammer.ts +347 -347
  67. package/src/programmers/RandomProgrammer.ts +423 -423
  68. package/src/programmers/StringifyProgrammer.ts +798 -798
  69. package/src/programmers/TypiaProgrammer.ts +129 -129
  70. package/src/programmers/ValidateCloneProgrammer.ts +93 -93
  71. package/src/programmers/ValidateParseProgrammer.ts +78 -78
  72. package/src/programmers/ValidateProgrammer.ts +316 -316
  73. package/src/programmers/ValidatePruneProgrammer.ts +86 -86
  74. package/src/programmers/ValidateStringifyProgrammer.ts +92 -92
  75. package/src/programmers/helpers/CloneJoiner.ts +131 -131
  76. package/src/programmers/helpers/FunctionImporeter.ts +54 -54
  77. package/src/programmers/helpers/OptionPredicator.ts +15 -15
  78. package/src/programmers/helpers/PruneJoiner.ts +144 -144
  79. package/src/programmers/helpers/StringifyJoinder.ts +113 -113
  80. package/src/programmers/helpers/StringifyPredicator.ts +12 -12
  81. package/src/programmers/helpers/UnionExplorer.ts +275 -275
  82. package/src/programmers/helpers/UnionPredicator.ts +81 -81
  83. package/src/programmers/internal/application_array.ts +36 -36
  84. package/src/programmers/internal/application_boolean.ts +17 -17
  85. package/src/programmers/internal/application_constant.ts +30 -30
  86. package/src/programmers/internal/application_default_string.ts +33 -33
  87. package/src/programmers/internal/application_native.ts +32 -32
  88. package/src/programmers/internal/application_number.ts +73 -73
  89. package/src/programmers/internal/application_object.ts +155 -155
  90. package/src/programmers/internal/application_schema.ts +213 -213
  91. package/src/programmers/internal/application_string.ts +45 -45
  92. package/src/programmers/internal/application_templates.ts +26 -26
  93. package/src/programmers/internal/application_tuple.ts +31 -31
  94. package/src/programmers/internal/check_array.ts +30 -30
  95. package/src/programmers/internal/check_custom.ts +31 -31
  96. package/src/programmers/internal/check_dynamic_properties.ts +194 -194
  97. package/src/programmers/internal/check_everything.ts +28 -28
  98. package/src/programmers/internal/check_native.ts +21 -21
  99. package/src/programmers/internal/check_string_tags.ts +67 -67
  100. package/src/programmers/internal/check_union_array_like.ts +271 -271
  101. package/src/programmers/internal/check_union_tuple.ts +33 -33
  102. package/src/programmers/internal/random_custom.ts +29 -29
  103. package/src/programmers/internal/stringify_dynamic_properties.ts +167 -167
  104. package/src/programmers/internal/stringify_native.ts +7 -7
  105. package/src/programmers/internal/stringify_regular_properties.ts +83 -83
  106. package/src/schemas/IJsonSchema.ts +130 -130
  107. package/src/transform.ts +17 -17
  108. package/src/transformers/CallExpressionTransformer.ts +177 -177
  109. package/src/transformers/FileTransformer.ts +47 -47
  110. package/src/transformers/NodeTransformer.ts +13 -13
  111. package/src/transformers/features/miscellaneous/ApplicationTransformer.ts +114 -114
  112. package/src/transformers/features/miscellaneous/AssertCloneTransformer.ts +9 -9
  113. package/src/transformers/features/miscellaneous/AssertPruneTransformer.ts +9 -9
  114. package/src/transformers/features/miscellaneous/CloneTransformer.ts +9 -9
  115. package/src/transformers/features/miscellaneous/CreateAssertCloneTransformer.ts +9 -9
  116. package/src/transformers/features/miscellaneous/CreateAssertPruneTransformer.ts +9 -9
  117. package/src/transformers/features/miscellaneous/CreateCloneTransformer.ts +9 -9
  118. package/src/transformers/features/miscellaneous/CreateIsCloneTransformer.ts +9 -9
  119. package/src/transformers/features/miscellaneous/CreateIsPruneTransformer.ts +9 -9
  120. package/src/transformers/features/miscellaneous/CreatePruneTransformer.ts +9 -9
  121. package/src/transformers/features/miscellaneous/CreateRandomTransformer.ts +39 -39
  122. package/src/transformers/features/miscellaneous/CreateValidateCloneTransformer.ts +9 -9
  123. package/src/transformers/features/miscellaneous/CreateValidatePruneTransformer.ts +9 -9
  124. package/src/transformers/features/miscellaneous/IsCloneTransformer.ts +9 -9
  125. package/src/transformers/features/miscellaneous/IsPruneTransformer.ts +9 -9
  126. package/src/transformers/features/miscellaneous/LiteralsTransformer.ts +28 -28
  127. package/src/transformers/features/miscellaneous/MetadataTransformer.ts +52 -52
  128. package/src/transformers/features/miscellaneous/PruneTransformer.ts +9 -9
  129. package/src/transformers/features/miscellaneous/RandomTransformer.ts +42 -42
  130. package/src/transformers/features/miscellaneous/ValidateCloneTransformer.ts +9 -9
  131. package/src/transformers/features/miscellaneous/ValidatePruneTransformer.ts +9 -9
  132. package/src/transformers/features/parsers/AssertParseTransformer.ts +9 -9
  133. package/src/transformers/features/parsers/CreateAssertParseTransformer.ts +9 -9
  134. package/src/transformers/features/parsers/CreateIsParseTransformer.ts +9 -9
  135. package/src/transformers/features/parsers/CreateValidateParseTransformer.ts +9 -9
  136. package/src/transformers/features/parsers/IsParseTransformer.ts +9 -9
  137. package/src/transformers/features/parsers/ValidateParseTransformer.ts +9 -9
  138. package/src/transformers/features/stringifiers/AssertStringifyTransformer.ts +10 -10
  139. package/src/transformers/features/stringifiers/CreateAssertStringifyTransformer.ts +12 -12
  140. package/src/transformers/features/stringifiers/CreateIsStringifyTransformer.ts +9 -9
  141. package/src/transformers/features/stringifiers/CreateStringifyTransformer.ts +9 -9
  142. package/src/transformers/features/stringifiers/CreateValidateStringifyProgrammer.ts +12 -12
  143. package/src/transformers/features/stringifiers/IsStringifyTransformer.ts +9 -9
  144. package/src/transformers/features/stringifiers/StringifyTransformer.ts +9 -9
  145. package/src/transformers/features/stringifiers/ValidateStringifyTransformer.ts +10 -10
  146. package/src/transformers/features/validators/AssertTransformer.ts +11 -11
  147. package/src/transformers/features/validators/CreateAssertTransformer.ts +13 -13
  148. package/src/transformers/features/validators/CreateIsTransformer.ts +11 -11
  149. package/src/transformers/features/validators/CreateValidateTransformer.ts +13 -13
  150. package/src/transformers/features/validators/IsTransformer.ts +11 -11
  151. package/src/transformers/features/validators/ValidateTransformer.ts +11 -11
  152. package/src/transformers/internal/GenericTransformer.ts +97 -97
  153. package/src/utils/ArrayUtil.ts +44 -44
  154. package/src/utils/Escaper.ts +45 -45
  155. package/src/utils/MapUtil.ts +12 -12
  156. package/src/utils/PatternUtil.ts +30 -30
  157. package/src/utils/RandomGenerator.ts +81 -81
@@ -1,9 +1,9 @@
1
- import { IsCloneProgrammer } from "../../../programmers/IsCloneProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace IsCloneTransformer {
6
- export const transform = GenericTransformer.scalar("isClone")(
7
- (project) => (modulo) => IsCloneProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { IsCloneProgrammer } from "../../../programmers/IsCloneProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace IsCloneTransformer {
6
+ export const transform = GenericTransformer.scalar("isClone")(
7
+ (project) => (modulo) => IsCloneProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { IsPruneProgrammer } from "../../../programmers/IsPruneProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace IsPruneTransformer {
6
- export const transform = GenericTransformer.scalar("isPrune")(
7
- (project) => (modulo) => IsPruneProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { IsPruneProgrammer } from "../../../programmers/IsPruneProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace IsPruneTransformer {
6
+ export const transform = GenericTransformer.scalar("isPrune")(
7
+ (project) => (modulo) => IsPruneProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,28 +1,28 @@
1
- import ts from "typescript";
2
-
3
- import { LiteralsProgrammer } from "../../../programmers/LiteralsProgrammer";
4
-
5
- import { IProject } from "../../IProject";
6
-
7
- export namespace LiteralsTransformer {
8
- export const transform =
9
- (project: IProject) =>
10
- (expression: ts.CallExpression): ts.Expression => {
11
- // CHECK GENERIC ARGUMENT EXISTENCE
12
- if (!expression.typeArguments?.[0]) throw new Error(NOT_SPECIFIED);
13
-
14
- // GET TYPE INFO
15
- const node: ts.TypeNode = expression.typeArguments[0];
16
- const type: ts.Type = project.checker.getTypeFromTypeNode(node);
17
-
18
- if (type.isTypeParameter()) throw new Error(NO_GENERIC_ARGUMENT);
19
-
20
- // DO TRANSFORM
21
- return LiteralsProgrammer.write(project)(type);
22
- };
23
- }
24
-
25
- const NOT_SPECIFIED =
26
- "Error on typia.literals(): generic argument is not specified.";
27
- const NO_GENERIC_ARGUMENT =
28
- "Error on typia.literals(): non-specified generic argument.";
1
+ import ts from "typescript";
2
+
3
+ import { LiteralsProgrammer } from "../../../programmers/LiteralsProgrammer";
4
+
5
+ import { IProject } from "../../IProject";
6
+
7
+ export namespace LiteralsTransformer {
8
+ export const transform =
9
+ (project: IProject) =>
10
+ (expression: ts.CallExpression): ts.Expression => {
11
+ // CHECK GENERIC ARGUMENT EXISTENCE
12
+ if (!expression.typeArguments?.[0]) throw new Error(NOT_SPECIFIED);
13
+
14
+ // GET TYPE INFO
15
+ const node: ts.TypeNode = expression.typeArguments[0];
16
+ const type: ts.Type = project.checker.getTypeFromTypeNode(node);
17
+
18
+ if (type.isTypeParameter()) throw new Error(NO_GENERIC_ARGUMENT);
19
+
20
+ // DO TRANSFORM
21
+ return LiteralsProgrammer.write(project)(type);
22
+ };
23
+ }
24
+
25
+ const NOT_SPECIFIED =
26
+ "Error on typia.literals(): generic argument is not specified.";
27
+ const NO_GENERIC_ARGUMENT =
28
+ "Error on typia.literals(): non-specified generic argument.";
@@ -1,52 +1,52 @@
1
- import ts from "typescript";
2
-
3
- import { LiteralFactory } from "../../../factories/LiteralFactory";
4
- import { MetadataCollection } from "../../../factories/MetadataCollection";
5
- import { MetadataFactory } from "../../../factories/MetadataFactory";
6
-
7
- import { IMetadataApplication } from "../../../metadata/IMetadataApplication";
8
- import { Metadata } from "../../../metadata/Metadata";
9
-
10
- import { IProject } from "../../IProject";
11
-
12
- export namespace MetadataTransformer {
13
- export const transform =
14
- ({ checker }: IProject) =>
15
- (expression: ts.CallExpression): ts.Expression => {
16
- if (!expression.typeArguments?.length)
17
- throw new Error(NO_GENERIC_ARGUMENT);
18
-
19
- // VALIDATE TUPLE ARGUMENTS
20
- const top: ts.Node = expression.typeArguments[0]!;
21
- if (!ts.isTupleTypeNode(top)) return expression;
22
- else if (top.elements.some((child) => !ts.isTypeNode(child)))
23
- return expression;
24
-
25
- // GET TYPES
26
- const types: ts.Type[] = top.elements.map((child) =>
27
- checker.getTypeFromTypeNode(child as ts.TypeNode),
28
- );
29
- if (types.some((t) => t.isTypeParameter()))
30
- throw new Error(GENERIC_ARGUMENT);
31
-
32
- // METADATA
33
- const collection: MetadataCollection = new MetadataCollection();
34
- const metadatas: Array<Metadata> = types.map((type) =>
35
- MetadataFactory.analyze(checker)({
36
- resolve: false,
37
- constant: true,
38
- })(collection)(type),
39
- );
40
-
41
- // CONVERT TO PRIMITIVE TYPE
42
- const app: IMetadataApplication = {
43
- metadatas: metadatas.map((metadata) => metadata.toJSON()),
44
- collection: collection.objects().map((obj) => obj.toJSON()),
45
- };
46
- return LiteralFactory.generate(app);
47
- };
48
- }
49
-
50
- const NO_GENERIC_ARGUMENT = "Error on typia.metadata(): no generic argument.";
51
- const GENERIC_ARGUMENT =
52
- "Error on typia.metadata(): non-specified generic argument(s).";
1
+ import ts from "typescript";
2
+
3
+ import { LiteralFactory } from "../../../factories/LiteralFactory";
4
+ import { MetadataCollection } from "../../../factories/MetadataCollection";
5
+ import { MetadataFactory } from "../../../factories/MetadataFactory";
6
+
7
+ import { IMetadataApplication } from "../../../metadata/IMetadataApplication";
8
+ import { Metadata } from "../../../metadata/Metadata";
9
+
10
+ import { IProject } from "../../IProject";
11
+
12
+ export namespace MetadataTransformer {
13
+ export const transform =
14
+ ({ checker }: IProject) =>
15
+ (expression: ts.CallExpression): ts.Expression => {
16
+ if (!expression.typeArguments?.length)
17
+ throw new Error(NO_GENERIC_ARGUMENT);
18
+
19
+ // VALIDATE TUPLE ARGUMENTS
20
+ const top: ts.Node = expression.typeArguments[0]!;
21
+ if (!ts.isTupleTypeNode(top)) return expression;
22
+ else if (top.elements.some((child) => !ts.isTypeNode(child)))
23
+ return expression;
24
+
25
+ // GET TYPES
26
+ const types: ts.Type[] = top.elements.map((child) =>
27
+ checker.getTypeFromTypeNode(child as ts.TypeNode),
28
+ );
29
+ if (types.some((t) => t.isTypeParameter()))
30
+ throw new Error(GENERIC_ARGUMENT);
31
+
32
+ // METADATA
33
+ const collection: MetadataCollection = new MetadataCollection();
34
+ const metadatas: Array<Metadata> = types.map((type) =>
35
+ MetadataFactory.analyze(checker)({
36
+ resolve: false,
37
+ constant: true,
38
+ })(collection)(type),
39
+ );
40
+
41
+ // CONVERT TO PRIMITIVE TYPE
42
+ const app: IMetadataApplication = {
43
+ metadatas: metadatas.map((metadata) => metadata.toJSON()),
44
+ collection: collection.objects().map((obj) => obj.toJSON()),
45
+ };
46
+ return LiteralFactory.generate(app);
47
+ };
48
+ }
49
+
50
+ const NO_GENERIC_ARGUMENT = "Error on typia.metadata(): no generic argument.";
51
+ const GENERIC_ARGUMENT =
52
+ "Error on typia.metadata(): non-specified generic argument(s).";
@@ -1,9 +1,9 @@
1
- import { PruneProgrammer } from "../../../programmers/PruneProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace PruneTransformer {
6
- export const transform = GenericTransformer.scalar("prune")(
7
- (project) => (modulo) => PruneProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { PruneProgrammer } from "../../../programmers/PruneProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace PruneTransformer {
6
+ export const transform = GenericTransformer.scalar("prune")(
7
+ (project) => (modulo) => PruneProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,42 +1,42 @@
1
- import ts from "typescript";
2
-
3
- import { RandomProgrammer } from "../../../programmers/RandomProgrammer";
4
-
5
- import { IProject } from "../../IProject";
6
-
7
- export namespace RandomTransformer {
8
- export const transform =
9
- (project: IProject) =>
10
- (modulo: ts.LeftHandSideExpression) =>
11
- (expression: ts.CallExpression): ts.Expression => {
12
- // CHECK GENERIC ARGUMENT EXISTENCE
13
- if (!expression.typeArguments?.[0]) throw new Error(NOT_SPECIFIED);
14
-
15
- // GET TYPE INFO
16
- const node: ts.TypeNode = expression.typeArguments[0];
17
- const type: ts.Type = project.checker.getTypeFromTypeNode(node);
18
-
19
- if (type.isTypeParameter()) throw new Error(NO_GENERIC_ARGUMENT);
20
-
21
- // DO TRANSFORM
22
- return ts.factory.createCallExpression(
23
- RandomProgrammer.write({
24
- ...project,
25
- options: {
26
- ...project.options,
27
- functional: false,
28
- numeric: false,
29
- },
30
- })(modulo)()(type, node.getFullText().trim()),
31
- undefined,
32
- expression.arguments.length
33
- ? [expression.arguments[0]!]
34
- : undefined,
35
- );
36
- };
37
- }
38
-
39
- const NOT_SPECIFIED =
40
- "Error on typia.random(): generic argument is not specified.";
41
- const NO_GENERIC_ARGUMENT =
42
- "Error on typia.random(): non-specified generic argument.";
1
+ import ts from "typescript";
2
+
3
+ import { RandomProgrammer } from "../../../programmers/RandomProgrammer";
4
+
5
+ import { IProject } from "../../IProject";
6
+
7
+ export namespace RandomTransformer {
8
+ export const transform =
9
+ (project: IProject) =>
10
+ (modulo: ts.LeftHandSideExpression) =>
11
+ (expression: ts.CallExpression): ts.Expression => {
12
+ // CHECK GENERIC ARGUMENT EXISTENCE
13
+ if (!expression.typeArguments?.[0]) throw new Error(NOT_SPECIFIED);
14
+
15
+ // GET TYPE INFO
16
+ const node: ts.TypeNode = expression.typeArguments[0];
17
+ const type: ts.Type = project.checker.getTypeFromTypeNode(node);
18
+
19
+ if (type.isTypeParameter()) throw new Error(NO_GENERIC_ARGUMENT);
20
+
21
+ // DO TRANSFORM
22
+ return ts.factory.createCallExpression(
23
+ RandomProgrammer.write({
24
+ ...project,
25
+ options: {
26
+ ...project.options,
27
+ functional: false,
28
+ numeric: false,
29
+ },
30
+ })(modulo)()(type, node.getFullText().trim()),
31
+ undefined,
32
+ expression.arguments.length
33
+ ? [expression.arguments[0]!]
34
+ : undefined,
35
+ );
36
+ };
37
+ }
38
+
39
+ const NOT_SPECIFIED =
40
+ "Error on typia.random(): generic argument is not specified.";
41
+ const NO_GENERIC_ARGUMENT =
42
+ "Error on typia.random(): non-specified generic argument.";
@@ -1,9 +1,9 @@
1
- import { ValidateCloneProgrammer } from "../../../programmers/ValidateCloneProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace ValidateCloneTransformer {
6
- export const transform = GenericTransformer.scalar("validatClone")(
7
- (project) => (modulo) => ValidateCloneProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { ValidateCloneProgrammer } from "../../../programmers/ValidateCloneProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace ValidateCloneTransformer {
6
+ export const transform = GenericTransformer.scalar("validatClone")(
7
+ (project) => (modulo) => ValidateCloneProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { ValidatePruneProgrammer } from "../../../programmers/ValidatePruneProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace ValidatePruneTransformer {
6
- export const transform = GenericTransformer.scalar("validatPrune")(
7
- (project) => (modulo) => ValidatePruneProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { ValidatePruneProgrammer } from "../../../programmers/ValidatePruneProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace ValidatePruneTransformer {
6
+ export const transform = GenericTransformer.scalar("validatPrune")(
7
+ (project) => (modulo) => ValidatePruneProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { AssertParseProgrammer } from "../../../programmers/AssertParseProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace AssertParseTransformer {
6
- export const transform = GenericTransformer.scalar("assertParse")(
7
- (project) => (modulo) => AssertParseProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { AssertParseProgrammer } from "../../../programmers/AssertParseProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace AssertParseTransformer {
6
+ export const transform = GenericTransformer.scalar("assertParse")(
7
+ (project) => (modulo) => AssertParseProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { AssertParseProgrammer } from "../../../programmers/AssertParseProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateAssertParseTransformer {
6
- export const transform = GenericTransformer.factory("createAssertParse")(
7
- (project) => (modulo) => AssertParseProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { AssertParseProgrammer } from "../../../programmers/AssertParseProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateAssertParseTransformer {
6
+ export const transform = GenericTransformer.factory("createAssertParse")(
7
+ (project) => (modulo) => AssertParseProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { IsParseProgrammer } from "../../../programmers/IsParseProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateIsParseTransformer {
6
- export const transform = GenericTransformer.factory("createIsParse")(
7
- (project) => (modulo) => IsParseProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { IsParseProgrammer } from "../../../programmers/IsParseProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateIsParseTransformer {
6
+ export const transform = GenericTransformer.factory("createIsParse")(
7
+ (project) => (modulo) => IsParseProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { ValidateParseProgrammer } from "../../../programmers/ValidateParseProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateValidateParseTransformer {
6
- export const transform = GenericTransformer.factory("createValidateParse")(
7
- (project) => (modulo) => ValidateParseProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { ValidateParseProgrammer } from "../../../programmers/ValidateParseProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateValidateParseTransformer {
6
+ export const transform = GenericTransformer.factory("createValidateParse")(
7
+ (project) => (modulo) => ValidateParseProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { IsParseProgrammer } from "../../../programmers/IsParseProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace IsParseTransformer {
6
- export const transform = GenericTransformer.scalar("isParse")(
7
- (project) => (modulo) => IsParseProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { IsParseProgrammer } from "../../../programmers/IsParseProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace IsParseTransformer {
6
+ export const transform = GenericTransformer.scalar("isParse")(
7
+ (project) => (modulo) => IsParseProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { ValidateParseProgrammer } from "../../../programmers/ValidateParseProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace ValidateParseTransformer {
6
- export const transform = GenericTransformer.scalar("validatParse")(
7
- (project) => (modulo) => ValidateParseProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { ValidateParseProgrammer } from "../../../programmers/ValidateParseProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace ValidateParseTransformer {
6
+ export const transform = GenericTransformer.scalar("validatParse")(
7
+ (project) => (modulo) => ValidateParseProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,10 +1,10 @@
1
- import { AssertStringifyProgrammer } from "../../../programmers/AssertStringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace AssertStringifyTransformer {
6
- export const transform = GenericTransformer.scalar("assertStringify")(
7
- (project) => (modulo) =>
8
- AssertStringifyProgrammer.write(project)(modulo),
9
- );
10
- }
1
+ import { AssertStringifyProgrammer } from "../../../programmers/AssertStringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace AssertStringifyTransformer {
6
+ export const transform = GenericTransformer.scalar("assertStringify")(
7
+ (project) => (modulo) =>
8
+ AssertStringifyProgrammer.write(project)(modulo),
9
+ );
10
+ }
@@ -1,12 +1,12 @@
1
- import { AssertStringifyProgrammer } from "../../../programmers/AssertStringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateAssertStringifyTransformer {
6
- export const transform = GenericTransformer.factory(
7
- "createAssertStringify",
8
- )(
9
- (project) => (modulo) =>
10
- AssertStringifyProgrammer.write(project)(modulo),
11
- );
12
- }
1
+ import { AssertStringifyProgrammer } from "../../../programmers/AssertStringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateAssertStringifyTransformer {
6
+ export const transform = GenericTransformer.factory(
7
+ "createAssertStringify",
8
+ )(
9
+ (project) => (modulo) =>
10
+ AssertStringifyProgrammer.write(project)(modulo),
11
+ );
12
+ }
@@ -1,9 +1,9 @@
1
- import { IsStringifyProgrammer } from "../../../programmers/IsStringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateIsStringifyTransformer {
6
- export const transform = GenericTransformer.factory("createIsStringify")(
7
- (project) => (modulo) => IsStringifyProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { IsStringifyProgrammer } from "../../../programmers/IsStringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateIsStringifyTransformer {
6
+ export const transform = GenericTransformer.factory("createIsStringify")(
7
+ (project) => (modulo) => IsStringifyProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { StringifyProgrammer } from "../../../programmers/StringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateStringifyTransformer {
6
- export const transform = GenericTransformer.factory("createStringify")(
7
- (project) => (modulo) => StringifyProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { StringifyProgrammer } from "../../../programmers/StringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateStringifyTransformer {
6
+ export const transform = GenericTransformer.factory("createStringify")(
7
+ (project) => (modulo) => StringifyProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,12 +1,12 @@
1
- import { ValidateStringifyProgrammer } from "../../../programmers/ValidateStringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace CreateValidateStringifyTransformer {
6
- export const transform = GenericTransformer.factory(
7
- "createValidateStringify",
8
- )(
9
- (project) => (modulo) =>
10
- ValidateStringifyProgrammer.write(project)(modulo),
11
- );
12
- }
1
+ import { ValidateStringifyProgrammer } from "../../../programmers/ValidateStringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace CreateValidateStringifyTransformer {
6
+ export const transform = GenericTransformer.factory(
7
+ "createValidateStringify",
8
+ )(
9
+ (project) => (modulo) =>
10
+ ValidateStringifyProgrammer.write(project)(modulo),
11
+ );
12
+ }
@@ -1,9 +1,9 @@
1
- import { IsStringifyProgrammer } from "../../../programmers/IsStringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace IsStringifyTransformer {
6
- export const transform = GenericTransformer.scalar("isStringify")(
7
- (project) => (modulo) => IsStringifyProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { IsStringifyProgrammer } from "../../../programmers/IsStringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace IsStringifyTransformer {
6
+ export const transform = GenericTransformer.scalar("isStringify")(
7
+ (project) => (modulo) => IsStringifyProgrammer.write(project)(modulo),
8
+ );
9
+ }
@@ -1,9 +1,9 @@
1
- import { StringifyProgrammer } from "../../../programmers/StringifyProgrammer";
2
-
3
- import { GenericTransformer } from "../../internal/GenericTransformer";
4
-
5
- export namespace StringifyTransformer {
6
- export const transform = GenericTransformer.scalar("stringify")(
7
- (project) => (modulo) => StringifyProgrammer.write(project)(modulo),
8
- );
9
- }
1
+ import { StringifyProgrammer } from "../../../programmers/StringifyProgrammer";
2
+
3
+ import { GenericTransformer } from "../../internal/GenericTransformer";
4
+
5
+ export namespace StringifyTransformer {
6
+ export const transform = GenericTransformer.scalar("stringify")(
7
+ (project) => (modulo) => StringifyProgrammer.write(project)(modulo),
8
+ );
9
+ }