@typia/interface 12.0.0-dev.20260225

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 (311) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +23 -0
  3. package/lib/http/IHttpConnection.d.ts +163 -0
  4. package/lib/http/IHttpConnection.js +4 -0
  5. package/lib/http/IHttpConnection.js.map +1 -0
  6. package/lib/http/IHttpLlmApplication.d.ts +73 -0
  7. package/lib/http/IHttpLlmApplication.js +3 -0
  8. package/lib/http/IHttpLlmApplication.js.map +1 -0
  9. package/lib/http/IHttpLlmController.d.ts +86 -0
  10. package/lib/http/IHttpLlmController.js +3 -0
  11. package/lib/http/IHttpLlmController.js.map +1 -0
  12. package/lib/http/IHttpLlmFunction.d.ts +79 -0
  13. package/lib/http/IHttpLlmFunction.js +3 -0
  14. package/lib/http/IHttpLlmFunction.js.map +1 -0
  15. package/lib/http/IHttpMigrateApplication.d.ts +42 -0
  16. package/lib/http/IHttpMigrateApplication.js +3 -0
  17. package/lib/http/IHttpMigrateApplication.js.map +1 -0
  18. package/lib/http/IHttpMigrateRoute.d.ts +121 -0
  19. package/lib/http/IHttpMigrateRoute.js +3 -0
  20. package/lib/http/IHttpMigrateRoute.js.map +1 -0
  21. package/lib/http/IHttpResponse.d.ts +40 -0
  22. package/lib/http/IHttpResponse.js +3 -0
  23. package/lib/http/IHttpResponse.js.map +1 -0
  24. package/lib/http/index.d.ts +7 -0
  25. package/lib/http/index.js +24 -0
  26. package/lib/http/index.js.map +1 -0
  27. package/lib/index.d.ts +8 -0
  28. package/lib/index.js +48 -0
  29. package/lib/index.js.map +1 -0
  30. package/lib/metadata/IJsDocTagInfo.d.ts +23 -0
  31. package/lib/metadata/IJsDocTagInfo.js +3 -0
  32. package/lib/metadata/IJsDocTagInfo.js.map +1 -0
  33. package/lib/metadata/IMetadataComponents.d.ts +20 -0
  34. package/lib/metadata/IMetadataComponents.js +3 -0
  35. package/lib/metadata/IMetadataComponents.js.map +1 -0
  36. package/lib/metadata/IMetadataSchema.d.ts +219 -0
  37. package/lib/metadata/IMetadataSchema.js +3 -0
  38. package/lib/metadata/IMetadataSchema.js.map +1 -0
  39. package/lib/metadata/IMetadataSchemaCollection.d.ts +18 -0
  40. package/lib/metadata/IMetadataSchemaCollection.js +3 -0
  41. package/lib/metadata/IMetadataSchemaCollection.js.map +1 -0
  42. package/lib/metadata/IMetadataSchemaUnit.d.ts +18 -0
  43. package/lib/metadata/IMetadataSchemaUnit.js +3 -0
  44. package/lib/metadata/IMetadataSchemaUnit.js.map +1 -0
  45. package/lib/metadata/IMetadataTypeTag.d.ts +28 -0
  46. package/lib/metadata/IMetadataTypeTag.js +3 -0
  47. package/lib/metadata/IMetadataTypeTag.js.map +1 -0
  48. package/lib/metadata/index.d.ts +6 -0
  49. package/lib/metadata/index.js +23 -0
  50. package/lib/metadata/index.js.map +1 -0
  51. package/lib/openapi/OpenApi.d.ts +454 -0
  52. package/lib/openapi/OpenApi.js +3 -0
  53. package/lib/openapi/OpenApi.js.map +1 -0
  54. package/lib/openapi/OpenApiV3.d.ts +420 -0
  55. package/lib/openapi/OpenApiV3.js +3 -0
  56. package/lib/openapi/OpenApiV3.js.map +1 -0
  57. package/lib/openapi/OpenApiV3_1.d.ts +463 -0
  58. package/lib/openapi/OpenApiV3_1.js +3 -0
  59. package/lib/openapi/OpenApiV3_1.js.map +1 -0
  60. package/lib/openapi/SwaggerV2.d.ts +343 -0
  61. package/lib/openapi/SwaggerV2.js +3 -0
  62. package/lib/openapi/SwaggerV2.js.map +1 -0
  63. package/lib/openapi/index.d.ts +4 -0
  64. package/lib/openapi/index.js +21 -0
  65. package/lib/openapi/index.js.map +1 -0
  66. package/lib/protobuf/ProtobufWire.d.ts +46 -0
  67. package/lib/protobuf/ProtobufWire.js +3 -0
  68. package/lib/protobuf/ProtobufWire.js.map +1 -0
  69. package/lib/protobuf/index.d.ts +1 -0
  70. package/lib/protobuf/index.js +18 -0
  71. package/lib/protobuf/index.js.map +1 -0
  72. package/lib/schema/IJsonSchemaApplication.d.ts +232 -0
  73. package/lib/schema/IJsonSchemaApplication.js +3 -0
  74. package/lib/schema/IJsonSchemaApplication.js.map +1 -0
  75. package/lib/schema/IJsonSchemaAttribute.d.ts +152 -0
  76. package/lib/schema/IJsonSchemaAttribute.js +3 -0
  77. package/lib/schema/IJsonSchemaAttribute.js.map +1 -0
  78. package/lib/schema/IJsonSchemaCollection.d.ts +109 -0
  79. package/lib/schema/IJsonSchemaCollection.js +3 -0
  80. package/lib/schema/IJsonSchemaCollection.js.map +1 -0
  81. package/lib/schema/IJsonSchemaTransformError.d.ts +81 -0
  82. package/lib/schema/IJsonSchemaTransformError.js +3 -0
  83. package/lib/schema/IJsonSchemaTransformError.js.map +1 -0
  84. package/lib/schema/IJsonSchemaUnit.d.ts +106 -0
  85. package/lib/schema/IJsonSchemaUnit.js +3 -0
  86. package/lib/schema/IJsonSchemaUnit.js.map +1 -0
  87. package/lib/schema/ILlmApplication.d.ts +95 -0
  88. package/lib/schema/ILlmApplication.js +3 -0
  89. package/lib/schema/ILlmApplication.js.map +1 -0
  90. package/lib/schema/ILlmController.d.ts +53 -0
  91. package/lib/schema/ILlmController.js +3 -0
  92. package/lib/schema/ILlmController.js.map +1 -0
  93. package/lib/schema/ILlmFunction.d.ts +134 -0
  94. package/lib/schema/ILlmFunction.js +3 -0
  95. package/lib/schema/ILlmFunction.js.map +1 -0
  96. package/lib/schema/ILlmSchema.d.ts +412 -0
  97. package/lib/schema/ILlmSchema.js +3 -0
  98. package/lib/schema/ILlmSchema.js.map +1 -0
  99. package/lib/schema/IResult.d.ts +81 -0
  100. package/lib/schema/IResult.js +3 -0
  101. package/lib/schema/IResult.js.map +1 -0
  102. package/lib/schema/IValidation.d.ts +123 -0
  103. package/lib/schema/IValidation.js +3 -0
  104. package/lib/schema/IValidation.js.map +1 -0
  105. package/lib/schema/index.d.ts +11 -0
  106. package/lib/schema/index.js +28 -0
  107. package/lib/schema/index.js.map +1 -0
  108. package/lib/tags/Constant.d.ts +44 -0
  109. package/lib/tags/Constant.js +3 -0
  110. package/lib/tags/Constant.js.map +1 -0
  111. package/lib/tags/ContentMediaType.d.ts +39 -0
  112. package/lib/tags/ContentMediaType.js +3 -0
  113. package/lib/tags/ContentMediaType.js.map +1 -0
  114. package/lib/tags/Default.d.ts +42 -0
  115. package/lib/tags/Default.js +3 -0
  116. package/lib/tags/Default.js.map +1 -0
  117. package/lib/tags/Example.d.ts +38 -0
  118. package/lib/tags/Example.js +3 -0
  119. package/lib/tags/Example.js.map +1 -0
  120. package/lib/tags/Examples.d.ts +44 -0
  121. package/lib/tags/Examples.js +3 -0
  122. package/lib/tags/Examples.js.map +1 -0
  123. package/lib/tags/ExclusiveMaximum.d.ts +39 -0
  124. package/lib/tags/ExclusiveMaximum.js +3 -0
  125. package/lib/tags/ExclusiveMaximum.js.map +1 -0
  126. package/lib/tags/ExclusiveMinimum.d.ts +39 -0
  127. package/lib/tags/ExclusiveMinimum.js +3 -0
  128. package/lib/tags/ExclusiveMinimum.js.map +1 -0
  129. package/lib/tags/Format.d.ts +43 -0
  130. package/lib/tags/Format.js +3 -0
  131. package/lib/tags/Format.js.map +1 -0
  132. package/lib/tags/JsonSchemaPlugin.d.ts +44 -0
  133. package/lib/tags/JsonSchemaPlugin.js +3 -0
  134. package/lib/tags/JsonSchemaPlugin.js.map +1 -0
  135. package/lib/tags/MaxItems.d.ts +38 -0
  136. package/lib/tags/MaxItems.js +3 -0
  137. package/lib/tags/MaxItems.js.map +1 -0
  138. package/lib/tags/MaxLength.d.ts +36 -0
  139. package/lib/tags/MaxLength.js +3 -0
  140. package/lib/tags/MaxLength.js.map +1 -0
  141. package/lib/tags/Maximum.d.ts +41 -0
  142. package/lib/tags/Maximum.js +3 -0
  143. package/lib/tags/Maximum.js.map +1 -0
  144. package/lib/tags/MinItems.d.ts +38 -0
  145. package/lib/tags/MinItems.js +3 -0
  146. package/lib/tags/MinItems.js.map +1 -0
  147. package/lib/tags/MinLength.d.ts +36 -0
  148. package/lib/tags/MinLength.js +3 -0
  149. package/lib/tags/MinLength.js.map +1 -0
  150. package/lib/tags/Minimum.d.ts +41 -0
  151. package/lib/tags/Minimum.js +3 -0
  152. package/lib/tags/Minimum.js.map +1 -0
  153. package/lib/tags/MultipleOf.d.ts +49 -0
  154. package/lib/tags/MultipleOf.js +3 -0
  155. package/lib/tags/MultipleOf.js.map +1 -0
  156. package/lib/tags/Pattern.d.ts +51 -0
  157. package/lib/tags/Pattern.js +3 -0
  158. package/lib/tags/Pattern.js.map +1 -0
  159. package/lib/tags/Sequence.d.ts +42 -0
  160. package/lib/tags/Sequence.js +3 -0
  161. package/lib/tags/Sequence.js.map +1 -0
  162. package/lib/tags/TagBase.d.ts +109 -0
  163. package/lib/tags/TagBase.js +3 -0
  164. package/lib/tags/TagBase.js.map +1 -0
  165. package/lib/tags/Type.d.ts +53 -0
  166. package/lib/tags/Type.js +3 -0
  167. package/lib/tags/Type.js.map +1 -0
  168. package/lib/tags/UniqueItems.d.ts +41 -0
  169. package/lib/tags/UniqueItems.js +3 -0
  170. package/lib/tags/UniqueItems.js.map +1 -0
  171. package/lib/tags/index.d.ts +21 -0
  172. package/lib/tags/index.js +38 -0
  173. package/lib/tags/index.js.map +1 -0
  174. package/lib/typings/AssertionGuard.d.ts +12 -0
  175. package/lib/typings/AssertionGuard.js +3 -0
  176. package/lib/typings/AssertionGuard.js.map +1 -0
  177. package/lib/typings/Atomic.d.ts +19 -0
  178. package/lib/typings/Atomic.js +3 -0
  179. package/lib/typings/Atomic.js.map +1 -0
  180. package/lib/typings/CamelCase.d.ts +26 -0
  181. package/lib/typings/CamelCase.js +3 -0
  182. package/lib/typings/CamelCase.js.map +1 -0
  183. package/lib/typings/ClassProperties.d.ts +14 -0
  184. package/lib/typings/ClassProperties.js +3 -0
  185. package/lib/typings/ClassProperties.js.map +1 -0
  186. package/lib/typings/OmitNever.d.ts +11 -0
  187. package/lib/typings/OmitNever.js +3 -0
  188. package/lib/typings/OmitNever.js.map +1 -0
  189. package/lib/typings/PascalCase.d.ts +25 -0
  190. package/lib/typings/PascalCase.js +3 -0
  191. package/lib/typings/PascalCase.js.map +1 -0
  192. package/lib/typings/Primitive.d.ts +29 -0
  193. package/lib/typings/Primitive.js +3 -0
  194. package/lib/typings/Primitive.js.map +1 -0
  195. package/lib/typings/ProtobufAtomic.d.ts +15 -0
  196. package/lib/typings/ProtobufAtomic.js +3 -0
  197. package/lib/typings/ProtobufAtomic.js.map +1 -0
  198. package/lib/typings/Resolved.d.ts +23 -0
  199. package/lib/typings/Resolved.js +3 -0
  200. package/lib/typings/Resolved.js.map +1 -0
  201. package/lib/typings/SnakeCase.d.ts +31 -0
  202. package/lib/typings/SnakeCase.js +3 -0
  203. package/lib/typings/SnakeCase.js.map +1 -0
  204. package/lib/typings/SpecialFields.d.ts +13 -0
  205. package/lib/typings/SpecialFields.js +3 -0
  206. package/lib/typings/SpecialFields.js.map +1 -0
  207. package/lib/typings/ValidationPipe.d.ts +18 -0
  208. package/lib/typings/ValidationPipe.js +3 -0
  209. package/lib/typings/ValidationPipe.js.map +1 -0
  210. package/lib/typings/index.d.ts +12 -0
  211. package/lib/typings/index.js +29 -0
  212. package/lib/typings/index.js.map +1 -0
  213. package/lib/typings/internal/Equal.d.ts +11 -0
  214. package/lib/typings/internal/Equal.js +3 -0
  215. package/lib/typings/internal/Equal.js.map +1 -0
  216. package/lib/typings/internal/IsTuple.d.ts +13 -0
  217. package/lib/typings/internal/IsTuple.js +3 -0
  218. package/lib/typings/internal/IsTuple.js.map +1 -0
  219. package/lib/typings/internal/NativeClass.d.ts +9 -0
  220. package/lib/typings/internal/NativeClass.js +3 -0
  221. package/lib/typings/internal/NativeClass.js.map +1 -0
  222. package/lib/typings/internal/ValueOf.d.ts +15 -0
  223. package/lib/typings/internal/ValueOf.js +3 -0
  224. package/lib/typings/internal/ValueOf.js.map +1 -0
  225. package/lib/utils/IRandomGenerator.d.ts +68 -0
  226. package/lib/utils/IRandomGenerator.js +3 -0
  227. package/lib/utils/IRandomGenerator.js.map +1 -0
  228. package/lib/utils/IReadableURLSearchParams.d.ts +22 -0
  229. package/lib/utils/IReadableURLSearchParams.js +3 -0
  230. package/lib/utils/IReadableURLSearchParams.js.map +1 -0
  231. package/lib/utils/index.d.ts +2 -0
  232. package/lib/utils/index.js +19 -0
  233. package/lib/utils/index.js.map +1 -0
  234. package/package.json +79 -0
  235. package/src/http/IHttpConnection.ts +200 -0
  236. package/src/http/IHttpLlmApplication.ts +83 -0
  237. package/src/http/IHttpLlmController.ts +96 -0
  238. package/src/http/IHttpLlmFunction.ts +93 -0
  239. package/src/http/IHttpMigrateApplication.ts +48 -0
  240. package/src/http/IHttpMigrateRoute.ts +165 -0
  241. package/src/http/IHttpResponse.ts +42 -0
  242. package/src/http/index.ts +7 -0
  243. package/src/index.ts +9 -0
  244. package/src/metadata/IJsDocTagInfo.ts +25 -0
  245. package/src/metadata/IMetadataComponents.ts +24 -0
  246. package/src/metadata/IMetadataSchema.ts +293 -0
  247. package/src/metadata/IMetadataSchemaCollection.ts +20 -0
  248. package/src/metadata/IMetadataSchemaUnit.ts +20 -0
  249. package/src/metadata/IMetadataTypeTag.ts +39 -0
  250. package/src/metadata/index.ts +6 -0
  251. package/src/openapi/OpenApi.ts +643 -0
  252. package/src/openapi/OpenApiV3.ts +655 -0
  253. package/src/openapi/OpenApiV3_1.ts +735 -0
  254. package/src/openapi/SwaggerV2.ts +559 -0
  255. package/src/openapi/index.ts +4 -0
  256. package/src/protobuf/ProtobufWire.ts +51 -0
  257. package/src/protobuf/index.ts +1 -0
  258. package/src/schema/IJsonSchemaApplication.ts +274 -0
  259. package/src/schema/IJsonSchemaAttribute.ts +158 -0
  260. package/src/schema/IJsonSchemaCollection.ts +123 -0
  261. package/src/schema/IJsonSchemaTransformError.ts +86 -0
  262. package/src/schema/IJsonSchemaUnit.ts +120 -0
  263. package/src/schema/ILlmApplication.ts +103 -0
  264. package/src/schema/ILlmController.ts +57 -0
  265. package/src/schema/ILlmFunction.ts +144 -0
  266. package/src/schema/ILlmSchema.ts +484 -0
  267. package/src/schema/IResult.ts +84 -0
  268. package/src/schema/IValidation.ts +134 -0
  269. package/src/schema/index.ts +13 -0
  270. package/src/tags/Constant.ts +49 -0
  271. package/src/tags/ContentMediaType.ts +40 -0
  272. package/src/tags/Default.ts +50 -0
  273. package/src/tags/Example.ts +48 -0
  274. package/src/tags/Examples.ts +50 -0
  275. package/src/tags/ExclusiveMaximum.ts +46 -0
  276. package/src/tags/ExclusiveMinimum.ts +46 -0
  277. package/src/tags/Format.ts +76 -0
  278. package/src/tags/JsonSchemaPlugin.ts +45 -0
  279. package/src/tags/MaxItems.ts +39 -0
  280. package/src/tags/MaxLength.ts +37 -0
  281. package/src/tags/Maximum.ts +44 -0
  282. package/src/tags/MinItems.ts +39 -0
  283. package/src/tags/MinLength.ts +37 -0
  284. package/src/tags/Minimum.ts +44 -0
  285. package/src/tags/MultipleOf.ts +54 -0
  286. package/src/tags/Pattern.ts +59 -0
  287. package/src/tags/Sequence.ts +43 -0
  288. package/src/tags/TagBase.ts +131 -0
  289. package/src/tags/Type.ts +70 -0
  290. package/src/tags/UniqueItems.ts +44 -0
  291. package/src/tags/index.ts +21 -0
  292. package/src/typings/AssertionGuard.ts +12 -0
  293. package/src/typings/Atomic.ts +21 -0
  294. package/src/typings/CamelCase.ts +75 -0
  295. package/src/typings/ClassProperties.ts +15 -0
  296. package/src/typings/OmitNever.ts +12 -0
  297. package/src/typings/PascalCase.ts +71 -0
  298. package/src/typings/Primitive.ts +71 -0
  299. package/src/typings/ProtobufAtomic.ts +30 -0
  300. package/src/typings/Resolved.ts +58 -0
  301. package/src/typings/SnakeCase.ts +126 -0
  302. package/src/typings/SpecialFields.ts +13 -0
  303. package/src/typings/ValidationPipe.ts +20 -0
  304. package/src/typings/index.ts +13 -0
  305. package/src/typings/internal/Equal.ts +14 -0
  306. package/src/typings/internal/IsTuple.ts +17 -0
  307. package/src/typings/internal/NativeClass.ts +31 -0
  308. package/src/typings/internal/ValueOf.ts +29 -0
  309. package/src/utils/IRandomGenerator.ts +105 -0
  310. package/src/utils/IReadableURLSearchParams.ts +25 -0
  311. package/src/utils/index.ts +2 -0
