typia 5.2.1 → 5.2.2-dev.20231012-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/Primitive.d.ts +1 -1
- package/lib/executable/TypiaSetupWizard.js +8 -8
- package/lib/executable/TypiaSetupWizard.js.map +1 -1
- package/lib/factories/JsonMetadataFactory.js +31 -0
- package/lib/factories/JsonMetadataFactory.js.map +1 -1
- package/lib/factories/MetadataCollection.js +4 -3
- package/lib/factories/MetadataCollection.js.map +1 -1
- package/lib/programmers/helpers/AtomicPredicator.js +1 -1
- package/lib/programmers/helpers/AtomicPredicator.js.map +1 -1
- package/package.json +2 -2
- package/src/CamelCase.ts +116 -116
- package/src/PascalCase.ts +116 -116
- package/src/Primitive.ts +135 -135
- package/src/Resolved.ts +116 -116
- package/src/SnakeCase.ts +156 -156
- package/src/executable/TypiaSetupWizard.ts +9 -11
- package/src/factories/JsonMetadataFactory.ts +7 -0
- package/src/factories/MetadataCollection.ts +6 -1
- package/src/factories/internal/metadata/emplace_metadata_object.ts +150 -150
- package/src/functional/$clone.ts +4 -4
- package/src/functional/$convention.ts +40 -40
- package/src/functional/Namespace.ts +164 -164
- package/src/http.ts +1149 -1149
- package/src/json.ts +648 -648
- package/src/misc.ts +651 -651
- package/src/module.ts +662 -662
- package/src/notations.ts +855 -855
- package/src/programmers/IsProgrammer.ts +252 -252
- package/src/programmers/TypiaProgrammer.ts +169 -169
- package/src/programmers/helpers/AtomicPredicator.ts +1 -1
- package/src/programmers/helpers/NotationJoiner.ts +146 -146
- package/src/programmers/helpers/OptionPredicator.ts +15 -15
- package/src/programmers/json/JsonStringifyProgrammer.ts +964 -964
- package/src/programmers/misc/MiscCloneProgrammer.ts +790 -790
- package/src/programmers/misc/MiscPruneProgrammer.ts +552 -552
- package/src/programmers/notations/NotationAssertGeneralProgrammer.ts +72 -72
- package/src/programmers/notations/NotationGeneralProgrammer.ts +720 -720
- package/src/programmers/notations/NotationIsGeneralProgrammer.ts +79 -79
- package/src/programmers/notations/NotationValidateGeneralProgrammer.ts +88 -88
- package/src/protobuf.ts +887 -887
- package/src/transformers/CallExpressionTransformer.ts +380 -380
- package/src/transformers/ITransformOptions.ts +62 -62
- package/src/transformers/features/json/JsonAssertParseTransformer.ts +10 -10
- package/src/transformers/features/json/JsonAssertStringifyTransformer.ts +10 -10
- package/src/transformers/features/json/JsonCreateAssertParseTransformer.ts +12 -12
- package/src/transformers/features/json/JsonCreateAssertStringifyTransformer.ts +12 -12
- package/src/transformers/features/json/JsonCreateIsParseTransformer.ts +9 -9
- package/src/transformers/features/json/JsonCreateIsStringifyTransformer.ts +12 -12
- package/src/transformers/features/json/JsonCreateStringifyTransformer.ts +9 -9
- package/src/transformers/features/json/JsonCreateValidateParseTransformer.ts +12 -12
- package/src/transformers/features/json/JsonCreateValidateStringifyProgrammer.ts +12 -12
- package/src/transformers/features/json/JsonIsParseTransformer.ts +9 -9
- package/src/transformers/features/json/JsonIsStringifyTransformer.ts +10 -10
- package/src/transformers/features/json/JsonStringifyTransformer.ts +9 -9
- package/src/transformers/features/json/JsonValidateParseTransformer.ts +10 -10
- package/src/transformers/features/json/JsonValidateStringifyTransformer.ts +10 -10
- package/src/transformers/features/misc/MiscAssertCloneTransformer.ts +10 -10
- package/src/transformers/features/misc/MiscAssertPruneTransformer.ts +10 -10
- package/src/transformers/features/misc/MiscCloneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscCreateAssertCloneTransformer.ts +12 -12
- package/src/transformers/features/misc/MiscCreateAssertPruneTransformer.ts +12 -12
- package/src/transformers/features/misc/MiscCreateCloneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscCreateIsCloneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscCreateIsPruneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscCreatePruneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscCreateValidateCloneTransformer.ts +12 -12
- package/src/transformers/features/misc/MiscCreateValidatePruneTransformer.ts +12 -12
- package/src/transformers/features/misc/MiscIsCloneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscIsPruneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscPruneTransformer.ts +9 -9
- package/src/transformers/features/misc/MiscValidateCloneTransformer.ts +10 -10
- package/src/transformers/features/misc/MiscValidatePruneTransformer.ts +10 -10
- package/src/transformers/features/notations/NotationAssertGeneralTransformer.ts +15 -15
- package/src/transformers/features/notations/NotationCreateAssertGeneralTransformer.ts +15 -15
- package/src/transformers/features/notations/NotationCreateGeneralTransformer.ts +15 -15
- package/src/transformers/features/notations/NotationCreateIsGeneralTransformer.ts +15 -15
- package/src/transformers/features/notations/NotationCreateValidateGeneralTransformer.ts +17 -17
- package/src/transformers/features/notations/NotationGeneralTransformer.ts +11 -11
- package/src/transformers/features/notations/NotationIsGeneralTransformer.ts +15 -15
- package/src/transformers/features/notations/NotationValidateGeneralTransformer.ts +17 -17
- package/src/transformers/features/protobuf/ProtobufCreateAssertDecodeTransformer.ts +12 -12
- package/src/transformers/features/protobuf/ProtobufCreateAssertEncodeTransformer.ts +12 -12
- package/src/transformers/features/protobuf/ProtobufCreateDecodeTransformer.ts +9 -9
- package/src/transformers/features/protobuf/ProtobufCreateEncodeTransformer.ts +9 -9
- package/src/transformers/features/protobuf/ProtobufCreateIsDecodeTransformer.ts +12 -12
- package/src/transformers/features/protobuf/ProtobufCreateIsEncodeTransformer.ts +12 -12
- package/src/transformers/features/protobuf/ProtobufCreateValidateDecodeTransformer.ts +12 -12
- package/src/transformers/features/protobuf/ProtobufCreateValidateEncodeTransformer.ts +12 -12
- package/src/utils/NamingConvention.ts +91 -91
- package/src/utils/StringUtil.ts +4 -4
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
export interface ITransformOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Whether to validate finite number or not.
|
|
4
|
-
*
|
|
5
|
-
* If configured true, number typed values would be validated by Number.isNaN().
|
|
6
|
-
*
|
|
7
|
-
* However, whatever you configure, it would be ignored when marshaling or parsing.
|
|
8
|
-
*
|
|
9
|
-
* - when marshaling, always be true
|
|
10
|
-
* - assertStringify()
|
|
11
|
-
* - validateEncode()
|
|
12
|
-
* - when parsing, always be false
|
|
13
|
-
* - assertParse()
|
|
14
|
-
* - isDecode()
|
|
15
|
-
*
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
finite?: undefined | boolean;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Whether to validate finite number or not.
|
|
22
|
-
*
|
|
23
|
-
* If configured true, number typed values would be validated by Number.isFinite().
|
|
24
|
-
*
|
|
25
|
-
* However, whatever you configure, it can be ignored in below case.
|
|
26
|
-
*
|
|
27
|
-
* - when `finite` option is true, this option would be ignored
|
|
28
|
-
* - when marshaling, always be true
|
|
29
|
-
* - assertStringify()
|
|
30
|
-
* - validateEncode()
|
|
31
|
-
* - when parsing, always be false
|
|
32
|
-
* - assertParse()
|
|
33
|
-
* - isDecode()
|
|
34
|
-
*
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
numeric?: undefined | boolean;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Whether to validate functional type or not.
|
|
41
|
-
*
|
|
42
|
-
* However, whatever you configure, it becomes false when marshaling or parsing.
|
|
43
|
-
*
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
functional?: undefined | boolean;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Whether to check undefined value or not.
|
|
50
|
-
*
|
|
51
|
-
* JavaScript can assign `undefined` value to a specific property and it is an
|
|
52
|
-
* issue when validating without allowing superfluous properties. Should undefined
|
|
53
|
-
* value assigned superfluous property be allowed or not?
|
|
54
|
-
*
|
|
55
|
-
* Note that, this option only works on {@link equals} function. Other function
|
|
56
|
-
* like {@link assertEquals} or {@link validateEquals} would ignore this option
|
|
57
|
-
* value and always allow the `undefined` value.
|
|
58
|
-
*
|
|
59
|
-
* @default true
|
|
60
|
-
*/
|
|
61
|
-
undefined?: undefined | boolean;
|
|
62
|
-
}
|
|
1
|
+
export interface ITransformOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Whether to validate finite number or not.
|
|
4
|
+
*
|
|
5
|
+
* If configured true, number typed values would be validated by Number.isNaN().
|
|
6
|
+
*
|
|
7
|
+
* However, whatever you configure, it would be ignored when marshaling or parsing.
|
|
8
|
+
*
|
|
9
|
+
* - when marshaling, always be true
|
|
10
|
+
* - assertStringify()
|
|
11
|
+
* - validateEncode()
|
|
12
|
+
* - when parsing, always be false
|
|
13
|
+
* - assertParse()
|
|
14
|
+
* - isDecode()
|
|
15
|
+
*
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
finite?: undefined | boolean;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Whether to validate finite number or not.
|
|
22
|
+
*
|
|
23
|
+
* If configured true, number typed values would be validated by Number.isFinite().
|
|
24
|
+
*
|
|
25
|
+
* However, whatever you configure, it can be ignored in below case.
|
|
26
|
+
*
|
|
27
|
+
* - when `finite` option is true, this option would be ignored
|
|
28
|
+
* - when marshaling, always be true
|
|
29
|
+
* - assertStringify()
|
|
30
|
+
* - validateEncode()
|
|
31
|
+
* - when parsing, always be false
|
|
32
|
+
* - assertParse()
|
|
33
|
+
* - isDecode()
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
numeric?: undefined | boolean;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Whether to validate functional type or not.
|
|
41
|
+
*
|
|
42
|
+
* However, whatever you configure, it becomes false when marshaling or parsing.
|
|
43
|
+
*
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
functional?: undefined | boolean;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Whether to check undefined value or not.
|
|
50
|
+
*
|
|
51
|
+
* JavaScript can assign `undefined` value to a specific property and it is an
|
|
52
|
+
* issue when validating without allowing superfluous properties. Should undefined
|
|
53
|
+
* value assigned superfluous property be allowed or not?
|
|
54
|
+
*
|
|
55
|
+
* Note that, this option only works on {@link equals} function. Other function
|
|
56
|
+
* like {@link assertEquals} or {@link validateEquals} would ignore this option
|
|
57
|
+
* value and always allow the `undefined` value.
|
|
58
|
+
*
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
61
|
+
undefined?: undefined | boolean;
|
|
62
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { JsonAssertParseProgrammer } from "../../../programmers/json/JsonAssertParseProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonAssertParseTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.assertParse")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
JsonAssertParseProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { JsonAssertParseProgrammer } from "../../../programmers/json/JsonAssertParseProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonAssertParseTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.assertParse")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
JsonAssertParseProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { JsonAssertStringifyProgrammer } from "../../../programmers/json/JsonAssertStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonAssertStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.assertStringify")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
JsonAssertStringifyProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { JsonAssertStringifyProgrammer } from "../../../programmers/json/JsonAssertStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonAssertStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.assertStringify")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
JsonAssertStringifyProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { JsonAssertParseProgrammer } from "../../../programmers/json/JsonAssertParseProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateAssertParseTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"json.createAssertParse",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
JsonAssertParseProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { JsonAssertParseProgrammer } from "../../../programmers/json/JsonAssertParseProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateAssertParseTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"json.createAssertParse",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
JsonAssertParseProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { JsonAssertStringifyProgrammer } from "../../../programmers/json/JsonAssertStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateAssertStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"json.createAssertStringify",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
JsonAssertStringifyProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { JsonAssertStringifyProgrammer } from "../../../programmers/json/JsonAssertStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateAssertStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"json.createAssertStringify",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
JsonAssertStringifyProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JsonIsParseProgrammer } from "../../../programmers/json/JsonIsParseProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateIsParseTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory("json.createIsParse")(
|
|
7
|
-
(project) => (modulo) => JsonIsParseProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { JsonIsParseProgrammer } from "../../../programmers/json/JsonIsParseProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateIsParseTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory("json.createIsParse")(
|
|
7
|
+
(project) => (modulo) => JsonIsParseProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { JsonIsStringifyProgrammer } from "../../../programmers/json/JsonIsStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateIsStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"json.createIsStringify",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
JsonIsStringifyProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { JsonIsStringifyProgrammer } from "../../../programmers/json/JsonIsStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateIsStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"json.createIsStringify",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
JsonIsStringifyProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JsonStringifyProgrammer } from "../../../programmers/json/JsonStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory("json.createStringify")(
|
|
7
|
-
(project) => (modulo) => JsonStringifyProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { JsonStringifyProgrammer } from "../../../programmers/json/JsonStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory("json.createStringify")(
|
|
7
|
+
(project) => (modulo) => JsonStringifyProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { JsonValidateParseProgrammer } from "../../../programmers/json/JsonValidateParseProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateValidateParseTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"json.createValidateParse",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
JsonValidateParseProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { JsonValidateParseProgrammer } from "../../../programmers/json/JsonValidateParseProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateValidateParseTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"json.createValidateParse",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
JsonValidateParseProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { JsonValidateStringifyProgrammer } from "../../../programmers/json/JsonValidateStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonCreateValidateStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"json.createValidateStringify",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
JsonValidateStringifyProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { JsonValidateStringifyProgrammer } from "../../../programmers/json/JsonValidateStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonCreateValidateStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"json.createValidateStringify",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
JsonValidateStringifyProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JsonIsParseProgrammer } from "../../../programmers/json/JsonIsParseProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonIsParseTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.isParse")(
|
|
7
|
-
(project) => (modulo) => JsonIsParseProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { JsonIsParseProgrammer } from "../../../programmers/json/JsonIsParseProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonIsParseTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.isParse")(
|
|
7
|
+
(project) => (modulo) => JsonIsParseProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { JsonIsStringifyProgrammer } from "../../../programmers/json/JsonIsStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonIsStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.isStringify")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
JsonIsStringifyProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { JsonIsStringifyProgrammer } from "../../../programmers/json/JsonIsStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonIsStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.isStringify")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
JsonIsStringifyProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JsonStringifyProgrammer } from "../../../programmers/json/JsonStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.stringify")(
|
|
7
|
-
(project) => (modulo) => JsonStringifyProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { JsonStringifyProgrammer } from "../../../programmers/json/JsonStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.stringify")(
|
|
7
|
+
(project) => (modulo) => JsonStringifyProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { JsonValidateParseProgrammer } from "../../../programmers/json/JsonValidateParseProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonValidateParseTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.validatParse")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
JsonValidateParseProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { JsonValidateParseProgrammer } from "../../../programmers/json/JsonValidateParseProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonValidateParseTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.validatParse")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
JsonValidateParseProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { JsonValidateStringifyProgrammer } from "../../../programmers/json/JsonValidateStringifyProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace JsonValidateStringifyTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("json.validatStringify")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
JsonValidateStringifyProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { JsonValidateStringifyProgrammer } from "../../../programmers/json/JsonValidateStringifyProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace JsonValidateStringifyTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("json.validatStringify")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
JsonValidateStringifyProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MiscAssertCloneProgrammer } from "../../../programmers/misc/MiscAssertCloneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscAssertCloneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("misc.assertClone")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
MiscAssertCloneProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { MiscAssertCloneProgrammer } from "../../../programmers/misc/MiscAssertCloneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscAssertCloneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("misc.assertClone")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
MiscAssertCloneProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MiscAssertPruneProgrammer } from "../../../programmers/misc/MiscAssertPruneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscAssertPruneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("misc.assertPrune")(
|
|
7
|
-
(project) => (modulo) =>
|
|
8
|
-
MiscAssertPruneProgrammer.write(project)(modulo),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { MiscAssertPruneProgrammer } from "../../../programmers/misc/MiscAssertPruneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscAssertPruneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("misc.assertPrune")(
|
|
7
|
+
(project) => (modulo) =>
|
|
8
|
+
MiscAssertPruneProgrammer.write(project)(modulo),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MiscCloneProgrammer } from "../../../programmers/misc/MiscCloneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCloneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.scalar("misc.clone")(
|
|
7
|
-
(project) => (modulo) => MiscCloneProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { MiscCloneProgrammer } from "../../../programmers/misc/MiscCloneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCloneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.scalar("misc.clone")(
|
|
7
|
+
(project) => (modulo) => MiscCloneProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { MiscAssertCloneProgrammer } from "../../../programmers/misc/MiscAssertCloneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCreateAssertCloneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"misc.createAssertClone",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
MiscAssertCloneProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { MiscAssertCloneProgrammer } from "../../../programmers/misc/MiscAssertCloneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCreateAssertCloneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"misc.createAssertClone",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
MiscAssertCloneProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { MiscAssertPruneProgrammer } from "../../../programmers/misc/MiscAssertPruneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCreateAssertPruneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory(
|
|
7
|
-
"misc.createAssertPrune",
|
|
8
|
-
)(
|
|
9
|
-
(project) => (modulo) =>
|
|
10
|
-
MiscAssertPruneProgrammer.write(project)(modulo),
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { MiscAssertPruneProgrammer } from "../../../programmers/misc/MiscAssertPruneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCreateAssertPruneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory(
|
|
7
|
+
"misc.createAssertPrune",
|
|
8
|
+
)(
|
|
9
|
+
(project) => (modulo) =>
|
|
10
|
+
MiscAssertPruneProgrammer.write(project)(modulo),
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MiscCloneProgrammer } from "../../../programmers/misc/MiscCloneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCreateCloneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory("misc.createClone")(
|
|
7
|
-
(project) => (modulo) => MiscCloneProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { MiscCloneProgrammer } from "../../../programmers/misc/MiscCloneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCreateCloneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory("misc.createClone")(
|
|
7
|
+
(project) => (modulo) => MiscCloneProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MiscIsCloneProgrammer } from "../../../programmers/misc/MiscIsCloneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCreateIsCloneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory("misc.createIsClone")(
|
|
7
|
-
(project) => (modulo) => MiscIsCloneProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { MiscIsCloneProgrammer } from "../../../programmers/misc/MiscIsCloneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCreateIsCloneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory("misc.createIsClone")(
|
|
7
|
+
(project) => (modulo) => MiscIsCloneProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MiscIsPruneProgrammer } from "../../../programmers/misc/MiscIsPruneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCreateIsPruneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory("misc.createIsPrune")(
|
|
7
|
-
(project) => (modulo) => MiscIsPruneProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { MiscIsPruneProgrammer } from "../../../programmers/misc/MiscIsPruneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCreateIsPruneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory("misc.createIsPrune")(
|
|
7
|
+
(project) => (modulo) => MiscIsPruneProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MiscPruneProgrammer } from "../../../programmers/misc/MiscPruneProgrammer";
|
|
2
|
-
|
|
3
|
-
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
-
|
|
5
|
-
export namespace MiscCreatePruneTransformer {
|
|
6
|
-
export const transform = GenericTransformer.factory("misc.createPrune")(
|
|
7
|
-
(project) => (modulo) => MiscPruneProgrammer.write(project)(modulo),
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import { MiscPruneProgrammer } from "../../../programmers/misc/MiscPruneProgrammer";
|
|
2
|
+
|
|
3
|
+
import { GenericTransformer } from "../../internal/GenericTransformer";
|
|
4
|
+
|
|
5
|
+
export namespace MiscCreatePruneTransformer {
|
|
6
|
+
export const transform = GenericTransformer.factory("misc.createPrune")(
|
|
7
|
+
(project) => (modulo) => MiscPruneProgrammer.write(project)(modulo),
|
|
8
|
+
);
|
|
9
|
+
}
|