struct-fakerator 2.4.6 → 2.5.6

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 (439) hide show
  1. package/biome.json +1 -1
  2. package/dist/airline-98MCzMN8.d.ts +26 -0
  3. package/dist/airline-BUwgrfsj.d.ts +26 -0
  4. package/dist/airline-C0ManYED.d.mts +26 -0
  5. package/dist/airline-CuAxOEYH.d.mts +26 -0
  6. package/dist/animal-BohQ7s0w.d.mts +53 -0
  7. package/dist/animal-arG64NM6.d.mts +53 -0
  8. package/dist/animal-erAZXs_d.d.ts +53 -0
  9. package/dist/animal-o8BFF7gd.d.ts +53 -0
  10. package/dist/chunk-2FTPTSHD.mjs +1972 -0
  11. package/dist/chunk-2P6DPKAW.js +35 -0
  12. package/dist/chunk-2QPSWN3J.js +24 -0
  13. package/dist/chunk-2UAN3WRZ.js +51 -0
  14. package/dist/chunk-2ZR6AR26.js +24 -0
  15. package/dist/chunk-3AXS7RA6.mjs +18 -0
  16. package/dist/chunk-3DIP4M5Y.mjs +36 -0
  17. package/dist/chunk-3FFGDXA5.mjs +48 -0
  18. package/dist/chunk-3HQMGDUF.js +98 -0
  19. package/dist/chunk-3MYH2PDS.js +24 -0
  20. package/dist/chunk-42EKB2FX.js +74 -0
  21. package/dist/chunk-4ESFUYHU.js +48 -0
  22. package/dist/chunk-4OB35J4Q.mjs +151 -0
  23. package/dist/chunk-4UGSTE5Q.js +1968 -0
  24. package/dist/chunk-4VNS5WPM.js +42 -0
  25. package/dist/chunk-4XQBQAPC.mjs +33 -0
  26. package/dist/chunk-55HSOHNN.js +36 -0
  27. package/dist/chunk-5M3DUBFV.mjs +24 -0
  28. package/dist/chunk-5PCIFPK7.js +15721 -0
  29. package/dist/chunk-5ZNSQDU5.js +81 -0
  30. package/dist/chunk-62NUC6UZ.js +51 -0
  31. package/dist/chunk-6BWS3CLP.mjs +16 -0
  32. package/dist/chunk-6GXFVYK2.js +18 -0
  33. package/dist/chunk-6QZF75LH.js +20 -0
  34. package/dist/chunk-73BBBL26.js +49 -0
  35. package/dist/chunk-7C2MCLYX.mjs +15721 -0
  36. package/dist/chunk-7IQW6MWT.mjs +81 -0
  37. package/dist/chunk-7IWAOHPW.mjs +27 -0
  38. package/dist/chunk-7POVLKQR.mjs +20 -0
  39. package/dist/chunk-7UQSPUCL.mjs +0 -0
  40. package/dist/chunk-7V3T6MQ3.mjs +21 -0
  41. package/dist/chunk-A4QVPMYT.js +44 -0
  42. package/dist/chunk-A5YXOL6G.mjs +63 -0
  43. package/dist/chunk-AT4FPDTE.mjs +51 -0
  44. package/dist/chunk-AWKBY27N.js +35 -0
  45. package/dist/chunk-B3RA7BAM.mjs +30 -0
  46. package/dist/chunk-B7MK7WHV.mjs +21 -0
  47. package/dist/chunk-BGE4WZH7.js +27 -0
  48. package/dist/chunk-BMQ2NETL.js +63 -0
  49. package/dist/chunk-BNJUSXEO.js +27 -0
  50. package/dist/chunk-BNUCXH6Q.js +49 -0
  51. package/dist/chunk-BS7IEV74.mjs +1968 -0
  52. package/dist/chunk-BVGE5IMC.js +45 -0
  53. package/dist/chunk-C6IEYVWV.mjs +21 -0
  54. package/dist/chunk-CC255UJD.mjs +27 -0
  55. package/dist/chunk-CK65OFQQ.mjs +56 -0
  56. package/dist/chunk-CKNDI3RH.js +24 -0
  57. package/dist/chunk-CSOXFDKC.mjs +42 -0
  58. package/dist/chunk-D3DPNIYF.mjs +36 -0
  59. package/dist/chunk-DONFLQME.js +49 -0
  60. package/dist/chunk-E3EZHXI2.mjs +45 -0
  61. package/dist/chunk-E3N3PWFI.js +45 -0
  62. package/dist/chunk-ECTLN5SO.mjs +63 -0
  63. package/dist/chunk-EGCGEPYD.mjs +24 -0
  64. package/dist/chunk-ES6I4JEP.js +24 -0
  65. package/dist/chunk-F4NIEPKF.mjs +48 -0
  66. package/dist/chunk-FG2O523S.js +48 -0
  67. package/dist/chunk-FGA73ALI.mjs +45 -0
  68. package/dist/chunk-GAOFL72U.mjs +24 -0
  69. package/dist/chunk-GF4PSVJ7.js +81 -0
  70. package/dist/chunk-GL777PKT.js +21 -0
  71. package/dist/chunk-GR5EJCJ2.js +24 -0
  72. package/dist/chunk-GSFJYUDA.js +63 -0
  73. package/dist/chunk-HAIK2LXD.js +63 -0
  74. package/dist/chunk-HEHR64VN.js +1972 -0
  75. package/dist/chunk-HK4L636Y.mjs +49 -0
  76. package/dist/chunk-HLHMXAI2.js +21 -0
  77. package/dist/chunk-HMGGQ5ZJ.js +45 -0
  78. package/dist/chunk-HNCQJ5F3.js +56 -0
  79. package/dist/chunk-IEYIHOHM.js +57 -0
  80. package/dist/chunk-IRHHL256.mjs +36 -0
  81. package/dist/chunk-IY4LBMAL.js +78 -0
  82. package/dist/chunk-IZVHA6FO.js +45 -0
  83. package/dist/chunk-JC2FY5K5.mjs +42 -0
  84. package/dist/chunk-JFYN4RCQ.mjs +24 -0
  85. package/dist/chunk-JUS3FQET.js +63 -0
  86. package/dist/chunk-KB4QNLUX.js +30 -0
  87. package/dist/chunk-KDTNND32.js +63 -0
  88. package/dist/chunk-KESFLCJB.mjs +57 -0
  89. package/dist/chunk-KK4QURZV.mjs +63 -0
  90. package/dist/chunk-KKDNACGF.js +78 -0
  91. package/dist/chunk-KLYK2EDS.js +18 -0
  92. package/dist/chunk-KVPPJDFE.mjs +63 -0
  93. package/dist/chunk-L55R55BM.mjs +24 -0
  94. package/dist/chunk-L63CILKL.js +36 -0
  95. package/dist/chunk-L7SUBSOS.mjs +74 -0
  96. package/dist/chunk-LCQV5ZXR.js +63 -0
  97. package/dist/chunk-LGYUIU5L.js +33 -0
  98. package/dist/chunk-LKLQIBRC.mjs +18 -0
  99. package/dist/chunk-LPLLITHD.mjs +33 -0
  100. package/dist/chunk-LYYFKB5U.mjs +48 -0
  101. package/dist/chunk-M2ERA63H.mjs +20 -0
  102. package/dist/chunk-M3JRMFX2.js +36 -0
  103. package/dist/chunk-M7SBPX3E.mjs +45 -0
  104. package/dist/chunk-MJWNNESP.js +57 -0
  105. package/dist/chunk-MKTV5ZCC.mjs +30 -0
  106. package/dist/chunk-MNRDBDJD.js +33 -0
  107. package/dist/chunk-MTNLYYS2.mjs +51 -0
  108. package/dist/chunk-N2ZA6SQB.mjs +45 -0
  109. package/dist/chunk-NPYKAZ5O.mjs +42 -0
  110. package/dist/chunk-NWVKBRLA.js +30 -0
  111. package/dist/chunk-O73LDQID.mjs +57 -0
  112. package/dist/chunk-OETKBS7R.mjs +63 -0
  113. package/dist/chunk-OFMBEI6Y.js +20 -0
  114. package/dist/chunk-OJRNPQVE.js +45 -0
  115. package/dist/chunk-OLSCXZ3D.mjs +98 -0
  116. package/dist/chunk-OTDJMFZE.js +36 -0
  117. package/dist/chunk-OZ7Y3D4Z.js +48 -0
  118. package/dist/chunk-P2NEBQQH.mjs +78 -0
  119. package/dist/chunk-PBOBMHB3.js +45 -0
  120. package/dist/chunk-PEMTSFQT.mjs +36 -0
  121. package/dist/chunk-PS673ZMG.mjs +78 -0
  122. package/dist/chunk-PSTZXVEM.mjs +45 -0
  123. package/dist/chunk-PXVILWPC.js +51 -0
  124. package/dist/chunk-PXXIPMA2.mjs +17567 -0
  125. package/dist/chunk-PYIUSFN2.js +48 -0
  126. package/dist/chunk-Q4BXZB6O.mjs +35 -0
  127. package/dist/chunk-Q6CVTFPU.mjs +2022 -0
  128. package/dist/chunk-Q7THO24V.js +45 -0
  129. package/dist/chunk-QEVQSGOW.mjs +49 -0
  130. package/dist/chunk-QFG2B4XU.js +35 -0
  131. package/dist/chunk-QMNACCJG.mjs +30 -0
  132. package/dist/chunk-QOATILWS.mjs +48 -0
  133. package/dist/chunk-R5U7XKVJ.js +16 -0
  134. package/dist/chunk-RCDDW7NN.js +36 -0
  135. package/dist/chunk-RDATYKAG.mjs +58 -0
  136. package/dist/chunk-RDMAE6F2.js +17567 -0
  137. package/dist/chunk-RM7GMMWN.mjs +49 -0
  138. package/dist/chunk-ROM4ZH2A.js +56 -0
  139. package/dist/chunk-RUTM5ENW.js +57 -0
  140. package/dist/chunk-RW4IZD3J.js +74 -0
  141. package/dist/chunk-RWSXJDFQ.mjs +57 -0
  142. package/dist/chunk-SAYLPMKP.js +74 -0
  143. package/dist/chunk-SEUDYVHA.js +45 -0
  144. package/dist/chunk-SMIDTCUZ.mjs +56 -0
  145. package/dist/chunk-SN4QTD6R.js +1 -0
  146. package/dist/chunk-SOFVWH6A.js +56 -0
  147. package/dist/chunk-SVMTK42D.mjs +48 -0
  148. package/dist/chunk-SYIPILT6.mjs +35 -0
  149. package/dist/chunk-T4IVAGFU.mjs +48 -0
  150. package/dist/chunk-TKS2PTMF.mjs +18 -0
  151. package/dist/chunk-TSDTKUIT.mjs +151 -0
  152. package/dist/chunk-U3EACZZ3.js +18 -0
  153. package/dist/chunk-U634RJNK.js +36 -0
  154. package/dist/chunk-UCRPFQYY.js +48 -0
  155. package/dist/chunk-UEXFND2J.mjs +56 -0
  156. package/dist/chunk-UOSN6FPU.js +42 -0
  157. package/dist/chunk-UP3FJ7EK.mjs +44 -0
  158. package/dist/chunk-UUIIGFUZ.js +33 -0
  159. package/dist/chunk-V4JFB4H6.mjs +45 -0
  160. package/dist/chunk-VKKQV6UO.js +42 -0
  161. package/dist/chunk-VOMHZHCC.js +21 -0
  162. package/dist/chunk-VVELSEXL.mjs +27 -0
  163. package/dist/chunk-VX346ARA.js +42 -0
  164. package/dist/chunk-W6QSJNDJ.js +58 -0
  165. package/dist/chunk-X5WN73EF.js +48 -0
  166. package/dist/chunk-XG6RUZSI.mjs +16 -0
  167. package/dist/chunk-XGB3TDIC.mjs +42 -0
  168. package/dist/chunk-XIROUDIK.js +151 -0
  169. package/dist/chunk-XJ3B37LJ.js +45 -0
  170. package/dist/chunk-XJGSUINR.mjs +24 -0
  171. package/dist/chunk-XKWYGGIM.mjs +36 -0
  172. package/dist/chunk-XL5V4E3Z.js +16 -0
  173. package/dist/chunk-XMR5DWYS.mjs +74 -0
  174. package/dist/chunk-XN5RU4UY.js +27 -0
  175. package/dist/chunk-XYNVAWSB.mjs +45 -0
  176. package/dist/chunk-Y2G3CY4Q.mjs +51 -0
  177. package/dist/chunk-YJXRZ5WX.mjs +78 -0
  178. package/dist/chunk-YNT5L5UH.js +78 -0
  179. package/dist/chunk-YRB3F2AG.mjs +81 -0
  180. package/dist/chunk-YRRALMO4.mjs +36 -0
  181. package/dist/chunk-YVASGALV.js +81 -0
  182. package/dist/chunk-YWFUY5A4.js +30 -0
  183. package/dist/chunk-YZNZHRY3.mjs +81 -0
  184. package/dist/chunk-Z46HCVNZ.js +151 -0
  185. package/dist/chunk-Z5HPFZ65.mjs +35 -0
  186. package/dist/chunk-ZAU43ZDI.mjs +74 -0
  187. package/dist/chunk-ZBU5LSC3.mjs +45 -0
  188. package/dist/chunk-ZKVLWCGR.mjs +63 -0
  189. package/dist/chunk-ZSBGAX6X.js +2022 -0
  190. package/dist/chunk-ZTUCFJLM.mjs +33 -0
  191. package/dist/chunk-ZXWWD74E.mjs +45 -0
  192. package/dist/color-BT6BF8oV.d.mts +61 -0
  193. package/dist/color-BmTZnKiW.d.mts +61 -0
  194. package/dist/color-WFinq_Y4.d.ts +61 -0
  195. package/dist/color-lBH29suB.d.ts +61 -0
  196. package/dist/commerce-BqVjXEhQ.d.mts +40 -0
  197. package/dist/commerce-Ch71_dd2.d.ts +40 -0
  198. package/dist/commerce-IGFkOXjQ.d.mts +40 -0
  199. package/dist/commerce-mdOpchjx.d.ts +40 -0
  200. package/dist/common-CbuXAeQ-.d.mts +11 -0
  201. package/dist/common-IR_KozaJ.d.mts +11 -0
  202. package/dist/common-Kp8LaAzK.d.ts +11 -0
  203. package/dist/common-t-ZQebCq.d.ts +11 -0
  204. package/dist/company---O1IwYo.d.ts +35 -0
  205. package/dist/company-C3EU1J7k.d.ts +35 -0
  206. package/dist/company-D7Cc_hsx.d.mts +35 -0
  207. package/dist/company-cR_0hm6U.d.mts +35 -0
  208. package/dist/config_scheme.d.mts +100 -0
  209. package/dist/config_scheme.d.ts +100 -0
  210. package/dist/config_scheme.js +17 -0
  211. package/dist/config_scheme.mjs +17 -0
  212. package/dist/create_config.d.mts +48 -0
  213. package/dist/create_config.d.ts +48 -0
  214. package/dist/create_config.js +18 -0
  215. package/dist/create_config.mjs +18 -0
  216. package/dist/create_config.test.d.mts +2 -0
  217. package/dist/create_config.test.d.ts +2 -0
  218. package/dist/create_config.test.js +63 -0
  219. package/dist/create_config.test.mjs +63 -0
  220. package/dist/create_generator_fn.d.mts +12 -0
  221. package/dist/create_generator_fn.d.ts +12 -0
  222. package/dist/create_generator_fn.js +21 -0
  223. package/dist/create_generator_fn.mjs +21 -0
  224. package/dist/create_generator_fn.test.d.mts +2 -0
  225. package/dist/create_generator_fn.test.d.ts +2 -0
  226. package/dist/create_generator_fn.test.js +178 -0
  227. package/dist/create_generator_fn.test.mjs +178 -0
  228. package/dist/database-B8Wr1oXH.d.mts +23 -0
  229. package/dist/database-DV9wgnca.d.ts +23 -0
  230. package/dist/database-Dnsy3cQb.d.ts +23 -0
  231. package/dist/database-UzO1Lwec.d.mts +23 -0
  232. package/dist/datatype-C92TZLxo.d.ts +13 -0
  233. package/dist/datatype-CAu_sc1g.d.ts +13 -0
  234. package/dist/datatype-DZjmP0fA.d.mts +13 -0
  235. package/dist/datatype-gjFHrdMj.d.mts +13 -0
  236. package/dist/datetime-BDgsnqq_.d.mts +78 -0
  237. package/dist/datetime-BkidbR1O.d.ts +78 -0
  238. package/dist/datetime-CSUpnUXU.d.ts +78 -0
  239. package/dist/datetime-dnPA_lnt.d.mts +78 -0
  240. package/dist/finance-BZEmlfNQ.d.mts +90 -0
  241. package/dist/finance-Cn3DFbX4.d.ts +90 -0
  242. package/dist/finance-CstKW1nH.d.mts +90 -0
  243. package/dist/finance-gj0fiEmf.d.ts +90 -0
  244. package/dist/food-CInj1GX2.d.ts +35 -0
  245. package/dist/food-CfxZX81O.d.mts +35 -0
  246. package/dist/food-Dk3-40CY.d.mts +35 -0
  247. package/dist/food-tr11e_Qp.d.ts +35 -0
  248. package/dist/git-BHL1ppL4.d.ts +31 -0
  249. package/dist/git-DoCI9ZYT.d.ts +31 -0
  250. package/dist/git-Feo1ntKa.d.mts +31 -0
  251. package/dist/git-w0nznSjX.d.mts +31 -0
  252. package/dist/hacker-DL7pR6JO.d.ts +26 -0
  253. package/dist/hacker-FcQXZGtz.d.mts +26 -0
  254. package/dist/hacker-X3zBTMoE.d.ts +26 -0
  255. package/dist/hacker-mGVIO_wL.d.mts +26 -0
  256. package/dist/image-B5OPCNhD.d.mts +56 -0
  257. package/dist/image-BeZbZlyo.d.ts +56 -0
  258. package/dist/image-IyGCgqNf.d.ts +56 -0
  259. package/dist/image-govZ7HjA.d.mts +56 -0
  260. package/dist/index.d.mts +3 -0
  261. package/dist/index.d.ts +3 -0
  262. package/dist/index.js +36 -0
  263. package/dist/index.mjs +36 -0
  264. package/dist/internet-BWBjFZ1E.d.mts +101 -0
  265. package/dist/internet-BukCBMX-.d.ts +106 -0
  266. package/dist/internet-C2ElurWb.d.mts +106 -0
  267. package/dist/internet-CJEETk0v.d.mts +101 -0
  268. package/dist/internet-WmWuV39U.d.ts +101 -0
  269. package/dist/internet-jHHnqVJG.d.ts +101 -0
  270. package/dist/location-BIZ-KsaI.d.ts +80 -0
  271. package/dist/location-CTA_Bq7w.d.mts +80 -0
  272. package/dist/location-CsVekxIU.d.ts +80 -0
  273. package/dist/location-WU_nRdjx.d.mts +80 -0
  274. package/dist/lorem-BE4n3dVs.d.mts +62 -0
  275. package/dist/lorem-Btv0fltY.d.ts +62 -0
  276. package/dist/lorem-OlHaVntu.d.mts +62 -0
  277. package/dist/lorem-yMyLb-d-.d.ts +62 -0
  278. package/dist/magic-string.es-2DLPM6Q3.js +1299 -0
  279. package/dist/magic-string.es-NHTKQXSF.mjs +1299 -0
  280. package/dist/magic-string.es-PQN52XPX.js +1288 -0
  281. package/dist/magic-string.es-X3ME2TR2.mjs +1288 -0
  282. package/dist/music-CQ3lnDvg.d.mts +20 -0
  283. package/dist/music-D3zj5REe.d.ts +20 -0
  284. package/dist/music-P8XZ4JSO.d.ts +20 -0
  285. package/dist/music-vcWm9dzu.d.mts +20 -0
  286. package/dist/number-Bj9ydAOH.d.ts +47 -0
  287. package/dist/number-D9Wn_qjS.d.mts +47 -0
  288. package/dist/number-DomDs-l5.d.mts +47 -0
  289. package/dist/number-DvzbKHZR.d.ts +47 -0
  290. package/dist/person-DXne2mKX.d.ts +58 -0
  291. package/dist/person-LLleVozS.d.ts +58 -0
  292. package/dist/person-OKRyYmeX.d.mts +58 -0
  293. package/dist/person-Si_vy67g.d.mts +58 -0
  294. package/dist/phone-Bc8UXPF3.d.ts +16 -0
  295. package/dist/phone-Cbxvm_Qv.d.ts +16 -0
  296. package/dist/phone-QbHXAqVF.d.mts +16 -0
  297. package/dist/phone-g4FDs50M.d.mts +16 -0
  298. package/dist/science-BX8WhoEY.d.ts +15 -0
  299. package/dist/science-BfA9sVXz.d.mts +15 -0
  300. package/dist/science-BgXAZ3YR.d.ts +15 -0
  301. package/dist/science-CSN41yUZ.d.mts +15 -0
  302. package/dist/string-9w976kVk.d.mts +87 -0
  303. package/dist/string-Cm9TczI6.d.ts +87 -0
  304. package/dist/string-DGScZrrP.d.mts +87 -0
  305. package/dist/string-Do4vhsl0.d.ts +87 -0
  306. package/dist/system-BpxbduIr.d.ts +55 -0
  307. package/dist/system-Cy0e05Cr.d.mts +55 -0
  308. package/dist/system-DOyHjHxs.d.mts +55 -0
  309. package/dist/system-DipW6DYb.d.ts +55 -0
  310. package/dist/system-EuG0S2Xy.d.mts +55 -0
  311. package/dist/system-ZV2S9Qw2.d.ts +55 -0
  312. package/dist/type-C8Ny1fB6.d.mts +33 -0
  313. package/dist/type-C8Ny1fB6.d.ts +33 -0
  314. package/dist/type.d.mts +33 -0
  315. package/dist/type.d.ts +33 -0
  316. package/dist/type.js +1 -0
  317. package/dist/type.mjs +1 -0
  318. package/dist/utils/airline.d.mts +3 -0
  319. package/dist/utils/airline.d.ts +3 -0
  320. package/dist/utils/airline.js +15 -0
  321. package/dist/utils/airline.mjs +15 -0
  322. package/dist/utils/animal.d.mts +2 -0
  323. package/dist/utils/animal.d.ts +2 -0
  324. package/dist/utils/animal.js +39 -0
  325. package/dist/utils/animal.mjs +39 -0
  326. package/dist/utils/color.d.mts +3 -0
  327. package/dist/utils/color.d.ts +3 -0
  328. package/dist/utils/color.js +31 -0
  329. package/dist/utils/color.mjs +31 -0
  330. package/dist/utils/commerce.d.mts +2 -0
  331. package/dist/utils/commerce.d.ts +2 -0
  332. package/dist/utils/commerce.js +25 -0
  333. package/dist/utils/commerce.mjs +25 -0
  334. package/dist/utils/common.d.mts +2 -0
  335. package/dist/utils/common.d.ts +2 -0
  336. package/dist/utils/common.js +9 -0
  337. package/dist/utils/common.mjs +9 -0
  338. package/dist/utils/company.d.mts +2 -0
  339. package/dist/utils/company.d.ts +2 -0
  340. package/dist/utils/company.js +27 -0
  341. package/dist/utils/company.mjs +27 -0
  342. package/dist/utils/database.d.mts +2 -0
  343. package/dist/utils/database.d.ts +2 -0
  344. package/dist/utils/database.js +19 -0
  345. package/dist/utils/database.mjs +19 -0
  346. package/dist/utils/datatype.d.mts +2 -0
  347. package/dist/utils/datatype.d.ts +2 -0
  348. package/dist/utils/datatype.js +11 -0
  349. package/dist/utils/datatype.mjs +11 -0
  350. package/dist/utils/datetime.d.mts +2 -0
  351. package/dist/utils/datetime.d.ts +2 -0
  352. package/dist/utils/datetime.js +31 -0
  353. package/dist/utils/datetime.mjs +31 -0
  354. package/dist/utils/finance.d.mts +3 -0
  355. package/dist/utils/finance.d.ts +3 -0
  356. package/dist/utils/finance.js +47 -0
  357. package/dist/utils/finance.mjs +47 -0
  358. package/dist/utils/food.d.mts +2 -0
  359. package/dist/utils/food.d.ts +2 -0
  360. package/dist/utils/food.js +27 -0
  361. package/dist/utils/food.mjs +27 -0
  362. package/dist/utils/git.d.mts +2 -0
  363. package/dist/utils/git.d.ts +2 -0
  364. package/dist/utils/git.js +19 -0
  365. package/dist/utils/git.mjs +19 -0
  366. package/dist/utils/hacker.d.mts +2 -0
  367. package/dist/utils/hacker.d.ts +2 -0
  368. package/dist/utils/hacker.js +21 -0
  369. package/dist/utils/hacker.mjs +21 -0
  370. package/dist/utils/image.d.mts +2 -0
  371. package/dist/utils/image.d.ts +2 -0
  372. package/dist/utils/image.js +25 -0
  373. package/dist/utils/image.mjs +25 -0
  374. package/dist/utils/index.d.mts +28 -0
  375. package/dist/utils/index.d.ts +28 -0
  376. package/dist/utils/index.js +110 -0
  377. package/dist/utils/index.mjs +110 -0
  378. package/dist/utils/internet.d.mts +3 -0
  379. package/dist/utils/internet.d.ts +3 -0
  380. package/dist/utils/internet.js +49 -0
  381. package/dist/utils/internet.mjs +49 -0
  382. package/dist/utils/location.d.mts +2 -0
  383. package/dist/utils/location.d.ts +2 -0
  384. package/dist/utils/location.js +41 -0
  385. package/dist/utils/location.mjs +41 -0
  386. package/dist/utils/lorem.d.mts +2 -0
  387. package/dist/utils/lorem.d.ts +2 -0
  388. package/dist/utils/lorem.js +27 -0
  389. package/dist/utils/lorem.mjs +27 -0
  390. package/dist/utils/music.d.mts +2 -0
  391. package/dist/utils/music.d.ts +2 -0
  392. package/dist/utils/music.js +17 -0
  393. package/dist/utils/music.mjs +17 -0
  394. package/dist/utils/number.d.mts +2 -0
  395. package/dist/utils/number.d.ts +2 -0
  396. package/dist/utils/number.js +21 -0
  397. package/dist/utils/number.mjs +21 -0
  398. package/dist/utils/person.d.mts +3 -0
  399. package/dist/utils/person.d.ts +3 -0
  400. package/dist/utils/person.js +39 -0
  401. package/dist/utils/person.mjs +39 -0
  402. package/dist/utils/phone.d.mts +2 -0
  403. package/dist/utils/phone.d.ts +2 -0
  404. package/dist/utils/phone.js +13 -0
  405. package/dist/utils/phone.mjs +13 -0
  406. package/dist/utils/science.d.mts +3 -0
  407. package/dist/utils/science.d.ts +3 -0
  408. package/dist/utils/science.js +13 -0
  409. package/dist/utils/science.mjs +13 -0
  410. package/dist/utils/string.d.mts +2 -0
  411. package/dist/utils/string.d.ts +2 -0
  412. package/dist/utils/string.js +29 -0
  413. package/dist/utils/string.mjs +29 -0
  414. package/dist/utils/system.d.mts +2 -0
  415. package/dist/utils/system.d.ts +2 -0
  416. package/dist/utils/system.js +33 -0
  417. package/dist/utils/system.mjs +33 -0
  418. package/dist/utils/utils.d.mts +2 -0
  419. package/dist/utils/utils.d.ts +2 -0
  420. package/dist/utils/utils.js +9 -0
  421. package/dist/utils/utils.mjs +9 -0
  422. package/dist/utils/vehicle.d.mts +2 -0
  423. package/dist/utils/vehicle.d.ts +2 -0
  424. package/dist/utils/vehicle.js +27 -0
  425. package/dist/utils/vehicle.mjs +27 -0
  426. package/dist/utils/word.d.mts +75 -0
  427. package/dist/utils/word.d.ts +75 -0
  428. package/dist/utils/word.js +31 -0
  429. package/dist/utils/word.mjs +31 -0
  430. package/dist/utils-BImnOpvp.d.ts +10 -0
  431. package/dist/utils-BiDlGzTl.d.mts +10 -0
  432. package/dist/utils-DinJc3Cq.d.ts +10 -0
  433. package/dist/utils-zJKwaMUY.d.mts +10 -0
  434. package/dist/vehicle-D4yBDYMc.d.mts +35 -0
  435. package/dist/vehicle-DmBDda98.d.mts +35 -0
  436. package/dist/vehicle-Ufz4AoXu.d.ts +35 -0
  437. package/dist/vehicle-rnBz1Za2.d.ts +35 -0
  438. package/package.json +21 -20
  439. package/tsconfig.json +4 -3
