struct-fakerator 2.7.9 → 2.8.9

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 (656) hide show
  1. package/README.md +8 -8
  2. package/biome.json +30 -26
  3. package/dist/config.d.ts +1 -2
  4. package/dist/config.js +51 -19
  5. package/dist/config.mjs +2 -19
  6. package/dist/config_scheme.d.ts +7 -10
  7. package/dist/config_scheme.js +95 -17
  8. package/dist/config_scheme.mjs +46 -17
  9. package/dist/create_config.d.ts +9 -11
  10. package/dist/create_config.js +110 -18
  11. package/dist/create_config.mjs +60 -17
  12. package/dist/create_config.test.d.ts +1 -2
  13. package/dist/create_generator_fn.d.ts +9 -11
  14. package/dist/create_generator_fn.js +168 -20
  15. package/dist/create_generator_fn.mjs +115 -19
  16. package/dist/create_generator_fn.test.d.ts +1 -2
  17. package/dist/generator_fn.d.ts +1 -2
  18. package/dist/generator_fn.js +54 -21
  19. package/dist/generator_fn.mjs +2 -21
  20. package/dist/index.d.ts +5 -5
  21. package/dist/index.js +107 -43
  22. package/dist/index.mjs +6 -43
  23. package/dist/type.d.ts +9 -11
  24. package/dist/type.js +18 -1
  25. package/dist/type.mjs +0 -1
  26. package/dist/utils/airline.d.ts +14 -3
  27. package/dist/utils/airline.js +46 -14
  28. package/dist/utils/airline.mjs +6 -14
  29. package/dist/utils/animal.d.ts +30 -2
  30. package/dist/utils/animal.js +94 -38
  31. package/dist/utils/animal.mjs +18 -38
  32. package/dist/utils/color.d.ts +41 -3
  33. package/dist/utils/color.js +78 -30
  34. package/dist/utils/color.mjs +14 -30
  35. package/dist/utils/commerce.d.ts +24 -2
  36. package/dist/utils/commerce.js +66 -24
  37. package/dist/utils/commerce.mjs +11 -24
  38. package/dist/utils/common.d.ts +2 -2
  39. package/dist/utils/common.js +37 -9
  40. package/dist/utils/common.mjs +3 -9
  41. package/dist/utils/company.d.ts +18 -2
  42. package/dist/utils/company.js +70 -26
  43. package/dist/utils/company.mjs +12 -26
  44. package/dist/utils/database.d.ts +10 -2
  45. package/dist/utils/database.js +54 -18
  46. package/dist/utils/database.mjs +8 -18
  47. package/dist/utils/datatype.d.ts +4 -2
  48. package/dist/utils/datatype.js +38 -10
  49. package/dist/utils/datatype.mjs +4 -10
  50. package/dist/utils/datetime.d.ts +59 -2
  51. package/dist/utils/datetime.js +78 -30
  52. package/dist/utils/datetime.mjs +14 -30
  53. package/dist/utils/finance.d.ts +62 -3
  54. package/dist/utils/finance.js +110 -46
  55. package/dist/utils/finance.mjs +22 -46
  56. package/dist/utils/food.d.ts +18 -2
  57. package/dist/utils/food.js +70 -26
  58. package/dist/utils/food.mjs +12 -26
  59. package/dist/utils/git.d.ts +18 -2
  60. package/dist/utils/git.js +54 -18
  61. package/dist/utils/git.mjs +8 -18
  62. package/dist/utils/hacker.d.ts +12 -2
  63. package/dist/utils/hacker.js +58 -20
  64. package/dist/utils/hacker.mjs +9 -20
  65. package/dist/utils/image.d.ts +40 -2
  66. package/dist/utils/image.js +66 -24
  67. package/dist/utils/image.mjs +11 -24
  68. package/dist/utils/index.d.ts +26 -28
  69. package/dist/utils/index.js +136 -109
  70. package/dist/utils/index.mjs +27 -109
  71. package/dist/utils/internet.d.ts +77 -3
  72. package/dist/utils/internet.js +114 -48
  73. package/dist/utils/internet.mjs +23 -48
  74. package/dist/utils/location.d.ts +56 -2
  75. package/dist/utils/location.js +98 -40
  76. package/dist/utils/location.mjs +19 -40
  77. package/dist/utils/lorem.d.ts +45 -2
  78. package/dist/utils/lorem.js +70 -26
  79. package/dist/utils/lorem.mjs +12 -26
  80. package/dist/utils/music.d.ts +8 -2
  81. package/dist/utils/music.js +50 -16
  82. package/dist/utils/music.mjs +7 -16
  83. package/dist/utils/number.d.ts +34 -2
  84. package/dist/utils/number.js +58 -20
  85. package/dist/utils/number.mjs +9 -20
  86. package/dist/utils/person.d.ts +34 -3
  87. package/dist/utils/person.js +94 -38
  88. package/dist/utils/person.mjs +18 -38
  89. package/dist/utils/phone.d.ts +6 -2
  90. package/dist/utils/phone.js +42 -12
  91. package/dist/utils/phone.mjs +5 -12
  92. package/dist/utils/science.d.ts +4 -3
  93. package/dist/utils/science.js +42 -12
  94. package/dist/utils/science.mjs +5 -12
  95. package/dist/utils/string.d.ts +69 -2
  96. package/dist/utils/string.js +74 -28
  97. package/dist/utils/string.mjs +13 -28
  98. package/dist/utils/system.d.ts +35 -2
  99. package/dist/utils/system.js +82 -32
  100. package/dist/utils/system.mjs +15 -32
  101. package/dist/utils/utils.d.ts +2 -2
  102. package/dist/utils/utils.js +39 -9
  103. package/dist/utils/utils.mjs +5 -9
  104. package/dist/utils/vehicle.d.ts +18 -2
  105. package/dist/utils/vehicle.js +70 -26
  106. package/dist/utils/vehicle.mjs +12 -26
  107. package/dist/utils/word.d.ts +18 -22
  108. package/dist/utils/word.js +70 -29
  109. package/dist/utils/word.mjs +11 -28
  110. package/package.json +9 -6
  111. package/pnpm-workspace.yaml +2 -0
  112. package/rslib.config.ts +26 -0
  113. package/src/config.ts +3 -3
  114. package/src/config_scheme.ts +1 -1
  115. package/src/create_config.test.ts +0 -1
  116. package/src/create_generator_fn.test.ts +2 -2
  117. package/src/create_generator_fn.ts +0 -1
  118. package/src/generator_fn.ts +1 -1
  119. package/src/index.ts +2 -2
  120. package/src/utils/index.ts +1 -2
  121. package/src/utils/utils.ts +1 -1
  122. package/tsconfig.json +2 -1
  123. package/dist/airline-98MCzMN8.d.ts +0 -26
  124. package/dist/airline-BUwgrfsj.d.ts +0 -26
  125. package/dist/airline-C0ManYED.d.mts +0 -26
  126. package/dist/airline-CuAxOEYH.d.mts +0 -26
  127. package/dist/animal-BohQ7s0w.d.mts +0 -53
  128. package/dist/animal-arG64NM6.d.mts +0 -53
  129. package/dist/animal-erAZXs_d.d.ts +0 -53
  130. package/dist/animal-o8BFF7gd.d.ts +0 -53
  131. package/dist/chunk-25HDDMTE.js +0 -45
  132. package/dist/chunk-266JLHQ7.mjs +0 -27
  133. package/dist/chunk-266W7TLD.mjs +0 -45
  134. package/dist/chunk-2FTPTSHD.mjs +0 -1972
  135. package/dist/chunk-2HHTDZ5W.mjs +0 -27
  136. package/dist/chunk-2P6DPKAW.js +0 -35
  137. package/dist/chunk-2QPSWN3J.js +0 -24
  138. package/dist/chunk-2SF54GZN.mjs +0 -24
  139. package/dist/chunk-2UAN3WRZ.js +0 -51
  140. package/dist/chunk-2VTSGFBK.mjs +0 -56
  141. package/dist/chunk-2ZR6AR26.js +0 -24
  142. package/dist/chunk-3APOILUV.js +0 -81
  143. package/dist/chunk-3AXS7RA6.mjs +0 -18
  144. package/dist/chunk-3DIP4M5Y.mjs +0 -36
  145. package/dist/chunk-3E2B272L.js +0 -25
  146. package/dist/chunk-3FFGDXA5.mjs +0 -48
  147. package/dist/chunk-3HQMGDUF.js +0 -98
  148. package/dist/chunk-3KXIZTCT.mjs +0 -20
  149. package/dist/chunk-3MYH2PDS.js +0 -24
  150. package/dist/chunk-3P4RJMMV.js +0 -79
  151. package/dist/chunk-3PSJD6BF.js +0 -67
  152. package/dist/chunk-3SVV5GDL.js +0 -22
  153. package/dist/chunk-3U6BNHWG.mjs +0 -2040
  154. package/dist/chunk-3WINWLTB.js +0 -34
  155. package/dist/chunk-42EKB2FX.js +0 -74
  156. package/dist/chunk-44Q7WXPL.mjs +0 -30
  157. package/dist/chunk-474WFN7X.js +0 -33
  158. package/dist/chunk-4ESFUYHU.js +0 -48
  159. package/dist/chunk-4OB35J4Q.mjs +0 -151
  160. package/dist/chunk-4UGSTE5Q.js +0 -1968
  161. package/dist/chunk-4VNS5WPM.js +0 -42
  162. package/dist/chunk-4XEKUGKR.js +0 -35
  163. package/dist/chunk-4XQBQAPC.mjs +0 -33
  164. package/dist/chunk-52ZOIHJM.js +0 -26
  165. package/dist/chunk-55HSOHNN.js +0 -36
  166. package/dist/chunk-5A3HJWPX.mjs +0 -33
  167. package/dist/chunk-5KKLW4SD.js +0 -26
  168. package/dist/chunk-5LCWZUVP.mjs +0 -19
  169. package/dist/chunk-5M3DUBFV.mjs +0 -24
  170. package/dist/chunk-5NC3JFHS.mjs +0 -63
  171. package/dist/chunk-5PCIFPK7.js +0 -15721
  172. package/dist/chunk-5TG43IWT.js +0 -36
  173. package/dist/chunk-5UFZ4NET.mjs +0 -26
  174. package/dist/chunk-5VTJIH2Q.mjs +0 -63
  175. package/dist/chunk-5ZNSQDU5.js +0 -81
  176. package/dist/chunk-62MDIAG3.js +0 -19
  177. package/dist/chunk-62NUC6UZ.js +0 -51
  178. package/dist/chunk-6BWS3CLP.mjs +0 -16
  179. package/dist/chunk-6GXFVYK2.js +0 -18
  180. package/dist/chunk-6LNIYJMV.mjs +0 -21
  181. package/dist/chunk-6OOU3BX5.mjs +0 -35
  182. package/dist/chunk-6QXR4Q23.js +0 -43
  183. package/dist/chunk-6QZF75LH.js +0 -20
  184. package/dist/chunk-6TGTIMX2.mjs +0 -151
  185. package/dist/chunk-6UVWD65N.mjs +0 -63
  186. package/dist/chunk-73BBBL26.js +0 -49
  187. package/dist/chunk-7C2MCLYX.mjs +0 -15721
  188. package/dist/chunk-7IQW6MWT.mjs +0 -81
  189. package/dist/chunk-7IWAOHPW.mjs +0 -27
  190. package/dist/chunk-7LDYF5VW.js +0 -78
  191. package/dist/chunk-7POVLKQR.mjs +0 -20
  192. package/dist/chunk-7QCNINQB.js +0 -43
  193. package/dist/chunk-7RP7F74O.js +0 -49
  194. package/dist/chunk-7TMD372Q.mjs +0 -165
  195. package/dist/chunk-7UQSPUCL.mjs +0 -0
  196. package/dist/chunk-7V3T6MQ3.mjs +0 -21
  197. package/dist/chunk-7ZAVU2DI.mjs +0 -81
  198. package/dist/chunk-A4QVPMYT.js +0 -44
  199. package/dist/chunk-A5YXOL6G.mjs +0 -63
  200. package/dist/chunk-ABZZ2Y2O.mjs +0 -45
  201. package/dist/chunk-AH3KD37M.js +0 -45
  202. package/dist/chunk-AQWBYQGF.js +0 -54
  203. package/dist/chunk-AT4FPDTE.mjs +0 -51
  204. package/dist/chunk-AWKBY27N.js +0 -35
  205. package/dist/chunk-B2NENAKV.mjs +0 -34
  206. package/dist/chunk-B3RA7BAM.mjs +0 -30
  207. package/dist/chunk-B7MK7WHV.mjs +0 -21
  208. package/dist/chunk-BGE4WZH7.js +0 -27
  209. package/dist/chunk-BMQ2NETL.js +0 -63
  210. package/dist/chunk-BNJUSXEO.js +0 -27
  211. package/dist/chunk-BNUCXH6Q.js +0 -49
  212. package/dist/chunk-BS7IEV74.mjs +0 -1968
  213. package/dist/chunk-BVGE5IMC.js +0 -45
  214. package/dist/chunk-C3RGM3CB.js +0 -67
  215. package/dist/chunk-C6FQYK5T.js +0 -81
  216. package/dist/chunk-C6IEYVWV.mjs +0 -21
  217. package/dist/chunk-CC255UJD.mjs +0 -27
  218. package/dist/chunk-CK65OFQQ.mjs +0 -56
  219. package/dist/chunk-CKNDI3RH.js +0 -24
  220. package/dist/chunk-CRW5Q4VB.js +0 -30
  221. package/dist/chunk-CSOXFDKC.mjs +0 -42
  222. package/dist/chunk-D3DPNIYF.mjs +0 -36
  223. package/dist/chunk-D6QN54CO.js +0 -46
  224. package/dist/chunk-D74AUXZW.mjs +0 -35
  225. package/dist/chunk-DM5VFX6B.js +0 -17008
  226. package/dist/chunk-DN6VWFMI.js +0 -56
  227. package/dist/chunk-DONFLQME.js +0 -49
  228. package/dist/chunk-DQBTHPWE.js +0 -24
  229. package/dist/chunk-DSDX7NOV.mjs +0 -40
  230. package/dist/chunk-DX6NQK6H.js +0 -49
  231. package/dist/chunk-DXVB5THL.js +0 -36
  232. package/dist/chunk-DZCTAI2Q.js +0 -49
  233. package/dist/chunk-E3EZHXI2.mjs +0 -45
  234. package/dist/chunk-E3N3PWFI.js +0 -45
  235. package/dist/chunk-E7JW4TGQ.mjs +0 -49
  236. package/dist/chunk-ECTLN5SO.mjs +0 -63
  237. package/dist/chunk-EGCGEPYD.mjs +0 -24
  238. package/dist/chunk-ELK6OOE6.js +0 -55
  239. package/dist/chunk-EM67LVYX.mjs +0 -18
  240. package/dist/chunk-EPWKT75L.js +0 -63
  241. package/dist/chunk-ES6I4JEP.js +0 -24
  242. package/dist/chunk-ETS5PP3N.js +0 -42
  243. package/dist/chunk-EXLV2IRM.mjs +0 -26
  244. package/dist/chunk-EZFWJGGR.js +0 -28
  245. package/dist/chunk-F4NIEPKF.mjs +0 -48
  246. package/dist/chunk-F4WSUHUB.js +0 -27
  247. package/dist/chunk-F54WJZPR.mjs +0 -48
  248. package/dist/chunk-FDIHUTKO.mjs +0 -34
  249. package/dist/chunk-FG2O523S.js +0 -48
  250. package/dist/chunk-FGA73ALI.mjs +0 -45
  251. package/dist/chunk-FT5QWXEO.mjs +0 -21
  252. package/dist/chunk-FXTLAJTY.mjs +0 -74
  253. package/dist/chunk-G73JPAKW.mjs +0 -16831
  254. package/dist/chunk-GAOFL72U.mjs +0 -24
  255. package/dist/chunk-GF4PSVJ7.js +0 -81
  256. package/dist/chunk-GL777PKT.js +0 -21
  257. package/dist/chunk-GLK5ZVJB.js +0 -47
  258. package/dist/chunk-GMOMLI4W.js +0 -56
  259. package/dist/chunk-GNFZ7Z6V.mjs +0 -28
  260. package/dist/chunk-GNLLMLQX.js +0 -48
  261. package/dist/chunk-GNPP2GGZ.js +0 -16831
  262. package/dist/chunk-GR5EJCJ2.js +0 -24
  263. package/dist/chunk-GSFJYUDA.js +0 -63
  264. package/dist/chunk-GUIYTTMP.mjs +0 -24
  265. package/dist/chunk-HAIK2LXD.js +0 -63
  266. package/dist/chunk-HEHR64VN.js +0 -1972
  267. package/dist/chunk-HK4L636Y.mjs +0 -49
  268. package/dist/chunk-HLHMXAI2.js +0 -21
  269. package/dist/chunk-HMDAKHLF.js +0 -151
  270. package/dist/chunk-HMGGQ5ZJ.js +0 -45
  271. package/dist/chunk-HNCQJ5F3.js +0 -56
  272. package/dist/chunk-HVWSAC7Q.js +0 -74
  273. package/dist/chunk-I3BHVE4B.js +0 -43
  274. package/dist/chunk-IEYIHOHM.js +0 -57
  275. package/dist/chunk-IHDAERZ6.mjs +0 -61
  276. package/dist/chunk-IM5JST4B.js +0 -76
  277. package/dist/chunk-IN3R3ABZ.mjs +0 -45
  278. package/dist/chunk-IOLQKV4S.js +0 -51
  279. package/dist/chunk-IOXGSFEU.js +0 -20
  280. package/dist/chunk-IRHHL256.mjs +0 -36
  281. package/dist/chunk-IY4LBMAL.js +0 -78
  282. package/dist/chunk-IZVHA6FO.js +0 -45
  283. package/dist/chunk-JA2F23JA.mjs +0 -79
  284. package/dist/chunk-JC2FY5K5.mjs +0 -42
  285. package/dist/chunk-JFYN4RCQ.mjs +0 -24
  286. package/dist/chunk-JHNWL66I.mjs +0 -47
  287. package/dist/chunk-JIPBMHNL.mjs +0 -63
  288. package/dist/chunk-JIWCYW33.js +0 -35
  289. package/dist/chunk-JSZXNY5A.js +0 -33
  290. package/dist/chunk-JTURHVCR.mjs +0 -67
  291. package/dist/chunk-JUS3FQET.js +0 -63
  292. package/dist/chunk-JY2DLJQ7.js +0 -74
  293. package/dist/chunk-KB4QNLUX.js +0 -30
  294. package/dist/chunk-KDRX2A7A.mjs +0 -45
  295. package/dist/chunk-KDTNND32.js +0 -63
  296. package/dist/chunk-KESFLCJB.mjs +0 -57
  297. package/dist/chunk-KK4QURZV.mjs +0 -63
  298. package/dist/chunk-KKDNACGF.js +0 -78
  299. package/dist/chunk-KLYK2EDS.js +0 -18
  300. package/dist/chunk-KMAT3MEQ.mjs +0 -24
  301. package/dist/chunk-KMGBR4B7.mjs +0 -49
  302. package/dist/chunk-KO4BOJXG.mjs +0 -18
  303. package/dist/chunk-KSBJZ7PZ.mjs +0 -48
  304. package/dist/chunk-KUNWO6DB.js +0 -20
  305. package/dist/chunk-KVPPJDFE.mjs +0 -63
  306. package/dist/chunk-L55R55BM.mjs +0 -24
  307. package/dist/chunk-L5EOJC4C.mjs +0 -78
  308. package/dist/chunk-L63CILKL.js +0 -36
  309. package/dist/chunk-L7SUBSOS.mjs +0 -74
  310. package/dist/chunk-LCQV5ZXR.js +0 -63
  311. package/dist/chunk-LDVSCWU7.mjs +0 -51
  312. package/dist/chunk-LGYUIU5L.js +0 -33
  313. package/dist/chunk-LKLQIBRC.mjs +0 -18
  314. package/dist/chunk-LPLLITHD.mjs +0 -33
  315. package/dist/chunk-LSFOERXQ.js +0 -18
  316. package/dist/chunk-LSP4VVPM.mjs +0 -45
  317. package/dist/chunk-LYYFKB5U.mjs +0 -48
  318. package/dist/chunk-M2ERA63H.mjs +0 -20
  319. package/dist/chunk-M3JRMFX2.js +0 -36
  320. package/dist/chunk-M7SBPX3E.mjs +0 -45
  321. package/dist/chunk-MCHBNMZ7.js +0 -48
  322. package/dist/chunk-MHBVLDC4.js +0 -30
  323. package/dist/chunk-MJWNNESP.js +0 -57
  324. package/dist/chunk-MKTV5ZCC.mjs +0 -30
  325. package/dist/chunk-MLJAHDYX.mjs +0 -167
  326. package/dist/chunk-MNRDBDJD.js +0 -33
  327. package/dist/chunk-MTNLYYS2.mjs +0 -51
  328. package/dist/chunk-MYNHKOPJ.js +0 -34
  329. package/dist/chunk-N2ZA6SQB.mjs +0 -45
  330. package/dist/chunk-NBUVTD24.js +0 -24
  331. package/dist/chunk-NEFBZJ7G.mjs +0 -42
  332. package/dist/chunk-NGJNM6BX.mjs +0 -48
  333. package/dist/chunk-NO44Z2RV.mjs +0 -55
  334. package/dist/chunk-NOD5QLN5.js +0 -40
  335. package/dist/chunk-NP7ZKTAA.js +0 -36
  336. package/dist/chunk-NPYKAZ5O.mjs +0 -42
  337. package/dist/chunk-NWVKBRLA.js +0 -30
  338. package/dist/chunk-O73LDQID.mjs +0 -57
  339. package/dist/chunk-OAPPDES4.js +0 -51
  340. package/dist/chunk-OCKZOACK.js +0 -24
  341. package/dist/chunk-OETKBS7R.mjs +0 -63
  342. package/dist/chunk-OFMBEI6Y.js +0 -20
  343. package/dist/chunk-OJRNPQVE.js +0 -45
  344. package/dist/chunk-OKDN5R6M.mjs +0 -78
  345. package/dist/chunk-OLSCXZ3D.mjs +0 -98
  346. package/dist/chunk-OTDJMFZE.js +0 -36
  347. package/dist/chunk-OYP22DDC.mjs +0 -31
  348. package/dist/chunk-OZ5VJVBQ.js +0 -21
  349. package/dist/chunk-OZ7Y3D4Z.js +0 -48
  350. package/dist/chunk-OZU24BQP.mjs +0 -81
  351. package/dist/chunk-P2NEBQQH.mjs +0 -78
  352. package/dist/chunk-PBOBMHB3.js +0 -45
  353. package/dist/chunk-PECDKT6F.js +0 -76
  354. package/dist/chunk-PEMTSFQT.mjs +0 -36
  355. package/dist/chunk-PFTS7XQK.js +0 -27
  356. package/dist/chunk-PFVCJYEK.js +0 -46
  357. package/dist/chunk-PLNNO4GL.js +0 -36
  358. package/dist/chunk-PPQIZT6A.mjs +0 -48
  359. package/dist/chunk-PS673ZMG.mjs +0 -78
  360. package/dist/chunk-PSTZXVEM.mjs +0 -45
  361. package/dist/chunk-PXVILWPC.js +0 -51
  362. package/dist/chunk-PXXIPMA2.mjs +0 -17567
  363. package/dist/chunk-PYIUSFN2.js +0 -48
  364. package/dist/chunk-Q4BXZB6O.mjs +0 -35
  365. package/dist/chunk-Q6CVTFPU.mjs +0 -2022
  366. package/dist/chunk-Q7THO24V.js +0 -45
  367. package/dist/chunk-QEVQSGOW.mjs +0 -49
  368. package/dist/chunk-QFG2B4XU.js +0 -35
  369. package/dist/chunk-QH2RT36U.js +0 -57
  370. package/dist/chunk-QHW2YYKY.js +0 -45
  371. package/dist/chunk-QMNACCJG.mjs +0 -30
  372. package/dist/chunk-QN2KYEUJ.js +0 -28
  373. package/dist/chunk-QOATILWS.mjs +0 -48
  374. package/dist/chunk-QQWZ56UO.js +0 -33
  375. package/dist/chunk-QTT2TUDM.js +0 -165
  376. package/dist/chunk-QZQ32UPU.mjs +0 -28
  377. package/dist/chunk-R3MBRFOY.js +0 -22
  378. package/dist/chunk-R5U7XKVJ.js +0 -16
  379. package/dist/chunk-R7ZZJULR.js +0 -61
  380. package/dist/chunk-RA35MXTT.mjs +0 -51
  381. package/dist/chunk-RCDDW7NN.js +0 -36
  382. package/dist/chunk-RDATYKAG.mjs +0 -58
  383. package/dist/chunk-RDMAE6F2.js +0 -17567
  384. package/dist/chunk-RFTRP37B.mjs +0 -74
  385. package/dist/chunk-RIOEYYMH.mjs +0 -30
  386. package/dist/chunk-RJPUHGKC.mjs +0 -54
  387. package/dist/chunk-RM7GMMWN.mjs +0 -49
  388. package/dist/chunk-ROM4ZH2A.js +0 -56
  389. package/dist/chunk-RTENULN5.mjs +0 -36
  390. package/dist/chunk-RUTM5ENW.js +0 -57
  391. package/dist/chunk-RUUOAMRF.mjs +0 -43
  392. package/dist/chunk-RW4IZD3J.js +0 -74
  393. package/dist/chunk-RWSXJDFQ.mjs +0 -57
  394. package/dist/chunk-S2AEEWWW.mjs +0 -36
  395. package/dist/chunk-SAYLPMKP.js +0 -74
  396. package/dist/chunk-SDPCOC7O.mjs +0 -76
  397. package/dist/chunk-SEUDYVHA.js +0 -45
  398. package/dist/chunk-SMIDTCUZ.mjs +0 -56
  399. package/dist/chunk-SN2ALAEI.mjs +0 -36
  400. package/dist/chunk-SN4QTD6R.js +0 -1
  401. package/dist/chunk-SOFVWH6A.js +0 -56
  402. package/dist/chunk-SSFS7U3T.mjs +0 -72
  403. package/dist/chunk-SSZ5GGDT.js +0 -45
  404. package/dist/chunk-STKSA23M.mjs +0 -33
  405. package/dist/chunk-SVHWBNOB.mjs +0 -61
  406. package/dist/chunk-SVMTK42D.mjs +0 -48
  407. package/dist/chunk-SYIPILT6.mjs +0 -35
  408. package/dist/chunk-T4IVAGFU.mjs +0 -48
  409. package/dist/chunk-TKS2PTMF.mjs +0 -18
  410. package/dist/chunk-TLH73HQN.js +0 -63
  411. package/dist/chunk-TQIJQZBP.js +0 -57
  412. package/dist/chunk-TQTDHXR6.mjs +0 -22
  413. package/dist/chunk-TSDTKUIT.mjs +0 -151
  414. package/dist/chunk-TTPRXCNS.mjs +0 -46
  415. package/dist/chunk-TYWXW3FQ.mjs +0 -46
  416. package/dist/chunk-TZ2RKEBF.js +0 -2040
  417. package/dist/chunk-U3EACZZ3.js +0 -18
  418. package/dist/chunk-U3TS432W.js +0 -48
  419. package/dist/chunk-U634RJNK.js +0 -36
  420. package/dist/chunk-U7MLTDS4.js +0 -167
  421. package/dist/chunk-UCRPFQYY.js +0 -48
  422. package/dist/chunk-UEXFND2J.mjs +0 -56
  423. package/dist/chunk-UIYW7U2O.js +0 -28
  424. package/dist/chunk-UJ5Q7MZB.js +0 -78
  425. package/dist/chunk-UOSN6FPU.js +0 -42
  426. package/dist/chunk-UOY5QUAW.js +0 -63
  427. package/dist/chunk-UP3FJ7EK.mjs +0 -44
  428. package/dist/chunk-UQYEFGMG.mjs +0 -43
  429. package/dist/chunk-URX5VRVB.js +0 -24
  430. package/dist/chunk-USLYTOPD.mjs +0 -41
  431. package/dist/chunk-UUIIGFUZ.js +0 -33
  432. package/dist/chunk-UX7CIOBD.js +0 -61
  433. package/dist/chunk-V2AWKRQI.js +0 -26
  434. package/dist/chunk-V4JFB4H6.mjs +0 -45
  435. package/dist/chunk-V4P2FTIC.js +0 -72
  436. package/dist/chunk-VE3Q5LC3.mjs +0 -26
  437. package/dist/chunk-VKKQV6UO.js +0 -42
  438. package/dist/chunk-VOMHZHCC.js +0 -21
  439. package/dist/chunk-VTSJ33HJ.js +0 -18
  440. package/dist/chunk-VVELSEXL.mjs +0 -27
  441. package/dist/chunk-VX2IFBCP.mjs +0 -17008
  442. package/dist/chunk-VX346ARA.js +0 -42
  443. package/dist/chunk-VYV7BUJR.js +0 -42
  444. package/dist/chunk-W4CBCFMS.mjs +0 -36
  445. package/dist/chunk-W6QSJNDJ.js +0 -58
  446. package/dist/chunk-WDFGFSCS.js +0 -63
  447. package/dist/chunk-WGRAINAP.mjs +0 -43
  448. package/dist/chunk-WH4MHYUQ.mjs +0 -33
  449. package/dist/chunk-WJ6C635R.mjs +0 -45
  450. package/dist/chunk-WSYHZP5C.mjs +0 -28
  451. package/dist/chunk-X5WN73EF.js +0 -48
  452. package/dist/chunk-X7YFEBIL.mjs +0 -28
  453. package/dist/chunk-XB5AI72P.mjs +0 -24
  454. package/dist/chunk-XCCBDMTZ.mjs +0 -22
  455. package/dist/chunk-XG6RUZSI.mjs +0 -16
  456. package/dist/chunk-XGB3TDIC.mjs +0 -42
  457. package/dist/chunk-XI5L2ENL.js +0 -28
  458. package/dist/chunk-XIROUDIK.js +0 -151
  459. package/dist/chunk-XJ3B37LJ.js +0 -45
  460. package/dist/chunk-XJGSUINR.mjs +0 -24
  461. package/dist/chunk-XKWYGGIM.mjs +0 -36
  462. package/dist/chunk-XL5V4E3Z.js +0 -16
  463. package/dist/chunk-XMR5DWYS.mjs +0 -74
  464. package/dist/chunk-XN5RU4UY.js +0 -27
  465. package/dist/chunk-XR64DI5O.js +0 -31
  466. package/dist/chunk-XUZOVQYC.mjs +0 -42
  467. package/dist/chunk-XVQOUXV6.js +0 -48
  468. package/dist/chunk-XYNVAWSB.mjs +0 -45
  469. package/dist/chunk-Y2G3CY4Q.mjs +0 -51
  470. package/dist/chunk-YHZKCAK6.mjs +0 -49
  471. package/dist/chunk-YJXRZ5WX.mjs +0 -78
  472. package/dist/chunk-YNT5L5UH.js +0 -78
  473. package/dist/chunk-YRB3F2AG.mjs +0 -81
  474. package/dist/chunk-YRRALMO4.mjs +0 -36
  475. package/dist/chunk-YUFVOYYX.mjs +0 -57
  476. package/dist/chunk-YV3HYBCX.js +0 -45
  477. package/dist/chunk-YVASGALV.js +0 -81
  478. package/dist/chunk-YWFUY5A4.js +0 -30
  479. package/dist/chunk-YYSJWYK3.js +0 -21
  480. package/dist/chunk-YZNZHRY3.mjs +0 -81
  481. package/dist/chunk-Z46HCVNZ.js +0 -151
  482. package/dist/chunk-Z5HPFZ65.mjs +0 -35
  483. package/dist/chunk-ZADIRLZW.mjs +0 -56
  484. package/dist/chunk-ZAU43ZDI.mjs +0 -74
  485. package/dist/chunk-ZBU5LSC3.mjs +0 -45
  486. package/dist/chunk-ZDV7FI2F.js +0 -45
  487. package/dist/chunk-ZKVLWCGR.mjs +0 -63
  488. package/dist/chunk-ZN3MHVES.mjs +0 -57
  489. package/dist/chunk-ZPQ6LVKQ.mjs +0 -20
  490. package/dist/chunk-ZQA42PYM.mjs +0 -67
  491. package/dist/chunk-ZQYJPU4U.mjs +0 -76
  492. package/dist/chunk-ZSBGAX6X.js +0 -2022
  493. package/dist/chunk-ZT2QP4MD.mjs +0 -25
  494. package/dist/chunk-ZTUCFJLM.mjs +0 -33
  495. package/dist/chunk-ZWLHVT5O.js +0 -41
  496. package/dist/chunk-ZXWWD74E.mjs +0 -45
  497. package/dist/color-BT6BF8oV.d.mts +0 -61
  498. package/dist/color-BmTZnKiW.d.mts +0 -61
  499. package/dist/color-WFinq_Y4.d.ts +0 -61
  500. package/dist/color-lBH29suB.d.ts +0 -61
  501. package/dist/commerce-BqVjXEhQ.d.mts +0 -40
  502. package/dist/commerce-Ch71_dd2.d.ts +0 -40
  503. package/dist/commerce-IGFkOXjQ.d.mts +0 -40
  504. package/dist/commerce-mdOpchjx.d.ts +0 -40
  505. package/dist/common-CbuXAeQ-.d.mts +0 -11
  506. package/dist/common-IR_KozaJ.d.mts +0 -11
  507. package/dist/common-Kp8LaAzK.d.ts +0 -11
  508. package/dist/common-t-ZQebCq.d.ts +0 -11
  509. package/dist/company---O1IwYo.d.ts +0 -35
  510. package/dist/company-C3EU1J7k.d.ts +0 -35
  511. package/dist/company-D7Cc_hsx.d.mts +0 -35
  512. package/dist/company-cR_0hm6U.d.mts +0 -35
  513. package/dist/config-BTjogu5M.d.ts +0 -7
  514. package/dist/config-C1N2Brw-.d.mts +0 -7
  515. package/dist/config.d.mts +0 -2
  516. package/dist/config_scheme.d.mts +0 -32
  517. package/dist/create_config.d.mts +0 -58
  518. package/dist/create_config.test.d.mts +0 -2
  519. package/dist/create_config.test.js +0 -63
  520. package/dist/create_config.test.mjs +0 -63
  521. package/dist/create_generator_fn.d.mts +0 -12
  522. package/dist/create_generator_fn.test.d.mts +0 -2
  523. package/dist/create_generator_fn.test.js +0 -200
  524. package/dist/create_generator_fn.test.mjs +0 -200
  525. package/dist/database-B8Wr1oXH.d.mts +0 -23
  526. package/dist/database-DV9wgnca.d.ts +0 -23
  527. package/dist/database-Dnsy3cQb.d.ts +0 -23
  528. package/dist/database-UzO1Lwec.d.mts +0 -23
  529. package/dist/datatype-C92TZLxo.d.ts +0 -13
  530. package/dist/datatype-CAu_sc1g.d.ts +0 -13
  531. package/dist/datatype-DZjmP0fA.d.mts +0 -13
  532. package/dist/datatype-gjFHrdMj.d.mts +0 -13
  533. package/dist/datetime-BDgsnqq_.d.mts +0 -78
  534. package/dist/datetime-BkidbR1O.d.ts +0 -78
  535. package/dist/datetime-CSUpnUXU.d.ts +0 -78
  536. package/dist/datetime-dnPA_lnt.d.mts +0 -78
  537. package/dist/finance-BZEmlfNQ.d.mts +0 -90
  538. package/dist/finance-Cn3DFbX4.d.ts +0 -90
  539. package/dist/finance-CstKW1nH.d.mts +0 -90
  540. package/dist/finance-gj0fiEmf.d.ts +0 -90
  541. package/dist/food-CInj1GX2.d.ts +0 -35
  542. package/dist/food-CfxZX81O.d.mts +0 -35
  543. package/dist/food-Dk3-40CY.d.mts +0 -35
  544. package/dist/food-tr11e_Qp.d.ts +0 -35
  545. package/dist/generator_fn-CJDbnCZl.d.mts +0 -7
  546. package/dist/generator_fn-D-npAfnC.d.ts +0 -7
  547. package/dist/generator_fn.d.mts +0 -2
  548. package/dist/git-BHL1ppL4.d.ts +0 -31
  549. package/dist/git-DoCI9ZYT.d.ts +0 -31
  550. package/dist/git-Feo1ntKa.d.mts +0 -31
  551. package/dist/git-w0nznSjX.d.mts +0 -31
  552. package/dist/hacker-DL7pR6JO.d.ts +0 -26
  553. package/dist/hacker-FcQXZGtz.d.mts +0 -26
  554. package/dist/hacker-X3zBTMoE.d.ts +0 -26
  555. package/dist/hacker-mGVIO_wL.d.mts +0 -26
  556. package/dist/image-B5OPCNhD.d.mts +0 -56
  557. package/dist/image-BeZbZlyo.d.ts +0 -56
  558. package/dist/image-IyGCgqNf.d.ts +0 -56
  559. package/dist/image-govZ7HjA.d.mts +0 -56
  560. package/dist/index.d.mts +0 -5
  561. package/dist/internet-BWBjFZ1E.d.mts +0 -101
  562. package/dist/internet-BukCBMX-.d.ts +0 -106
  563. package/dist/internet-C2ElurWb.d.mts +0 -106
  564. package/dist/internet-CH_7YDHs.d.mts +0 -106
  565. package/dist/internet-CJEETk0v.d.mts +0 -101
  566. package/dist/internet-DLYaMWtd.d.ts +0 -106
  567. package/dist/internet-WmWuV39U.d.ts +0 -101
  568. package/dist/internet-jHHnqVJG.d.ts +0 -101
  569. package/dist/location-BIZ-KsaI.d.ts +0 -80
  570. package/dist/location-CTA_Bq7w.d.mts +0 -80
  571. package/dist/location-CsVekxIU.d.ts +0 -80
  572. package/dist/location-WU_nRdjx.d.mts +0 -80
  573. package/dist/lorem-BE4n3dVs.d.mts +0 -62
  574. package/dist/lorem-Btv0fltY.d.ts +0 -62
  575. package/dist/lorem-OlHaVntu.d.mts +0 -62
  576. package/dist/lorem-yMyLb-d-.d.ts +0 -62
  577. package/dist/magic-string.es-2DLPM6Q3.js +0 -1299
  578. package/dist/magic-string.es-NHTKQXSF.mjs +0 -1299
  579. package/dist/magic-string.es-PQN52XPX.js +0 -1288
  580. package/dist/magic-string.es-X3ME2TR2.mjs +0 -1288
  581. package/dist/music-CQ3lnDvg.d.mts +0 -20
  582. package/dist/music-D3zj5REe.d.ts +0 -20
  583. package/dist/music-P8XZ4JSO.d.ts +0 -20
  584. package/dist/music-vcWm9dzu.d.mts +0 -20
  585. package/dist/number-BfwwKvTJ.d.mts +0 -48
  586. package/dist/number-Bj9ydAOH.d.ts +0 -47
  587. package/dist/number-D5QmTRsK.d.ts +0 -48
  588. package/dist/number-D9Wn_qjS.d.mts +0 -47
  589. package/dist/number-DomDs-l5.d.mts +0 -47
  590. package/dist/number-DvzbKHZR.d.ts +0 -47
  591. package/dist/person-DXne2mKX.d.ts +0 -58
  592. package/dist/person-LLleVozS.d.ts +0 -58
  593. package/dist/person-OKRyYmeX.d.mts +0 -58
  594. package/dist/person-Si_vy67g.d.mts +0 -58
  595. package/dist/phone-Bc8UXPF3.d.ts +0 -16
  596. package/dist/phone-Cbxvm_Qv.d.ts +0 -16
  597. package/dist/phone-QbHXAqVF.d.mts +0 -16
  598. package/dist/phone-g4FDs50M.d.mts +0 -16
  599. package/dist/science-BX8WhoEY.d.ts +0 -15
  600. package/dist/science-BfA9sVXz.d.mts +0 -15
  601. package/dist/science-BgXAZ3YR.d.ts +0 -15
  602. package/dist/science-CSN41yUZ.d.mts +0 -15
  603. package/dist/string-9w976kVk.d.mts +0 -87
  604. package/dist/string-Cm9TczI6.d.ts +0 -87
  605. package/dist/string-DGScZrrP.d.mts +0 -87
  606. package/dist/string-Do4vhsl0.d.ts +0 -87
  607. package/dist/system-BpxbduIr.d.ts +0 -55
  608. package/dist/system-Cy0e05Cr.d.mts +0 -55
  609. package/dist/system-DOyHjHxs.d.mts +0 -55
  610. package/dist/system-DipW6DYb.d.ts +0 -55
  611. package/dist/system-EuG0S2Xy.d.mts +0 -55
  612. package/dist/system-ZV2S9Qw2.d.ts +0 -55
  613. package/dist/test.d.mts +0 -2
  614. package/dist/test.d.ts +0 -2
  615. package/dist/test.js +0 -15
  616. package/dist/test.mjs +0 -15
  617. package/dist/type-C8Ny1fB6.d.mts +0 -33
  618. package/dist/type-C8Ny1fB6.d.ts +0 -33
  619. package/dist/type.d.mts +0 -93
  620. package/dist/utils/airline.d.mts +0 -3
  621. package/dist/utils/animal.d.mts +0 -2
  622. package/dist/utils/color.d.mts +0 -3
  623. package/dist/utils/commerce.d.mts +0 -2
  624. package/dist/utils/common.d.mts +0 -2
  625. package/dist/utils/company.d.mts +0 -2
  626. package/dist/utils/database.d.mts +0 -2
  627. package/dist/utils/datatype.d.mts +0 -2
  628. package/dist/utils/datetime.d.mts +0 -2
  629. package/dist/utils/finance.d.mts +0 -3
  630. package/dist/utils/food.d.mts +0 -2
  631. package/dist/utils/git.d.mts +0 -2
  632. package/dist/utils/hacker.d.mts +0 -2
  633. package/dist/utils/image.d.mts +0 -2
  634. package/dist/utils/index.d.mts +0 -28
  635. package/dist/utils/internet.d.mts +0 -3
  636. package/dist/utils/location.d.mts +0 -2
  637. package/dist/utils/lorem.d.mts +0 -2
  638. package/dist/utils/music.d.mts +0 -2
  639. package/dist/utils/number.d.mts +0 -2
  640. package/dist/utils/person.d.mts +0 -3
  641. package/dist/utils/phone.d.mts +0 -2
  642. package/dist/utils/science.d.mts +0 -3
  643. package/dist/utils/string.d.mts +0 -2
  644. package/dist/utils/system.d.mts +0 -2
  645. package/dist/utils/utils.d.mts +0 -2
  646. package/dist/utils/vehicle.d.mts +0 -2
  647. package/dist/utils/word.d.mts +0 -75
  648. package/dist/utils-BImnOpvp.d.ts +0 -10
  649. package/dist/utils-BiDlGzTl.d.mts +0 -10
  650. package/dist/utils-DinJc3Cq.d.ts +0 -10
  651. package/dist/utils-zJKwaMUY.d.mts +0 -10
  652. package/dist/vehicle-D4yBDYMc.d.mts +0 -35
  653. package/dist/vehicle-DmBDda98.d.mts +0 -35
  654. package/dist/vehicle-Ufz4AoXu.d.ts +0 -35
  655. package/dist/vehicle-rnBz1Za2.d.ts +0 -35
  656. package/tsup.config.ts +0 -8
