typia 12.0.0-dev.20260307-2 → 12.0.0-dev.20260310

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 (155) hide show
  1. package/lib/executable/setup/PluginConfigurator.js +3 -3
  2. package/lib/executable/setup/PluginConfigurator.mjs +3 -3
  3. package/lib/executable/setup/PluginConfigurator.mjs.map +1 -1
  4. package/lib/executable/typia.js +15 -15
  5. package/lib/executable/typia.mjs +15 -15
  6. package/lib/internal/_coerceLlmArguments.d.ts +2 -0
  7. package/lib/internal/_coerceLlmArguments.js +7 -0
  8. package/lib/internal/_coerceLlmArguments.js.map +1 -0
  9. package/lib/internal/_coerceLlmArguments.mjs +6 -0
  10. package/lib/internal/_coerceLlmArguments.mjs.map +1 -0
  11. package/lib/internal/_llmApplicationFinalize.js +1 -1
  12. package/lib/internal/_llmApplicationFinalize.js.map +1 -1
  13. package/lib/internal/_llmApplicationFinalize.mjs +1 -0
  14. package/lib/internal/_llmApplicationFinalize.mjs.map +1 -1
  15. package/lib/internal/_parseLlmArguments.d.ts +2 -0
  16. package/lib/internal/_parseLlmArguments.js +7 -0
  17. package/lib/internal/_parseLlmArguments.js.map +1 -0
  18. package/lib/internal/_parseLlmArguments.mjs +6 -0
  19. package/lib/internal/_parseLlmArguments.mjs.map +1 -0
  20. package/lib/llm.d.ts +154 -1
  21. package/lib/llm.js +20 -0
  22. package/lib/llm.js.map +1 -1
  23. package/lib/llm.mjs +17 -1
  24. package/lib/llm.mjs.map +1 -1
  25. package/lib/re-exports.d.ts +1 -1
  26. package/lib/re-exports.js.map +1 -1
  27. package/package.json +5 -5
  28. package/src/TypeGuardError.ts +145 -145
  29. package/src/executable/TypiaGenerateWizard.ts +82 -82
  30. package/src/executable/TypiaPatchWizard.ts +45 -45
  31. package/src/executable/TypiaSetupWizard.ts +171 -171
  32. package/src/executable/setup/ArgumentParser.ts +42 -42
  33. package/src/executable/setup/CommandExecutor.ts +8 -8
  34. package/src/executable/setup/FileRetriever.ts +19 -19
  35. package/src/executable/setup/PackageManager.ts +87 -87
  36. package/src/executable/setup/PluginConfigurator.ts +74 -74
  37. package/src/executable/typia.ts +55 -55
  38. package/src/functional.ts +600 -600
  39. package/src/http.ts +843 -843
  40. package/src/index.ts +4 -4
  41. package/src/internal/_IProtobufWriter.ts +18 -18
  42. package/src/internal/_ProtobufReader.ts +187 -187
  43. package/src/internal/_ProtobufSizer.ts +137 -137
  44. package/src/internal/_ProtobufWriter.ts +135 -135
  45. package/src/internal/_accessExpressionAsString.ts +46 -46
  46. package/src/internal/_assertGuard.ts +13 -13
  47. package/src/internal/_coerceLlmArguments.ts +7 -0
  48. package/src/internal/_createStandardSchema.ts +133 -133
  49. package/src/internal/_functionalTypeGuardErrorFactory.ts +4 -4
  50. package/src/internal/_httpFormDataReadArray.ts +4 -4
  51. package/src/internal/_httpFormDataReadBigint.ts +18 -18
  52. package/src/internal/_httpFormDataReadBlob.ts +10 -10
  53. package/src/internal/_httpFormDataReadBoolean.ts +16 -16
  54. package/src/internal/_httpFormDataReadFile.ts +10 -10
  55. package/src/internal/_httpFormDataReadNumber.ts +15 -15
  56. package/src/internal/_httpFormDataReadString.ts +10 -10
  57. package/src/internal/_httpHeaderReadBigint.ts +10 -10
  58. package/src/internal/_httpHeaderReadBoolean.ts +8 -8
  59. package/src/internal/_httpHeaderReadNumber.ts +7 -7
  60. package/src/internal/_httpParameterReadBigint.ts +10 -10
  61. package/src/internal/_httpParameterReadBoolean.ts +8 -8
  62. package/src/internal/_httpParameterReadNumber.ts +7 -7
  63. package/src/internal/_httpParameterReadString.ts +2 -2
  64. package/src/internal/_httpQueryParseURLSearchParams.ts +12 -12
  65. package/src/internal/_httpQueryReadArray.ts +4 -4
  66. package/src/internal/_httpQueryReadBigint.ts +12 -12
  67. package/src/internal/_httpQueryReadBoolean.ts +14 -14
  68. package/src/internal/_httpQueryReadNumber.ts +9 -9
  69. package/src/internal/_httpQueryReadString.ts +4 -4
  70. package/src/internal/_isBetween.ts +2 -2
  71. package/src/internal/_isBigintString.ts +8 -8
  72. package/src/internal/_isFormatByte.ts +7 -7
  73. package/src/internal/_isFormatDate.ts +3 -3
  74. package/src/internal/_isFormatDateTime.ts +4 -4
  75. package/src/internal/_isFormatDuration.ts +4 -4
  76. package/src/internal/_isFormatEmail.ts +4 -4
  77. package/src/internal/_isFormatHostname.ts +4 -4
  78. package/src/internal/_isFormatIdnEmail.ts +4 -4
  79. package/src/internal/_isFormatIdnHostname.ts +4 -4
  80. package/src/internal/_isFormatIpv4.ts +4 -4
  81. package/src/internal/_isFormatIpv6.ts +4 -4
  82. package/src/internal/_isFormatIri.ts +3 -3
  83. package/src/internal/_isFormatIriReference.ts +4 -4
  84. package/src/internal/_isFormatJsonPointer.ts +3 -3
  85. package/src/internal/_isFormatPassword.ts +1 -1
  86. package/src/internal/_isFormatRegex.ts +8 -8
  87. package/src/internal/_isFormatRelativeJsonPointer.ts +4 -4
  88. package/src/internal/_isFormatTime.ts +4 -4
  89. package/src/internal/_isFormatUri.ts +6 -6
  90. package/src/internal/_isFormatUriReference.ts +5 -5
  91. package/src/internal/_isFormatUriTemplate.ts +4 -4
  92. package/src/internal/_isFormatUrl.ts +4 -4
  93. package/src/internal/_isFormatUuid.ts +3 -3
  94. package/src/internal/_isTypeFloat.ts +5 -5
  95. package/src/internal/_isTypeInt32.ts +5 -5
  96. package/src/internal/_isTypeInt64.ts +5 -5
  97. package/src/internal/_isTypeUint32.ts +5 -5
  98. package/src/internal/_isTypeUint64.ts +5 -5
  99. package/src/internal/_isUniqueItems.ts +159 -159
  100. package/src/internal/_jsonStringifyNumber.ts +12 -12
  101. package/src/internal/_jsonStringifyRest.ts +3 -3
  102. package/src/internal/_jsonStringifyString.ts +42 -42
  103. package/src/internal/_jsonStringifyTail.ts +2 -2
  104. package/src/internal/_llmApplicationFinalize.ts +24 -23
  105. package/src/internal/_miscCloneAny.ts +46 -46
  106. package/src/internal/_notationAny.ts +37 -37
  107. package/src/internal/_notationCamel.ts +13 -13
  108. package/src/internal/_notationPascal.ts +8 -8
  109. package/src/internal/_notationSnake.ts +43 -43
  110. package/src/internal/_parseLlmArguments.ts +7 -0
  111. package/src/internal/_randomArray.ts +21 -21
  112. package/src/internal/_randomBigint.ts +6 -6
  113. package/src/internal/_randomBoolean.ts +1 -1
  114. package/src/internal/_randomFormatByte.ts +3 -3
  115. package/src/internal/_randomFormatDate.ts +18 -18
  116. package/src/internal/_randomFormatDatetime.ts +16 -16
  117. package/src/internal/_randomFormatDuration.ts +27 -27
  118. package/src/internal/_randomFormatEmail.ts +11 -11
  119. package/src/internal/_randomFormatHostname.ts +6 -6
  120. package/src/internal/_randomFormatIdnEmail.ts +3 -3
  121. package/src/internal/_randomFormatIdnHostname.ts +3 -3
  122. package/src/internal/_randomFormatIpv4.ts +11 -11
  123. package/src/internal/_randomFormatIpv6.ts +11 -11
  124. package/src/internal/_randomFormatIri.ts +3 -3
  125. package/src/internal/_randomFormatIriReference.ts +3 -3
  126. package/src/internal/_randomFormatJsonPointer.ts +7 -7
  127. package/src/internal/_randomFormatPassword.ts +8 -8
  128. package/src/internal/_randomFormatRegex.ts +4 -4
  129. package/src/internal/_randomFormatRelativeJsonPointer.ts +8 -8
  130. package/src/internal/_randomFormatTime.ts +14 -14
  131. package/src/internal/_randomFormatUri.ts +3 -3
  132. package/src/internal/_randomFormatUriReference.ts +3 -3
  133. package/src/internal/_randomFormatUriTemplate.ts +3 -3
  134. package/src/internal/_randomFormatUrl.ts +11 -11
  135. package/src/internal/_randomFormatUuid.ts +6 -6
  136. package/src/internal/_randomInteger.ts +53 -53
  137. package/src/internal/_randomNumber.ts +80 -80
  138. package/src/internal/_randomPattern.ts +10 -10
  139. package/src/internal/_randomPick.ts +9 -9
  140. package/src/internal/_randomString.ts +24 -24
  141. package/src/internal/_throwTypeGuardError.ts +5 -5
  142. package/src/internal/_validateReport.ts +21 -21
  143. package/src/internal/private/__notationCapitalize.ts +2 -2
  144. package/src/internal/private/__notationUnsnake.ts +24 -24
  145. package/src/json.ts +553 -553
  146. package/src/llm.ts +408 -211
  147. package/src/misc.ts +448 -448
  148. package/src/module.ts +811 -811
  149. package/src/notations.ts +624 -624
  150. package/src/programmers/TypiaProgrammer.ts +8 -8
  151. package/src/protobuf.ts +499 -499
  152. package/src/re-exports.ts +33 -32
  153. package/src/reflect.ts +75 -75
  154. package/src/transform.ts +5 -5
  155. package/src/transformers/NoTransformConfigurationError.ts +16 -16