@@ -0,0 +1,14 @@
1
+ import { OmitNever } from "./OmitNever";
2
+ /**
3
+ * Extracts non-function properties from a class type.
4
+ *
5
+ * `ClassProperties<T>` filters out all method properties from a class, keeping
6
+ * only data properties. Useful for serialization where methods should be
7
+ * excluded.
8
+ *
9
+ * @author Jeongho Nam - https://github.com/samchon
10
+ * @template T Target class type
11
+ */
12
+ export type ClassProperties<T extends object> = OmitNever<{
13
+ [K in keyof T]: T[K] extends Function ? never : T[K];
14
+ }>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ClassProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClassProperties.js","sourceRoot":"","sources":["../../src/typings/ClassProperties.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { SpecialFields } from "./SpecialFields";
2
+ /**
3
+ * Omits properties with `never` type from an object type.
4
+ *
5
+ * `OmitNever<T>` removes all properties whose value type is `never`, producing
6
+ * a cleaner type without impossible properties.
7
+ *
8
+ * @author Jeongho Nam - https://github.com/samchon
9
+ * @template T Target object type
10
+ */
11
+ export type OmitNever<T extends object> = Omit<T, SpecialFields<T, never>>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OmitNever.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OmitNever.js","sourceRoot":"","sources":["../../src/typings/OmitNever.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { Equal } from "./internal/Equal";
2
+ import { IsTuple } from "./internal/IsTuple";
3
+ import { NativeClass } from "./internal/NativeClass";
4
+ import { ValueOf } from "./internal/ValueOf";
5
+ /**
6
+ * Converts all object keys to PascalCase.
7
+ *
8
+ * `PascalCase<T>` transforms object property names to PascalCase format and
9
+ * erases methods like {@link Resolved}. Recursively processes nested
10
+ * structures.
11
+ *
12
+ * @author Jeongho Nam - https://github.com/samchon
13
+ * @template T Target type to transform
14
+ */
15
+ export type PascalCase<T> = Equal<T, PascalizeMain<T>> extends true ? T : PascalizeMain<T>;
16
+ type PascalizeMain<T> = T extends [never] ? never : T extends {
17
+ valueOf(): boolean | bigint | number | string;
18
+ } ? ValueOf<T> : T extends Function ? never : T extends object ? PascalizeObject<T> : T;
19
+ type PascalizeObject<T extends object> = T extends Array<infer U> ? IsTuple<T> extends true ? PascalizeTuple<T> : PascalizeMain<U>[] : T extends Set<infer U> ? Set<PascalizeMain<U>> : T extends Map<infer K, infer V> ? Map<PascalizeMain<K>, PascalizeMain<V>> : T extends WeakSet<any> | WeakMap<any, any> ? never : T extends NativeClass ? T : {
20
+ [Key in keyof T as PascalizeString<Key & string>]: PascalizeMain<T[Key]>;
21
+ };
22
+ type PascalizeTuple<T extends readonly any[]> = T extends [] ? [] : T extends [infer F] ? [PascalizeMain<F>] : T extends [infer F, ...infer Rest extends readonly any[]] ? [PascalizeMain<F>, ...PascalizeTuple<Rest>] : T extends [(infer F)?] ? [PascalizeMain<F>?] : T extends [(infer F)?, ...infer Rest extends readonly any[]] ? [PascalizeMain<F>?, ...PascalizeTuple<Rest>] : [];
23
+ type PascalizeString<Key extends string> = Key extends `_${infer R}` ? `_${PascalizeString<R>}` : Key extends `${infer _F}_${infer _R}` ? PascalizeSnakeString<Key> : Capitalize<Key>;
24
+ type PascalizeSnakeString<Key extends string> = Key extends `_${infer R}` ? PascalizeSnakeString<R> : Key extends `${infer F}${infer M}_${infer R}` ? `${Uppercase<F>}${Lowercase<M>}${PascalizeSnakeString<R>}` : Key extends `${infer F}${infer R}` ? `${Uppercase<F>}${Lowercase<R>}` : Key;
25
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PascalCase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PascalCase.js","sourceRoot":"","sources":["../../src/typings/PascalCase.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { Format } from "../tags/Format";
2
+ import { Equal } from "./internal/Equal";
3
+ import { IsTuple } from "./internal/IsTuple";
4
+ import { NativeClass } from "./internal/NativeClass";
5
+ import { ValueOf } from "./internal/ValueOf";
6
+ /**
7
+ * Converts a type to its JSON-serializable primitive form.
8
+ *
9
+ * `Primitive<T>` transforms types for JSON serialization: boxed primitives
10
+ * become primitives (Boolean→boolean), classes become plain objects with
11
+ * methods removed, Date becomes `string & Format<"date-time">`, and types with
12
+ * `toJSON()` use their return type. Native classes (except Date) and bigint
13
+ * become `never` as they're not JSON-serializable.
14
+ *
15
+ * @author Jeongho Nam - https://github.com/samchon
16
+ * @author Kyungsu Kang - https://github.com/kakasoo
17
+ * @author Michael - https://github.com/8471919
18
+ * @template T Target type to convert
19
+ */
20
+ export type Primitive<T> = Equal<T, PrimitiveMain<T>> extends true ? T : PrimitiveMain<T>;
21
+ type PrimitiveMain<Instance> = Instance extends [never] ? never : ValueOf<Instance> extends bigint ? never : ValueOf<Instance> extends boolean | number | string ? ValueOf<Instance> : Instance extends Function ? never : ValueOf<Instance> extends object ? Instance extends object ? Instance extends Date ? string & Format<"date-time"> : Instance extends IJsonable<infer Raw> ? ValueOf<Raw> extends object ? Raw extends object ? PrimitiveObject<Raw> : never : ValueOf<Raw> : Instance extends Exclude<NativeClass, Date> ? never : PrimitiveObject<Instance> : never : ValueOf<Instance>;
22
+ type PrimitiveObject<Instance extends object> = Instance extends Array<infer T> ? IsTuple<Instance> extends true ? PrimitiveTuple<Instance> : PrimitiveMain<T>[] : {
23
+ [P in keyof Instance]: PrimitiveMain<Instance[P]>;
24
+ };
25
+ type PrimitiveTuple<T extends readonly any[]> = T extends [] ? [] : T extends [infer F] ? [PrimitiveMain<F>] : T extends [infer F, ...infer Rest extends readonly any[]] ? [PrimitiveMain<F>, ...PrimitiveTuple<Rest>] : T extends [(infer F)?] ? [PrimitiveMain<F>?] : T extends [(infer F)?, ...infer Rest extends readonly any[]] ? [PrimitiveMain<F>?, ...PrimitiveTuple<Rest>] : [];
26
+ interface IJsonable<T> {
27
+ toJSON(): T;
28
+ }
29
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Primitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Primitive.js","sourceRoot":"","sources":["../../src/typings/Primitive.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Protocol Buffers atomic (scalar) type names.
3
+ *
4
+ * Union of all primitive type identifiers used in Protocol Buffers wire format
5
+ * encoding/decoding.
6
+ *
7
+ * @author Jeongho Nam - https://github.com/samchon
8
+ */
9
+ export type ProtobufAtomic = "bool" | "int32" | "uint32" | "int64" | "uint64" | "float" | "double" | "string";
10
+ export declare namespace ProtobufAtomic {
11
+ /** Numeric protobuf types (integers and floats). */
12
+ type Numeric = "int32" | "uint32" | "int64" | "uint64" | "float" | "double";
13
+ /** 64-bit integer types that map to JavaScript `bigint`. */
14
+ type BigNumeric = "int64" | "uint64";
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ProtobufAtomic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProtobufAtomic.js","sourceRoot":"","sources":["../../src/typings/ProtobufAtomic.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ import { Equal } from "./internal/Equal";
2
+ import { IsTuple } from "./internal/IsTuple";
3
+ import { NativeClass } from "./internal/NativeClass";
4
+ import { ValueOf } from "./internal/ValueOf";
5
+ /**
6
+ * Converts a type to its resolved form by erasing all methods.
7
+ *
8
+ * `Resolved<T>` transforms classes to plain objects, extracts primitive values
9
+ * from boxed types (Boolean→boolean, Number→number, String→string), and
10
+ * recursively processes nested structures. Native classes (Date, Set, Map,
11
+ * etc.) are preserved unchanged.
12
+ *
13
+ * @author Jeongho Nam - https://github.com/samchon
14
+ * @author Kyungsu Kang - https://github.com/kakasoo
15
+ * @template T Target type to resolve
16
+ */
17
+ export type Resolved<T> = Equal<T, ResolvedMain<T>> extends true ? T : ResolvedMain<T>;
18
+ type ResolvedMain<T> = T extends [never] ? never : ValueOf<T> extends boolean | number | bigint | string ? ValueOf<T> : T extends Function ? never : T extends object ? ResolvedObject<T> : ValueOf<T>;
19
+ type ResolvedObject<T extends object> = T extends Array<infer U> ? IsTuple<T> extends true ? ResolvedTuple<T> : ResolvedMain<U>[] : T extends Set<infer U> ? Set<ResolvedMain<U>> : T extends Map<infer K, infer V> ? Map<ResolvedMain<K>, ResolvedMain<V>> : T extends WeakSet<any> | WeakMap<any, any> ? never : T extends NativeClass ? T : {
20
+ [P in keyof T]: ResolvedMain<T[P]>;
21
+ };
22
+ type ResolvedTuple<T extends readonly any[]> = T extends [] ? [] : T extends [infer F] ? [ResolvedMain<F>] : T extends [infer F, ...infer Rest extends readonly any[]] ? [ResolvedMain<F>, ...ResolvedTuple<Rest>] : T extends [(infer F)?] ? [ResolvedMain<F>?] : T extends [(infer F)?, ...infer Rest extends readonly any[]] ? [ResolvedMain<F>?, ...ResolvedTuple<Rest>] : [];
23
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Resolved.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Resolved.js","sourceRoot":"","sources":["../../src/typings/Resolved.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { Equal } from "./internal/Equal";
2
+ import { NativeClass } from "./internal/NativeClass";
3
+ import { ValueOf } from "./internal/ValueOf";
4
+ /**
5
+ * Converts all object keys to snake_case.
6
+ *
7
+ * `SnakeCase<T>` transforms object property names to snake_case format and
8
+ * erases methods like {@link Resolved}. Recursively processes nested
9
+ * structures.
10
+ *
11
+ * @author Jeongho Nam - https://github.com/samchon
12
+ * @template T Target type to transform
13
+ */
14
+ export type SnakeCase<T> = Equal<T, SnakageMain<T>> extends true ? T : SnakageMain<T>;
15
+ type SnakageMain<T> = T extends [never] ? never : T extends {
16
+ valueOf(): boolean | bigint | number | string;
17
+ } ? ValueOf<T> : T extends Function ? never : T extends object ? SnakageObject<T> : T;
18
+ type SnakageObject<T extends object> = T extends Array<infer U> ? IsTuple<T> extends true ? SnakageTuple<T> : SnakageMain<U>[] : T extends Set<infer U> ? Set<SnakageMain<U>> : T extends Map<infer K, infer V> ? Map<SnakageMain<K>, SnakageMain<V>> : T extends WeakSet<any> | WeakMap<any, any> ? never : T extends NativeClass ? T : {
19
+ [Key in keyof T as SnakageString<Key & string>]: SnakageMain<T[Key]>;
20
+ };
21
+ type IsTuple<T extends readonly any[] | {
22
+ length: number;
23
+ }> = [T] extends [
24
+ never
25
+ ] ? false : T extends readonly any[] ? number extends T["length"] ? false : true : false;
26
+ type SnakageTuple<T extends readonly any[]> = T extends [] ? [] : T extends [infer F] ? [SnakageMain<F>] : T extends [infer F, ...infer Rest extends readonly any[]] ? [SnakageMain<F>, ...SnakageTuple<Rest>] : T extends [(infer F)?] ? [SnakageMain<F>?] : T extends [(infer F)?, ...infer Rest extends readonly any[]] ? [SnakageMain<F>?, ...SnakageTuple<Rest>] : [];
27
+ type SnakageString<Key extends string> = Key extends `${infer _}` ? SnakageStringRepeatedly<Key, ""> : Key;
28
+ type SnakageStringRepeatedly<S extends string, Previous extends string> = S extends `${infer First}${infer Second}${infer Rest}` ? `${Underscore<Previous, First>}${Lowercase<First>}${Underscore<First, Second>}${Lowercase<Second>}${SnakageStringRepeatedly<Rest, Second>}` : S extends `${infer First}` ? `${Underscore<Previous, First>}${Lowercase<First>}` : "";
29
+ type Underscore<First extends string, Second extends string> = First extends UpperAlphabetic | "" | "_" ? "" : Second extends UpperAlphabetic ? "_" : "";
30
+ type UpperAlphabetic = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z";
31
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SnakeCase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnakeCase.js","sourceRoot":"","sources":["../../src/typings/SnakeCase.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Extracts property keys whose value type extends the target type.
3
+ *
4
+ * `SpecialFields<Instance, Target>` returns a union of property names from
5
+ * `Instance` where the property value extends `Target`.
6
+ *
7
+ * @author Jeongho Nam - https://github.com/samchon
8
+ * @template Instance Source object type
9
+ * @template Target Target value type to match
10
+ */
11
+ export type SpecialFields<Instance extends object, Target> = {
12
+ [P in keyof Instance]: Instance[P] extends Target ? P : never;
13
+ }[keyof Instance & string];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SpecialFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpecialFields.js","sourceRoot":"","sources":["../../src/typings/SpecialFields.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Discriminated union for validation results.
3
+ *
4
+ * `ValidationPipe<T, E>` represents either a successful validation with data of
5
+ * type `T`, or a failed validation with an array of errors of type `E`. Use the
6
+ * `success` discriminant to narrow the type.
7
+ *
8
+ * @author Jeongho Nam - https://github.com/samchon
9
+ * @template T Success data type
10
+ * @template E Error type
11
+ */
12
+ export type ValidationPipe<T, E> = {
13
+ success: true;
14
+ data: T;
15
+ } | {
16
+ success: false;
17
+ errors: E[];
18
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ValidationPipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationPipe.js","sourceRoot":"","sources":["../../src/typings/ValidationPipe.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ export * from "./AssertionGuard";
2
+ export * from "./CamelCase";
3
+ export * from "./PascalCase";
4
+ export * from "./Primitive";
5
+ export * from "./Resolved";
6
+ export * from "./SnakeCase";
7
+ export * from "./Atomic";
8
+ export * from "./ClassProperties";
9
+ export * from "./OmitNever";
10
+ export * from "./ProtobufAtomic";
11
+ export * from "./SpecialFields";
12
+ export * from "./ValidationPipe";
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AssertionGuard"), exports);
18
+ __exportStar(require("./CamelCase"), exports);
19
+ __exportStar(require("./PascalCase"), exports);
20
+ __exportStar(require("./Primitive"), exports);
21
+ __exportStar(require("./Resolved"), exports);
22
+ __exportStar(require("./SnakeCase"), exports);
23
+ __exportStar(require("./Atomic"), exports);
24
+ __exportStar(require("./ClassProperties"), exports);
25
+ __exportStar(require("./OmitNever"), exports);
26
+ __exportStar(require("./ProtobufAtomic"), exports);
27
+ __exportStar(require("./SpecialFields"), exports);
28
+ __exportStar(require("./ValidationPipe"), exports);
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAE5B,2CAAyB;AACzB,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Checks if two types are exactly equal.
3
+ *
4
+ * `Equal<X, Y>` returns `true` if types X and Y are identical, `false`
5
+ * otherwise. Works with any TypeScript types including unions.
6
+ *
7
+ * @author Kyungsu Kang - https://github.com/kakasoo
8
+ * @template X First type to compare
9
+ * @template Y Second type to compare
10
+ */
11
+ export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Equal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Equal.js","sourceRoot":"","sources":["../../../src/typings/internal/Equal.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Checks if an array type is a tuple (fixed length) or regular array.
3
+ *
4
+ * Returns `true` for tuple types like `[string, number]` where length is fixed,
5
+ * and `false` for array types like `string[]` where length is variable.
6
+ *
7
+ * @template T Array or tuple type to check
8
+ */
9
+ export type IsTuple<T extends readonly any[] | {
10
+ length: number;
11
+ }> = [
12
+ T
13
+ ] extends [never] ? false : T extends readonly any[] ? number extends T["length"] ? false : true : false;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IsTuple.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IsTuple.js","sourceRoot":"","sources":["../../../src/typings/internal/IsTuple.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Union of JavaScript built-in class types.
3
+ *
4
+ * `NativeClass` includes Date, collections (Set, Map, WeakSet, WeakMap), typed
5
+ * arrays (Uint8Array, Int32Array, etc.), binary data types (ArrayBuffer,
6
+ * DataView, Blob, File), and RegExp. These types receive special handling in
7
+ * typia's serialization and validation.
8
+ */
9
+ export type NativeClass = Date | Set<any> | Map<any, any> | WeakSet<any> | WeakMap<any, any> | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | BigUint64Array | Int8Array | Int16Array | Int32Array | BigInt64Array | Float32Array | Float64Array | ArrayBuffer | SharedArrayBuffer | DataView | Blob | File | RegExp;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NativeClass.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeClass.js","sourceRoot":"","sources":["../../../src/typings/internal/NativeClass.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Extracts the primitive value type from boxed primitives.
3
+ *
4
+ * `ValueOf<Instance>` converts boxed primitive types (Boolean, Number, String)
5
+ * to their primitive equivalents (boolean, number, string). Non-boxed types are
6
+ * returned unchanged.
7
+ *
8
+ * @template Instance Type to extract primitive from
9
+ */
10
+ export type ValueOf<Instance> = IsValueOf<Instance, Boolean> extends true ? boolean : IsValueOf<Instance, Number> extends true ? number : IsValueOf<Instance, String> extends true ? string : Instance;
11
+ type IsValueOf<Instance, Object extends IValueOf<any>> = Instance extends Object ? Object extends IValueOf<infer Primitive> ? Instance extends Primitive ? false : true : false : false;
12
+ interface IValueOf<T> {
13
+ valueOf(): T;
14
+ }
15
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ValueOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValueOf.js","sourceRoot":"","sources":["../../../src/typings/internal/ValueOf.ts"],"names":[],"mappings":""}
@@ -0,0 +1,68 @@
1
+ import { OpenApi } from "../openapi/OpenApi";
2
+ /**
3
+ * Random value generator interface for typia.
4
+ *
5
+ * `IRandomGenerator` defines methods for generating random values of various
6
+ * types. Used by `typia.random<T>()` for mock data generation.
7
+ *
8
+ * @author Jeongho Nam - https://github.com/samchon
9
+ */
10
+ export interface IRandomGenerator {
11
+ /** Generates a random boolean. */
12
+ boolean(): boolean | undefined;
13
+ /** Generates a random number within schema constraints. */
14
+ number(schema: OpenApi.IJsonSchema.INumber): number;
15
+ /** Generates a random integer within schema constraints. */
16
+ integer(schema: OpenApi.IJsonSchema.IInteger): number;
17
+ /** Generates a random bigint within schema constraints. */
18
+ bigint(schema: OpenApi.IJsonSchema.IInteger): bigint;
19
+ /** Generates a random string within schema constraints. */
20
+ string(schema: OpenApi.IJsonSchema.IString): string;
21
+ /** Generates a random array with elements from the generator function. */
22
+ array<T>(schema: Omit<OpenApi.IJsonSchema.IArray, "items"> & {
23
+ element: (index: number, count: number) => T;
24
+ }): T[];
25
+ /** Generates a random string matching the regex pattern. */
26
+ pattern(regex: RegExp): string;
27
+ byte(): string;
28
+ password(): string;
29
+ regex(): string;
30
+ uuid(): string;
31
+ email(): string;
32
+ hostname(): string;
33
+ idnEmail(): string;
34
+ idnHostname(): string;
35
+ iri(): string;
36
+ iriReference(): string;
37
+ ipv4(): string;
38
+ ipv6(): string;
39
+ uri(): string;
40
+ uriReference(): string;
41
+ uriTemplate(): string;
42
+ url(): string;
43
+ datetime(props?: {
44
+ minimum?: number;
45
+ maximum?: number;
46
+ }): string;
47
+ date(props?: {
48
+ minimum?: number;
49
+ maximum?: number;
50
+ }): string;
51
+ time(): string;
52
+ duration(): string;
53
+ jsonPointer(): string;
54
+ relativeJsonPointer(): string;
55
+ }
56
+ export declare namespace IRandomGenerator {
57
+ /** Custom generators for specific schema properties. */
58
+ interface CustomMap {
59
+ string?: (schema: OpenApi.IJsonSchema.IString & Record<string, any>) => string;
60
+ number?: (schema: OpenApi.IJsonSchema.INumber & Record<string, any>) => number;
61
+ integer?: (schema: OpenApi.IJsonSchema.IInteger & Record<string, any>) => number;
62
+ bigint?: (schema: OpenApi.IJsonSchema.IInteger & Record<string, any>) => bigint;
63
+ boolean?: (schema: Record<string, any>) => boolean | undefined;
64
+ array?: <T>(schema: Omit<OpenApi.IJsonSchema.IArray, "items"> & {
65
+ element: (index: number, count: number) => T;
66
+ } & Record<string, any>) => T[];
67
+ }
68
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IRandomGenerator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRandomGenerator.js","sourceRoot":"","sources":["../../src/utils/IRandomGenerator.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Minimal interface for reading URL query parameters.
3
+ *
4
+ * `IReadableURLSearchParams` is a subset of the standard {@link URLSearchParams}
5
+ * interface, containing only the read operations needed for query parameter
6
+ * parsing. This interface was designed specifically for compatibility with the
7
+ * [Hono.js](https://hono.dev/) web framework, which provides its own query
8
+ * parameter implementation.
9
+ *
10
+ * The interface exposes:
11
+ *
12
+ * - {@link URLSearchParams.size | size}: Number of parameters
13
+ * - {@link URLSearchParams.get | get}: Retrieve first value for a key
14
+ * - {@link URLSearchParams.getAll | getAll}: Retrieve all values for a key
15
+ *
16
+ * Use this interface when implementing query parameter handling that needs to
17
+ * work with both standard `URLSearchParams` and framework-specific
18
+ * implementations.
19
+ *
20
+ * @author https://github.com/miyaji255
21
+ */
22
+ export type IReadableURLSearchParams = Pick<URLSearchParams, "size" | "get" | "getAll">;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IReadableURLSearchParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IReadableURLSearchParams.js","sourceRoot":"","sources":["../../src/utils/IReadableURLSearchParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./IRandomGenerator";
2
+ export * from "./IReadableURLSearchParams";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IRandomGenerator"), exports);
18
+ __exportStar(require("./IReadableURLSearchParams"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,6DAA2C"}
package/package.json ADDED
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "@typia/interface",
3
+ "version": "12.0.0-dev.20260225",
4
+ "description": "Superfast runtime validators with only one line",
5
+ "main": "lib/index.js",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./lib/index.d.ts",
9
+ "default": "./lib/index.js"
10
+ },
11
+ "./package.json": "./package.json"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/samchon/typia"
16
+ },
17
+ "author": "Jeongho Nam",
18
+ "license": "MIT",
19
+ "bugs": {
20
+ "url": "https://github.com/samchon/typia/issues"
21
+ },
22
+ "homepage": "https://typia.io",
23
+ "devDependencies": {
24
+ "rimraf": "^6.1.2",
25
+ "typescript": "~5.9.3"
26
+ },
27
+ "sideEffects": false,
28
+ "files": [
29
+ "LICENSE",
30
+ "README.md",
31
+ "package.json",
32
+ "lib",
33
+ "src"
34
+ ],
35
+ "keywords": [
36
+ "fast",
37
+ "json",
38
+ "stringify",
39
+ "typescript",
40
+ "transform",
41
+ "ajv",
42
+ "io-ts",
43
+ "zod",
44
+ "schema",
45
+ "json-schema",
46
+ "generator",
47
+ "assert",
48
+ "clone",
49
+ "is",
50
+ "validate",
51
+ "equal",
52
+ "runtime",
53
+ "type",
54
+ "typebox",
55
+ "checker",
56
+ "validator",
57
+ "safe",
58
+ "parse",
59
+ "prune",
60
+ "random",
61
+ "protobuf",
62
+ "llm",
63
+ "llm-function-calling",
64
+ "structured-output",
65
+ "openai",
66
+ "chatgpt",
67
+ "claude",
68
+ "gemini",
69
+ "llama"
70
+ ],
71
+ "publishConfig": {
72
+ "access": "public"
73
+ },
74
+ "scripts": {
75
+ "build": "rimraf lib && tsc",
76
+ "dev": "rimraf lib && tsc --watch"
77
+ },
78
+ "types": "lib/index.d.ts"
79
+ }