@@ -1,75 +1,71 @@
1
- import { ValueConfig } from '../type.js';
2
-
3
1
  /** Word [adjective](https://fakerjs.dev/word.html#adjective) */
4
- declare const adjective: (options?: number | {
2
+ export declare const adjective: (options?: number | {
5
3
  length?: number | {
6
4
  min: number;
7
5
  max: number;
8
6
  };
9
7
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
10
- }) => ValueConfig<string>;
8
+ }) => import("..").ValueConfig<string>;
11
9
  /** Word [adverb](https://fakerjs.dev/word.html#adverb) */
12
- declare const adverb: (options?: number | {
10
+ export declare const adverb: (options?: number | {
13
11
  length?: number | {
14
12
  min: number;
15
13
  max: number;
16
14
  };
17
15
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
18
- }) => ValueConfig<string>;
16
+ }) => import("..").ValueConfig<string>;
19
17
  /** Word [conjunction](https://fakerjs.dev/word.html#conjunction) */
20
- declare const conjunction: (options?: number | {
18
+ export declare const conjunction: (options?: number | {
21
19
  length?: number | {
22
20
  min: number;
23
21
  max: number;
24
22
  };
25
23
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
26
- }) => ValueConfig<string>;
24
+ }) => import("..").ValueConfig<string>;
27
25
  /** Word [interjection](https://fakerjs.dev/word.html#interjection) */
28
- declare const interjection: (options?: number | {
26
+ export declare const interjection: (options?: number | {
29
27
  length?: number | {
30
28
  min: number;
31
29
  max: number;
32
30
  };
33
31
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
34
- }) => ValueConfig<string>;
32
+ }) => import("..").ValueConfig<string>;
35
33
  /** Word [noun](https://fakerjs.dev/word.html#noun) */
36
- declare const noun: (options?: number | {
34
+ export declare const noun: (options?: number | {
37
35
  length?: number | {
38
36
  min: number;
39
37
  max: number;
40
38
  };
41
39
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
42
- }) => ValueConfig<string>;
40
+ }) => import("..").ValueConfig<string>;
43
41
  /** Word [preposition](https://fakerjs.dev/word.html#preposition) */
44
- declare const preposition: (options?: number | {
42
+ export declare const preposition: (options?: number | {
45
43
  length?: number | {
46
44
  min: number;
47
45
  max: number;
48
46
  };
49
47
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
50
- }) => ValueConfig<string>;
48
+ }) => import("..").ValueConfig<string>;
51
49
  /** Word [sample](https://fakerjs.dev/word.html#sample) */
52
- declare const sample: (options?: number | {
50
+ export declare const sample: (options?: number | {
53
51
  length?: number | {
54
52
  min: number;
55
53
  max: number;
56
54
  };
57
55
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
58
- }) => ValueConfig<string>;
56
+ }) => import("..").ValueConfig<string>;
59
57
  /** Word [verb](https://fakerjs.dev/word.html#verb) */
60
- declare const verb: (options?: number | {
58
+ export declare const verb: (options?: number | {
61
59
  length?: number | {
62
60
  min: number;
63
61
  max: number;
64
62
  };
65
63
  strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
66
- }) => ValueConfig<string>;
64
+ }) => import("..").ValueConfig<string>;
67
65
  /** Word [words](https://fakerjs.dev/word.html#words) */
68
- declare const words: (options?: number | {
66
+ export declare const words: (options?: number | {
69
67
  count?: number | {
70
68
  min: number;
71
69
  max: number;
72
70
  };
73
- }) => ValueConfig<string>;
74
-
75
- export { adjective, adverb, conjunction, interjection, noun, preposition, sample, verb, words };
71
+ }) => import("..").ValueConfig<string>;
@@ -1,29 +1,70 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkIOXGSFEUjs = require('../chunk-IOXGSFEU.js');
4
- require('../chunk-C3RGM3CB.js');
5
- require('../chunk-ZWLHVT5O.js');
6
- require('../chunk-4VNS5WPM.js');
7
-
8
- // src/utils/word.ts
9
- var _faker = require('@faker-js/faker');
10
- var adjective = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.adjective);
11
- var adverb = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.adverb);
12
- var conjunction = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.conjunction);
13
- var interjection = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.interjection);
14
- var noun = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.noun);
15
- var preposition = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.preposition);
16
- var sample = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.sample);
17
- var verb = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.verb);
18
- var words = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.words);
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
- exports.adjective = adjective; exports.adverb = adverb; exports.conjunction = conjunction; exports.interjection = interjection; exports.noun = noun; exports.preposition = preposition; exports.sample = sample; exports.verb = verb; exports.words = words;
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ words: ()=>words,
28
+ noun: ()=>noun,
29
+ verb: ()=>verb,
30
+ sample: ()=>sample,
31
+ conjunction: ()=>conjunction,
32
+ adjective: ()=>adjective,
33
+ interjection: ()=>interjection,
34
+ preposition: ()=>preposition,
35
+ adverb: ()=>adverb
36
+ });
37
+ const faker_namespaceObject = require("@faker-js/faker");
38
+ const external_utils_js_namespaceObject = require("./utils.js");
39
+ const adjective = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.adjective);
40
+ const adverb = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.adverb);
41
+ const conjunction = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.conjunction);
42
+ const interjection = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.interjection);
43
+ const noun = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.noun);
44
+ const preposition = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.preposition);
45
+ const sample = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.sample);
46
+ const verb = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.verb);
47
+ const words = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.words);
48
+ exports.adjective = __webpack_exports__.adjective;
49
+ exports.adverb = __webpack_exports__.adverb;
50
+ exports.conjunction = __webpack_exports__.conjunction;
51
+ exports.interjection = __webpack_exports__.interjection;
52
+ exports.noun = __webpack_exports__.noun;
53
+ exports.preposition = __webpack_exports__.preposition;
54
+ exports.sample = __webpack_exports__.sample;
55
+ exports.verb = __webpack_exports__.verb;
56
+ exports.words = __webpack_exports__.words;
57
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
58
+ "adjective",
59
+ "adverb",
60
+ "conjunction",
61
+ "interjection",
62
+ "noun",
63
+ "preposition",
64
+ "sample",
65
+ "verb",
66
+ "words"
67
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
68
+ Object.defineProperty(exports, '__esModule', {
69
+ value: true
70
+ });
@@ -1,29 +1,12 @@
1
- import {
2
- makeValueConfigFn
3
- } from "../chunk-3KXIZTCT.mjs";
4
- import "../chunk-ZQA42PYM.mjs";
5
- import "../chunk-USLYTOPD.mjs";
6
- import "../chunk-XGB3TDIC.mjs";
7
-
8
- // src/utils/word.ts
9
1
  import { faker } from "@faker-js/faker";
10
- var adjective = makeValueConfigFn(faker.word.adjective);
11
- var adverb = makeValueConfigFn(faker.word.adverb);
12
- var conjunction = makeValueConfigFn(faker.word.conjunction);
13
- var interjection = makeValueConfigFn(faker.word.interjection);
14
- var noun = makeValueConfigFn(faker.word.noun);
15
- var preposition = makeValueConfigFn(faker.word.preposition);
16
- var sample = makeValueConfigFn(faker.word.sample);
17
- var verb = makeValueConfigFn(faker.word.verb);
18
- var words = makeValueConfigFn(faker.word.words);
19
- export {
20
- adjective,
21
- adverb,
22
- conjunction,
23
- interjection,
24
- noun,
25
- preposition,
26
- sample,
27
- verb,
28
- words
29
- };
2
+ import { makeValueConfigFn } from "./utils.mjs";
3
+ const adjective = makeValueConfigFn(faker.word.adjective);
4
+ const adverb = makeValueConfigFn(faker.word.adverb);
5
+ const conjunction = makeValueConfigFn(faker.word.conjunction);
6
+ const interjection = makeValueConfigFn(faker.word.interjection);
7
+ const noun = makeValueConfigFn(faker.word.noun);
8
+ const preposition = makeValueConfigFn(faker.word.preposition);
9
+ const sample = makeValueConfigFn(faker.word.sample);
10
+ const verb = makeValueConfigFn(faker.word.verb);
11
+ const words = makeValueConfigFn(faker.word.words);
12
+ export { adjective, adverb, conjunction, interjection, noun, preposition, sample, verb, words };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "struct-fakerator",
3
- "version": "2.7.9",
3
+ "version": "2.8.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -37,26 +37,29 @@
37
37
  }