@@ -50,9 +50,9 @@ var PluginConfigurator;
50
50
  if (strict === undefined && strictNullChecks === undefined)
51
51
  compilerOptions.strict = true;
52
52
  if (oldbie === undefined)
53
- plugins.push(comment_json_1.default.parse(`
54
- {
55
- "transform": "typia/lib/transform"
53
+ plugins.push(comment_json_1.default.parse(`
54
+ {
55
+ "transform": "typia/lib/transform"
56
56
  }`));
57
57
  yield fs_1.default.promises.writeFile(args.project, comment_json_1.default.stringify(config, null, 2));
58
58
  });
@@ -35,9 +35,9 @@ var PluginConfigurator;
35
35
  if (strict === undefined && strictNullChecks === undefined)
36
36
  compilerOptions.strict = true;
37
37
  if (oldbie === undefined)
38
- plugins.push(comments.parse(`
39
- {
40
- "transform": "typia/lib/transform"
38
+ plugins.push(comments.parse(`
39
+ {
40
+ "transform": "typia/lib/transform"
41
41
  }`));
42
42
  await fs.promises.writeFile(args.project, comments.stringify(config, null, 2));
43
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PluginConfigurator.mjs","sources":["../../../src/executable/setup/PluginConfigurator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKM,IAAW;AAAjB,CAAA,UAAiB,kBAAkB,EAAA;IAC1B,eAAe,SAAS,CAC7B,IAAiC,EAAA;;QAGjC,MAAM,MAAM,GAA2B,QAAQ,CAAC,KAAK,CACnD,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAQ,EAAE,MAAM,CAAC,CACxB;AAC3B,QAAA,MAAM,eAAe,GAAG,MAAM,CAAC,eAElB;QACb,IAAI,eAAe,KAAK,SAAS;YAC/B,MAAM,IAAI,cAAc,CACtB,CAAA,EAAG,IAAI,CAAC,OAAO,CAAA,+CAAA,CAAiD,CACjE;;AAGH,QAAA,MAAM,OAAO,GAAkD,CAAC,MAAK;AACnE,YAAA,MAAM,OAAO,GAAG,eAAe,CAAC,OAEnB;YACb,IAAI,OAAO,KAAK,SAAS;AAAE,gBAAA,QAAQ,eAAe,CAAC,OAAO,GAAG,EAAS;AACjE,iBAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;gBAC9B,MAAM,IAAI,SAAS,CACjB,CAAA,sBAAA,EAAyB,IAAI,CAAC,OAAO,CAAA,oBAAA,CAAsB,CAC5D;AACH,YAAA,OAAO,OAAO;QAChB,CAAC,GAAG;AAEJ,QAAA,MAAM,MAAM,GAAwB,eAAe,CAAC,MAEvC;AACb,QAAA,MAAM,gBAAgB,GACpB,eAAe,CAAC,gBAAuC;AACzD,QAAA,MAAM,YAAY,GAAwB,eAAe,CAAC,YAE7C;AACb,QAAA,MAAM,MAAM,GAAuC,OAAO,CAAC,IAAI,CAC7D,CAAC,CAAC,KACA,OAAO,CAAC,KAAK,QAAQ;AACrB,YAAA,CAAC,KAAK,IAAI;AACV,YAAA,CAAC,CAAC,SAAS,KAAK,qBAAqB,CACxC;QACD,IACE,gBAAgB,KAAK,KAAK;AAC1B,aAAC,MAAM,KAAK,IAAI,IAAI,gBAAgB,KAAK,IAAI,CAAC;AAC9C,YAAA,MAAM,KAAK,SAAS;AACpB,YAAA,YAAY,KAAK,IAAI;YAErB;;AAGF,QAAA,eAAe,CAAC,YAAY,GAAG,IAAI;AACnC,QAAA,eAAe,CAAC,gBAAgB,GAAG,IAAI;AACvC,QAAA,IAAI,MAAM,KAAK,SAAS,IAAI,gBAAgB,KAAK,SAAS;AACxD,YAAA,eAAe,CAAC,MAAM,GAAG,IAAI;QAC/B,IAAI,MAAM,KAAK,SAAS;AACtB,YAAA,OAAO,CAAC,IAAI,CACV,QAAQ,CAAC,KAAK,CAAC,CAAA;;;AAGG,yBAAA,CAAA,CAA2B,CAC9C;QACH,MAAM,EAAE,CAAC,QAAQ,CAAC,SAAS,CACzB,IAAI,CAAC,OAAQ,EACb,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CACpC;IACH;AAlEsB,IAAA,kBAAA,CAAA,SAAS,YAkE9B;AACH,CAAC,EApEgB,kBAAkB,KAAlB,kBAAkB,GAAA,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"PluginConfigurator.mjs","sources":["../../../src/executable/setup/PluginConfigurator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKM,IAAW;AAAjB,CAAA,UAAiB,kBAAkB,EAAA;IAC1B,eAAe,SAAS,CAC7B,IAAiC,EAAA;;QAGjC,MAAM,MAAM,GAA2B,QAAQ,CAAC,KAAK,CACnD,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAQ,EAAE,MAAM,CAAC,CACxB;AAC3B,QAAA,MAAM,eAAe,GAAG,MAAM,CAAC,eAElB;QACb,IAAI,eAAe,KAAK,SAAS;YAC/B,MAAM,IAAI,cAAc,CACtB,CAAA,EAAG,IAAI,CAAC,OAAO,CAAA,+CAAA,CAAiD,CACjE;;AAGH,QAAA,MAAM,OAAO,GAAkD,CAAC,MAAK;AACnE,YAAA,MAAM,OAAO,GAAG,eAAe,CAAC,OAEnB;YACb,IAAI,OAAO,KAAK,SAAS;AAAE,gBAAA,QAAQ,eAAe,CAAC,OAAO,GAAG,EAAS;AACjE,iBAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;gBAC9B,MAAM,IAAI,SAAS,CACjB,CAAA,sBAAA,EAAyB,IAAI,CAAC,OAAO,CAAA,oBAAA,CAAsB,CAC5D;AACH,YAAA,OAAO,OAAO;QAChB,CAAC,GAAG;AAEJ,QAAA,MAAM,MAAM,GAAwB,eAAe,CAAC,MAEvC;AACb,QAAA,MAAM,gBAAgB,GACpB,eAAe,CAAC,gBAAuC;AACzD,QAAA,MAAM,YAAY,GAAwB,eAAe,CAAC,YAE7C;AACb,QAAA,MAAM,MAAM,GAAuC,OAAO,CAAC,IAAI,CAC7D,CAAC,CAAC,KACA,OAAO,CAAC,KAAK,QAAQ;AACrB,YAAA,CAAC,KAAK,IAAI;AACV,YAAA,CAAC,CAAC,SAAS,KAAK,qBAAqB,CACxC;QACD,IACE,gBAAgB,KAAK,KAAK;AAC1B,aAAC,MAAM,KAAK,IAAI,IAAI,gBAAgB,KAAK,IAAI,CAAC;AAC9C,YAAA,MAAM,KAAK,SAAS;AACpB,YAAA,YAAY,KAAK,IAAI;YAErB;;AAGF,QAAA,eAAe,CAAC,YAAY,GAAG,IAAI;AACnC,QAAA,eAAe,CAAC,gBAAgB,GAAG,IAAI;AACvC,QAAA,IAAI,MAAM,KAAK,SAAS,IAAI,gBAAgB,KAAK,SAAS;AACxD,YAAA,eAAe,CAAC,MAAM,GAAG,IAAI;QAC/B,IAAI,MAAM,KAAK,SAAS;AACtB,YAAA,OAAO,CAAC,IAAI,CACV,QAAQ,CAAC,KAAK,CAAC;;;AAGG,yBAAA,CAAA,CAA2B,CAC9C;QACH,MAAM,EAAE,CAAC,QAAQ,CAAC,SAAS,CACzB,IAAI,CAAC,OAAQ,EACb,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CACpC;IACH;AAlEsB,IAAA,kBAAA,CAAA,SAAS,YAkE9B;AACH,CAAC,EApEgB,kBAAkB,KAAlB,kBAAkB,GAAA,EAAA,CAAA,CAAA;;;;"}
@@ -42,21 +42,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  step((generator = generator.apply(thisArg, _arguments || [])).next());
43
43
  });
44
44
  };
45
- const USAGE = `Wrong command has been detected. Use like below:
46
-
47
- npx typia setup \\
48
- --manager (npm|pnpm|yarn) \\
49
- --project {tsconfig.json file path}
50
-
51
- - npx typia setup
52
- - npx typia setup --manager pnpm
53
- - npx typia setup --project tsconfig.test.json
54
-
55
- npx typia generate
56
- --input {directory} \\
57
- --output {directory}
58
-
59
- --npx typia generate --input src/templates --output src/functional
45
+ const USAGE = `Wrong command has been detected. Use like below:
46
+
47
+ npx typia setup \\
48
+ --manager (npm|pnpm|yarn) \\
49
+ --project {tsconfig.json file path}
50
+
51
+ - npx typia setup
52
+ - npx typia setup --manager pnpm
53
+ - npx typia setup --project tsconfig.test.json
54
+
55
+ npx typia generate
56
+ --input {directory} \\
57
+ --output {directory}
58
+
59
+ --npx typia generate --input src/templates --output src/functional
60
60
  `;
61
61
  const halt = (desc) => {
62
62
  console.error(desc);
@@ -1,19 +1,19 @@
1
1
  #!/usr/bin/env node
2
- const USAGE = `Wrong command has been detected. Use like below:
3
-
4
- npx typia setup \\
5
- --manager (npm|pnpm|yarn) \\
6
- --project {tsconfig.json file path}
7
-
8
- - npx typia setup
9
- - npx typia setup --manager pnpm
10
- - npx typia setup --project tsconfig.test.json
11
-
12
- npx typia generate
13
- --input {directory} \\
14
- --output {directory}
15
-
16
- --npx typia generate --input src/templates --output src/functional
2
+ const USAGE = `Wrong command has been detected. Use like below:
3
+
4
+ npx typia setup \\
5
+ --manager (npm|pnpm|yarn) \\
6
+ --project {tsconfig.json file path}
7
+
8
+ - npx typia setup
9
+ - npx typia setup --manager pnpm
10
+ - npx typia setup --project tsconfig.test.json
11
+
12
+ npx typia generate
13
+ --input {directory} \\
14
+ --output {directory}
15
+
16
+ --npx typia generate --input src/templates --output src/functional
17
17
  `;