@@ -0,0 +1,35 @@
1
+ import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
2
+
3
+ /** Company [buzzAdjective](https://fakerjs.dev/api/company.html#buzzAdjective) */
4
+ declare const buzzAdjective: () => ValueConfig<string>;
5
+ /** Company [buzzNoun](https://fakerjs.dev/api/company.html#buzzNoun) */
6
+ declare const buzzNoun: () => ValueConfig<string>;
7
+ /** Company [buzzPhrase](https://fakerjs.dev/api/company.html#buzzPhrase) */
8
+ declare const buzzPhrase: () => ValueConfig<string>;
9
+ /** Company [buzzVerb](https://fakerjs.dev/api/company.html#buzzVerb) */
10
+ declare const buzzVerb: () => ValueConfig<string>;
11
+ /** Company [catchPhrase](https://fakerjs.dev/api/company.html#catchPhrase) */
12
+ declare const catchPhrase: () => ValueConfig<string>;
13
+ /** Company [catchPhraseAdjective](https://fakerjs.dev/api/company.html#catchPhraseAdjective) */
14
+ declare const catchPhraseAdjective: () => ValueConfig<string>;
15
+ /** Company [catchPhraseDescriptor](https://fakerjs.dev/api/company.html#catchPhraseDescriptor) */
16
+ declare const catchPhraseDescriptor: () => ValueConfig<string>;
17
+ /** Company [catchPhraseNoun](https://fakerjs.dev/api/company.html#catchPhraseNoun) */
18
+ declare const catchPhraseNoun: () => ValueConfig<string>;
19
+ /** Company [name](https://fakerjs.dev/api/company.html#name) */
20
+ declare const name: () => ValueConfig<string>;
21
+
22
+ declare const company_buzzAdjective: typeof buzzAdjective;
23
+ declare const company_buzzNoun: typeof buzzNoun;
24
+ declare const company_buzzPhrase: typeof buzzPhrase;
25
+ declare const company_buzzVerb: typeof buzzVerb;
26
+ declare const company_catchPhrase: typeof catchPhrase;
27
+ declare const company_catchPhraseAdjective: typeof catchPhraseAdjective;
28
+ declare const company_catchPhraseDescriptor: typeof catchPhraseDescriptor;
29
+ declare const company_catchPhraseNoun: typeof catchPhraseNoun;
30
+ declare const company_name: typeof name;
31
+ declare namespace company {
32
+ export { company_buzzAdjective as buzzAdjective, company_buzzNoun as buzzNoun, company_buzzPhrase as buzzPhrase, company_buzzVerb as buzzVerb, company_catchPhrase as catchPhrase, company_catchPhraseAdjective as catchPhraseAdjective, company_catchPhraseDescriptor as catchPhraseDescriptor, company_catchPhraseNoun as catchPhraseNoun, company_name as name };
33
+ }
34
+
35
+ export { buzzNoun as a, buzzAdjective as b, company as c, buzzPhrase as d, buzzVerb as e, catchPhrase as f, catchPhraseAdjective as g, catchPhraseDescriptor as h, catchPhraseNoun as i, name as n };
@@ -0,0 +1,35 @@
1
+ import { ValueConfig } from './type.mjs';
2
+
3
+ /** Company [buzzAdjective](https://fakerjs.dev/api/company.html#buzzAdjective) */
4
+ declare const buzzAdjective: () => ValueConfig<string>;
5
+ /** Company [buzzNoun](https://fakerjs.dev/api/company.html#buzzNoun) */
6
+ declare const buzzNoun: () => ValueConfig<string>;
7
+ /** Company [buzzPhrase](https://fakerjs.dev/api/company.html#buzzPhrase) */
8
+ declare const buzzPhrase: () => ValueConfig<string>;
9
+ /** Company [buzzVerb](https://fakerjs.dev/api/company.html#buzzVerb) */
10
+ declare const buzzVerb: () => ValueConfig<string>;
11
+ /** Company [catchPhrase](https://fakerjs.dev/api/company.html#catchPhrase) */
12
+ declare const catchPhrase: () => ValueConfig<string>;
13
+ /** Company [catchPhraseAdjective](https://fakerjs.dev/api/company.html#catchPhraseAdjective) */
14
+ declare const catchPhraseAdjective: () => ValueConfig<string>;
15
+ /** Company [catchPhraseDescriptor](https://fakerjs.dev/api/company.html#catchPhraseDescriptor) */
16
+ declare const catchPhraseDescriptor: () => ValueConfig<string>;
17
+ /** Company [catchPhraseNoun](https://fakerjs.dev/api/company.html#catchPhraseNoun) */
18
+ declare const catchPhraseNoun: () => ValueConfig<string>;
19
+ /** Company [name](https://fakerjs.dev/api/company.html#name) */
20
+ declare const name: () => ValueConfig<string>;
21
+
22
+ declare const company_buzzAdjective: typeof buzzAdjective;
23
+ declare const company_buzzNoun: typeof buzzNoun;
24
+ declare const company_buzzPhrase: typeof buzzPhrase;
25
+ declare const company_buzzVerb: typeof buzzVerb;
26
+ declare const company_catchPhrase: typeof catchPhrase;
27
+ declare const company_catchPhraseAdjective: typeof catchPhraseAdjective;
28
+ declare const company_catchPhraseDescriptor: typeof catchPhraseDescriptor;
29
+ declare const company_catchPhraseNoun: typeof catchPhraseNoun;
30
+ declare const company_name: typeof name;
31
+ declare namespace company {
32
+ export { company_buzzAdjective as buzzAdjective, company_buzzNoun as buzzNoun, company_buzzPhrase as buzzPhrase, company_buzzVerb as buzzVerb, company_catchPhrase as catchPhrase, company_catchPhraseAdjective as catchPhraseAdjective, company_catchPhraseDescriptor as catchPhraseDescriptor, company_catchPhraseNoun as catchPhraseNoun, company_name as name };
33
+ }
34
+
35
+ export { buzzNoun as a, buzzAdjective as b, company as c, buzzPhrase as d, buzzVerb as e, catchPhrase as f, catchPhraseAdjective as g, catchPhraseDescriptor as h, catchPhraseNoun as i, name as n };
@@ -0,0 +1,100 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const valueConfigScheme: z.ZodObject<{
4
+ type: z.ZodString;
5
+ generateFn: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type?: string;
8
+ generateFn?: (...args: unknown[]) => unknown;
9
+ }, {
10
+ type?: string;
11
+ generateFn?: (...args: unknown[]) => unknown;
12
+ }>;
13
+ declare const selectionConfigScheme: z.ZodObject<{
14
+ type: z.ZodString;
15
+ items: z.ZodArray<z.ZodAny, "atleastone">;
16
+ }, "strip", z.ZodTypeAny, {
17
+ type?: string;
18
+ items?: [any, ...any[]];
19
+ }, {
20
+ type?: string;
21
+ items?: [any, ...any[]];
22
+ }>;
23
+ declare const arrayConfigScheme: z.ZodObject<{
24
+ type: z.ZodString;
25
+ item: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
+ len: z.ZodNumber;
27
+ }, "strip", z.ZodTypeAny, {
28
+ type?: string;
29
+ item?: {};
30
+ len?: number;
31
+ }, {
32
+ type?: string;
33
+ item?: {};
34
+ len?: number;
35
+ }>;
36
+ declare const tupleConfigScheme: z.ZodObject<{
37
+ type: z.ZodString;
38
+ configItems: z.ZodArray<z.ZodAny, "many">;
39
+ }, "strip", z.ZodTypeAny, {
40
+ type?: string;
41
+ configItems?: any[];
42
+ }, {
43
+ type?: string;
44
+ configItems?: any[];
45
+ }>;
46
+ declare const objConfigScheme: z.ZodObject<{
47
+ type: z.ZodString;
48
+ content: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ type?: string;
51
+ content?: {};
52
+ }, {
53
+ type?: string;
54
+ content?: {};
55
+ }>;
56
+ declare const boundedSeriesScheme: z.ZodEffects<z.ZodEffects<z.ZodObject<{
57
+ type: z.ZodString;
58
+ upperLimit: z.ZodNumber;
59
+ lowerLimit: z.ZodNumber;
60
+ createInitValue: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
61
+ count: z.ZodNumber;
62
+ }, "strip", z.ZodTypeAny, {
63
+ type?: string;
64
+ upperLimit?: number;
65
+ lowerLimit?: number;
66
+ createInitValue?: (...args: unknown[]) => number;
67
+ count?: number;
68
+ }, {
69
+ type?: string;
70
+ upperLimit?: number;
71
+ lowerLimit?: number;
72
+ createInitValue?: (...args: unknown[]) => number;
73
+ count?: number;
74
+ }>, {
75
+ type?: string;
76
+ upperLimit?: number;
77
+ lowerLimit?: number;
78
+ createInitValue?: (...args: unknown[]) => number;
79
+ count?: number;
80
+ }, {
81
+ type?: string;
82
+ upperLimit?: number;
83
+ lowerLimit?: number;
84
+ createInitValue?: (...args: unknown[]) => number;
85
+ count?: number;
86
+ }>, {
87
+ type?: string;
88
+ upperLimit?: number;
89
+ lowerLimit?: number;
90
+ createInitValue?: (...args: unknown[]) => number;
91
+ count?: number;
92
+ }, {
93
+ type?: string;
94
+ upperLimit?: number;
95
+ lowerLimit?: number;
96
+ createInitValue?: (...args: unknown[]) => number;
97
+ count?: number;
98
+ }>;
99
+
100
+ export { arrayConfigScheme, boundedSeriesScheme, objConfigScheme, selectionConfigScheme, tupleConfigScheme, valueConfigScheme };
@@ -0,0 +1,100 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const valueConfigScheme: z.ZodObject<{
4
+ type: z.ZodString;
5
+ generateFn: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type?: string;
8
+ generateFn?: (...args: unknown[]) => unknown;
9
+ }, {
10
+ type?: string;
11
+ generateFn?: (...args: unknown[]) => unknown;
12
+ }>;
13
+ declare const selectionConfigScheme: z.ZodObject<{
14
+ type: z.ZodString;
15
+ items: z.ZodArray<z.ZodAny, "atleastone">;
16
+ }, "strip", z.ZodTypeAny, {
17
+ type?: string;
18
+ items?: [any, ...any[]];
19
+ }, {
20
+ type?: string;
21
+ items?: [any, ...any[]];
22
+ }>;
23
+ declare const arrayConfigScheme: z.ZodObject<{
24
+ type: z.ZodString;
25
+ item: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
+ len: z.ZodNumber;
27
+ }, "strip", z.ZodTypeAny, {
28
+ type?: string;
29
+ item?: {};
30
+ len?: number;
31
+ }, {
32
+ type?: string;
33
+ item?: {};
34
+ len?: number;
35
+ }>;
36
+ declare const tupleConfigScheme: z.ZodObject<{
37
+ type: z.ZodString;
38
+ configItems: z.ZodArray<z.ZodAny, "many">;
39
+ }, "strip", z.ZodTypeAny, {
40
+ type?: string;
41
+ configItems?: any[];
42
+ }, {
43
+ type?: string;
44
+ configItems?: any[];
45
+ }>;
46
+ declare const objConfigScheme: z.ZodObject<{
47
+ type: z.ZodString;
48
+ content: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ type?: string;
51
+ content?: {};
52
+ }, {
53
+ type?: string;
54
+ content?: {};
55
+ }>;
56
+ declare const boundedSeriesScheme: z.ZodEffects<z.ZodEffects<z.ZodObject<{
57
+ type: z.ZodString;
58
+ upperLimit: z.ZodNumber;
59
+ lowerLimit: z.ZodNumber;
60
+ createInitValue: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
61
+ count: z.ZodNumber;
62
+ }, "strip", z.ZodTypeAny, {
63
+ type?: string;
64
+ upperLimit?: number;
65
+ lowerLimit?: number;
66
+ createInitValue?: (...args: unknown[]) => number;
67
+ count?: number;
68
+ }, {
69
+ type?: string;
70
+ upperLimit?: number;
71
+ lowerLimit?: number;
72
+ createInitValue?: (...args: unknown[]) => number;
73
+ count?: number;
74
+ }>, {
75
+ type?: string;
76
+ upperLimit?: number;
77
+ lowerLimit?: number;
78
+ createInitValue?: (...args: unknown[]) => number;
79
+ count?: number;
80
+ }, {
81
+ type?: string;
82
+ upperLimit?: number;
83
+ lowerLimit?: number;
84
+ createInitValue?: (...args: unknown[]) => number;
85
+ count?: number;
86
+ }>, {
87
+ type?: string;
88
+ upperLimit?: number;
89
+ lowerLimit?: number;
90
+ createInitValue?: (...args: unknown[]) => number;
91
+ count?: number;
92
+ }, {
93
+ type?: string;
94
+ upperLimit?: number;
95
+ lowerLimit?: number;
96
+ createInitValue?: (...args: unknown[]) => number;
97
+ count?: number;
98
+ }>;
99
+
100
+ export { arrayConfigScheme, boundedSeriesScheme, objConfigScheme, selectionConfigScheme, tupleConfigScheme, valueConfigScheme };
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkA4QVPMYTjs = require('./chunk-A4QVPMYT.js');
9
+ require('./chunk-4VNS5WPM.js');
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ exports.arrayConfigScheme = _chunkA4QVPMYTjs.arrayConfigScheme; exports.boundedSeriesScheme = _chunkA4QVPMYTjs.boundedSeriesScheme; exports.objConfigScheme = _chunkA4QVPMYTjs.objConfigScheme; exports.selectionConfigScheme = _chunkA4QVPMYTjs.selectionConfigScheme; exports.tupleConfigScheme = _chunkA4QVPMYTjs.tupleConfigScheme; exports.valueConfigScheme = _chunkA4QVPMYTjs.valueConfigScheme;
@@ -0,0 +1,17 @@
1
+ import {
2
+ arrayConfigScheme,
3
+ boundedSeriesScheme,
4
+ objConfigScheme,
5
+ selectionConfigScheme,
6
+ tupleConfigScheme,
7
+ valueConfigScheme
8
+ } from "./chunk-UP3FJ7EK.mjs";
9
+ import "./chunk-XGB3TDIC.mjs";
10
+ export {
11
+ arrayConfigScheme,
12
+ boundedSeriesScheme,
13
+ objConfigScheme,
14
+ selectionConfigScheme,
15
+ tupleConfigScheme,
16
+ valueConfigScheme
17
+ };
@@ -0,0 +1,48 @@
1
+ import { ValueConfig, SelectionConfig, ObjectConfig, ArrayConfig, TupleConfig, BoundedSeriesConfig } from './type.mjs';
2
+
3
+ /**
4
+ * value
5
+ * @param {function} generateFn - The function used to generate the value.
6
+ * @return {ValueConfig} The configuration object with the type "value" and the provided generate function.
7
+ */
8
+ declare const createValueConfig: <T>(generateFn: () => T) => ValueConfig<T>;
9
+ /**
10
+ * selection
11
+ * @param {Array} items - The array of items to choose from.
12
+ * @return {SelectionConfig} The configuration object with the type "select" and the provided items.
13
+ */
14
+ declare const createSelectionConfig: <T>(items: T[]) => SelectionConfig<T>;
15
+ /**
16
+ * object
17
+ * @param {object} content
18
+ * @return {ObjectConfig}
19
+ */
20
+ declare const createObjectConfig: <T extends object>(content: T) => ObjectConfig<T>;
21
+ /**
22
+ * array
23
+ * @param {object} item
24
+ * @param {number} len
25
+ * @return {ArrayConfig}
26
+ */
27
+ declare const createArrayConfig: <T>(item: T, len: number) => ArrayConfig<T>;
28
+ /**
29
+ * tuple
30
+ * @param {Array} configItems
31
+ * @return {TupleConfig}
32
+ */
33
+ interface CreateTupleConfig {
34
+ <A, B, C, D, E>(configItems: [A, B, C, D, E]): TupleConfig<A, B, C, D, E>;
35
+ <A, B, C, D>(configItems: [A, B, C, D]): TupleConfig<A, B, C, D>;
36
+ <A, B, C>(configItems: [A, B, C]): TupleConfig<A, B, C>;
37
+ <A, B>(configItems: [A, B]): TupleConfig<A, B>;
38
+ <A>(configItems: [A]): TupleConfig<A>;
39
+ }
40
+ declare const createTupleConfig: CreateTupleConfig;
41
+ /**
42
+ * bounded series
43
+ * @param {{ upperLimit: number, lowerLimit: number, createInitValue: () => number, count: number }} config
44
+ * @return {BoundedSeriesConfig}
45
+ */
46
+ declare const createBoundedSeriesConfig: (config: Omit<BoundedSeriesConfig, "type">) => BoundedSeriesConfig;
47
+
48
+ export { createArrayConfig, createBoundedSeriesConfig, createObjectConfig, createSelectionConfig, createTupleConfig, createValueConfig };
@@ -0,0 +1,48 @@
1
+ import { ValueConfig, SelectionConfig, ObjectConfig, ArrayConfig, TupleConfig, BoundedSeriesConfig } from './type.js';
2
+
3
+ /**
4
+ * value
5
+ * @param {function} generateFn - The function used to generate the value.
6
+ * @return {ValueConfig} The configuration object with the type "value" and the provided generate function.
7
+ */
8
+ declare const createValueConfig: <T>(generateFn: () => T) => ValueConfig<T>;
9
+ /**
10
+ * selection
11
+ * @param {Array} items - The array of items to choose from.
12
+ * @return {SelectionConfig} The configuration object with the type "select" and the provided items.
13
+ */
14
+ declare const createSelectionConfig: <T>(items: T[]) => SelectionConfig<T>;
15
+ /**
16
+ * object
17
+ * @param {object} content
18
+ * @return {ObjectConfig}
19
+ */
20
+ declare const createObjectConfig: <T extends object>(content: T) => ObjectConfig<T>;
21
+ /**
22
+ * array
23
+ * @param {object} item
24
+ * @param {number} len
25
+ * @return {ArrayConfig}
26
+ */
27
+ declare const createArrayConfig: <T>(item: T, len: number) => ArrayConfig<T>;
28
+ /**
29
+ * tuple
30
+ * @param {Array} configItems
31
+ * @return {TupleConfig}
32
+ */
33
+ interface CreateTupleConfig {
34
+ <A, B, C, D, E>(configItems: [A, B, C, D, E]): TupleConfig<A, B, C, D, E>;
35
+ <A, B, C, D>(configItems: [A, B, C, D]): TupleConfig<A, B, C, D>;
36
+ <A, B, C>(configItems: [A, B, C]): TupleConfig<A, B, C>;
37
+ <A, B>(configItems: [A, B]): TupleConfig<A, B>;
38
+ <A>(configItems: [A]): TupleConfig<A>;
39
+ }
40
+ declare const createTupleConfig: CreateTupleConfig;
41
+ /**
42
+ * bounded series
43
+ * @param {{ upperLimit: number, lowerLimit: number, createInitValue: () => number, count: number }} config
44
+ * @return {BoundedSeriesConfig}
45
+ */
46
+ declare const createBoundedSeriesConfig: (config: Omit<BoundedSeriesConfig, "type">) => BoundedSeriesConfig;
47
+
48
+ export { createArrayConfig, createBoundedSeriesConfig, createObjectConfig, createSelectionConfig, createTupleConfig, createValueConfig };
@@ -0,0 +1,18 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkW6QSJNDJjs = require('./chunk-W6QSJNDJ.js');
9
+ require('./chunk-A4QVPMYT.js');
10
+ require('./chunk-4VNS5WPM.js');
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+ exports.createArrayConfig = _chunkW6QSJNDJjs.createArrayConfig; exports.createBoundedSeriesConfig = _chunkW6QSJNDJjs.createBoundedSeriesConfig; exports.createObjectConfig = _chunkW6QSJNDJjs.createObjectConfig; exports.createSelectionConfig = _chunkW6QSJNDJjs.createSelectionConfig; exports.createTupleConfig = _chunkW6QSJNDJjs.createTupleConfig; exports.createValueConfig = _chunkW6QSJNDJjs.createValueConfig;
@@ -0,0 +1,18 @@
1
+ import {
2
+ createArrayConfig,
3
+ createBoundedSeriesConfig,
4
+ createObjectConfig,
5
+ createSelectionConfig,
6
+ createTupleConfig,
7
+ createValueConfig
8
+ } from "./chunk-RDATYKAG.mjs";
9
+ import "./chunk-UP3FJ7EK.mjs";
10
+ import "./chunk-XGB3TDIC.mjs";
11
+ export {
12
+ createArrayConfig,
13
+ createBoundedSeriesConfig,
14
+ createObjectConfig,
15
+ createSelectionConfig,
16
+ createTupleConfig,
17
+ createValueConfig
18
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+
4
+ var _chunkRDMAE6F2js = require('./chunk-RDMAE6F2.js');
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+ var _chunkW6QSJNDJjs = require('./chunk-W6QSJNDJ.js');
13
+ require('./chunk-A4QVPMYT.js');
14
+ require('./chunk-4VNS5WPM.js');
15
+
16
+ // src/create_config.test.ts
17
+ _chunkRDMAE6F2js.test.call(void 0, "createValueConfig", () => {
18
+ const valueConfig = _chunkW6QSJNDJjs.createValueConfig.call(void 0, () => 44);
19
+ _chunkRDMAE6F2js.globalExpect.call(void 0, valueConfig.type).toBe("value");
20
+ _chunkRDMAE6F2js.globalExpect.call(void 0, valueConfig.generateFn).toBeTypeOf("function");
21
+ });
22
+ _chunkRDMAE6F2js.test.call(void 0, "createSelectionConfig", () => {
23
+ const options = [1, 2, 3, 4];
24
+ const selectionConfig = _chunkW6QSJNDJjs.createSelectionConfig.call(void 0, [1, 2, 3, 4]);
25
+ _chunkRDMAE6F2js.globalExpect.call(void 0, selectionConfig.type).toBe("select");
26
+ _chunkRDMAE6F2js.globalExpect.call(void 0, selectionConfig.items).toEqual(options);
27
+ });
28
+ _chunkRDMAE6F2js.test.call(void 0, "createArrayConfig", () => {
29
+ const valueConfig = _chunkW6QSJNDJjs.createValueConfig.call(void 0, () => 44);
30
+ const arrConfig = _chunkW6QSJNDJjs.createArrayConfig.call(void 0, valueConfig, 20);
31
+ _chunkRDMAE6F2js.globalExpect.call(void 0, arrConfig.type).toBe("arr");
32
+ _chunkRDMAE6F2js.globalExpect.call(void 0, arrConfig.len).toBe(20);
33
+ _chunkRDMAE6F2js.globalExpect.call(void 0, arrConfig.item).toEqual(valueConfig);
34
+ });
35
+ _chunkRDMAE6F2js.test.call(void 0, "createTupleConfig", () => {
36
+ const value1Config = _chunkW6QSJNDJjs.createValueConfig.call(void 0, () => 123);
37
+ const value2Config = _chunkW6QSJNDJjs.createValueConfig.call(void 0, () => "hello");
38
+ const tupleConfig = _chunkW6QSJNDJjs.createTupleConfig.call(void 0, [value1Config, value2Config]);
39
+ _chunkRDMAE6F2js.globalExpect.call(void 0, tupleConfig.type).toBe("tuple");
40
+ _chunkRDMAE6F2js.globalExpect.call(void 0, tupleConfig.configItems).toEqual([value1Config, value2Config]);
41
+ });
42
+ _chunkRDMAE6F2js.test.call(void 0, "createObjConfig", () => {
43
+ const value1Config = _chunkW6QSJNDJjs.createValueConfig.call(void 0, () => 32);
44
+ const value2Config = _chunkW6QSJNDJjs.createValueConfig.call(void 0, () => "frank");
45
+ const objConfig = _chunkW6QSJNDJjs.createObjectConfig.call(void 0, {
46
+ name: value2Config,
47
+ age: value1Config
48
+ });
49
+ _chunkRDMAE6F2js.globalExpect.call(void 0, objConfig.type).toBe("obj");
50
+ _chunkRDMAE6F2js.globalExpect.call(void 0, objConfig.content).toEqual({ name: value2Config, age: value1Config });
51
+ });
52
+ _chunkRDMAE6F2js.test.call(void 0, "createBoundedSeriesConfig", () => {
53
+ const boundedSeriesConfig = _chunkW6QSJNDJjs.createBoundedSeriesConfig.call(void 0, {
54
+ count: 1,
55
+ upperLimit: 1.2,
56
+ lowerLimit: 1,
57
+ createInitValue: () => 40
58
+ });
59
+ _chunkRDMAE6F2js.globalExpect.call(void 0, boundedSeriesConfig.type).toBe("bounded_series");
60
+ _chunkRDMAE6F2js.globalExpect.call(void 0, boundedSeriesConfig.upperLimit).toBe(1.2);
61
+ _chunkRDMAE6F2js.globalExpect.call(void 0, boundedSeriesConfig.lowerLimit).toBe(1);
62
+ _chunkRDMAE6F2js.globalExpect.call(void 0, boundedSeriesConfig.createInitValue).toBeTypeOf("function");
63
+ });
@@ -0,0 +1,63 @@
1
+ import {
2
+ globalExpect,
3
+ test
4
+ } from "./chunk-PXXIPMA2.mjs";
5
+ import {
6
+ createArrayConfig,
7
+ createBoundedSeriesConfig,
8
+ createObjectConfig,
9
+ createSelectionConfig,
10
+ createTupleConfig,
11
+ createValueConfig
12
+ } from "./chunk-RDATYKAG.mjs";
13
+ import "./chunk-UP3FJ7EK.mjs";
14
+ import "./chunk-XGB3TDIC.mjs";
15
+
16
+ // src/create_config.test.ts
17
+ test("createValueConfig", () => {
18
+ const valueConfig = createValueConfig(() => 44);
19
+ globalExpect(valueConfig.type).toBe("value");
20
+ globalExpect(valueConfig.generateFn).toBeTypeOf("function");
21
+ });
22
+ test("createSelectionConfig", () => {
23
+ const options = [1, 2, 3, 4];
24
+ const selectionConfig = createSelectionConfig([1, 2, 3, 4]);
25
+ globalExpect(selectionConfig.type).toBe("select");
26
+ globalExpect(selectionConfig.items).toEqual(options);
27
+ });
28
+ test("createArrayConfig", () => {
29
+ const valueConfig = createValueConfig(() => 44);
30
+ const arrConfig = createArrayConfig(valueConfig, 20);
31
+ globalExpect(arrConfig.type).toBe("arr");
32
+ globalExpect(arrConfig.len).toBe(20);
33
+ globalExpect(arrConfig.item).toEqual(valueConfig);
34
+ });
35
+ test("createTupleConfig", () => {
36
+ const value1Config = createValueConfig(() => 123);
37
+ const value2Config = createValueConfig(() => "hello");
38
+ const tupleConfig = createTupleConfig([value1Config, value2Config]);
39
+ globalExpect(tupleConfig.type).toBe("tuple");
40
+ globalExpect(tupleConfig.configItems).toEqual([value1Config, value2Config]);
41
+ });
42
+ test("createObjConfig", () => {
43
+ const value1Config = createValueConfig(() => 32);
44
+ const value2Config = createValueConfig(() => "frank");
45
+ const objConfig = createObjectConfig({
46
+ name: value2Config,
47
+ age: value1Config
48
+ });
49
+ globalExpect(objConfig.type).toBe("obj");
50
+ globalExpect(objConfig.content).toEqual({ name: value2Config, age: value1Config });
51
+ });
52
+ test("createBoundedSeriesConfig", () => {
53
+ const boundedSeriesConfig = createBoundedSeriesConfig({
54
+ count: 1,
55
+ upperLimit: 1.2,
56
+ lowerLimit: 1,
57
+ createInitValue: () => 40
58
+ });
59
+ globalExpect(boundedSeriesConfig.type).toBe("bounded_series");
60
+ globalExpect(boundedSeriesConfig.upperLimit).toBe(1.2);
61
+ globalExpect(boundedSeriesConfig.lowerLimit).toBe(1);
62
+ globalExpect(boundedSeriesConfig.createInitValue).toBeTypeOf("function");
63
+ });
@@ -0,0 +1,12 @@
1
+ import { ValueConfig, SelectionConfig, Result, ObjectConfig, ArrayConfig, TupleConfig, BoundedSeriesConfig } from './type.mjs';
2
+
3
+ type AllConfig<T> = ValueConfig<T> | SelectionConfig<T> | ArrayConfig<T> | ObjectConfig<T> | TupleConfig<T> | TupleConfig<T, T> | TupleConfig<T, T, T> | TupleConfig<T, T, T, T> | TupleConfig<T, T, T, T, T> | BoundedSeriesConfig;
4
+ declare const createValueGenerator: <R = unknown>(config: ValueConfig<unknown>) => (() => R);
5
+ declare const createSelectionGenerator: <T extends SelectionConfig<unknown>>(config: T) => (() => Result<T>);
6
+ declare const createObjectGenerator: <T extends ObjectConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path?: string) => ValueConfig<unknown>) => (() => Result<T>);
7
+ declare const createArrayGenerator: <T extends ArrayConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path?: string) => ValueConfig<unknown>) => (() => Result<T>);
8
+ declare const createTupleGenerator: <T extends TupleConfig<unknown, unknown, unknown, unknown, unknown> | TupleConfig<unknown, unknown, unknown, unknown> | TupleConfig<unknown, unknown, unknown> | TupleConfig<unknown, unknown> | TupleConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path: string) => ValueConfig<unknown>) => (() => Result<T>);
9
+ declare const createBoundedSeriesGenerator: <T extends BoundedSeriesConfig>(config: T) => (() => Result<T>);
10
+ declare const createGeneratorByType: <T extends AllConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path: string) => ValueConfig<unknown>) => (() => Result<T>);
11
+
12
+ export { createArrayGenerator, createBoundedSeriesGenerator, createGeneratorByType, createObjectGenerator, createSelectionGenerator, createTupleGenerator, createValueGenerator };
@@ -0,0 +1,12 @@
1
+ import { ValueConfig, SelectionConfig, Result, ObjectConfig, ArrayConfig, TupleConfig, BoundedSeriesConfig } from './type.js';
2
+
3
+ type AllConfig<T> = ValueConfig<T> | SelectionConfig<T> | ArrayConfig<T> | ObjectConfig<T> | TupleConfig<T> | TupleConfig<T, T> | TupleConfig<T, T, T> | TupleConfig<T, T, T, T> | TupleConfig<T, T, T, T, T> | BoundedSeriesConfig;
4
+ declare const createValueGenerator: <R = unknown>(config: ValueConfig<unknown>) => (() => R);
5
+ declare const createSelectionGenerator: <T extends SelectionConfig<unknown>>(config: T) => (() => Result<T>);
6
+ declare const createObjectGenerator: <T extends ObjectConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path?: string) => ValueConfig<unknown>) => (() => Result<T>);
7
+ declare const createArrayGenerator: <T extends ArrayConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path?: string) => ValueConfig<unknown>) => (() => Result<T>);
8
+ declare const createTupleGenerator: <T extends TupleConfig<unknown, unknown, unknown, unknown, unknown> | TupleConfig<unknown, unknown, unknown, unknown> | TupleConfig<unknown, unknown, unknown> | TupleConfig<unknown, unknown> | TupleConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path: string) => ValueConfig<unknown>) => (() => Result<T>);
9
+ declare const createBoundedSeriesGenerator: <T extends BoundedSeriesConfig>(config: T) => (() => Result<T>);
10
+ declare const createGeneratorByType: <T extends AllConfig<unknown>>(config: T, customTypeMatch?: (config: unknown, path: string) => ValueConfig<unknown>) => (() => Result<T>);
11
+
12
+ export { createArrayGenerator, createBoundedSeriesGenerator, createGeneratorByType, createObjectGenerator, createSelectionGenerator, createTupleGenerator, createValueGenerator };
@@ -0,0 +1,21 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+ var _chunkZ46HCVNZjs = require('./chunk-Z46HCVNZ.js');
10
+ require('./chunk-ZSBGAX6X.js');
11
+ require('./chunk-A4QVPMYT.js');
12
+ require('./chunk-4VNS5WPM.js');
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+ exports.createArrayGenerator = _chunkZ46HCVNZjs.createArrayGenerator; exports.createBoundedSeriesGenerator = _chunkZ46HCVNZjs.createBoundedSeriesGenerator; exports.createGeneratorByType = _chunkZ46HCVNZjs.createGeneratorByType; exports.createObjectGenerator = _chunkZ46HCVNZjs.createObjectGenerator; exports.createSelectionGenerator = _chunkZ46HCVNZjs.createSelectionGenerator; exports.createTupleGenerator = _chunkZ46HCVNZjs.createTupleGenerator; exports.createValueGenerator = _chunkZ46HCVNZjs.createValueGenerator;
@@ -0,0 +1,21 @@
1
+ import {
2
+ createArrayGenerator,
3
+ createBoundedSeriesGenerator,
4
+ createGeneratorByType,
5
+ createObjectGenerator,
6
+ createSelectionGenerator,
7
+ createTupleGenerator,
8
+ createValueGenerator
9
+ } from "./chunk-4OB35J4Q.mjs";
10
+ import "./chunk-Q6CVTFPU.mjs";
11
+ import "./chunk-UP3FJ7EK.mjs";
12
+ import "./chunk-XGB3TDIC.mjs";
13
+ export {
14
+ createArrayGenerator,
15
+ createBoundedSeriesGenerator,
16
+ createGeneratorByType,
17
+ createObjectGenerator,
18
+ createSelectionGenerator,
19
+ createTupleGenerator,
20
+ createValueGenerator
21
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }