typia 9.6.1 → 9.7.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.
Files changed (64) hide show
  1. package/lib/CamelCase.d.mts +1 -1
  2. package/lib/CamelCase.d.ts +1 -1
  3. package/lib/IRandomGenerator.d.mts +240 -0
  4. package/lib/IRandomGenerator.d.ts +240 -0
  5. package/lib/PascalCase.d.mts +1 -1
  6. package/lib/PascalCase.d.ts +1 -1
  7. package/lib/Primitive.d.mts +8 -8
  8. package/lib/Primitive.d.ts +8 -8
  9. package/lib/Resolved.d.mts +9 -9
  10. package/lib/Resolved.d.ts +9 -9
  11. package/lib/SnakeCase.d.mts +1 -1
  12. package/lib/SnakeCase.d.ts +1 -1
  13. package/lib/factories/TypeFactory.d.mts +1 -0
  14. package/lib/factories/TypeFactory.d.ts +1 -0
  15. package/lib/factories/TypeFactory.js +1 -1
  16. package/lib/factories/TypeFactory.js.map +1 -1
  17. package/lib/factories/TypeFactory.mjs +1 -1
  18. package/lib/factories/internal/metadata/iterate_metadata_map.js +2 -3
  19. package/lib/factories/internal/metadata/iterate_metadata_map.js.map +1 -1
  20. package/lib/factories/internal/metadata/iterate_metadata_map.mjs +2 -3
  21. package/lib/factories/internal/metadata/iterate_metadata_set.js +2 -3
  22. package/lib/factories/internal/metadata/iterate_metadata_set.js.map +1 -1
  23. package/lib/factories/internal/metadata/iterate_metadata_set.mjs +2 -3
  24. package/lib/functional.js +1 -1
  25. package/lib/functional.js.map +1 -1
  26. package/lib/functional.mjs +1 -1
  27. package/lib/http.d.mts +23 -23
  28. package/lib/http.d.ts +23 -23
  29. package/lib/internal/_llmApplicationFinalize.d.mts +1 -1
  30. package/lib/internal/_llmApplicationFinalize.d.ts +1 -1
  31. package/lib/internal/_llmApplicationFinalize.js +14 -11
  32. package/lib/internal/_llmApplicationFinalize.js.map +1 -1
  33. package/lib/internal/_llmApplicationFinalize.mjs +13 -9
  34. package/lib/json.d.mts +16 -16
  35. package/lib/json.d.ts +16 -16
  36. package/lib/llm.d.mts +18 -18
  37. package/lib/llm.d.ts +18 -18
  38. package/lib/llm.js.map +1 -1
  39. package/lib/misc.d.mts +23 -23
  40. package/lib/misc.d.ts +23 -23
  41. package/lib/module.d.mts +75 -75
  42. package/lib/module.d.ts +75 -75
  43. package/lib/module.js.map +1 -1
  44. package/lib/transformers/features/llm/LlmApplicationTransformer.js +8 -9
  45. package/lib/transformers/features/llm/LlmApplicationTransformer.js.map +1 -1
  46. package/lib/transformers/features/llm/LlmApplicationTransformer.mjs +8 -9
  47. package/package.json +2 -2
  48. package/src/CamelCase.ts +1 -1
  49. package/src/IRandomGenerator.ts +284 -6
  50. package/src/PascalCase.ts +1 -1
  51. package/src/Primitive.ts +8 -8
  52. package/src/Resolved.ts +9 -9
  53. package/src/SnakeCase.ts +1 -1
  54. package/src/factories/TypeFactory.ts +5 -3
  55. package/src/factories/internal/metadata/iterate_metadata_map.ts +3 -3
  56. package/src/factories/internal/metadata/iterate_metadata_set.ts +2 -3
  57. package/src/functional.ts +1 -1
  58. package/src/http.ts +23 -23
  59. package/src/internal/_llmApplicationFinalize.ts +25 -11
  60. package/src/json.ts +16 -16
  61. package/src/llm.ts +26 -18
  62. package/src/misc.ts +23 -23
  63. package/src/module.ts +76 -75
  64. package/src/transformers/features/llm/LlmApplicationTransformer.ts +18 -22
package/lib/Resolved.d.ts CHANGED
@@ -3,19 +3,19 @@ import { IsTuple } from "./typings/IsTuple";
3
3
  import { NativeClass } from "./typings/NativeClass";
4
4
  import { ValueOf } from "./typings/ValueOf";