18
18
  const halt = (desc) => {
19
19
  console.error(desc);
@@ -0,0 +1,2 @@
1
+ import { ILlmSchema } from "@typia/interface";
2
+ export declare const _coerceLlmArguments: <T>(value: unknown, parameters: ILlmSchema.IParameters) => T;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports._coerceLlmArguments = void 0;
4
+ const utils_1 = require("@typia/utils");
5
+ const _coerceLlmArguments = (value, parameters) => utils_1.LlmJson.coerce(value, parameters);
6
+ exports._coerceLlmArguments = _coerceLlmArguments;
7
+ //# sourceMappingURL=_coerceLlmArguments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_coerceLlmArguments.js","sourceRoot":"","sources":["../../src/internal/_coerceLlmArguments.ts"],"names":[],"mappings":";;;AACA,wCAAuC;AAEhC,MAAM,mBAAmB,GAAG,CACjC,KAAc,EACd,UAAkC,EAC/B,EAAE,CAAC,eAAO,CAAC,MAAM,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAH7B,QAAA,mBAAmB,uBAGU"}
@@ -0,0 +1,6 @@
1
+ import { LlmJson } from '@typia/utils';
2
+
3
+ const _coerceLlmArguments = (value, parameters) => LlmJson.coerce(value, parameters);
4
+
5
+ export { _coerceLlmArguments };
6
+ //# sourceMappingURL=_coerceLlmArguments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_coerceLlmArguments.mjs","sources":["../../src/internal/_coerceLlmArguments.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGO,MAAM,mBAAmB,GAAG,CACjC,KAAc,EACd,UAAkC,KAC5B,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,UAAU;;;;"}
@@ -6,7 +6,7 @@ const _llmApplicationFinalize = (app, config) => {
6
6
  var _a;
7
7
  return (Object.assign(Object.assign({}, app), { config: Object.assign(Object.assign({}, utils_1.LlmSchemaConverter.getConfig()), { validate: (_a = config === null || config === void 0 ? void 0 : config.validate) !== null && _a !== void 0 ? _a : null }), functions: app.functions.map((func) => {
8
8
  var _a, _b;
9
- return (Object.assign(Object.assign({}, func), { parse: (input) => utils_1.LlmJson.parse(input, func.parameters), validate: (_b = (_a = config === null || config === void 0 ? void 0 : config.validate) === null || _a === void 0 ? void 0 : _a[func.name]) !== null && _b !== void 0 ? _b : func.validate }));
9
+ return (Object.assign(Object.assign({}, func), { parse: (input) => utils_1.LlmJson.parse(input, func.parameters), coerce: (input) => utils_1.LlmJson.coerce(input, func.parameters), validate: (_b = (_a = config === null || config === void 0 ? void 0 : config.validate) === null || _a === void 0 ? void 0 : _a[func.name]) !== null && _b !== void 0 ? _b : func.validate }));
10
10
  }) }));
11
11
  };
12
12
  exports._llmApplicationFinalize = _llmApplicationFinalize;
@@ -1 +1 @@
1
- {"version":3,"file":"_llmApplicationFinalize.js","sourceRoot":"","sources":["../../src/internal/_llmApplicationFinalize.ts"],"names":[],"mappings":";;;AACA,wCAA2D;AAEpD,MAAM,uBAAuB,GAAG,CACrC,GAAwC,EACxC,MAIC,EACuB,EAAE;;IAAC,OAAA,iCACxB,GAAG,KACN,MAAM,kCACD,0BAAkB,CAAC,SAAS,EAAE,KACjC,QAAQ,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,mCAAI,IAAI,KAEpC,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;;YAAC,OAAA,iCAClC,IAAI,KACP,KAAK,EAAE,CAAC,KAAa,EAA6B,EAAE,CAClD,eAAO,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EACvC,QAAQ,EAAE,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,0CAAG,IAAI,CAAC,IAAI,CAAC,mCAAI,IAAI,CAAC,QAAQ,IACxD,CAAA;SAAA,CAAC,IACH,CAAA;CAAA,CAAC;AAnBU,QAAA,uBAAuB,2BAmBjC"}
1
+ {"version":3,"file":"_llmApplicationFinalize.js","sourceRoot":"","sources":["../../src/internal/_llmApplicationFinalize.ts"],"names":[],"mappings":";;;AACA,wCAA2D;AAEpD,MAAM,uBAAuB,GAAG,CACrC,GAAwC,EACxC,MAIC,EACuB,EAAE;;IAAC,OAAA,iCACxB,GAAG,KACN,MAAM,kCACD,0BAAkB,CAAC,SAAS,EAAE,KACjC,QAAQ,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,mCAAI,IAAI,KAEpC,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;;YAAC,OAAA,iCAClC,IAAI,KACP,KAAK,EAAE,CAAC,KAAa,EAA6B,EAAE,CAClD,eAAO,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EACvC,MAAM,EAAE,CAAC,KAAc,EAAW,EAAE,CAAC,eAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAC3E,QAAQ,EAAE,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,0CAAG,IAAI,CAAC,IAAI,CAAC,mCAAI,IAAI,CAAC,QAAQ,IACxD,CAAA;SAAA,CAAC,IACH,CAAA;CAAA,CAAC;AApBU,QAAA,uBAAuB,2BAoBjC"}
@@ -9,6 +9,7 @@ const _llmApplicationFinalize = (app, config) => ({
9
9
  functions: app.functions.map((func) => ({
10
10
  ...func,
11
11
  parse: (input) => LlmJson.parse(input, func.parameters),
12
+ coerce: (input) => LlmJson.coerce(input, func.parameters),
12
13
  validate: config?.validate?.[func.name] ?? func.validate,
13
14
  })),
14
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"_llmApplicationFinalize.mjs","sources":["../../src/internal/_llmApplicationFinalize.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGO,MAAM,uBAAuB,GAAG,CACrC,GAAwC,EACxC,MAIC,MAC2B;AAC5B,IAAA,GAAG,GAAG;AACN,IAAA,MAAM,EAAE;QACN,GAAG,kBAAkB,CAAC,SAAS,EAAE;AACjC,QAAA,QAAQ,EAAE,MAAM,EAAE,QAAQ,IAAI,IAAI;AACnC,KAAA;AACD,IAAA,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,MAAM;AACtC,QAAA,GAAG,IAAI;AACP,QAAA,KAAK,EAAE,CAAC,KAAa,KACnB,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC;AACvC,QAAA,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,QAAQ;AACzD,KAAA,CAAC,CAAC;AACJ,CAAA;;;;"}
1
+ {"version":3,"file":"_llmApplicationFinalize.mjs","sources":["../../src/internal/_llmApplicationFinalize.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGO,MAAM,uBAAuB,GAAG,CACrC,GAAwC,EACxC,MAIC,MAC2B;AAC5B,IAAA,GAAG,GAAG;AACN,IAAA,MAAM,EAAE;QACN,GAAG,kBAAkB,CAAC,SAAS,EAAE;AACjC,QAAA,QAAQ,EAAE,MAAM,EAAE,QAAQ,IAAI,IAAI;AACnC,KAAA;AACD,IAAA,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,MAAM;AACtC,QAAA,GAAG,IAAI;AACP,QAAA,KAAK,EAAE,CAAC,KAAa,KACnB,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC;AACvC,QAAA,MAAM,EAAE,CAAC,KAAc,KAAc,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC;AAC3E,QAAA,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,QAAQ;AACzD,KAAA,CAAC,CAAC;AACJ,CAAA;;;;"}
@@ -0,0 +1,2 @@
1
+ import { IJsonParseResult, ILlmSchema } from "@typia/interface";
2
+ export declare const _parseLlmArguments: <T>(input: string, parameters: ILlmSchema.IParameters) => IJsonParseResult<T>;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports._parseLlmArguments = void 0;
4
+ const utils_1 = require("@typia/utils");
5
+ const _parseLlmArguments = (input, parameters) => utils_1.LlmJson.parse(input, parameters);
6
+ exports._parseLlmArguments = _parseLlmArguments;
7
+ //# sourceMappingURL=_parseLlmArguments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_parseLlmArguments.js","sourceRoot":"","sources":["../../src/internal/_parseLlmArguments.ts"],"names":[],"mappings":";;;AACA,wCAAuC;AAEhC,MAAM,kBAAkB,GAAG,CAChC,KAAa,EACb,UAAkC,EACb,EAAE,CAAC,eAAO,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAH9C,QAAA,kBAAkB,sBAG4B"}
@@ -0,0 +1,6 @@
1
+ import { LlmJson } from '@typia/utils';
2
+
3
+ const _parseLlmArguments = (input, parameters) => LlmJson.parse(input, parameters);
4
+
5
+ export { _parseLlmArguments };
6
+ //# sourceMappingURL=_parseLlmArguments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_parseLlmArguments.mjs","sources":["../../src/internal/_parseLlmArguments.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGO,MAAM,kBAAkB,GAAG,CAChC,KAAa,EACb,UAAkC,KACV,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU;;;;"}
package/lib/llm.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ILlmApplication, ILlmController, ILlmSchema } from "@typia/interface";
1
+ import { IJsonParseResult, ILlmApplication, ILlmController, ILlmSchema } from "@typia/interface";
2
2
  /**
3
3
  * Creates LLM function calling controller.
4
4
  *
@@ -152,3 +152,156 @@ export declare function schema(): never;
152
152
  * @returns LLM type schema
153
153
  */
154
154
  export declare function schema<T, Config extends Partial<ILlmSchema.IConfig> = {}>($defs: Record<string, ILlmSchema>): ILlmSchema;
155
+ /**
156
+ * Parse LLM response JSON with type coercion.
157
+ *
158
+ * @danger You must configure the generic argument `Parameters`
159
+ */
160
+ export declare function parse(input: string): never;
161
+ /**
162
+ * Parse lenient JSON with schema-based type coercion.
163
+ *
164
+ * Handles incomplete or malformed JSON commonly produced by LLMs:
165
+ *
166
+ * - Unclosed brackets, strings, trailing commas
167
+ * - JavaScript-style comments (`//` and multi-line)
168
+ * - Unquoted object keys, incomplete keywords (`tru`, `fal`, `nul`)
169
+ * - Markdown code block extraction, junk prefix skipping
170
+ *
171
+ * Also coerces double-stringified values based on the `Parameters` schema:
172
+ *
173
+ * - `"42"` → `42` (when schema expects number)
174
+ * - `"true"` → `true` (when schema expects boolean)
175
+ * - `"null"` → `null` (when schema expects null)
176
+ * - `"{...}"` → `{...}` (when schema expects object)
177
+ * - `"[...]"` → `[...]` (when schema expects array)
178
+ *
179
+ * Type validation is NOT performed—use {@link ILlmFunction.validate} or
180
+ * `typia.validate()` for that.
181
+ *
182
+ * For repeated parsing, use {@link createParse} to avoid regenerating the schema
183
+ * each time.
184
+ *
185
+ * Related functions:
186
+ *
187
+ * - {@link createParse} — Create reusable parser function
188
+ * - {@link coerce} — Type coercion for already-parsed objects
189
+ * - {@link parameters} — Generate parameters schema from type
190
+ *
191
+ * @template Parameters Target parameters type (object with static properties)
192
+ * @template Config LLM schema configuration
193
+ * @param input Raw JSON string (potentially incomplete or malformed)
194
+ * @returns Parse result with typed data on success, or partial data with errors
195
+ */
196
+ export declare function parse<Parameters extends Record<string, any>, Config extends Partial<ILlmSchema.IConfig> = {}>(input: string): IJsonParseResult<Parameters>;
197
+ /**
198
+ * Coerce LLM arguments to match expected schema types.
199
+ *
200
+ * LLMs often return values with incorrect types (e.g., numbers as strings).
201
+ * This function recursively coerces values based on the `Parameters` schema:
202
+ *
203
+ * - `"42"` → `42` (when schema expects number)
204
+ * - `"true"` → `true` (when schema expects boolean)
205
+ * - `"null"` → `null` (when schema expects null)
206
+ * - `"{...}"` → `{...}` (when schema expects object)
207
+ * - `"[...]"` → `[...]` (when schema expects array)
208
+ *
209
+ * Use this when your SDK provides already-parsed objects but values may have
210
+ * wrong types. For raw JSON strings, use {@link parse} instead.
211
+ *
212
+ * For repeated coercion, use {@link createCoerce} to avoid regenerating the
213
+ * schema each time.
214
+ *
215
+ * Type validation is NOT performed—use {@link ILlmFunction.validate} or
216
+ * `typia.validate()` for that.
217
+ *
218
+ * Related functions:
219
+ *
220
+ * - {@link createCoerce} — Create reusable coercer function
221
+ * - {@link parse} — Parse and coerce raw JSON strings
222
+ * - {@link parameters} — Generate parameters schema from type
223
+ *
224
+ * @template Parameters Target parameters type (object with static properties)
225
+ * @template Config LLM schema configuration
226
+ * @param input Parsed arguments object from LLM (with potentially wrong types)
227
+ * @returns Coerced arguments with corrected types
228
+ */
229
+ export declare function coerce<Parameters extends Record<string, any>, Config extends Partial<ILlmSchema.IConfig> = {}>(input: Parameters): Parameters;
230
+ /**
231
+ * Create reusable LLM JSON parser with type coercion.
232
+ *
233
+ * @danger You must configure the generic argument `Parameters`
234
+ */
235
+ export declare function createParse(): never;
236
+ /**
237
+ * Create reusable lenient JSON parser with schema-based type coercion.
238
+ *
239
+ * Returns a parser function that handles incomplete or malformed JSON commonly
240
+ * produced by LLMs:
241
+ *
242
+ * - Unclosed brackets, strings, trailing commas
243
+ * - JavaScript-style comments (`//` and multi-line)
244
+ * - Unquoted object keys, incomplete keywords (`tru`, `fal`, `nul`)
245
+ * - Markdown code block extraction, junk prefix skipping
246
+ *
247
+ * Also coerces double-stringified values based on the `Parameters` schema:
248
+ *
249
+ * - `"42"` → `42` (when schema expects number)
250
+ * - `"true"` → `true` (when schema expects boolean)
251
+ * - `"null"` → `null` (when schema expects null)
252
+ * - `"{...}"` → `{...}` (when schema expects object)
253
+ * - `"[...]"` → `[...]` (when schema expects array)
254
+ *
255
+ * Use this instead of {@link parse} when parsing multiple inputs to avoid
256
+ * regenerating the schema each time.
257
+ *
258
+ * Type validation is NOT performed—use {@link ILlmFunction.validate} or
259
+ * `typia.validate()` for that.
260
+ *
261
+ * Related functions:
262
+ *
263
+ * - {@link parse} — One-shot parsing (regenerates schema each call)
264
+ * - {@link createCoerce} — Create reusable coercer function
265
+ * - {@link parameters} — Generate parameters schema from type
266
+ *
267
+ * @template Parameters Target parameters type (object with static properties)
268
+ * @template Config LLM schema configuration
269
+ * @returns Reusable parser function
270
+ */
271
+ export declare function createParse<Parameters extends Record<string, any>, Config extends Partial<ILlmSchema.IConfig> = {}>(): (input: string) => IJsonParseResult<Parameters>;
272
+ /**
273
+ * Create reusable LLM arguments coercer.
274
+ *
275
+ * @danger You must configure the generic argument `Parameters`
276
+ */
277
+ export declare function createCoerce(): never;
278
+ /**
279
+ * Create reusable coercer for LLM arguments.
280
+ *
281
+ * Returns a coercer function that fixes incorrect types commonly returned by
282
+ * LLMs (e.g., numbers as strings). Coerces values based on the `Parameters`
283
+ * schema:
284
+ *
285
+ * - `"42"` → `42` (when schema expects number)
286
+ * - `"true"` → `true` (when schema expects boolean)
287
+ * - `"null"` → `null` (when schema expects null)
288
+ * - `"{...}"` → `{...}` (when schema expects object)
289
+ * - `"[...]"` → `[...]` (when schema expects array)
290
+ *
291
+ * Use this instead of {@link coerce} when coercing multiple inputs to avoid
292
+ * regenerating the schema each time.
293
+ *
294
+ * Type validation is NOT performed—use {@link ILlmFunction.validate} or
295
+ * `typia.validate()` for that.
296
+ *
297
+ * Related functions:
298
+ *
299
+ * - {@link coerce} — One-shot coercion (regenerates schema each call)
300
+ * - {@link createParse} — Create reusable parser function
301
+ * - {@link parameters} — Generate parameters schema from type
302
+ *
303
+ * @template Parameters Target parameters type (object with static properties)
304
+ * @template Config LLM schema configuration
305
+ * @returns Reusable coercer function
306
+ */
307
+ export declare function createCoerce<Parameters extends Record<string, any>, Config extends Partial<ILlmSchema.IConfig> = {}>(): (input: Parameters) => Parameters;
package/lib/llm.js CHANGED
@@ -4,6 +4,10 @@ exports.controller = controller;
4
4
  exports.application = application;
5
5
  exports.parameters = parameters;
6
6
  exports.schema = schema;
7
+ exports.parse = parse;
8
+ exports.coerce = coerce;
9
+ exports.createParse = createParse;
10
+ exports.createCoerce = createCoerce;
7
11
  const NoTransformConfigurationError_1 = require("./transformers/NoTransformConfigurationError");
8
12
  /** @internal */
9
13
  function controller(..._args) {
@@ -21,4 +25,20 @@ function parameters() {
21
25
  function schema() {
22
26
  (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.schema");
23
27
  }
28
+ /** @internal */
29
+ function parse() {
30
+ (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.parse");
31
+ }
32
+ /** @internal */
33
+ function coerce() {
34
+ (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.coerce");
35
+ }
36
+ /** @internal */
37
+ function createParse() {
38
+ (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.createParse");
39
+ }
40
+ /** @internal */
41
+ function createCoerce() {
42
+ (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("llm.createCoerce");
43
+ }
24
44
  //# 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":";;AAmEA,gCAEC;AA2DD,kCAEC;AAqCD,gCAEC;AAuCD,wBAEC;AAhND,gGAA6F;AAgE7F,gBAAgB;AAChB,SAAgB,UAAU,CAAC,GAAG,KAAY;IACxC,IAAA,6DAA6B,EAAC,gBAAgB,CAAC,CAAC;AAClD,CAAC;AA0DD,gBAAgB;AAChB,SAAgB,WAAW;IACzB,IAAA,6DAA6B,EAAC,iBAAiB,CAAC,CAAC;AACnD,CAAC;AAoCD,gBAAgB;AAChB,SAAgB,UAAU;IACxB,IAAA,6DAA6B,EAAC,gBAAgB,CAAC,CAAC;AAClD,CAAC;AAsCD,gBAAgB;AAChB,SAAgB,MAAM;IACpB,IAAA,6DAA6B,EAAC,YAAY,CAAC,CAAC;AAC9C,CAAC"}
1
+ {"version":3,"file":"llm.js","sourceRoot":"","sources":["../src/llm.ts"],"names":[],"mappings":";;AAwEA,gCAEC;AA2DD,kCAEC;AAqCD,gCAEC;AAuCD,wBAEC;AAkDD,sBAEC;AAwCD,wBAEC;AAkDD,kCAEC;AA4CD,oCAEC;AAhZD,gGAA6F;AAgE7F,gBAAgB;AAChB,SAAgB,UAAU,CAAC,GAAG,KAAY;IACxC,IAAA,6DAA6B,EAAC,gBAAgB,CAAC,CAAC;AAClD,CAAC;AA0DD,gBAAgB;AAChB,SAAgB,WAAW;IACzB,IAAA,6DAA6B,EAAC,iBAAiB,CAAC,CAAC;AACnD,CAAC;AAoCD,gBAAgB;AAChB,SAAgB,UAAU;IACxB,IAAA,6DAA6B,EAAC,gBAAgB,CAAC,CAAC;AAClD,CAAC;AAsCD,gBAAgB;AAChB,SAAgB,MAAM;IACpB,IAAA,6DAA6B,EAAC,YAAY,CAAC,CAAC;AAC9C,CAAC;AAiDD,gBAAgB;AAChB,SAAgB,KAAK;IACnB,IAAA,6DAA6B,EAAC,WAAW,CAAC,CAAC;AAC7C,CAAC;AAuCD,gBAAgB;AAChB,SAAgB,MAAM;IACpB,IAAA,6DAA6B,EAAC,YAAY,CAAC,CAAC;AAC9C,CAAC;AAiDD,gBAAgB;AAChB,SAAgB,WAAW;IACzB,IAAA,6DAA6B,EAAC,iBAAiB,CAAC,CAAC;AACnD,CAAC;AA2CD,gBAAgB;AAChB,SAAgB,YAAY;IAC1B,IAAA,6DAA6B,EAAC,kBAAkB,CAAC,CAAC;AACpD,CAAC"}
package/lib/llm.mjs CHANGED
@@ -16,6 +16,22 @@ function parameters() {
16
16
  function schema() {
17
17
  NoTransformConfigurationError("llm.schema");
18
18
  }
19
+ /** @internal */
20
+ function parse() {
21
+ NoTransformConfigurationError("llm.parse");
22
+ }
23
+ /** @internal */
24
+ function coerce() {
25
+ NoTransformConfigurationError("llm.coerce");
26
+ }
27
+ /** @internal */
28
+ function createParse() {
29
+ NoTransformConfigurationError("llm.createParse");
30
+ }
31
+ /** @internal */
32
+ function createCoerce() {
33
+ NoTransformConfigurationError("llm.createCoerce");
34
+ }
19
35
 
20
- export { application, controller, parameters, schema };
36
+ export { application, coerce, controller, createCoerce, createParse, parameters, parse, schema };
21
37
  //# sourceMappingURL=llm.mjs.map
package/lib/llm.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"llm.mjs","sources":["../src/llm.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAkEA;AACM,SAAU,UAAU,CAAC,GAAG,KAAY,EAAA;IACxC,6BAA6B,CAAC,gBAAgB,CAAC;AACjD;AA0DA;SACgB,WAAW,GAAA;IACzB,6BAA6B,CAAC,iBAAiB,CAAC;AAClD;AAoCA;SACgB,UAAU,GAAA;IACxB,6BAA6B,CAAC,gBAAgB,CAAC;AACjD;AAsCA;SACgB,MAAM,GAAA;IACpB,6BAA6B,CAAC,YAAY,CAAC;AAC7C;;;;"}
1
+ {"version":3,"file":"llm.mjs","sources":["../src/llm.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAuEA;AACM,SAAU,UAAU,CAAC,GAAG,KAAY,EAAA;IACxC,6BAA6B,CAAC,gBAAgB,CAAC;AACjD;AA0DA;SACgB,WAAW,GAAA;IACzB,6BAA6B,CAAC,iBAAiB,CAAC;AAClD;AAoCA;SACgB,UAAU,GAAA;IACxB,6BAA6B,CAAC,gBAAgB,CAAC;AACjD;AAsCA;SACgB,MAAM,GAAA;IACpB,6BAA6B,CAAC,YAAY,CAAC;AAC7C;AAiDA;SACgB,KAAK,GAAA;IACnB,6BAA6B,CAAC,WAAW,CAAC;AAC5C;AAuCA;SACgB,MAAM,GAAA;IACpB,6BAA6B,CAAC,YAAY,CAAC;AAC7C;AAiDA;SACgB,WAAW,GAAA;IACzB,6BAA6B,CAAC,iBAAiB,CAAC;AAClD;AA2CA;SACgB,YAAY,GAAA;IAC1B,6BAA6B,CAAC,kBAAkB,CAAC;AACnD;;;;"}
@@ -1 +1 @@
1
- export { AssertionGuard, IValidation, IRandomGenerator, OpenApi, IJsonSchemaCollection, IJsonSchemaUnit, ILlmController, ILlmApplication, ILlmFunction, ILlmSchema, IMetadataSchema, IMetadataSchemaCollection, IMetadataSchemaUnit, IMetadataComponents, IMetadataTypeTag, IJsDocTagInfo, Primitive, Resolved, CamelCase, PascalCase, SnakeCase, IReadableURLSearchParams, tags, } from "@typia/interface";
1
+ export { AssertionGuard, IJsonParseResult, IValidation, IRandomGenerator, OpenApi, IJsonSchemaCollection, IJsonSchemaUnit, ILlmController, ILlmApplication, ILlmFunction, ILlmSchema, IMetadataSchema, IMetadataSchemaCollection, IMetadataSchemaUnit, IMetadataComponents, IMetadataTypeTag, IJsDocTagInfo, Primitive, Resolved, CamelCase, PascalCase, SnakeCase, IReadableURLSearchParams, tags, } from "@typia/interface";
@@ -1 +1 @@
1
- {"version":3,"file":"re-exports.js","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":";;;AAAA,8CA+B0B;AAFxB,aAAa;AACb,iGAAA,IAAI,OAAA"}
1
+ {"version":3,"file":"re-exports.js","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":";;;AAAA,8CAgC0B;AAFxB,aAAa;AACb,iGAAA,IAAI,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typia",
3
- "version": "12.0.0-dev.20260307-2",
3
+ "version": "12.0.0-dev.20260310",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -50,10 +50,10 @@
50
50
  "inquirer": "^8.2.5",
51
51
  "package-manager-detector": "^0.2.0",
52
52
  "randexp": "^0.5.3",
53
- "@typia/transform": "^12.0.0-dev.20260307-2",
54
- "@typia/interface": "^12.0.0-dev.20260307-2",
55
- "@typia/core": "^12.0.0-dev.20260307-2",
56
- "@typia/utils": "^12.0.0-dev.20260307-2"
53
+ "@typia/interface": "^12.0.0-dev.20260310",
54
+ "@typia/utils": "^12.0.0-dev.20260310",
55
+ "@typia/core": "^12.0.0-dev.20260310",
56
+ "@typia/transform": "^12.0.0-dev.20260310"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "typescript": ">=4.8.0 <5.10.0"