@typia/transform 12.0.0-dev.20260309 → 12.0.0-dev.20260311

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 (117) hide show
  1. package/package.json +4 -4
  2. package/src/CallExpressionTransformer.ts +579 -579
  3. package/src/FileTransformer.ts +143 -143
  4. package/src/ITransformProps.ts +20 -20
  5. package/src/ImportTransformer.ts +262 -262
  6. package/src/NodeTransformer.ts +25 -25
  7. package/src/TransformerError.ts +85 -85
  8. package/src/TypiaGenerator.ts +172 -172
  9. package/src/features/AssertTransformer.ts +24 -24
  10. package/src/features/CreateAssertTransformer.ts +24 -24
  11. package/src/features/CreateIsTransformer.ts +18 -18
  12. package/src/features/CreateRandomTransformer.ts +42 -42
  13. package/src/features/CreateValidateTransformer.ts +18 -18
  14. package/src/features/IsTransformer.ts +18 -18
  15. package/src/features/RandomTransformer.ts +40 -40
  16. package/src/features/ValidateTransformer.ts +18 -18
  17. package/src/features/functional/FunctionalGenericTransformer.ts +55 -55
  18. package/src/features/http/CreateHttpAssertFormDataTransformer.ts +13 -13
  19. package/src/features/http/CreateHttpAssertHeadersTransformer.ts +13 -13
  20. package/src/features/http/CreateHttpAssertQueryTransformer.ts +13 -13
  21. package/src/features/http/CreateHttpFormDataTransformer.ts +13 -13
  22. package/src/features/http/CreateHttpHeadersTransformer.ts +13 -13
  23. package/src/features/http/CreateHttpIsFormDataTransformer.ts +13 -13
  24. package/src/features/http/CreateHttpIsHeadersTransformer.ts +13 -13
  25. package/src/features/http/CreateHttpIsQueryTransformer.ts +13 -13
  26. package/src/features/http/CreateHttpParameterTransformer.ts +13 -13
  27. package/src/features/http/CreateHttpQueryTransformer.ts +13 -13
  28. package/src/features/http/CreateHttpValidateFormDataTransformer.ts +13 -13
  29. package/src/features/http/CreateHttpValidateHeadersTransformer.ts +13 -13
  30. package/src/features/http/CreateHttpValidateQueryTransformer.ts +13 -13
  31. package/src/features/http/HttpAssertFormDataTransformer.ts +13 -13
  32. package/src/features/http/HttpAssertHeadersTransformer.ts +13 -13
  33. package/src/features/http/HttpAssertQueryTransformer.ts +13 -13
  34. package/src/features/http/HttpFormDataTransformer.ts +13 -13
  35. package/src/features/http/HttpHeadersTransformer.ts +13 -13
  36. package/src/features/http/HttpIsFormDataTransformer.ts +13 -13
  37. package/src/features/http/HttpIsHeadersTransformer.ts +13 -13
  38. package/src/features/http/HttpIsQueryTransformer.ts +13 -13
  39. package/src/features/http/HttpParameterTransformer.ts +13 -13
  40. package/src/features/http/HttpQueryTransformer.ts +13 -13
  41. package/src/features/http/HttpValidateFormDataTransformer.ts +13 -13
  42. package/src/features/http/HttpValidateHeadersTransformer.ts +13 -13
  43. package/src/features/http/HttpValidateQueryTransformer.ts +13 -13
  44. package/src/features/json/JsonApplicationTransformer.ts +99 -99
  45. package/src/features/json/JsonAssertParseTransformer.ts +13 -13
  46. package/src/features/json/JsonAssertStringifyTransformer.ts +13 -13
  47. package/src/features/json/JsonCreateAssertParseTransformer.ts +13 -13
  48. package/src/features/json/JsonCreateAssertStringifyTransformer.ts +13 -13
  49. package/src/features/json/JsonCreateIsParseTransformer.ts +13 -13
  50. package/src/features/json/JsonCreateIsStringifyTransformer.ts +13 -13
  51. package/src/features/json/JsonCreateStringifyTransformer.ts +13 -13
  52. package/src/features/json/JsonCreateValidateParseTransformer.ts +13 -13
  53. package/src/features/json/JsonCreateValidateStringifyProgrammer.ts +13 -13
  54. package/src/features/json/JsonIsParseTransformer.ts +13 -13
  55. package/src/features/json/JsonIsStringifyTransformer.ts +13 -13
  56. package/src/features/json/JsonSchemaTransformer.ts +120 -120
  57. package/src/features/json/JsonSchemasTransformer.ts +130 -130
  58. package/src/features/json/JsonStringifyTransformer.ts +13 -13
  59. package/src/features/json/JsonValidateParseTransformer.ts +13 -13
  60. package/src/features/json/JsonValidateStringifyTransformer.ts +13 -13
  61. package/src/features/llm/LlmApplicationTransformer.ts +224 -224
  62. package/src/features/llm/LlmCoerceTransformer.ts +95 -95
  63. package/src/features/llm/LlmControllerTransformer.ts +81 -81
  64. package/src/features/llm/LlmCreateCoerceTransformer.ts +84 -84
  65. package/src/features/llm/LlmCreateParseTransformer.ts +84 -84
  66. package/src/features/llm/LlmParametersTransformer.ts +76 -76
  67. package/src/features/llm/LlmParseTransformer.ts +95 -95
  68. package/src/features/llm/LlmSchemaTransformer.ts +87 -87
  69. package/src/features/misc/MiscAssertCloneTransformer.ts +13 -13
  70. package/src/features/misc/MiscAssertPruneTransformer.ts +13 -13
  71. package/src/features/misc/MiscCloneTransformer.ts +13 -13
  72. package/src/features/misc/MiscCreateAssertCloneTransformer.ts +13 -13
  73. package/src/features/misc/MiscCreateAssertPruneTransformer.ts +13 -13
  74. package/src/features/misc/MiscCreateCloneTransformer.ts +13 -13
  75. package/src/features/misc/MiscCreateIsCloneTransformer.ts +13 -13
  76. package/src/features/misc/MiscCreateIsPruneTransformer.ts +13 -13
  77. package/src/features/misc/MiscCreatePruneTransformer.ts +13 -13
  78. package/src/features/misc/MiscCreateValidateCloneTransformer.ts +13 -13
  79. package/src/features/misc/MiscCreateValidatePruneTransformer.ts +13 -13
  80. package/src/features/misc/MiscIsCloneTransformer.ts +13 -13
  81. package/src/features/misc/MiscIsPruneTransformer.ts +13 -13
  82. package/src/features/misc/MiscLiteralsTransformer.ts +34 -34
  83. package/src/features/misc/MiscPruneTransformer.ts +13 -13
  84. package/src/features/misc/MiscValidateCloneTransformer.ts +13 -13
  85. package/src/features/misc/MiscValidatePruneTransformer.ts +13 -13
  86. package/src/features/notations/NotationAssertGeneralTransformer.ts +19 -19
  87. package/src/features/notations/NotationCreateAssertGeneralTransformer.ts +19 -19
  88. package/src/features/notations/NotationCreateGeneralTransformer.ts +19 -19
  89. package/src/features/notations/NotationCreateIsGeneralTransformer.ts +19 -19
  90. package/src/features/notations/NotationCreateValidateGeneralTransformer.ts +19 -19
  91. package/src/features/notations/NotationGeneralTransformer.ts +18 -18
  92. package/src/features/notations/NotationIsGeneralTransformer.ts +19 -19
  93. package/src/features/notations/NotationValidateGeneralTransformer.ts +19 -19
  94. package/src/features/protobuf/ProtobufAssertDecodeTransformer.ts +13 -13
  95. package/src/features/protobuf/ProtobufAssertEncodeTransformer.ts +13 -13
  96. package/src/features/protobuf/ProtobufCreateAssertDecodeTransformer.ts +13 -13
  97. package/src/features/protobuf/ProtobufCreateAssertEncodeTransformer.ts +13 -13
  98. package/src/features/protobuf/ProtobufCreateDecodeTransformer.ts +13 -13
  99. package/src/features/protobuf/ProtobufCreateEncodeTransformer.ts +13 -13
  100. package/src/features/protobuf/ProtobufCreateIsDecodeTransformer.ts +13 -13
  101. package/src/features/protobuf/ProtobufCreateIsEncodeTransformer.ts +13 -13
  102. package/src/features/protobuf/ProtobufCreateValidateDecodeTransformer.ts +13 -13
  103. package/src/features/protobuf/ProtobufCreateValidateEncodeTransformer.ts +13 -13
  104. package/src/features/protobuf/ProtobufDecodeTransformer.ts +13 -13
  105. package/src/features/protobuf/ProtobufEncodeTransformer.ts +13 -13
  106. package/src/features/protobuf/ProtobufIsDecodeTransformer.ts +13 -13
  107. package/src/features/protobuf/ProtobufIsEncodeTransformer.ts +13 -13
  108. package/src/features/protobuf/ProtobufMessageTransformer.ts +34 -34
  109. package/src/features/protobuf/ProtobufValidateDecodeTransformer.ts +13 -13
  110. package/src/features/protobuf/ProtobufValidateEncodeTransformer.ts +13 -13
  111. package/src/features/reflect/ReflectMetadataTransformer.ts +69 -69
  112. package/src/features/reflect/ReflectNameTransformer.ts +81 -81
  113. package/src/features/reflect/ReflectSchemaTransformer.ts +65 -65
  114. package/src/features/reflect/ReflectSchemasTransformer.ts +69 -69
  115. package/src/index.ts +7 -7
  116. package/src/internal/GenericTransformer.ts +101 -101
  117. package/src/transform.ts +68 -68