38
38
  }
39
39
  },
40
- "keywords": [],
40
+ "keywords": [
41
+ "fake data",
42
+ "generator"
43
+ ],
41
44
  "author": "FizzyElt",
42
45
  "homepage": "https://github.com/FizzyElt/fakerator",
43
46
  "license": "ISC",
44
47
  "devDependencies": {
45
- "@biomejs/biome": "^1.9.4",
46
- "tsup": "^8.5.0",
48
+ "@biomejs/biome": "^2.0.5",
49
+ "@rslib/core": "^0.11.0",
47
50
  "typescript": "^5.8.3",
48
51
  "vitest": "^3.2.2"
49
52
  },
50
53
  "dependencies": {
51
54
  "@faker-js/faker": "^9.8.0",
52
- "zod": "^3.25.56"
55
+ "zod": "^4.0.14"
53
56
  },
54
57
  "publishConfig": {
55
58
  "access": "public"
56
59
  },
57
60
  "scripts": {
58
61
  "type_check": "tsc --noEmit",
59
- "build": "pnpm type_check && tsup src",
62
+ "build": "pnpm type_check && rslib build src",
60
63
  "test": "vitest src"
61
64
  }
62
65
  }
@@ -0,0 +1,2 @@
1
+ onlyBuiltDependencies:
2
+ - core-js
@@ -0,0 +1,26 @@
1
+ import { defineConfig } from "@rslib/core";
2
+
3
+ export default defineConfig({
4
+ lib: [
5
+ {
6
+ format: "esm",
7
+ syntax: "esnext",
8
+ bundle: false,
9
+ dts: true,
10
+ outBase: "./src",
11
+ },
12
+ {
13
+ format: "cjs",
14
+ syntax: "esnext",
15
+ bundle: false,
16
+ dts: true,
17
+ outBase: "./src",
18
+ },
19
+ ],
20
+ source: {
21
+ entry: {
22
+ index: ["src/*.ts", "!src/*.test.ts"],
23
+ utils: "src/utils/*.ts",
24
+ },
25
+ },
26
+ });
package/src/config.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export {
2
- createValueConfig as value,
3
2
  createArrayConfig as array,
3
+ createBoundedSeriesConfig as boundedSeries,
4
4
  createObjectConfig as object,
5
- createTupleConfig as tuple,
6
5
  createSelectionConfig as select,
7
- createBoundedSeriesConfig as boundedSeries,
6
+ createTupleConfig as tuple,
7
+ createValueConfig as value,
8
8
  } from "./create_config";