5
5
  /**
6
- * Resolved type erased every methods.
6
+ * Resolved type that erases every method.
7
7
  *
8
- * `Resolved` is a type of TMP (Type Meta Programming) type which converts
9
- * its argument as a resolved type that erased every method properties.
8
+ * `Resolved` is a TMP (Type Meta Programming) type which converts
9
+ * its argument as a resolved type that erases every method property.
10
10
  *
11
11
  * If the target argument is a built-in class which returns its origin primitive type
12
- * through the `valueOf()` method like the `String` or `Number`, its return type would
13
- * be the `string` or `number`. Otherwise, the built-in class does not have the
14
- * `valueOf()` method, the return type would be same with the target argument.
12
+ * through the `valueOf()` method like the `String` or `Number`, its return type will
13
+ * be the `string` or `number`. Otherwise, if the built-in class does not have the
14
+ * `valueOf()` method, the return type will be the same as the target argument.
15
15
  *
16
- * Otherwise, the target argument is a type of custom class, all of its custom methods
17
- * would be erased and its prototype would be changed to the primitive `object`.
18
- * Therefore, return type of the TMP type finally be the resolved object.
16
+ * Otherwise, if the target argument is a type of custom class, all of its custom methods
17
+ * will be erased and its prototype will be changed to the primitive `object`.
18
+ * Therefore, the return type of the TMP type will finally be the resolved object.
19
19
  *
20
20
  * Before | After
21
21
  * ------------------------|----------------------------------------
@@ -6,7 +6,7 @@ import { ValueOf } from "./typings/ValueOf";
6
6
  *
7
7
  * `SnakeCase` type is a type that all keys of an object are converted to snake case.
8
8
  *
9
- * It also erase every method properties like {@link Resolved} type.
9
+ * It also erases every method property like {@link Resolved} type.
10
10
  *
11
11
  * @template T Target type to be snake cased
12
12
  * @author Jeongho Nam - https://github.com/samchon
@@ -6,7 +6,7 @@ import { ValueOf } from "./typings/ValueOf";
6
6
  *
7
7
  * `SnakeCase` type is a type that all keys of an object are converted to snake case.
8
8
  *
9
- * It also erase every method properties like {@link Resolved} type.
9
+ * It also erases every method property like {@link Resolved} type.
10
10
  *
11
11
  * @template T Target type to be snake cased
12
12
  * @author Jeongho Nam - https://github.com/samchon
@@ -11,6 +11,7 @@ export declare namespace TypeFactory {
11
11
  checker: ts.TypeChecker;
12
12
  type: ts.Type;
13
13
  symbol?: ts.Symbol;
14
+ aliasTypeArguments?: boolean;
14
15
  }) => string;
15
16
  const keyword: (type: "void" | "any" | "unknown" | "boolean" | "number" | "bigint" | "string") => ts.KeywordTypeNode<ts.SyntaxKind.VoidKeyword | ts.SyntaxKind.AnyKeyword | ts.SyntaxKind.BooleanKeyword | ts.SyntaxKind.NumberKeyword | ts.SyntaxKind.StringKeyword | ts.SyntaxKind.UnknownKeyword | ts.SyntaxKind.BigIntKeyword>;
16
17
  }
@@ -11,6 +11,7 @@ export declare namespace TypeFactory {
11
11
  checker: ts.TypeChecker;
12
12
  type: ts.Type;
13
13
  symbol?: ts.Symbol;
14
+ aliasTypeArguments?: boolean;
14
15
  }) => string;
15
16
  const keyword: (type: "void" | "any" | "unknown" | "boolean" | "number" | "bigint" | "string") => ts.KeywordTypeNode<ts.SyntaxKind.VoidKeyword | ts.SyntaxKind.AnyKeyword | ts.SyntaxKind.BooleanKeyword | ts.SyntaxKind.NumberKeyword | ts.SyntaxKind.StringKeyword | ts.SyntaxKind.UnknownKeyword | ts.SyntaxKind.BigIntKeyword>;
16
17
  }
@@ -56,7 +56,7 @@ var TypeFactory;
56
56
  //----
57
57
  const name = get_name(symbol);
58
58
  // CHECK GENERIC
59
- const generic = props.type.aliasSymbol
59
+ const generic = props.type.aliasSymbol && props.aliasTypeArguments !== false
60
60
  ? ((_c = props.type.aliasTypeArguments) !== null && _c !== void 0 ? _c : [])
61
61
  : props.checker.getTypeArguments(props.type);
62
62
  return generic.length
@@ -1 +1 @@
1
- {"version":3,"file":"TypeFactory.js","sourceRoot":"","sources":["../../src/factories/TypeFactory.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA4B;AAE5B,IAAiB,WAAW,CAyI3B;AAzID,WAAiB,WAAW;IACb,sBAAU,GAAG,CAAC,IAAa,EAAW,EAAE,CACnD,YAAA,WAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAEhB,uBAAW,GAAG,CAAC,IAAa,EAAE,EAAE;;QAC3C,MAAM,IAAI,GAAG,MAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,YAAY,0CAAG,CAAC,CAAC,CAAC;QAC5C,IAAI,IAAI,KAAK,SAAS;YAAE,OAAO,IAAI,CAAC;QAEpC,OAAO,oBAAE,CAAC,cAAc,CAAC,IAAI,CAAC;YAC5B,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,oBAAE,CAAC,oBAAoB,C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MAAiB,EAAU,EAAE;;QAC7C,MAAM,MAAM,GAAG,MAAA,MAAA,MAAM,CAAC,eAAe,EAAE,0CAAG,CAAC,CAAC,0CAAE,MAAM,CAAC;QACrD,OAAO,MAAM;YACX,CAAC,CAAC,YAAY,CAAC;gBACX,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE;aACpC,CAAC;YACJ,CAAC,CAAC,QAAQ,CAAC;IACf,CAAC,CAAC;IAEW,mBAAO,GAAG,CACrB,IAOY,EACZ,EAAE;QACF,OAAO,oBAAE,CAAC,OAAO,CAAC,qBAAqB,CACrC,IAAI,KAAK,MAAM;YACb,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,WAAW;YAC3B,CAAC,CAAC,IAAI,KAAK,KAAK;gBACd,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,UAAU;gBAC1B,CAAC,CAAC,IAAI,KAAK,SAAS;oBAClB,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,cAAc;oBAC9B,CAAC,CAAC,IAAI,KAAK,SAAS;wBAClB,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,cAAc;wBAC9B,CAAC,CAAC,IAAI,KAAK,QAAQ;4BACjB,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,aAAa;4BAC7B,CAAC,CAAC,IAAI,KAAK,QAAQ;gCACjB,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,aAAa;gCAC7B,CAAC,CAAC,oBAAE,CAAC,UAAU,CAAC,aAAa,CAC1C,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC,EA3IgB,WAAW,2BAAX,WAAW,QA2I3B"}
@@ -49,7 +49,7 @@ var TypeFactory;
49
49
  //----
50
50
  const name = get_name(symbol);
51
51
  // CHECK GENERIC
52
- const generic = props.type.aliasSymbol
52
+ const generic = props.type.aliasSymbol && props.aliasTypeArguments !== false
53
53
  ? (props.type.aliasTypeArguments ?? [])
54
54
  : props.checker.getTypeArguments(props.type);
55
55
  return generic.length
@@ -11,10 +11,9 @@ const iterate_metadata_map = (props) => {
11
11
  checker: props.checker,
12
12
  type,
13
13
  symbol: type.getSymbol(),
14
+ aliasTypeArguments: false,
14
15
  });
15
- const generic = type.aliasSymbol
16
- ? type.aliasTypeArguments
17
- : props.checker.getTypeArguments(type);
16
+ const generic = props.checker.getTypeArguments(type);
18
17
  if (name.substring(0, 4) !== "Map<" || (generic === null || generic === void 0 ? void 0 : generic.length) !== 2)
19
18
  return false;
20
19
  const key = generic[0];
@@ -1 +1 @@
1
- {"version":3,"file":"iterate_metadata_map.js","sourceRoot":"","sources":["../../../../src/factories/internal/metadata/iterate_metadata_map.ts"],"names":[],"mappings":";;;AAEA,uEAAoE;AAEpE,wDAAqD;AAErD,mDAAgD;AAEhD,yDAAsD;AAE/C,MAAM,oBAAoB,GAAG,CAClC,KAA6B,EACpB,EAAE;IACX,MAAM,IAAI,GAAY,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEhE,MAAM,IAAI,GAAW,yBAAW,CAAC,WAAW,CAAC;QAC3C,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,IAAI;QACJ,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;KACzB,CAAC,CAAC;IACH,MAAM,OAAO,GAAmC,IAAI,CAAC,WAAW;QAC9D,CAAC,CAAC,IAAI,CAAC,kBAAkB;QACzB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAwB,CAAC,CAAC;IAC7D,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE3E,MAAM,GAAG,GAAY,OAAO,CAAC,CAAC,CAAE,CAAC;IACjC,MAAM,KAAK,GAAY,OAAO,CAAC,CAAC,CAAE,CAAC;IAEnC,qBAAS,CAAC,GAAG,CACX,KAAK,CAAC,QAAQ,CAAC,IAAI,EACnB,yBAAW,CAAC,MAAM,CAAC;QACjB,GAAG,EAAE,IAAA,mCAAgB,kCAChB,KAAK,KACR,IAAI,EAAE,GAAG,EACT,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB;QACF,KAAK,EAAE,IAAA,mCAAgB,kCAClB,KAAK,KACR,IAAI,EAAE,KAAK,EACX,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB;QACF,IAAI,EAAE,EAAE;KACT,CAAC,EACF,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,CAChE,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AA9CW,QAAA,oBAAoB,wBA8C/B"}
1
+ {"version":3,"file":"iterate_metadata_map.js","sourceRoot":"","sources":["../../../../src/factories/internal/metadata/iterate_metadata_map.ts"],"names":[],"mappings":";;;AAEA,uEAAoE;AAEpE,wDAAqD;AAErD,mDAAgD;AAEhD,yDAAsD;AAE/C,MAAM,oBAAoB,GAAG,CAClC,KAA6B,EACpB,EAAE;IACX,MAAM,IAAI,GAAY,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEhE,MAAM,IAAI,GAAW,yBAAW,CAAC,WAAW,CAAC;QAC3C,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,IAAI;QACJ,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;QACxB,kBAAkB,EAAE,KAAK;KAC1B,CAAC,CAAC;IACH,MAAM,OAAO,GACX,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAwB,CAAC,CAAC;IAC3D,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE3E,MAAM,GAAG,GAAY,OAAO,CAAC,CAAC,CAAE,CAAC;IACjC,MAAM,KAAK,GAAY,OAAO,CAAC,CAAC,CAAE,CAAC;IAEnC,qBAAS,CAAC,GAAG,CACX,KAAK,CAAC,QAAQ,CAAC,IAAI,EACnB,yBAAW,CAAC,MAAM,CAAC;QACjB,GAAG,EAAE,IAAA,mCAAgB,kCAChB,KAAK,KACR,IAAI,EAAE,GAAG,EACT,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB;QACF,KAAK,EAAE,IAAA,mCAAgB,kCAClB,KAAK,KACR,IAAI,EAAE,KAAK,EACX,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB;QACF,IAAI,EAAE,EAAE;KACT,CAAC,EACF,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,CAChE,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AA9CW,QAAA,oBAAoB,wBA8C/B"}
@@ -9,10 +9,9 @@ const iterate_metadata_map = (props) => {
9
9
  checker: props.checker,
10
10
  type,
11
11
  symbol: type.getSymbol(),
12
+ aliasTypeArguments: false,
12
13
  });
13
- const generic = type.aliasSymbol
14
- ? type.aliasTypeArguments
15
- : props.checker.getTypeArguments(type);
14
+ const generic = props.checker.getTypeArguments(type);
16
15
  if (name.substring(0, 4) !== "Map<" || generic?.length !== 2)
17
16
  return false;
18
17
  const key = generic[0];
@@ -11,10 +11,9 @@ const iterate_metadata_set = (props) => {
11
11
  checker: props.checker,
12
12
  type: type,
13
13
  symbol: type.getSymbol(),
14
+ aliasTypeArguments: false,
14
15
  });
15
- const generic = type.aliasSymbol
16
- ? type.aliasTypeArguments
17
- : props.checker.getTypeArguments(type);
16
+ const generic = props.checker.getTypeArguments(type);
18
17
  if (name.substring(0, 4) !== "Set<" || (generic === null || generic === void 0 ? void 0 : generic.length) !== 1)
19
18
  return false;
20
19
  const key = generic[0];
@@ -1 +1 @@
1
- {"version":3,"file":"iterate_metadata_set.js","sourceRoot":"","sources":["../../../../src/factories/internal/metadata/iterate_metadata_set.ts"],"names":[],"mappings":";;;AAGA,uEAAoE;AAEpE,wDAAqD;AAErD,mDAAgD;AAEhD,yDAAsD;AAE/C,MAAM,oBAAoB,GAAG,CAClC,KAA6B,EACpB,EAAE;IACX,MAAM,IAAI,GAAY,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEhE,MAAM,IAAI,GAAG,yBAAW,CAAC,WAAW,CAAC;QACnC,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;KACzB,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW;QAC9B,CAAC,CAAC,IAAI,CAAC,kBAAkB;QACzB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAwB,CAAC,CAAC;IAC7D,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE3E,MAAM,GAAG,GAAY,OAAO,CAAC,CAAC,CAAE,CAAC;IACjC,MAAM,KAAK,GAAa,IAAA,mCAAgB,kCACnC,KAAK,KACR,IAAI,EAAE,GAAG,EACT,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB,CAAC;IACH,qBAAS,CAAC,IAAI,CACZ,KAAK,CAAC,QAAQ,CAAC,IAAI,EACnB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,KAAK,CAAC,OAAO,EAAE,EAClD,GAAG,EAAE,CACH,yBAAW,CAAC,MAAM,CAAC;QACjB,KAAK,EAAE,IAAA,mCAAgB,kCAClB,KAAK,KACR,IAAI,EAAE,GAAG,EACT,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB;QACF,IAAI,EAAE,EAAE;KACT,CAAC,CACL,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AA7CW,QAAA,oBAAoB,wBA6C/B"}
1
+ {"version":3,"file":"iterate_metadata_set.js","sourceRoot":"","sources":["../../../../src/factories/internal/metadata/iterate_metadata_set.ts"],"names":[],"mappings":";;;AAGA,uEAAoE;AAEpE,wDAAqD;AAErD,mDAAgD;AAEhD,yDAAsD;AAE/C,MAAM,oBAAoB,GAAG,CAClC,KAA6B,EACpB,EAAE;IACX,MAAM,IAAI,GAAY,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEhE,MAAM,IAAI,GAAG,yBAAW,CAAC,WAAW,CAAC;QACnC,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;QACxB,kBAAkB,EAAE,KAAK;KAC1B,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAwB,CAAC,CAAC;IACzE,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE3E,MAAM,GAAG,GAAY,OAAO,CAAC,CAAC,CAAE,CAAC;IACjC,MAAM,KAAK,GAAa,IAAA,mCAAgB,kCACnC,KAAK,KACR,IAAI,EAAE,GAAG,EACT,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB,CAAC;IACH,qBAAS,CAAC,IAAI,CACZ,KAAK,CAAC,QAAQ,CAAC,IAAI,EACnB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,KAAK,CAAC,OAAO,EAAE,EAClD,GAAG,EAAE,CACH,yBAAW,CAAC,MAAM,CAAC;QACjB,KAAK,EAAE,IAAA,mCAAgB,kCAClB,KAAK,KACR,IAAI,EAAE,GAAG,EACT,OAAO,kCACF,KAAK,CAAC,OAAO,KAChB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,KAAK,KAEhB,WAAW,EAAE,KAAK,IAClB;QACF,IAAI,EAAE,EAAE;KACT,CAAC,CACL,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AA5CW,QAAA,oBAAoB,wBA4C/B"}
@@ -9,10 +9,9 @@ const iterate_metadata_set = (props) => {
9
9
  checker: props.checker,
10
10
  type: type,
11
11
  symbol: type.getSymbol(),
12
+ aliasTypeArguments: false,
12
13
  });
13
- const generic = type.aliasSymbol
14
- ? type.aliasTypeArguments
15
- : props.checker.getTypeArguments(type);
14
+ const generic = props.checker.getTypeArguments(type);
16
15
  if (name.substring(0, 4) !== "Set<" || generic?.length !== 1)
17
16
  return false;
18
17
  const key = generic[0];
package/lib/functional.js CHANGED
@@ -101,7 +101,7 @@ function validateFunction() {
101
101
  * @internal
102
102
  */