@@ -1,13 +1,13 @@
1
- import { HttpQueryProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace CreateHttpQueryTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.factory({
9
- ...props,
10
- method: "http.createQuery",
11
- write: HttpQueryProgrammer.write,
12
- });
13
- }
1
+ import { HttpQueryProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace CreateHttpQueryTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.factory({
9
+ ...props,
10
+ method: "http.createQuery",
11
+ write: HttpQueryProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpValidateFormDataProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace CreateHttpValidateFormDataTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.factory({
9
- ...props,
10
- method: "http.createValidateFormData",
11
- write: HttpValidateFormDataProgrammer.write,
12
- });
13
- }
1
+ import { HttpValidateFormDataProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace CreateHttpValidateFormDataTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.factory({
9
+ ...props,
10
+ method: "http.createValidateFormData",
11
+ write: HttpValidateFormDataProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpValidateHeadersProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace CreateHttpValidateHeadersTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.factory({
9
- ...props,
10
- method: "http.createValidateHeaders",
11
- write: HttpValidateHeadersProgrammer.write,
12
- });
13
- }
1
+ import { HttpValidateHeadersProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace CreateHttpValidateHeadersTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.factory({
9
+ ...props,
10
+ method: "http.createValidateHeaders",
11
+ write: HttpValidateHeadersProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpValidateQueryProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace CreateHttpValidateQueryTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.factory({
9
- ...props,
10
- method: "http.createValidateQuery",
11
- write: HttpValidateQueryProgrammer.write,
12
- });
13
- }
1
+ import { HttpValidateQueryProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace CreateHttpValidateQueryTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.factory({
9
+ ...props,
10
+ method: "http.createValidateQuery",
11
+ write: HttpValidateQueryProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpAssertFormDataProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpAssertFormDataTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.assertFormData",
11
- write: HttpAssertFormDataProgrammer.write,
12
- });
13
- }
1
+ import { HttpAssertFormDataProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpAssertFormDataTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.assertFormData",
11
+ write: HttpAssertFormDataProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpAssertHeadersProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpAssertHeadersTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.assertHeaders",
11
- write: HttpAssertHeadersProgrammer.write,
12
- });
13
- }
1
+ import { HttpAssertHeadersProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpAssertHeadersTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.assertHeaders",
11
+ write: HttpAssertHeadersProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpAssertQueryProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpAssertQueryTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.assertQuery",
11
- write: HttpAssertQueryProgrammer.write,
12
- });
13
- }
1
+ import { HttpAssertQueryProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpAssertQueryTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.assertQuery",
11
+ write: HttpAssertQueryProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpFormDataProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpFormDataTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.formdata",
11
- write: HttpFormDataProgrammer.write,
12
- });
13
- }
1
+ import { HttpFormDataProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpFormDataTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.formdata",
11
+ write: HttpFormDataProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpHeadersProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpHeadersTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.headers",
11
- write: HttpHeadersProgrammer.write,
12
- });
13
- }
1
+ import { HttpHeadersProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpHeadersTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.headers",
11
+ write: HttpHeadersProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpIsFormDataProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpIsFormDataTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.isFormData",
11
- write: HttpIsFormDataProgrammer.write,
12
- });
13
- }
1
+ import { HttpIsFormDataProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpIsFormDataTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.isFormData",
11
+ write: HttpIsFormDataProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpIsHeadersProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpIsHeadersTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.isHeaders",
11
- write: HttpIsHeadersProgrammer.write,
12
- });
13
- }
1
+ import { HttpIsHeadersProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpIsHeadersTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.isHeaders",
11
+ write: HttpIsHeadersProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpIsQueryProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpIsQueryTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.isQuery",
11
- write: HttpIsQueryProgrammer.write,
12
- });
13
- }
1
+ import { HttpIsQueryProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpIsQueryTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.isQuery",
11
+ write: HttpIsQueryProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpParameterProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpParameterTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.parameter",
11
- write: HttpParameterProgrammer.write,
12
- });
13
- }
1
+ import { HttpParameterProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpParameterTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.parameter",
11
+ write: HttpParameterProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpQueryProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpQueryTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.query",
11
- write: HttpQueryProgrammer.write,
12
- });
13
- }
1
+ import { HttpQueryProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpQueryTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.query",
11
+ write: HttpQueryProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpValidateFormDataProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpValidateFormDataTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.validateFormData",
11
- write: HttpValidateFormDataProgrammer.write,
12
- });
13
- }
1
+ import { HttpValidateFormDataProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpValidateFormDataTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.validateFormData",
11
+ write: HttpValidateFormDataProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpValidateHeadersProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpValidateHeadersTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.validateHeaders",
11
- write: HttpValidateHeadersProgrammer.write,
12
- });
13
- }
1
+ import { HttpValidateHeadersProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpValidateHeadersTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.validateHeaders",
11
+ write: HttpValidateHeadersProgrammer.write,
12
+ });
13
+ }
@@ -1,13 +1,13 @@
1
- import { HttpValidateQueryProgrammer } from "@typia/core";
2
-
3
- import { ITransformProps } from "../../ITransformProps";
4
- import { GenericTransformer } from "../../internal/GenericTransformer";
5
-
6
- export namespace HttpValidateQueryTransformer {
7
- export const transform = (props: ITransformProps) =>
8
- GenericTransformer.scalar({
9
- ...props,
10
- method: "http.validateQuery",
11
- write: HttpValidateQueryProgrammer.write,
12
- });
13
- }
1
+ import { HttpValidateQueryProgrammer } from "@typia/core";
2
+
3
+ import { ITransformProps } from "../../ITransformProps";
4
+ import { GenericTransformer } from "../../internal/GenericTransformer";
5
+
6
+ export namespace HttpValidateQueryTransformer {
7
+ export const transform = (props: ITransformProps) =>
8
+ GenericTransformer.scalar({
9
+ ...props,
10
+ method: "http.validateQuery",
11
+ write: HttpValidateQueryProgrammer.write,
12
+ });
13
+ }