@@ -1,4 +1,4 @@
1
- import { z } from "zod/v4";
1
+ import { z } from "zod";
2
2
 
3
3
  export const valueConfigScheme = z.object({
4
4
  type: z.string().regex(/^value$/, { message: "invalid type string" }),
@@ -1,5 +1,4 @@
1
1
  import { expect, test } from "vitest";
2
-
3
2
  import {
4
3
  createArrayConfig,
5
4
  createBoundedSeriesConfig,
@@ -197,8 +197,8 @@ describe("createGeneratorByType", () => {
197
197
  });
198
198
 
199
199
  test("with custom type match", () => {
200
- const createIntValueConfig = (option) => createValueConfig(() => 50);
201
- const createEmailValueConfig = (option) =>
200
+ const createIntValueConfig = (_option) => createValueConfig(() => 50);
201
+ const createEmailValueConfig = (_option) =>
202
202
  createValueConfig(() => "xxx@example.com");
203
203
 
204
204
  const customTypeMatch = (config) => {
@@ -1,5 +1,4 @@
1
1
  import { faker } from "@faker-js/faker";
2
-
3
2
  import {
4
3
  arrayConfigScheme,
5
4
  boundedSeriesScheme,
@@ -1,7 +1,7 @@
1
1
  export {
2
- createGeneratorByType as genFn,
3
2
  createArrayGenerator as genArrayFn,
4
3
  createBoundedSeriesGenerator as genBoundedSeriesFn,
4
+ createGeneratorByType as genFn,
5
5
  createObjectGenerator as genObjectFn,
6
6
  createSelectionGenerator as genSelectFn,
7
7
  createTupleGenerator as genTupleFn,
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
+ export * as StructConfig from "./config";
1
2
  export * from "./create_config";
2
3
  export * from "./create_generator_fn";
3
- export * from "./type";
4
- export * as StructConfig from "./config";
5
4
  export * as StructGenerator from "./generator_fn";
5
+ export * from "./type";
@@ -22,6 +22,5 @@ export * as Phone from "./phone";
22
22
  export * as Science from "./science";
23
23
  export * as String from "./string";
24
24
  export * as System from "./system";
25
- export * as Vehicle from "./vehicle";
26
-
27
25
  export * as utils from "./utils";
26
+ export * as Vehicle from "./vehicle";
@@ -1,5 +1,5 @@
1
- import type { ValueConfig } from "../type";
2
1
  import { createValueConfig } from "../create_config";
2
+ import type { ValueConfig } from "../type";
3
3
 
4
4
  export function makeValueConfigFn<Args extends Array<unknown>, R>(
5
5
  fn: (...options: Args) => R,
package/tsconfig.json CHANGED
@@ -9,7 +9,8 @@
9
9
  "declaration": true,
10
10
  "outDir": "./dist/lib/es6",
11
11
  "moduleResolution": "node",
12
- "skipLibCheck": true
12
+ "skipLibCheck": true,
13
+ "isolatedModules": true
13
14
  },
14
15
  "include": [
15
16
  "src/**/*"
@@ -1,26 +0,0 @@
1
- import * as _faker_js_faker__ from '@faker-js/faker/.';
2
- import { ValueConfig } from './type.js';
3
-
4
- /** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
5
- declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
6
- /** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
7
- declare const flightNumber: (options?: {
8
- length?: number | {
9
- min: number;
10
- max: number;
11
- };
12
- addLeadingZeros?: boolean;
13
- }) => ValueConfig<string>;
14
- /** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
15
- declare const seat: (options?: {
16
- aircraftType?: _faker_js_faker__.AircraftType;
17
- }) => ValueConfig<string>;
18
-
19
- declare const airline_aircraftType: typeof aircraftType;
20
- declare const airline_flightNumber: typeof flightNumber;
21
- declare const airline_seat: typeof seat;
22
- declare namespace airline {
23
- export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
24
- }
25
-
26
- export { airline as a, aircraftType as b, flightNumber as f, seat as s };
@@ -1,26 +0,0 @@
1
- import * as _faker_js_faker__ from '@faker-js/faker/.';
2
- import { V as ValueConfig } from './type-C8Ny1fB6.js';
3
-
4
- /** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
5
- declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
6
- /** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
7
- declare const flightNumber: (options?: {
8
- length?: number | {
9
- min: number;
10
- max: number;
11
- };
12
- addLeadingZeros?: boolean;
13
- }) => ValueConfig<string>;
14
- /** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
15
- declare const seat: (options?: {
16
- aircraftType?: _faker_js_faker__.AircraftType;
17
- }) => ValueConfig<string>;
18
-
19
- declare const airline_aircraftType: typeof aircraftType;
20
- declare const airline_flightNumber: typeof flightNumber;
21
- declare const airline_seat: typeof seat;
22
- declare namespace airline {
23
- export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
24
- }
25
-
26
- export { airline as a, aircraftType as b, flightNumber as f, seat as s };
@@ -1,26 +0,0 @@
1
- import * as _faker_js_faker__ from '@faker-js/faker/.';
2
- import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
3
-
4
- /** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
5
- declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
6
- /** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
7
- declare const flightNumber: (options?: {
8
- length?: number | {
9
- min: number;
10
- max: number;
11
- };
12
- addLeadingZeros?: boolean;
13
- }) => ValueConfig<string>;
14
- /** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
15
- declare const seat: (options?: {
16
- aircraftType?: _faker_js_faker__.AircraftType;
17
- }) => ValueConfig<string>;
18
-
19
- declare const airline_aircraftType: typeof aircraftType;
20
- declare const airline_flightNumber: typeof flightNumber;
21
- declare const airline_seat: typeof seat;
22
- declare namespace airline {
23
- export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
24
- }
25
-
26
- export { airline as a, aircraftType as b, flightNumber as f, seat as s };
@@ -1,26 +0,0 @@
1
- import * as _faker_js_faker__ from '@faker-js/faker/.';
2
- import { ValueConfig } from './type.mjs';
3
-
4
- /** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
5
- declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
6
- /** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
7
- declare const flightNumber: (options?: {
8
- length?: number | {
9
- min: number;
10
- max: number;
11
- };
12
- addLeadingZeros?: boolean;
13
- }) => ValueConfig<string>;
14
- /** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
15
- declare const seat: (options?: {
16
- aircraftType?: _faker_js_faker__.AircraftType;
17
- }) => ValueConfig<string>;
18
-
19
- declare const airline_aircraftType: typeof aircraftType;
20
- declare const airline_flightNumber: typeof flightNumber;
21
- declare const airline_seat: typeof seat;
22
- declare namespace airline {
23
- export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
24
- }
25
-
26
- export { airline as a, aircraftType as b, flightNumber as f, seat as s };
@@ -1,53 +0,0 @@
1
- import { ValueConfig } from './type.mjs';
2
-
3
- /** Animal [bear](https://fakerjs.dev/api/animal.html#bear) */
4
- declare const bear: () => ValueConfig<string>;
5
- /** Animal [bird](https://fakerjs.dev/api/animal.html#bird) */
6
- declare const bird: () => ValueConfig<string>;
7
- /** Animal [cat](https://fakerjs.dev/api/animal.html#cat) */
8
- declare const cat: () => ValueConfig<string>;
9
- /** Animal [cetacean](https://fakerjs.dev/api/animal.html#cetacean) */
10
- declare const cetacean: () => ValueConfig<string>;
11
- /** Animal [cow](https://fakerjs.dev/api/animal.html#cow) */
12
- declare const cow: () => ValueConfig<string>;
13
- /** Animal [crocodilia](https://fakerjs.dev/api/animal.html#crocodilia) */
14
- declare const crocodilia: () => ValueConfig<string>;
15
- /** Animal [dog](https://fakerjs.dev/api/animal.html#dog) */
16
- declare const dog: () => ValueConfig<string>;
17
- /** Animal [fish](https://fakerjs.dev/api/animal.html#fish) */
18
- declare const fish: () => ValueConfig<string>;
19
- /** Animal [horse](https://fakerjs.dev/api/animal.html#horse) */
20
- declare const horse: () => ValueConfig<string>;
21
- /** Animal [insect](https://fakerjs.dev/api/animal.html#insect) */
22
- declare const insect: () => ValueConfig<string>;
23
- /** Animal [lion](https://fakerjs.dev/api/animal.html#lion) */
24
- declare const lion: () => ValueConfig<string>;
25
- /** Animal [rabbit](https://fakerjs.dev/api/animal.html#rabbit) */
26
- declare const rabbit: () => ValueConfig<string>;
27
- /** Animal [rodent](https://fakerjs.dev/api/animal.html#rodent) */
28
- declare const rodent: () => ValueConfig<string>;
29
- /** Animal [snake](https://fakerjs.dev/api/animal.html#snake) */
30
- declare const snake: () => ValueConfig<string>;
31
- /** Animal [type](https://fakerjs.dev/api/animal.html#type) */
32
- declare const type: () => ValueConfig<string>;
33
-
34
- declare const animal_bear: typeof bear;
35
- declare const animal_bird: typeof bird;
36
- declare const animal_cat: typeof cat;
37
- declare const animal_cetacean: typeof cetacean;
38
- declare const animal_cow: typeof cow;
39
- declare const animal_crocodilia: typeof crocodilia;
40
- declare const animal_dog: typeof dog;
41
- declare const animal_fish: typeof fish;
42
- declare const animal_horse: typeof horse;
43
- declare const animal_insect: typeof insect;
44
- declare const animal_lion: typeof lion;
45
- declare const animal_rabbit: typeof rabbit;
46
- declare const animal_rodent: typeof rodent;
47
- declare const animal_snake: typeof snake;
48
- declare const animal_type: typeof type;
49
- declare namespace animal {
50
- export { animal_bear as bear, animal_bird as bird, animal_cat as cat, animal_cetacean as cetacean, animal_cow as cow, animal_crocodilia as crocodilia, animal_dog as dog, animal_fish as fish, animal_horse as horse, animal_insect as insect, animal_lion as lion, animal_rabbit as rabbit, animal_rodent as rodent, animal_snake as snake, animal_type as type };
51
- }
52
-
53
- export { animal as a, bear as b, bird as c, cat as d, cetacean as e, cow as f, crocodilia as g, dog as h, fish as i, horse as j, insect as k, lion as l, rodent as m, rabbit as r, snake as s, type as t };
@@ -1,53 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
2
-
3
- /** Animal [bear](https://fakerjs.dev/api/animal.html#bear) */
4
- declare const bear: () => ValueConfig<string>;
5
- /** Animal [bird](https://fakerjs.dev/api/animal.html#bird) */
6
- declare const bird: () => ValueConfig<string>;
7
- /** Animal [cat](https://fakerjs.dev/api/animal.html#cat) */
8
- declare const cat: () => ValueConfig<string>;
9
- /** Animal [cetacean](https://fakerjs.dev/api/animal.html#cetacean) */
10
- declare const cetacean: () => ValueConfig<string>;
11
- /** Animal [cow](https://fakerjs.dev/api/animal.html#cow) */
12
- declare const cow: () => ValueConfig<string>;
13
- /** Animal [crocodilia](https://fakerjs.dev/api/animal.html#crocodilia) */
14
- declare const crocodilia: () => ValueConfig<string>;
15
- /** Animal [dog](https://fakerjs.dev/api/animal.html#dog) */
16
- declare const dog: () => ValueConfig<string>;
17
- /** Animal [fish](https://fakerjs.dev/api/animal.html#fish) */
18
- declare const fish: () => ValueConfig<string>;
19
- /** Animal [horse](https://fakerjs.dev/api/animal.html#horse) */
20
- declare const horse: () => ValueConfig<string>;
21
- /** Animal [insect](https://fakerjs.dev/api/animal.html#insect) */
22
- declare const insect: () => ValueConfig<string>;
23
- /** Animal [lion](https://fakerjs.dev/api/animal.html#lion) */
24
- declare const lion: () => ValueConfig<string>;
25
- /** Animal [rabbit](https://fakerjs.dev/api/animal.html#rabbit) */
26
- declare const rabbit: () => ValueConfig<string>;
27
- /** Animal [rodent](https://fakerjs.dev/api/animal.html#rodent) */
28
- declare const rodent: () => ValueConfig<string>;
29
- /** Animal [snake](https://fakerjs.dev/api/animal.html#snake) */
30
- declare const snake: () => ValueConfig<string>;
31
- /** Animal [type](https://fakerjs.dev/api/animal.html#type) */
32
- declare const type: () => ValueConfig<string>;
33
-
34
- declare const animal_bear: typeof bear;
35
- declare const animal_bird: typeof bird;
36
- declare const animal_cat: typeof cat;
37
- declare const animal_cetacean: typeof cetacean;
38
- declare const animal_cow: typeof cow;
39
- declare const animal_crocodilia: typeof crocodilia;
40
- declare const animal_dog: typeof dog;
41
- declare const animal_fish: typeof fish;
42
- declare const animal_horse: typeof horse;
43
- declare const animal_insect: typeof insect;
44
- declare const animal_lion: typeof lion;
45
- declare const animal_rabbit: typeof rabbit;
46
- declare const animal_rodent: typeof rodent;
47
- declare const animal_snake: typeof snake;
48
- declare const animal_type: typeof type;
49
- declare namespace animal {
50
- export { animal_bear as bear, animal_bird as bird, animal_cat as cat, animal_cetacean as cetacean, animal_cow as cow, animal_crocodilia as crocodilia, animal_dog as dog, animal_fish as fish, animal_horse as horse, animal_insect as insect, animal_lion as lion, animal_rabbit as rabbit, animal_rodent as rodent, animal_snake as snake, animal_type as type };
51
- }
52
-
53
- export { animal as a, bear as b, bird as c, cat as d, cetacean as e, cow as f, crocodilia as g, dog as h, fish as i, horse as j, insect as k, lion as l, rodent as m, rabbit as r, snake as s, type as t };