103
103
  function validateParameters() {
104
- (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateReturn");
104
+ (0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateParameters");
105
105
  }
106
106
  /**
107
107
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"functional.js","sourceRoot":"","sources":["../src/functional.ts"],"names":[],"mappings":";;AAqDA,wCAEC;AAsCD,4CAEC;AAsCD,oCAEC;AA2CD,oDAEC;AAuCD,wDAEC;AAsCD,gDAEC;AAsCD,gCAEC;AAmCD,oCAEC;AAmCD,4BAEC;AAkCD,wCAEC;AA+BD,4CAEC;AAkCD,oCAEC;AA+CD,4CAEC;AAuCD,gDAEC;AAuCD,wCAEC;AA4CD,wDAEC;AAuCD,4DAEC;AAuCD,oDAEC;AAnuBD,gGAA6F;AAkD7F;;GAEG;AACH,SAAgB,cAAc;IAC5B,IAAA,6DAA6B,EAAC,2BAA2B,CAAC,CAAC;AAC7D,CAAC;AAmCD;;GAEG;AACH,SAAgB,gBAAgB;IAC9B,IAAA,6DAA6B,EAAC,6BAA6B,CAAC,CAAC;AAC/D,CAAC;AAmCD;;GAEG;AACH,SAAgB,YAAY;IAC1B,IAAA,6DAA6B,EAAC,yBAAyB,CAAC,CAAC;AAC3D,CAAC;AAwCD;;GAEG;AACH,SAAgB,oBAAoB;IAClC,IAAA,6DAA6B,EAAC,iCAAiC,CAAC,CAAC;AACnE,CAAC;AAoCD;;GAEG;AACH,SAAgB,sBAAsB;IACpC,IAAA,6DAA6B,EAAC,mCAAmC,CAAC,CAAC;AACrE,CAAC;AAmCD;;GAEG;AACH,SAAgB,kBAAkB;IAChC,IAAA,6DAA6B,EAAC,+BAA+B,CAAC,CAAC;AACjE,CAAC;AAmCD;;GAEG;AACH,SAAgB,UAAU;IACxB,IAAA,6DA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D;;GAEG;AACH,SAAgB,YAAY;IAC1B,IAAA,6DAA6B,EAAC,yBAAyB,CAAC,CAAC;AAC3D,CAAC;AA4CD;;GAEG;AACH,SAAgB,gBAAgB;IAC9B,IAAA,6DAA6B,EAAC,6BAA6B,CAAC,CAAC;AAC/D,CAAC;AAoCD;;GAEG;AACH,SAAgB,kBAAkB;IAChC,IAAA,6DAA6B,EAAC,+BAA+B,CAAC,CAAC;AACjE,CAAC;AAoCD;;GAEG;AACH,SAAgB,cAAc;IAC5B,IAAA,6DAA6B,EAAC,2BAA2B,CAAC,CAAC;AAC7D,CAAC;AAyCD;;GAEG;AACH,SAAgB,sBAAsB;IACpC,IAAA,6DAA6B,EAAC,mCAAmC,CAAC,CAAC;AACrE,CAAC;AAoCD;;GAEG;AACH,SAAgB,wBAAwB;IACtC,IAAA,6DAA6B,EAAC,qCAAqC,CAAC,CAAC;AACvE,CAAC;AAoCD;;GAEG;AACH,SAAgB,oBAAoB;IAClC,IAAA,6DAA6B,EAAC,iCAAiC,CAAC,CAAC;AACnE,CAAC"}
@@ -82,7 +82,7 @@ function validateFunction() {
82
82
  * @internal
83
83
  */
84
84
  function validateParameters() {
85
- NoTransformConfigurationError("functional.validateReturn");
85
+ NoTransformConfigurationError("functional.validateParameters");
86
86
  }
87
87
  /**
88
88
  * @internal
package/lib/http.d.mts CHANGED
@@ -7,7 +7,7 @@ import { TypeGuardError } from "./TypeGuardError";
7
7
  * Form data decoder.
8
8
  *
9
9
  * `typia.http.formData()` is a function decoding `FormData` instance, with
10
- * automatic type casting to the expected type. When roperty type be defined
10
+ * automatic type casting to the expected type. When property type is defined
11
11
  * as `boolean` or `Blob` type, `typia.http.formData()` will cast the value to
12
12
  * the expected type when decoding.
13
13
  *
@@ -18,7 +18,7 @@ import { TypeGuardError } from "./TypeGuardError";
18
18
  * 1. Type `T` must be an object type
19
19
  * 2. Do not allow dynamic property
20
20
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
21
- * 4. By the way, union type never be not allowed
21
+ * 4. Union types are never allowed
22
22
  *
23
23
  * Also, `typia.http.formData()` function does not perform validation about the
24
24
  * decoded value. Therefore, if you can't sure that input data is following the
@@ -35,7 +35,7 @@ export declare function formData<T extends object>(input: FormData): Resolved<T>
35
35
  * Form data decoder with type assertion.
36
36
  *
37
37
  * `typia.http.assertFormData()` is a function decoding `FormData` instance, with
38
- * automatic type casting to the expected type. When roperty type be defined
38
+ * automatic type casting to the expected type. When property type is defined
39
39
  * as `boolean` or `Blob` type, `typia.http.assertFormData()` will cast the value
40
40
  * to the expected type when decoding.
41
41
  *
@@ -51,7 +51,7 @@ export declare function formData<T extends object>(input: FormData): Resolved<T>
51
51
  * 1. Type `T` must be an object type
52
52
  * 2. Do not allow dynamic property
53
53
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
54
- * 4. By the way, union type never be not allowed
54
+ * 4. Union types are never allowed
55
55
  *
56
56
  * @template T Expected type of decoded value
57
57
  * @param input FormData instance
@@ -65,7 +65,7 @@ export declare function assertFormData<T extends object>(input: FormData, errorF
65
65
  * Form data decoder with type checking.
66
66
  *
67
67
  * `typia.http.isFormData()` is a function decoding `FormData` instance, with
68
- * automatic type casting to the expected type. When roperty type be defined
68
+ * automatic type casting to the expected type. When property type is defined
69
69
  * as `boolean` or `Blob` type, `typia.http.isFormData()` will cast the value
70
70
  * to the expected type when decoding.
71
71
  *
@@ -80,7 +80,7 @@ export declare function assertFormData<T extends object>(input: FormData, errorF
80
80
  * 1. Type `T` must be an object type
81
81
  * 2. Do not allow dynamic property
82
82
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
83
- * 4. By the way, union type never be not allowed
83
+ * 4. Union types are never allowed
84
84
  *
85
85
  * @template T Expected type of decoded value
86
86
  * @param input FormData instance
@@ -93,7 +93,7 @@ export declare function isFormData<T extends object>(input: FormData): Resolved<
93
93
  * Form data decoder with type validation.
94
94
  *
95
95
  * `typia.http.validateFormData()` is a function decoding `FormData` instance,
96
- * with automatic type casting to the expected type. When roperty type be defined
96
+ * with automatic type casting to the expected type. When property type is defined
97
97
  * as `boolean` or `Blob` type, `typia.http.validateFormData()` will cast the
98
98
  * value to the expected type when decoding.
99
99
  *
@@ -110,7 +110,7 @@ export declare function isFormData<T extends object>(input: FormData): Resolved<
110
110
  * 1. Type `T` must be an object type
111
111
  * 2. Do not allow dynamic property
112
112
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
113
- * 4. By the way, union type never be not allowed
113
+ * 4. Union types are never allowed
114
114
  *
115
115
  * @template T Expected type of decoded value
116
116
  * @param input FormData instance
@@ -134,7 +134,7 @@ export declare function validateFormData<T extends object>(input: FormData): IVa
134
134
  * 1. Type `T` must be an object type
135
135
  * 2. Do not allow dynamic property
136
136
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
137
- * 4. By the way, union type never be not allowed
137
+ * 4. Union types are never allowed
138
138
  *
139
139
  * Also, `typia.http.query()` function does not perform validation about the decoded
140
140
  * value. Therefore, if you can't sure that input data is following the `T` type,
@@ -156,7 +156,7 @@ export declare function query<T extends object>(input: string | IReadableURLSear
156
156
  *
157
157
  * `typia.http.assertQuery()` is a function decoding a query string or an
158
158
  * `URLSearchParams` instance, with automatic type casting to the expected type.
159
- * When property type be defined as `boolean` or `number` type,
159
+ * When property type is defined as `boolean` or `number` type,
160
160
  * `typia.http.assertQuery()` will cast the value to the expected type when decoding.
161
161
  *
162
162
  * Also, after decoding, `typia.http.assertQuery()` performs type assertion to the
@@ -171,7 +171,7 @@ export declare function query<T extends object>(input: string | IReadableURLSear
171
171
  * 1. Type `T` must be an object type
172
172
  * 2. Do not allow dynamic property
173
173
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
174
- * 4. By the way, union type never be not allowed
174
+ * 4. Union types are never allowed
175
175
  *
176
176
  * @template T Expected type of decoded value
177
177
  * @param input Query string or URLSearchParams instance
@@ -186,7 +186,7 @@ export declare function assertQuery<T extends object>(input: string | IReadableU
186
186
  *
187
187
  * `typia.http.isQuery()` is a function decoding a query string or an
188
188
  * `URLSearchParams` instance, with automatic type casting to the expected type.
189
- * When property type be defined as `boolean` or `number` type,
189
+ * When property type is defined as `boolean` or `number` type,
190
190
  * `typia.http.isQuery()` will cast the value to the expected type when decoding.
191
191
  *
192
192
  * Also, after decoding, `typia.http.isQuery()` performs type checking to the
@@ -200,7 +200,7 @@ export declare function assertQuery<T extends object>(input: string | IReadableU
200
200
  * 1. Type `T` must be an object type
201
201
  * 2. Do not allow dynamic property
202
202
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
203
- * 4. By the way, union type never be not allowed
203
+ * 4. Union types are never allowed
204
204
  *
205
205
  * @template T Expected type of decoded value
206
206
  * @param input Query string or URLSearchParams instance
@@ -214,7 +214,7 @@ export declare function isQuery<T extends object>(input: string | IReadableURLSe
214
214
  *
215
215
  * `typia.http.validateQuery()` is a function decoding a query string or an
216
216
  * `URLSearchParams` instance, with automatic type casting to the expected type.
217
- * When property type be defined as `boolean` or `number` type,
217
+ * When property type is defined as `boolean` or `number` type,
218
218
  * `typia.http.validateQuery()` will cast the value to the expected type when decoding.
219
219
  *
220
220
  * Also, after decoding, `typia.http.validateQuery()` performs type validation to the
@@ -229,7 +229,7 @@ export declare function isQuery<T extends object>(input: string | IReadableURLSe
229
229
  * 1. Type `T` must be an object type
230
230
  * 2. Do not allow dynamic property
231
231
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
232
- * 4. By the way, union type never be not allowed
232
+ * 4. Union types are never allowed
233
233
  *
234
234
  * @template T Expected type of decoded value
235
235
  * @param input Query string or URLSearchParams instance
@@ -242,7 +242,7 @@ export declare function validateQuery<T extends object>(input: string | IReadabl
242
242
  * Headers decoder (for express and fastify).
243
243
  *
244
244
  * `typia.http.headers()` is a function decoding an header instance, with automatic
245
- * type casting to the expected type. When property type be defined as `boolean` or
245
+ * type casting to the expected type. When property type is defined as `boolean` or
246
246
  * `number` type, `typia.http.headers()` will cast the value to the expected type.
247
247
  *
248
248
  * By the way, as HTTP headers are not enough to express complex data structures,
@@ -254,7 +254,7 @@ export declare function validateQuery<T extends object>(input: string | IReadabl
254
254
  * 3. Property key must be lower case
255
255
  * 4. Property value cannot be `null`, but `undefined` is possible
256
256
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
257
- * 6. By the way, union type never be not allowed
257
+ * 6. Union types are never allowed
258
258
  * 7. Property `set-cookie` must be array type
259
259
  * 8. Those properties cannot be array type
260
260
  * - age
@@ -295,7 +295,7 @@ export declare function headers<T extends object>(input: Record<string, string |
295
295
  * Headers decoder with type assertion (for express and fastify).
296
296
  *
297
297
  * `typia.http.assertHeaders()` is a function decoding an header instance, with
298
- * automatic type casting to the expected type. When property type be defined as
298
+ * automatic type casting to the expected type. When property type is defined as
299
299
  * `boolean` or `number` type, `typia.http.headers()` will cast the value to the
300
300
  * expected type.
301
301
  *
@@ -313,7 +313,7 @@ export declare function headers<T extends object>(input: Record<string, string |
313
313
  * 3. Property key must be lower case
314
314
  * 4. Property value cannot be `null`, but `undefined` is possible
315
315
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
316
- * 6. By the way, union type never be not allowed
316
+ * 6. Union types are never allowed
317
317
  * 7. Property `set-cookie` must be array type
318
318
  * 8. Those properties cannot be array type
319
319
  * - age
@@ -349,7 +349,7 @@ export declare function assertHeaders<T extends object>(input: Record<string, st
349
349
  * Headers decoder with type checking (for express and fastify).
350
350
  *
351
351
  * `typia.http.isHeaders()` is a function decoding an header instance, with
352
- * automatic type casting to the expected type. When property type be defined as
352
+ * automatic type casting to the expected type. When property type is defined as
353
353
  * `boolean` or `number` type, `typia.http.headers()` will cast the value to the
354
354
  * expected type.
355
355
  *
@@ -366,7 +366,7 @@ export declare function assertHeaders<T extends object>(input: Record<string, st
366
366
  * 3. Property key must be lower case
367
367
  * 4. Property value cannot be `null`, but `undefined` is possible
368
368
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
369
- * 6. By the way, union type never be not allowed
369
+ * 6. Union types are never allowed
370
370
  * 7. Property `set-cookie` must be array type
371
371
  * 8. Those properties cannot be array type
372
372
  * - age
@@ -399,7 +399,7 @@ export declare function isHeaders<T extends object>(input: Record<string, string
399
399
  * Headers decoder with type validation (for express and fastify).
400
400
  *
401
401
  * `typia.http.validateHeaders()` is a function decoding an header instance, with
402
- * automatic type casting to the expected type. When property type be defined as
402
+ * automatic type casting to the expected type. When property type is defined as
403
403
  * `boolean` or `number` type, `typia.http.headers()` will cast the value to the
404
404
  * expected type.
405
405
  *
@@ -417,7 +417,7 @@ export declare function isHeaders<T extends object>(input: Record<string, string
417
417
  * 3. Property key must be lower case
418
418
  * 4. Property value cannot be `null`, but `undefined` is possible
419
419
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
420
- * 6. By the way, union type never be not allowed
420
+ * 6. Union types are never allowed
421
421
  * 7. Property `set-cookie` must be array type
422
422
  * 8. Those properties cannot be array type
423
423
  * - age
package/lib/http.d.ts CHANGED
@@ -7,7 +7,7 @@ import { TypeGuardError } from "./TypeGuardError";
7
7
  * Form data decoder.
8
8
  *
9
9
  * `typia.http.formData()` is a function decoding `FormData` instance, with
10
- * automatic type casting to the expected type. When roperty type be defined
10
+ * automatic type casting to the expected type. When property type is defined
11
11
  * as `boolean` or `Blob` type, `typia.http.formData()` will cast the value to
12
12
  * the expected type when decoding.
13
13
  *
@@ -18,7 +18,7 @@ import { TypeGuardError } from "./TypeGuardError";
18
18
  * 1. Type `T` must be an object type
19
19
  * 2. Do not allow dynamic property
20
20
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
21
- * 4. By the way, union type never be not allowed
21
+ * 4. Union types are never allowed
22
22
  *
23
23
  * Also, `typia.http.formData()` function does not perform validation about the
24
24
  * decoded value. Therefore, if you can't sure that input data is following the
@@ -35,7 +35,7 @@ export declare function formData<T extends object>(input: FormData): Resolved<T>
35
35
  * Form data decoder with type assertion.
36
36
  *
37
37
  * `typia.http.assertFormData()` is a function decoding `FormData` instance, with
38
- * automatic type casting to the expected type. When roperty type be defined
38
+ * automatic type casting to the expected type. When property type is defined
39
39
  * as `boolean` or `Blob` type, `typia.http.assertFormData()` will cast the value
40
40
  * to the expected type when decoding.
41
41
  *
@@ -51,7 +51,7 @@ export declare function formData<T extends object>(input: FormData): Resolved<T>
51
51
  * 1. Type `T` must be an object type
52
52
  * 2. Do not allow dynamic property
53
53
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
54
- * 4. By the way, union type never be not allowed
54
+ * 4. Union types are never allowed
55
55
  *
56
56
  * @template T Expected type of decoded value
57
57
  * @param input FormData instance
@@ -65,7 +65,7 @@ export declare function assertFormData<T extends object>(input: FormData, errorF
65
65
  * Form data decoder with type checking.
66
66
  *
67
67
  * `typia.http.isFormData()` is a function decoding `FormData` instance, with
68
- * automatic type casting to the expected type. When roperty type be defined
68
+ * automatic type casting to the expected type. When property type is defined
69
69
  * as `boolean` or `Blob` type, `typia.http.isFormData()` will cast the value
70
70
  * to the expected type when decoding.
71
71
  *
@@ -80,7 +80,7 @@ export declare function assertFormData<T extends object>(input: FormData, errorF
80
80
  * 1. Type `T` must be an object type
81
81
  * 2. Do not allow dynamic property
82
82
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
83
- * 4. By the way, union type never be not allowed
83
+ * 4. Union types are never allowed
84
84
  *
85
85
  * @template T Expected type of decoded value
86
86
  * @param input FormData instance
@@ -93,7 +93,7 @@ export declare function isFormData<T extends object>(input: FormData): Resolved<
93
93
  * Form data decoder with type validation.
94
94
  *
95
95
  * `typia.http.validateFormData()` is a function decoding `FormData` instance,
96
- * with automatic type casting to the expected type. When roperty type be defined
96
+ * with automatic type casting to the expected type. When property type is defined
97
97
  * as `boolean` or `Blob` type, `typia.http.validateFormData()` will cast the
98
98
  * value to the expected type when decoding.
99
99
  *
@@ -110,7 +110,7 @@ export declare function isFormData<T extends object>(input: FormData): Resolved<
110
110
  * 1. Type `T` must be an object type
111
111
  * 2. Do not allow dynamic property
112
112
  * 3. Only `boolean`, `bigint`, `number`, `string`, `Blob`, `File` or their array types are allowed
113
- * 4. By the way, union type never be not allowed
113
+ * 4. Union types are never allowed
114
114
  *
115
115
  * @template T Expected type of decoded value
116
116
  * @param input FormData instance
@@ -134,7 +134,7 @@ export declare function validateFormData<T extends object>(input: FormData): IVa
134
134
  * 1. Type `T` must be an object type
135
135
  * 2. Do not allow dynamic property
136
136
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
137
- * 4. By the way, union type never be not allowed
137
+ * 4. Union types are never allowed
138
138
  *
139
139
  * Also, `typia.http.query()` function does not perform validation about the decoded
140
140
  * value. Therefore, if you can't sure that input data is following the `T` type,
@@ -156,7 +156,7 @@ export declare function query<T extends object>(input: string | IReadableURLSear
156
156
  *
157
157
  * `typia.http.assertQuery()` is a function decoding a query string or an
158
158
  * `URLSearchParams` instance, with automatic type casting to the expected type.
159
- * When property type be defined as `boolean` or `number` type,
159
+ * When property type is defined as `boolean` or `number` type,
160
160
  * `typia.http.assertQuery()` will cast the value to the expected type when decoding.
161
161
  *
162
162
  * Also, after decoding, `typia.http.assertQuery()` performs type assertion to the
@@ -171,7 +171,7 @@ export declare function query<T extends object>(input: string | IReadableURLSear
171
171
  * 1. Type `T` must be an object type
172
172
  * 2. Do not allow dynamic property
173
173
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
174
- * 4. By the way, union type never be not allowed
174
+ * 4. Union types are never allowed
175
175
  *
176
176
  * @template T Expected type of decoded value
177
177
  * @param input Query string or URLSearchParams instance
@@ -186,7 +186,7 @@ export declare function assertQuery<T extends object>(input: string | IReadableU
186
186
  *
187
187
  * `typia.http.isQuery()` is a function decoding a query string or an
188
188
  * `URLSearchParams` instance, with automatic type casting to the expected type.
189
- * When property type be defined as `boolean` or `number` type,
189
+ * When property type is defined as `boolean` or `number` type,
190
190
  * `typia.http.isQuery()` will cast the value to the expected type when decoding.
191
191
  *
192
192
  * Also, after decoding, `typia.http.isQuery()` performs type checking to the
@@ -200,7 +200,7 @@ export declare function assertQuery<T extends object>(input: string | IReadableU
200
200
  * 1. Type `T` must be an object type
201
201
  * 2. Do not allow dynamic property
202
202
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
203
- * 4. By the way, union type never be not allowed
203
+ * 4. Union types are never allowed
204
204
  *
205
205
  * @template T Expected type of decoded value
206
206
  * @param input Query string or URLSearchParams instance
@@ -214,7 +214,7 @@ export declare function isQuery<T extends object>(input: string | IReadableURLSe
214
214
  *
215
215
  * `typia.http.validateQuery()` is a function decoding a query string or an
216
216
  * `URLSearchParams` instance, with automatic type casting to the expected type.
217
- * When property type be defined as `boolean` or `number` type,
217
+ * When property type is defined as `boolean` or `number` type,
218
218
  * `typia.http.validateQuery()` will cast the value to the expected type when decoding.
219
219
  *
220
220
  * Also, after decoding, `typia.http.validateQuery()` performs type validation to the
@@ -229,7 +229,7 @@ export declare function isQuery<T extends object>(input: string | IReadableURLSe
229
229
  * 1. Type `T` must be an object type
230
230
  * 2. Do not allow dynamic property
231
231
  * 3. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
232
- * 4. By the way, union type never be not allowed
232
+ * 4. Union types are never allowed
233
233
  *
234
234
  * @template T Expected type of decoded value
235
235
  * @param input Query string or URLSearchParams instance
@@ -242,7 +242,7 @@ export declare function validateQuery<T extends object>(input: string | IReadabl
242
242
  * Headers decoder (for express and fastify).
243
243
  *
244
244
  * `typia.http.headers()` is a function decoding an header instance, with automatic
245
- * type casting to the expected type. When property type be defined as `boolean` or
245
+ * type casting to the expected type. When property type is defined as `boolean` or
246
246
  * `number` type, `typia.http.headers()` will cast the value to the expected type.
247
247
  *
248
248
  * By the way, as HTTP headers are not enough to express complex data structures,
@@ -254,7 +254,7 @@ export declare function validateQuery<T extends object>(input: string | IReadabl
254
254
  * 3. Property key must be lower case
255
255
  * 4. Property value cannot be `null`, but `undefined` is possible
256
256
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
257
- * 6. By the way, union type never be not allowed
257
+ * 6. Union types are never allowed
258
258
  * 7. Property `set-cookie` must be array type
259
259
  * 8. Those properties cannot be array type
260
260
  * - age
@@ -295,7 +295,7 @@ export declare function headers<T extends object>(input: Record<string, string |
295
295
  * Headers decoder with type assertion (for express and fastify).
296
296
  *
297
297
  * `typia.http.assertHeaders()` is a function decoding an header instance, with
298
- * automatic type casting to the expected type. When property type be defined as
298
+ * automatic type casting to the expected type. When property type is defined as
299
299
  * `boolean` or `number` type, `typia.http.headers()` will cast the value to the
300
300
  * expected type.
301
301
  *
@@ -313,7 +313,7 @@ export declare function headers<T extends object>(input: Record<string, string |
313
313
  * 3. Property key must be lower case
314
314
  * 4. Property value cannot be `null`, but `undefined` is possible
315
315
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
316
- * 6. By the way, union type never be not allowed
316
+ * 6. Union types are never allowed
317
317
  * 7. Property `set-cookie` must be array type
318
318
  * 8. Those properties cannot be array type
319
319
  * - age
@@ -349,7 +349,7 @@ export declare function assertHeaders<T extends object>(input: Record<string, st
349
349
  * Headers decoder with type checking (for express and fastify).
350
350
  *
351
351
  * `typia.http.isHeaders()` is a function decoding an header instance, with
352
- * automatic type casting to the expected type. When property type be defined as
352
+ * automatic type casting to the expected type. When property type is defined as
353
353
  * `boolean` or `number` type, `typia.http.headers()` will cast the value to the
354
354
  * expected type.
355
355
  *
@@ -366,7 +366,7 @@ export declare function assertHeaders<T extends object>(input: Record<string, st
366
366
  * 3. Property key must be lower case
367
367
  * 4. Property value cannot be `null`, but `undefined` is possible
368
368
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
369
- * 6. By the way, union type never be not allowed
369
+ * 6. Union types are never allowed
370
370
  * 7. Property `set-cookie` must be array type
371
371
  * 8. Those properties cannot be array type
372
372
  * - age
@@ -399,7 +399,7 @@ export declare function isHeaders<T extends object>(input: Record<string, string
399
399
  * Headers decoder with type validation (for express and fastify).
400
400
  *
401
401
  * `typia.http.validateHeaders()` is a function decoding an header instance, with
402
- * automatic type casting to the expected type. When property type be defined as
402
+ * automatic type casting to the expected type. When property type is defined as
403
403
  * `boolean` or `number` type, `typia.http.headers()` will cast the value to the
404
404
  * expected type.
405
405
  *
@@ -417,7 +417,7 @@ export declare function isHeaders<T extends object>(input: Record<string, string
417
417
  * 3. Property key must be lower case
418
418
  * 4. Property value cannot be `null`, but `undefined` is possible
419
419
  * 5. Only `boolean`, `bigint`, `number`, `string` or their array types are allowed
420
- * 6. By the way, union type never be not allowed
420
+ * 6. Union types are never allowed
421
421
  * 7. Property `set-cookie` must be array type
422
422
  * 8. Those properties cannot be array type
423
423
  * - age
@@ -1,4 +1,4 @@
1
1
  import { ILlmApplication, ILlmSchema } from "@samchon/openapi";
2
- export declare const _llmApplicationFinalize: <Model extends ILlmSchema.Model>(app: ILlmApplication<Model>, options?: Partial<Pick<ILlmApplication.IOptions<Model>, "separate"> & {
2
+ export declare const _llmApplicationFinalize: <Model extends ILlmSchema.Model>(app: ILlmApplication<Model>, options?: Partial<Pick<ILlmApplication.IOptions<Model>, "separate" | "validate"> & {
3
3
  equals?: boolean;
4
4
  }>) => void;
@@ -1,4 +1,4 @@
1
1
  import { ILlmApplication, ILlmSchema } from "@samchon/openapi";
2
- export declare const _llmApplicationFinalize: <Model extends ILlmSchema.Model>(app: ILlmApplication<Model>, options?: Partial<Pick<ILlmApplication.IOptions<Model>, "separate"> & {
2
+ export declare const _llmApplicationFinalize: <Model extends ILlmSchema.Model>(app: ILlmApplication<Model>, options?: Partial<Pick<ILlmApplication.IOptions<Model>, "separate" | "validate"> & {
3
3
  equals?: boolean;
4
4
  }>) => void;