typia 9.0.1 → 9.1.0
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/lib/functional.js +19 -27
- package/lib/functional.js.map +1 -1
- package/lib/functional.mjs +20 -27
- package/lib/http.js +27 -32
- package/lib/http.js.map +1 -1
- package/lib/http.mjs +28 -32
- package/lib/json.d.mts +66 -4
- package/lib/json.d.ts +66 -4
- package/lib/json.js +23 -21
- package/lib/json.js.map +1 -1
- package/lib/json.mjs +24 -22
- package/lib/llm.js +4 -9
- package/lib/llm.js.map +1 -1
- package/lib/llm.mjs +5 -9
- package/lib/misc.js +27 -23
- package/lib/misc.js.map +1 -1
- package/lib/misc.mjs +28 -23
- package/lib/module.d.mts +1 -0
- package/lib/module.d.ts +1 -0
- package/lib/module.js +20 -24
- package/lib/module.js.map +1 -1
- package/lib/module.mjs +19 -24
- package/lib/notations.js +25 -30
- package/lib/notations.js.map +1 -1
- package/lib/notations.mjs +26 -30
- package/lib/programmers/json/JsonSchemaProgrammer.d.mts +9 -0
- package/lib/programmers/json/JsonSchemaProgrammer.d.ts +9 -0
- package/lib/programmers/json/JsonSchemaProgrammer.js +20 -0
- package/lib/programmers/json/JsonSchemaProgrammer.js.map +1 -0
- package/lib/programmers/json/JsonSchemaProgrammer.mjs +20 -0
- package/lib/programmers/json/JsonSchemaProgrammer.mjs.map +1 -0
- package/lib/programmers/json/JsonSchemasProgrammer.js +1 -1
- package/lib/programmers/json/JsonSchemasProgrammer.js.map +1 -1
- package/lib/programmers/json/JsonSchemasProgrammer.mjs +1 -1
- package/lib/protobuf.js +18 -23
- package/lib/protobuf.js.map +1 -1
- package/lib/protobuf.mjs +19 -23
- package/lib/reflect.js +3 -8
- package/lib/reflect.js.map +1 -1
- package/lib/reflect.mjs +4 -8
- package/lib/schemas/json/IJsonSchemaUnit.d.mts +26 -0
- package/lib/schemas/json/IJsonSchemaUnit.d.ts +26 -0
- package/lib/schemas/json/IJsonSchemaUnit.js +3 -0
- package/lib/schemas/json/IJsonSchemaUnit.js.map +1 -0
- package/lib/schemas/json/IJsonSchemaUnit.mjs +2 -0
- package/lib/schemas/json/IJsonSchemaUnit.mjs.map +1 -0
- package/lib/transformers/CallExpressionTransformer.js +2 -2
- package/lib/transformers/CallExpressionTransformer.js.map +1 -1
- package/lib/transformers/CallExpressionTransformer.mjs +2 -2
- package/lib/transformers/NoTransformConfigurationError.d.mts +1 -0
- package/lib/transformers/NoTransformConfigurationError.d.ts +1 -0
- package/lib/transformers/NoTransformConfigurationError.js +20 -0
- package/lib/transformers/NoTransformConfigurationError.js.map +1 -0
- package/lib/transformers/NoTransformConfigurationError.mjs +19 -0
- package/lib/transformers/NoTransformConfigurationError.mjs.map +1 -0
- package/lib/transformers/features/json/JsonSchemaTransformer.d.mts +5 -0
- package/lib/transformers/features/json/JsonSchemaTransformer.d.ts +5 -0
- package/lib/transformers/features/json/JsonSchemaTransformer.js +108 -0
- package/lib/transformers/features/json/JsonSchemaTransformer.js.map +1 -0
- package/lib/transformers/features/json/JsonSchemaTransformer.mjs +104 -0
- package/lib/transformers/features/json/JsonSchemaTransformer.mjs.map +1 -0
- package/lib/transformers/features/json/JsonSchemasTransformer.js +9 -9
- package/lib/transformers/features/json/JsonSchemasTransformer.js.map +1 -1
- package/lib/transformers/features/json/JsonSchemasTransformer.mjs +9 -9
- package/package.json +1 -1
- package/src/functional.ts +20 -30
- package/src/http.ts +28 -35
- package/src/json.ts +73 -73
- package/src/llm.ts +5 -12
- package/src/misc.ts +19 -26
- package/src/module.ts +21 -27
- package/src/notations.ts +26 -33
- package/src/programmers/json/JsonSchemaProgrammer.ts +26 -0
- package/src/programmers/json/JsonSchemasProgrammer.ts +1 -1
- package/src/protobuf.ts +19 -26
- package/src/reflect.ts +4 -11
- package/src/schemas/json/IJsonSchemaUnit.ts +32 -0
- package/src/transformers/CallExpressionTransformer.ts +2 -2
- package/src/transformers/NoTransformConfigurationError.ts +18 -0
- package/src/transformers/features/json/JsonSchemaTransformer.ts +135 -0
- package/src/transformers/features/json/JsonSchemasTransformer.ts +9 -9
package/lib/llm.js
CHANGED
|
@@ -3,28 +3,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.application = application;
|
|
4
4
|
exports.parameters = parameters;
|
|
5
5
|
exports.schema = schema;
|
|
6
|
+
const NoTransformConfigurationError_1 = require("./transformers/NoTransformConfigurationError");
|
|
6
7
|
/**
|
|
7
8
|
* @internal
|
|
8
9
|
*/
|
|
9
10
|
function application() {
|
|
10
|
-
|
|
11
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.application");
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
14
|
* @internal
|
|
14
15
|
*/
|
|
15
16
|
function parameters() {
|
|
16
|
-
|
|
17
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.parameters");
|
|
17
18
|
}
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
|
20
21
|
*/
|
|
21
22
|
function schema() {
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
|
-
function halt(name) {
|
|
28
|
-
throw new Error(`Error on typia.llm.${name}(): no transform has been configured. Read and follow https://typia.io/docs/setup please.`);
|
|
23
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.schema");
|
|
29
24
|
}
|
|
30
25
|
//# sourceMappingURL=llm.js.map
|
package/lib/llm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm.js","sourceRoot":"","sources":["../src/llm.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"llm.js","sourceRoot":"","sources":["../src/llm.ts"],"names":[],"mappings":";;AA2HA,kCAEC;AA2FD,gCAEC;AAkHD,wBAEC;AA5UD,gGAA6F;AAsH7F;;GAEG;AACH,SAAgB,WAAW;IACzB,IAAA,6DAA6B,EAAC,iBAAiB,CAAC,CAAC;AACnD,CAAC;AAwFD;;GAEG;AACH,SAAgB,UAAU;IACxB,IAAA,6DAA6B,EAAC,gBAAgB,CAAC,CAAC;AAClD,CAAC;AA+GD;;GAEG;AACH,SAAgB,MAAM;IACpB,IAAA,6DAA6B,EAAC,YAAY,CAAC,CAAC;AAC9C,CAAC"}
|
package/lib/llm.mjs
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
|
+
import { NoTransformConfigurationError } from './transformers/NoTransformConfigurationError.mjs';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* @internal
|
|
3
5
|
*/
|
|
4
6
|
function application() {
|
|
5
|
-
|
|
7
|
+
NoTransformConfigurationError("llm.application");
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
10
|
* @internal
|
|
9
11
|
*/
|
|
10
12
|
function parameters() {
|
|
11
|
-
|
|
13
|
+
NoTransformConfigurationError("llm.parameters");
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* @internal
|
|
15
17
|
*/
|
|
16
18
|
function schema() {
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
|
-
function halt(name) {
|
|
23
|
-
throw new Error(`Error on typia.llm.${name}(): no transform has been configured. Read and follow https://typia.io/docs/setup please.`);
|
|
19
|
+
NoTransformConfigurationError("llm.schema");
|
|
24
20
|
}
|
|
25
21
|
|
|
26
22
|
export { application, parameters, schema };
|
package/lib/misc.js
CHANGED
|
@@ -17,112 +17,116 @@ exports.createPrune = createPrune;
|
|
|
17
17
|
exports.createAssertPrune = createAssertPrune;
|
|
18
18
|
exports.createIsPrune = createIsPrune;
|
|
19
19
|
exports.createValidatePrune = createValidatePrune;
|
|
20
|
+
/* ===========================================================
|
|
21
|
+
MISCELLANEOUS
|
|
22
|
+
- LITERALS
|
|
23
|
+
- CLONE
|
|
24
|
+
- PRUNE
|
|
25
|
+
- FACTORY FUNCTIONS
|
|
26
|
+
==============================================================
|
|
27
|
+
LITERALS
|
|
28
|
+
----------------------------------------------------------- */
|
|
29
|
+
const NoTransformConfigurationError_1 = require("./transformers/NoTransformConfigurationError");
|
|
20
30
|
/**
|
|
21
31
|
* @internal
|
|
22
32
|
*/
|
|
23
33
|
function literals() {
|
|
24
|
-
|
|
34
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.literals");
|
|
25
35
|
}
|
|
26
36
|
/**
|
|
27
37
|
* @internal
|
|
28
38
|
*/
|
|
29
39
|
function clone() {
|
|
30
|
-
|
|
40
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.clone");
|
|
31
41
|
}
|
|
32
42
|
/**
|
|
33
43
|
* @internal
|
|
34
44
|
*/
|
|
35
45
|
function assertClone() {
|
|
36
|
-
|
|
46
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.assertClone");
|
|
37
47
|
}
|
|
38
48
|
/**
|
|
39
49
|
* @internal
|
|
40
50
|
*/
|
|
41
51
|
function isClone() {
|
|
42
|
-
|
|
52
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.isClone");
|
|
43
53
|
}
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
function validateClone() {
|
|
48
|
-
|
|
58
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.validateClone");
|
|
49
59
|
}
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
function prune() {
|
|
54
|
-
|
|
64
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.prune");
|
|
55
65
|
}
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
function assertPrune() {
|
|
60
|
-
|
|
70
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.assertPrune");
|
|
61
71
|
}
|
|
62
72
|
/**
|
|
63
73
|
* @internal
|
|
64
74
|
*/
|
|
65
75
|
function isPrune() {
|
|
66
|
-
|
|
76
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.isPrune");
|
|
67
77
|
}
|
|
68
78
|
/**
|
|
69
79
|
* @internal
|
|
70
80
|
*/
|
|
71
81
|
function validatePrune() {
|
|
72
|
-
|
|
82
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.validatePrune");
|
|
73
83
|
}
|
|
74
84
|
/**
|
|
75
85
|
* @internal
|
|
76
86
|
*/
|
|
77
87
|
function createClone() {
|
|
78
|
-
|
|
88
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createClone");
|
|
79
89
|
}
|
|
80
90
|
/**
|
|
81
91
|
* @internal
|
|
82
92
|
*/
|
|
83
93
|
function createAssertClone() {
|
|
84
|
-
|
|
94
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createAssertClone");
|
|
85
95
|
}
|
|
86
96
|
/**
|
|
87
97
|
* @internal
|
|
88
98
|
*/
|
|
89
99
|
function createIsClone() {
|
|
90
|
-
|
|
100
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createIsClone");
|
|
91
101
|
}
|
|
92
102
|
/**
|
|
93
103
|
* @internal
|
|
94
104
|
*/
|
|
95
105
|
function createValidateClone() {
|
|
96
|
-
|
|
106
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createValidateClone");
|
|
97
107
|
}
|
|
98
108
|
/**
|
|
99
109
|
* @internal
|
|
100
110
|
*/
|
|
101
111
|
function createPrune() {
|
|
102
|
-
|
|
112
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createPrune");
|
|
103
113
|
}
|
|
104
114
|
/**
|
|
105
115
|
* @internal
|
|
106
116
|
*/
|
|
107
117
|
function createAssertPrune() {
|
|
108
|
-
|
|
118
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createAssertPrune");
|
|
109
119
|
}
|
|
110
120
|
/**
|
|
111
121
|
* @internal
|
|
112
122
|
*/
|
|
113
123
|
function createIsPrune() {
|
|
114
|
-
|
|
124
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createIsPrune");
|
|
115
125
|
}
|
|
116
126
|
/**
|
|
117
127
|
* @internal
|
|
118
128
|
*/
|
|
119
129
|
function createValidatePrune() {
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
function halt(name) {
|
|
126
|
-
throw new Error(`Error on typia.misc.${name}(): no transform has been configured. Read and follow https://typia.io/docs/setup please.`);
|
|
130
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("misc.createValidatePrune");
|
|
127
131
|
}
|
|
128
132
|
//# sourceMappingURL=misc.js.map
|
package/lib/misc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":";;AAsDA,4BAEC;AA4BD,sBAEC;AAmDD,kCAEC;AA2CD,0BAEC;AAyCD,sCAEC;AA+BD,sBAEC;AAmDD,kCAEC;AA2CD,0BAEC;AA6CD,sCAEC;AA6BD,kCAEC;AAgCD,8CAEC;AA0BD,sCAEC;AA4BD,kDAEC;AA0BD,kCAEC;AAgCD,8CAEC;AA0BD,sCAEC;AA4BD,kDAIC;AA1oBD;;;;;;;;8DAQ8D;AAC9D,gGAA6F;AA0C7F;;GAEG;AACH,SAAgB,QAAQ;IACtB,IAAA,6DAA6B,EAAC,eAAe,CAAC,CAAC;AACjD,CAAC;AAyBD;;GAEG;AACH,SAAgB,KAAK;IACnB,IAAA,6DAA6B,EAAC,YAAY,CAAC,CAAC;AAC9C,CAAC;AAgDD;;GAEG;AACH,SAAgB,WAAW;IACzB,IAAA,6DAA6B,EAAC,kBAAkB,CAA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EG;AACH,SAAgB,mBAAmB;IAGjC,IAAA,6DAA6B,EAAC,0BAA0B,CAAC,CAAC;AAC5D,CAAC"}
|
package/lib/misc.mjs
CHANGED
|
@@ -1,110 +1,115 @@
|
|
|
1
|
+
import { NoTransformConfigurationError } from './transformers/NoTransformConfigurationError.mjs';
|
|
2
|
+
|
|
3
|
+
/* ===========================================================
|
|
4
|
+
MISCELLANEOUS
|
|
5
|
+
- LITERALS
|
|
6
|
+
- CLONE
|
|
7
|
+
- PRUNE
|
|
8
|
+
- FACTORY FUNCTIONS
|
|
9
|
+
==============================================================
|
|
10
|
+
LITERALS
|
|
11
|
+
----------------------------------------------------------- */
|
|
1
12
|
/**
|
|
2
13
|
* @internal
|
|
3
14
|
*/
|
|
4
15
|
function literals() {
|
|
5
|
-
|
|
16
|
+
NoTransformConfigurationError("misc.literals");
|
|
6
17
|
}
|
|
7
18
|
/**
|
|
8
19
|
* @internal
|
|
9
20
|
*/
|
|
10
21
|
function clone() {
|
|
11
|
-
|
|
22
|
+
NoTransformConfigurationError("misc.clone");
|
|
12
23
|
}
|
|
13
24
|
/**
|
|
14
25
|
* @internal
|
|
15
26
|
*/
|
|
16
27
|
function assertClone() {
|
|
17
|
-
|
|
28
|
+
NoTransformConfigurationError("misc.assertClone");
|
|
18
29
|
}
|
|
19
30
|
/**
|
|
20
31
|
* @internal
|
|
21
32
|
*/
|
|
22
33
|
function isClone() {
|
|
23
|
-
|
|
34
|
+
NoTransformConfigurationError("misc.isClone");
|
|
24
35
|
}
|
|
25
36
|
/**
|
|
26
37
|
* @internal
|
|
27
38
|
*/
|
|
28
39
|
function validateClone() {
|
|
29
|
-
|
|
40
|
+
NoTransformConfigurationError("misc.validateClone");
|
|
30
41
|
}
|
|
31
42
|
/**
|
|
32
43
|
* @internal
|
|
33
44
|
*/
|
|
34
45
|
function prune() {
|
|
35
|
-
|
|
46
|
+
NoTransformConfigurationError("misc.prune");
|
|
36
47
|
}
|
|
37
48
|
/**
|
|
38
49
|
* @internal
|
|
39
50
|
*/
|
|
40
51
|
function assertPrune() {
|
|
41
|
-
|
|
52
|
+
NoTransformConfigurationError("misc.assertPrune");
|
|
42
53
|
}
|
|
43
54
|
/**
|
|
44
55
|
* @internal
|
|
45
56
|
*/
|
|
46
57
|
function isPrune() {
|
|
47
|
-
|
|
58
|
+
NoTransformConfigurationError("misc.isPrune");
|
|
48
59
|
}
|
|
49
60
|
/**
|
|
50
61
|
* @internal
|
|
51
62
|
*/
|
|
52
63
|
function validatePrune() {
|
|
53
|
-
|
|
64
|
+
NoTransformConfigurationError("misc.validatePrune");
|
|
54
65
|
}
|
|
55
66
|
/**
|
|
56
67
|
* @internal
|
|
57
68
|
*/
|
|
58
69
|
function createClone() {
|
|
59
|
-
|
|
70
|
+
NoTransformConfigurationError("misc.createClone");
|
|
60
71
|
}
|
|
61
72
|
/**
|
|
62
73
|
* @internal
|
|
63
74
|
*/
|
|
64
75
|
function createAssertClone() {
|
|
65
|
-
|
|
76
|
+
NoTransformConfigurationError("misc.createAssertClone");
|
|
66
77
|
}
|
|
67
78
|
/**
|
|
68
79
|
* @internal
|
|
69
80
|
*/
|
|
70
81
|
function createIsClone() {
|
|
71
|
-
|
|
82
|
+
NoTransformConfigurationError("misc.createIsClone");
|
|
72
83
|
}
|
|
73
84
|
/**
|
|
74
85
|
* @internal
|
|
75
86
|
*/
|
|
76
87
|
function createValidateClone() {
|
|
77
|
-
|
|
88
|
+
NoTransformConfigurationError("misc.createValidateClone");
|
|
78
89
|
}
|
|
79
90
|
/**
|
|
80
91
|
* @internal
|
|
81
92
|
*/
|
|
82
93
|
function createPrune() {
|
|
83
|
-
|
|
94
|
+
NoTransformConfigurationError("misc.createPrune");
|
|
84
95
|
}
|
|
85
96
|
/**
|
|
86
97
|
* @internal
|
|
87
98
|
*/
|
|
88
99
|
function createAssertPrune() {
|
|
89
|
-
|
|
100
|
+
NoTransformConfigurationError("misc.createAssertPrune");
|
|
90
101
|
}
|
|
91
102
|
/**
|
|
92
103
|
* @internal
|
|
93
104
|
*/
|
|
94
105
|
function createIsPrune() {
|
|
95
|
-
|
|
106
|
+
NoTransformConfigurationError("misc.createIsPrune");
|
|
96
107
|
}
|
|
97
108
|
/**
|
|
98
109
|
* @internal
|
|
99
110
|
*/
|
|
100
111
|
function createValidatePrune() {
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
function halt(name) {
|
|
107
|
-
throw new Error(`Error on typia.misc.${name}(): no transform has been configured. Read and follow https://typia.io/docs/setup please.`);
|
|
112
|
+
NoTransformConfigurationError("misc.createValidatePrune");
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
export { assertClone, assertPrune, clone, createAssertClone, createAssertPrune, createClone, createIsClone, createIsPrune, createPrune, createValidateClone, createValidatePrune, isClone, isPrune, literals, prune, validateClone, validatePrune };
|
package/lib/module.d.mts
CHANGED
|
@@ -15,6 +15,7 @@ export * as tags from "./tags";
|
|
|
15
15
|
export * from "./schemas/metadata/IJsDocTagInfo";
|
|
16
16
|
export * from "./schemas/json/IJsonApplication";
|
|
17
17
|
export * from "./schemas/json/IJsonSchemaCollection";
|
|
18
|
+
export * from "./schemas/json/IJsonSchemaUnit";
|
|
18
19
|
export * from "./AssertionGuard";
|
|
19
20
|
export * from "./IRandomGenerator";
|
|
20
21
|
export * from "./IValidation";
|
package/lib/module.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * as tags from "./tags";
|
|
|
15
15
|
export * from "./schemas/metadata/IJsDocTagInfo";
|
|
16
16
|
export * from "./schemas/json/IJsonApplication";
|
|
17
17
|
export * from "./schemas/json/IJsonSchemaCollection";
|
|
18
|
+
export * from "./schemas/json/IJsonSchemaUnit";
|
|
18
19
|
export * from "./AssertionGuard";
|
|
19
20
|
export * from "./IRandomGenerator";
|
|
20
21
|
export * from "./IValidation";
|
package/lib/module.js
CHANGED
|
@@ -55,6 +55,7 @@ exports.createAssertGuardEquals = createAssertGuardEquals;
|
|
|
55
55
|
exports.createEquals = createEquals;
|
|
56
56
|
exports.createValidateEquals = createValidateEquals;
|
|
57
57
|
exports.createRandom = createRandom;
|
|
58
|
+
const NoTransformConfigurationError_1 = require("./transformers/NoTransformConfigurationError");
|
|
58
59
|
exports.functional = __importStar(require("./functional"));
|
|
59
60
|
exports.http = __importStar(require("./http"));
|
|
60
61
|
exports.llm = __importStar(require("./llm"));
|
|
@@ -67,6 +68,7 @@ exports.tags = __importStar(require("./tags"));
|
|
|
67
68
|
__exportStar(require("./schemas/metadata/IJsDocTagInfo"), exports);
|
|
68
69
|
__exportStar(require("./schemas/json/IJsonApplication"), exports);
|
|
69
70
|
__exportStar(require("./schemas/json/IJsonSchemaCollection"), exports);
|
|
71
|
+
__exportStar(require("./schemas/json/IJsonSchemaUnit"), exports);
|
|
70
72
|
__exportStar(require("./AssertionGuard"), exports);
|
|
71
73
|
__exportStar(require("./IRandomGenerator"), exports);
|
|
72
74
|
__exportStar(require("./IValidation"), exports);
|
|
@@ -81,114 +83,108 @@ __exportStar(require("./IReadableURLSearchParams"), exports);
|
|
|
81
83
|
* @internal
|
|
82
84
|
*/
|
|
83
85
|
function assert() {
|
|
84
|
-
|
|
86
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("assert");
|
|
85
87
|
}
|
|
86
88
|
/**
|
|
87
89
|
* @internal
|
|
88
90
|
*/
|
|
89
91
|
function assertGuard() {
|
|
90
|
-
|
|
92
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("assertGuard");
|
|
91
93
|
}
|
|
92
94
|
/**
|
|
93
95
|
* @internal
|
|
94
96
|
*/
|
|
95
97
|
function is() {
|
|
96
|
-
|
|
98
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("is");
|
|
97
99
|
}
|
|
98
100
|
/**
|
|
99
101
|
* @internal
|
|
100
102
|
*/
|
|
101
103
|
function validate() {
|
|
102
|
-
|
|
104
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("validate");
|
|
103
105
|
}
|
|
104
106
|
/**
|
|
105
107
|
* @internal
|
|
106
108
|
*/
|
|
107
109
|
function assertEquals() {
|
|
108
|
-
|
|
110
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("assertEquals");
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
113
|
* @internal
|
|
112
114
|
*/
|
|
113
115
|
function assertGuardEquals() {
|
|
114
|
-
|
|
116
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("assertGuardEquals");
|
|
115
117
|
}
|
|
116
118
|
/**
|
|
117
119
|
* @internal
|
|
118
120
|
*/
|
|
119
121
|
function equals() {
|
|
120
|
-
|
|
122
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("equals");
|
|
121
123
|
}
|
|
122
124
|
/**
|
|
123
125
|
* @internal
|
|
124
126
|
*/
|
|
125
127
|
function validateEquals() {
|
|
126
|
-
|
|
128
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("validateEquals");
|
|
127
129
|
}
|
|
128
130
|
/**
|
|
129
131
|
* @internal
|
|
130
132
|
*/
|
|
131
133
|
function random() {
|
|
132
|
-
|
|
134
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("random");
|
|
133
135
|
}
|
|
134
136
|
/**
|
|
135
137
|
* @internal
|
|
136
138
|
*/
|
|
137
139
|
function createAssert() {
|
|
138
|
-
|
|
140
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createAssert");
|
|
139
141
|
}
|
|
140
142
|
/**
|
|
141
143
|
* @internal
|
|
142
144
|
*/
|
|
143
145
|
function createAssertGuard() {
|
|
144
|
-
|
|
146
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createAssertGuard");
|
|
145
147
|
}
|
|
146
148
|
/**
|
|
147
149
|
* @internal
|
|
148
150
|
*/
|
|
149
151
|
function createIs() {
|
|
150
|
-
|
|
152
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createIs");
|
|
151
153
|
}
|
|
152
154
|
/**
|
|
153
155
|
* @internal
|
|
154
156
|
*/
|
|
155
157
|
function createValidate() {
|
|
156
|
-
|
|
158
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createValidate");
|
|
157
159
|
}
|
|
158
160
|
/**
|
|
159
161
|
* @internal
|
|
160
162
|
*/
|
|
161
163
|
function createAssertEquals() {
|
|
162
|
-
|
|
164
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createAssertEquals");
|
|
163
165
|
}
|
|
164
166
|
/**
|
|
165
167
|
* @internal
|
|
166
168
|
*/
|
|
167
169
|
function createAssertGuardEquals() {
|
|
168
|
-
|
|
170
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createAssertGuardEquals");
|
|
169
171
|
}
|
|
170
172
|
/**
|
|
171
173
|
* @internal
|
|
172
174
|
*/
|
|
173
175
|
function createEquals() {
|
|
174
|
-
|
|
176
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createEquals");
|
|
175
177
|
}
|
|
176
178
|
/**
|
|
177
179
|
* @internal
|
|
178
180
|
*/
|
|
179
181
|
function createValidateEquals() {
|
|
180
|
-
|
|
182
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createValidateEquals");
|
|
181
183
|
}
|
|
182
184
|
/**
|
|
183
185
|
* @internal
|
|
184
186
|
*/
|
|
185
187
|
function createRandom() {
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
function halt(name) {
|
|
192
|
-
throw new Error(`Error on typia.${name}(): no transform has been configured. Read and follow https://typia.io/docs/setup please.`);
|
|
188
|
+
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("createRandom");
|
|
193
189
|
}
|
|
194
190
|
//# sourceMappingURL=module.js.map
|
package/lib/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGA,wBAEC;AAiED,kCAEC;AAsDD,gBAEC;AAuDD,4BAEC;AAkED,oCAEC;AAuED,8CAEC;AAuDD,wBAEC;AAyDD,wCAEC;AA8CD,wBAEC;AAmCD,oCAEC;AA8DD,8CAEC;AA0BD,4BAEC;AA0BD,wCAEC;AAgCD,gDAEC;AA8DD,0DAIC;AA0BD,oCAEC;AA0BD,oDAEC;AA8BD,oCAEC;AAh6BD,gGAA6F;AAQ7F,2DAA2C;AAC3C,+CAA+B;AAC/B,6CAA6B;AAC7B,+CAA+B;AAC/B,+CAA+B;AAC/B,yDAAyC;AACzC,uDAAuC;AACvC,qDAAqC;AACrC,+CAA+B;AAE/B,mEAAiD;AACjD,kEAAgD;AAChD,uEAAqD;AACrD,iEAA+C;AAC/C,mDAAiC;AACjC,qDAAmC;AACnC,gDAA8B;AAC9B,mDAAiC;AAEjC,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B;AAC5B,6DAA2C;AA6D3C;;GAEG;AACH,SAAgB,MAAM;IACpB,IAAA,6DAA6B,EAAC,QAAQ,CAAC,CAAC;AAC1C,CAAC;AA8DD;;GAEG;AACH,SAAgB,WAAW;IACzB,IAAA,6DAA6B,EAAC,aAAa,CAAC,CAAC;AAC/C,CAAC;AAmDD;;GAEG;AACH,SAAgB,EAAE;IAChB,IAAA,6DAA6B,EAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAoDD;;GAEG;AACH,SAAgB,QAAQ;IACtB,IAAA,6DAA6B,EAAC,UAAU,CAAC,CAAC;AAC5C,CAAC;AA+DD;;GAEG;AACH,SAAgB,YAAY;IAC1B,IAAA,6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