struct-fakerator 2.7.9 → 2.9.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 (718) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +8 -8
  3. package/dist/config.cjs +51 -0
  4. package/dist/config.d.ts +1 -2
  5. package/dist/config.js +2 -19
  6. package/dist/config_scheme.cjs +95 -0
  7. package/dist/config_scheme.d.ts +7 -10
  8. package/dist/config_scheme.js +46 -17
  9. package/dist/create_config.cjs +110 -0
  10. package/dist/create_config.d.ts +9 -11
  11. package/dist/create_config.js +61 -18
  12. package/dist/create_config.test.d.ts +1 -2
  13. package/dist/create_generator_fn.cjs +168 -0
  14. package/dist/create_generator_fn.d.ts +9 -11
  15. package/dist/create_generator_fn.js +116 -20
  16. package/dist/create_generator_fn.test.d.ts +1 -2
  17. package/dist/generator_fn.cjs +54 -0
  18. package/dist/generator_fn.d.ts +1 -2
  19. package/dist/generator_fn.js +2 -21
  20. package/dist/index.cjs +107 -0
  21. package/dist/index.d.ts +5 -5
  22. package/dist/index.js +6 -43
  23. package/dist/type.cjs +18 -0
  24. package/dist/type.d.ts +9 -11
  25. package/dist/type.js +0 -1
  26. package/dist/utils/airline.cjs +46 -0
  27. package/dist/utils/airline.d.ts +14 -3
  28. package/dist/utils/airline.js +6 -14
  29. package/dist/utils/animal.cjs +94 -0
  30. package/dist/utils/animal.d.ts +30 -2
  31. package/dist/utils/animal.js +18 -38
  32. package/dist/utils/color.cjs +78 -0
  33. package/dist/utils/color.d.ts +41 -3
  34. package/dist/utils/color.js +14 -30
  35. package/dist/utils/commerce.cjs +66 -0
  36. package/dist/utils/commerce.d.ts +24 -2
  37. package/dist/utils/commerce.js +11 -24
  38. package/dist/utils/common.cjs +37 -0
  39. package/dist/utils/common.d.ts +2 -2
  40. package/dist/utils/common.js +3 -9
  41. package/dist/utils/company.cjs +70 -0
  42. package/dist/utils/company.d.ts +18 -2
  43. package/dist/utils/company.js +12 -26
  44. package/dist/utils/database.cjs +54 -0
  45. package/dist/utils/database.d.ts +10 -2
  46. package/dist/utils/database.js +8 -18
  47. package/dist/utils/datatype.cjs +38 -0
  48. package/dist/utils/datatype.d.ts +4 -2
  49. package/dist/utils/datatype.js +4 -10
  50. package/dist/utils/datetime.cjs +78 -0
  51. package/dist/utils/datetime.d.ts +59 -2
  52. package/dist/utils/datetime.js +14 -30
  53. package/dist/utils/finance.cjs +110 -0
  54. package/dist/utils/finance.d.ts +62 -3
  55. package/dist/utils/finance.js +22 -46
  56. package/dist/utils/food.cjs +70 -0
  57. package/dist/utils/food.d.ts +18 -2
  58. package/dist/utils/food.js +12 -26
  59. package/dist/utils/git.cjs +54 -0
  60. package/dist/utils/git.d.ts +18 -2
  61. package/dist/utils/git.js +8 -18
  62. package/dist/utils/hacker.cjs +58 -0
  63. package/dist/utils/hacker.d.ts +12 -2
  64. package/dist/utils/hacker.js +9 -20
  65. package/dist/utils/image.cjs +66 -0
  66. package/dist/utils/image.d.ts +40 -2
  67. package/dist/utils/image.js +11 -24
  68. package/dist/utils/index.cjs +136 -0
  69. package/dist/utils/index.d.ts +26 -28
  70. package/dist/utils/index.js +27 -109
  71. package/dist/utils/internet.cjs +114 -0
  72. package/dist/utils/internet.d.ts +77 -3
  73. package/dist/utils/internet.js +23 -48
  74. package/dist/utils/location.cjs +98 -0
  75. package/dist/utils/location.d.ts +56 -2
  76. package/dist/utils/location.js +19 -40
  77. package/dist/utils/lorem.cjs +70 -0
  78. package/dist/utils/lorem.d.ts +45 -2
  79. package/dist/utils/lorem.js +12 -26
  80. package/dist/utils/music.cjs +50 -0
  81. package/dist/utils/music.d.ts +8 -2
  82. package/dist/utils/music.js +7 -16
  83. package/dist/utils/number.cjs +58 -0
  84. package/dist/utils/number.d.ts +34 -2
  85. package/dist/utils/number.js +9 -20
  86. package/dist/utils/person.cjs +94 -0
  87. package/dist/utils/person.d.ts +34 -3
  88. package/dist/utils/person.js +18 -38
  89. package/dist/utils/phone.cjs +42 -0
  90. package/dist/utils/phone.d.ts +6 -2
  91. package/dist/utils/phone.js +5 -12
  92. package/dist/utils/science.cjs +42 -0
  93. package/dist/utils/science.d.ts +4 -3
  94. package/dist/utils/science.js +5 -12
  95. package/dist/utils/string.cjs +74 -0
  96. package/dist/utils/string.d.ts +69 -2
  97. package/dist/utils/string.js +13 -28
  98. package/dist/utils/system.cjs +82 -0
  99. package/dist/utils/system.d.ts +35 -2
  100. package/dist/utils/system.js +15 -32
  101. package/dist/utils/utils.cjs +39 -0
  102. package/dist/utils/utils.d.ts +2 -2
  103. package/dist/utils/utils.js +5 -9
  104. package/dist/utils/vehicle.cjs +70 -0
  105. package/dist/utils/vehicle.d.ts +18 -2
  106. package/dist/utils/vehicle.js +12 -26
  107. package/dist/utils/word.cjs +70 -0
  108. package/dist/utils/word.d.ts +18 -22
  109. package/dist/utils/word.js +12 -29
  110. package/package.json +27 -35
  111. package/biome.json +0 -27
  112. package/dist/airline-98MCzMN8.d.ts +0 -26
  113. package/dist/airline-BUwgrfsj.d.ts +0 -26
  114. package/dist/airline-C0ManYED.d.mts +0 -26
  115. package/dist/airline-CuAxOEYH.d.mts +0 -26
  116. package/dist/animal-BohQ7s0w.d.mts +0 -53
  117. package/dist/animal-arG64NM6.d.mts +0 -53
  118. package/dist/animal-erAZXs_d.d.ts +0 -53
  119. package/dist/animal-o8BFF7gd.d.ts +0 -53
  120. package/dist/chunk-25HDDMTE.js +0 -45
  121. package/dist/chunk-266JLHQ7.mjs +0 -27
  122. package/dist/chunk-266W7TLD.mjs +0 -45
  123. package/dist/chunk-2FTPTSHD.mjs +0 -1972
  124. package/dist/chunk-2HHTDZ5W.mjs +0 -27
  125. package/dist/chunk-2P6DPKAW.js +0 -35
  126. package/dist/chunk-2QPSWN3J.js +0 -24
  127. package/dist/chunk-2SF54GZN.mjs +0 -24
  128. package/dist/chunk-2UAN3WRZ.js +0 -51
  129. package/dist/chunk-2VTSGFBK.mjs +0 -56
  130. package/dist/chunk-2ZR6AR26.js +0 -24
  131. package/dist/chunk-3APOILUV.js +0 -81
  132. package/dist/chunk-3AXS7RA6.mjs +0 -18
  133. package/dist/chunk-3DIP4M5Y.mjs +0 -36
  134. package/dist/chunk-3E2B272L.js +0 -25
  135. package/dist/chunk-3FFGDXA5.mjs +0 -48
  136. package/dist/chunk-3HQMGDUF.js +0 -98
  137. package/dist/chunk-3KXIZTCT.mjs +0 -20
  138. package/dist/chunk-3MYH2PDS.js +0 -24
  139. package/dist/chunk-3P4RJMMV.js +0 -79
  140. package/dist/chunk-3PSJD6BF.js +0 -67
  141. package/dist/chunk-3SVV5GDL.js +0 -22
  142. package/dist/chunk-3U6BNHWG.mjs +0 -2040
  143. package/dist/chunk-3WINWLTB.js +0 -34
  144. package/dist/chunk-42EKB2FX.js +0 -74
  145. package/dist/chunk-44Q7WXPL.mjs +0 -30
  146. package/dist/chunk-474WFN7X.js +0 -33
  147. package/dist/chunk-4ESFUYHU.js +0 -48
  148. package/dist/chunk-4OB35J4Q.mjs +0 -151
  149. package/dist/chunk-4UGSTE5Q.js +0 -1968
  150. package/dist/chunk-4VNS5WPM.js +0 -42
  151. package/dist/chunk-4XEKUGKR.js +0 -35
  152. package/dist/chunk-4XQBQAPC.mjs +0 -33
  153. package/dist/chunk-52ZOIHJM.js +0 -26
  154. package/dist/chunk-55HSOHNN.js +0 -36
  155. package/dist/chunk-5A3HJWPX.mjs +0 -33
  156. package/dist/chunk-5KKLW4SD.js +0 -26
  157. package/dist/chunk-5LCWZUVP.mjs +0 -19
  158. package/dist/chunk-5M3DUBFV.mjs +0 -24
  159. package/dist/chunk-5NC3JFHS.mjs +0 -63
  160. package/dist/chunk-5PCIFPK7.js +0 -15721
  161. package/dist/chunk-5TG43IWT.js +0 -36
  162. package/dist/chunk-5UFZ4NET.mjs +0 -26
  163. package/dist/chunk-5VTJIH2Q.mjs +0 -63
  164. package/dist/chunk-5ZNSQDU5.js +0 -81
  165. package/dist/chunk-62MDIAG3.js +0 -19
  166. package/dist/chunk-62NUC6UZ.js +0 -51
  167. package/dist/chunk-6BWS3CLP.mjs +0 -16
  168. package/dist/chunk-6GXFVYK2.js +0 -18
  169. package/dist/chunk-6LNIYJMV.mjs +0 -21
  170. package/dist/chunk-6OOU3BX5.mjs +0 -35
  171. package/dist/chunk-6QXR4Q23.js +0 -43
  172. package/dist/chunk-6QZF75LH.js +0 -20
  173. package/dist/chunk-6TGTIMX2.mjs +0 -151
  174. package/dist/chunk-6UVWD65N.mjs +0 -63
  175. package/dist/chunk-73BBBL26.js +0 -49
  176. package/dist/chunk-7C2MCLYX.mjs +0 -15721
  177. package/dist/chunk-7IQW6MWT.mjs +0 -81
  178. package/dist/chunk-7IWAOHPW.mjs +0 -27
  179. package/dist/chunk-7LDYF5VW.js +0 -78
  180. package/dist/chunk-7POVLKQR.mjs +0 -20
  181. package/dist/chunk-7QCNINQB.js +0 -43
  182. package/dist/chunk-7RP7F74O.js +0 -49
  183. package/dist/chunk-7TMD372Q.mjs +0 -165
  184. package/dist/chunk-7UQSPUCL.mjs +0 -0
  185. package/dist/chunk-7V3T6MQ3.mjs +0 -21
  186. package/dist/chunk-7ZAVU2DI.mjs +0 -81
  187. package/dist/chunk-A4QVPMYT.js +0 -44
  188. package/dist/chunk-A5YXOL6G.mjs +0 -63
  189. package/dist/chunk-ABZZ2Y2O.mjs +0 -45
  190. package/dist/chunk-AH3KD37M.js +0 -45
  191. package/dist/chunk-AQWBYQGF.js +0 -54
  192. package/dist/chunk-AT4FPDTE.mjs +0 -51
  193. package/dist/chunk-AWKBY27N.js +0 -35
  194. package/dist/chunk-B2NENAKV.mjs +0 -34
  195. package/dist/chunk-B3RA7BAM.mjs +0 -30
  196. package/dist/chunk-B7MK7WHV.mjs +0 -21
  197. package/dist/chunk-BGE4WZH7.js +0 -27
  198. package/dist/chunk-BMQ2NETL.js +0 -63
  199. package/dist/chunk-BNJUSXEO.js +0 -27
  200. package/dist/chunk-BNUCXH6Q.js +0 -49
  201. package/dist/chunk-BS7IEV74.mjs +0 -1968
  202. package/dist/chunk-BVGE5IMC.js +0 -45
  203. package/dist/chunk-C3RGM3CB.js +0 -67
  204. package/dist/chunk-C6FQYK5T.js +0 -81
  205. package/dist/chunk-C6IEYVWV.mjs +0 -21
  206. package/dist/chunk-CC255UJD.mjs +0 -27
  207. package/dist/chunk-CK65OFQQ.mjs +0 -56
  208. package/dist/chunk-CKNDI3RH.js +0 -24
  209. package/dist/chunk-CRW5Q4VB.js +0 -30
  210. package/dist/chunk-CSOXFDKC.mjs +0 -42
  211. package/dist/chunk-D3DPNIYF.mjs +0 -36
  212. package/dist/chunk-D6QN54CO.js +0 -46
  213. package/dist/chunk-D74AUXZW.mjs +0 -35
  214. package/dist/chunk-DM5VFX6B.js +0 -17008
  215. package/dist/chunk-DN6VWFMI.js +0 -56
  216. package/dist/chunk-DONFLQME.js +0 -49
  217. package/dist/chunk-DQBTHPWE.js +0 -24
  218. package/dist/chunk-DSDX7NOV.mjs +0 -40
  219. package/dist/chunk-DX6NQK6H.js +0 -49
  220. package/dist/chunk-DXVB5THL.js +0 -36
  221. package/dist/chunk-DZCTAI2Q.js +0 -49
  222. package/dist/chunk-E3EZHXI2.mjs +0 -45
  223. package/dist/chunk-E3N3PWFI.js +0 -45
  224. package/dist/chunk-E7JW4TGQ.mjs +0 -49
  225. package/dist/chunk-ECTLN5SO.mjs +0 -63
  226. package/dist/chunk-EGCGEPYD.mjs +0 -24
  227. package/dist/chunk-ELK6OOE6.js +0 -55
  228. package/dist/chunk-EM67LVYX.mjs +0 -18
  229. package/dist/chunk-EPWKT75L.js +0 -63
  230. package/dist/chunk-ES6I4JEP.js +0 -24
  231. package/dist/chunk-ETS5PP3N.js +0 -42
  232. package/dist/chunk-EXLV2IRM.mjs +0 -26
  233. package/dist/chunk-EZFWJGGR.js +0 -28
  234. package/dist/chunk-F4NIEPKF.mjs +0 -48
  235. package/dist/chunk-F4WSUHUB.js +0 -27
  236. package/dist/chunk-F54WJZPR.mjs +0 -48
  237. package/dist/chunk-FDIHUTKO.mjs +0 -34
  238. package/dist/chunk-FG2O523S.js +0 -48
  239. package/dist/chunk-FGA73ALI.mjs +0 -45
  240. package/dist/chunk-FT5QWXEO.mjs +0 -21
  241. package/dist/chunk-FXTLAJTY.mjs +0 -74
  242. package/dist/chunk-G73JPAKW.mjs +0 -16831
  243. package/dist/chunk-GAOFL72U.mjs +0 -24
  244. package/dist/chunk-GF4PSVJ7.js +0 -81
  245. package/dist/chunk-GL777PKT.js +0 -21
  246. package/dist/chunk-GLK5ZVJB.js +0 -47
  247. package/dist/chunk-GMOMLI4W.js +0 -56
  248. package/dist/chunk-GNFZ7Z6V.mjs +0 -28
  249. package/dist/chunk-GNLLMLQX.js +0 -48
  250. package/dist/chunk-GNPP2GGZ.js +0 -16831
  251. package/dist/chunk-GR5EJCJ2.js +0 -24
  252. package/dist/chunk-GSFJYUDA.js +0 -63
  253. package/dist/chunk-GUIYTTMP.mjs +0 -24
  254. package/dist/chunk-HAIK2LXD.js +0 -63
  255. package/dist/chunk-HEHR64VN.js +0 -1972
  256. package/dist/chunk-HK4L636Y.mjs +0 -49
  257. package/dist/chunk-HLHMXAI2.js +0 -21
  258. package/dist/chunk-HMDAKHLF.js +0 -151
  259. package/dist/chunk-HMGGQ5ZJ.js +0 -45
  260. package/dist/chunk-HNCQJ5F3.js +0 -56
  261. package/dist/chunk-HVWSAC7Q.js +0 -74
  262. package/dist/chunk-I3BHVE4B.js +0 -43
  263. package/dist/chunk-IEYIHOHM.js +0 -57
  264. package/dist/chunk-IHDAERZ6.mjs +0 -61
  265. package/dist/chunk-IM5JST4B.js +0 -76
  266. package/dist/chunk-IN3R3ABZ.mjs +0 -45
  267. package/dist/chunk-IOLQKV4S.js +0 -51
  268. package/dist/chunk-IOXGSFEU.js +0 -20
  269. package/dist/chunk-IRHHL256.mjs +0 -36
  270. package/dist/chunk-IY4LBMAL.js +0 -78
  271. package/dist/chunk-IZVHA6FO.js +0 -45
  272. package/dist/chunk-JA2F23JA.mjs +0 -79
  273. package/dist/chunk-JC2FY5K5.mjs +0 -42
  274. package/dist/chunk-JFYN4RCQ.mjs +0 -24
  275. package/dist/chunk-JHNWL66I.mjs +0 -47
  276. package/dist/chunk-JIPBMHNL.mjs +0 -63
  277. package/dist/chunk-JIWCYW33.js +0 -35
  278. package/dist/chunk-JSZXNY5A.js +0 -33
  279. package/dist/chunk-JTURHVCR.mjs +0 -67
  280. package/dist/chunk-JUS3FQET.js +0 -63
  281. package/dist/chunk-JY2DLJQ7.js +0 -74
  282. package/dist/chunk-KB4QNLUX.js +0 -30
  283. package/dist/chunk-KDRX2A7A.mjs +0 -45
  284. package/dist/chunk-KDTNND32.js +0 -63
  285. package/dist/chunk-KESFLCJB.mjs +0 -57
  286. package/dist/chunk-KK4QURZV.mjs +0 -63
  287. package/dist/chunk-KKDNACGF.js +0 -78
  288. package/dist/chunk-KLYK2EDS.js +0 -18
  289. package/dist/chunk-KMAT3MEQ.mjs +0 -24
  290. package/dist/chunk-KMGBR4B7.mjs +0 -49
  291. package/dist/chunk-KO4BOJXG.mjs +0 -18
  292. package/dist/chunk-KSBJZ7PZ.mjs +0 -48
  293. package/dist/chunk-KUNWO6DB.js +0 -20
  294. package/dist/chunk-KVPPJDFE.mjs +0 -63
  295. package/dist/chunk-L55R55BM.mjs +0 -24
  296. package/dist/chunk-L5EOJC4C.mjs +0 -78
  297. package/dist/chunk-L63CILKL.js +0 -36
  298. package/dist/chunk-L7SUBSOS.mjs +0 -74
  299. package/dist/chunk-LCQV5ZXR.js +0 -63
  300. package/dist/chunk-LDVSCWU7.mjs +0 -51
  301. package/dist/chunk-LGYUIU5L.js +0 -33
  302. package/dist/chunk-LKLQIBRC.mjs +0 -18
  303. package/dist/chunk-LPLLITHD.mjs +0 -33
  304. package/dist/chunk-LSFOERXQ.js +0 -18
  305. package/dist/chunk-LSP4VVPM.mjs +0 -45
  306. package/dist/chunk-LYYFKB5U.mjs +0 -48
  307. package/dist/chunk-M2ERA63H.mjs +0 -20
  308. package/dist/chunk-M3JRMFX2.js +0 -36
  309. package/dist/chunk-M7SBPX3E.mjs +0 -45
  310. package/dist/chunk-MCHBNMZ7.js +0 -48
  311. package/dist/chunk-MHBVLDC4.js +0 -30
  312. package/dist/chunk-MJWNNESP.js +0 -57
  313. package/dist/chunk-MKTV5ZCC.mjs +0 -30
  314. package/dist/chunk-MLJAHDYX.mjs +0 -167
  315. package/dist/chunk-MNRDBDJD.js +0 -33
  316. package/dist/chunk-MTNLYYS2.mjs +0 -51
  317. package/dist/chunk-MYNHKOPJ.js +0 -34
  318. package/dist/chunk-N2ZA6SQB.mjs +0 -45
  319. package/dist/chunk-NBUVTD24.js +0 -24
  320. package/dist/chunk-NEFBZJ7G.mjs +0 -42
  321. package/dist/chunk-NGJNM6BX.mjs +0 -48
  322. package/dist/chunk-NO44Z2RV.mjs +0 -55
  323. package/dist/chunk-NOD5QLN5.js +0 -40
  324. package/dist/chunk-NP7ZKTAA.js +0 -36
  325. package/dist/chunk-NPYKAZ5O.mjs +0 -42
  326. package/dist/chunk-NWVKBRLA.js +0 -30
  327. package/dist/chunk-O73LDQID.mjs +0 -57
  328. package/dist/chunk-OAPPDES4.js +0 -51
  329. package/dist/chunk-OCKZOACK.js +0 -24
  330. package/dist/chunk-OETKBS7R.mjs +0 -63
  331. package/dist/chunk-OFMBEI6Y.js +0 -20
  332. package/dist/chunk-OJRNPQVE.js +0 -45
  333. package/dist/chunk-OKDN5R6M.mjs +0 -78
  334. package/dist/chunk-OLSCXZ3D.mjs +0 -98
  335. package/dist/chunk-OTDJMFZE.js +0 -36
  336. package/dist/chunk-OYP22DDC.mjs +0 -31
  337. package/dist/chunk-OZ5VJVBQ.js +0 -21
  338. package/dist/chunk-OZ7Y3D4Z.js +0 -48
  339. package/dist/chunk-OZU24BQP.mjs +0 -81
  340. package/dist/chunk-P2NEBQQH.mjs +0 -78
  341. package/dist/chunk-PBOBMHB3.js +0 -45
  342. package/dist/chunk-PECDKT6F.js +0 -76
  343. package/dist/chunk-PEMTSFQT.mjs +0 -36
  344. package/dist/chunk-PFTS7XQK.js +0 -27
  345. package/dist/chunk-PFVCJYEK.js +0 -46
  346. package/dist/chunk-PLNNO4GL.js +0 -36
  347. package/dist/chunk-PPQIZT6A.mjs +0 -48
  348. package/dist/chunk-PS673ZMG.mjs +0 -78
  349. package/dist/chunk-PSTZXVEM.mjs +0 -45
  350. package/dist/chunk-PXVILWPC.js +0 -51
  351. package/dist/chunk-PXXIPMA2.mjs +0 -17567
  352. package/dist/chunk-PYIUSFN2.js +0 -48
  353. package/dist/chunk-Q4BXZB6O.mjs +0 -35
  354. package/dist/chunk-Q6CVTFPU.mjs +0 -2022
  355. package/dist/chunk-Q7THO24V.js +0 -45
  356. package/dist/chunk-QEVQSGOW.mjs +0 -49
  357. package/dist/chunk-QFG2B4XU.js +0 -35
  358. package/dist/chunk-QH2RT36U.js +0 -57
  359. package/dist/chunk-QHW2YYKY.js +0 -45
  360. package/dist/chunk-QMNACCJG.mjs +0 -30
  361. package/dist/chunk-QN2KYEUJ.js +0 -28
  362. package/dist/chunk-QOATILWS.mjs +0 -48
  363. package/dist/chunk-QQWZ56UO.js +0 -33
  364. package/dist/chunk-QTT2TUDM.js +0 -165
  365. package/dist/chunk-QZQ32UPU.mjs +0 -28
  366. package/dist/chunk-R3MBRFOY.js +0 -22
  367. package/dist/chunk-R5U7XKVJ.js +0 -16
  368. package/dist/chunk-R7ZZJULR.js +0 -61
  369. package/dist/chunk-RA35MXTT.mjs +0 -51
  370. package/dist/chunk-RCDDW7NN.js +0 -36
  371. package/dist/chunk-RDATYKAG.mjs +0 -58
  372. package/dist/chunk-RDMAE6F2.js +0 -17567
  373. package/dist/chunk-RFTRP37B.mjs +0 -74
  374. package/dist/chunk-RIOEYYMH.mjs +0 -30
  375. package/dist/chunk-RJPUHGKC.mjs +0 -54
  376. package/dist/chunk-RM7GMMWN.mjs +0 -49
  377. package/dist/chunk-ROM4ZH2A.js +0 -56
  378. package/dist/chunk-RTENULN5.mjs +0 -36
  379. package/dist/chunk-RUTM5ENW.js +0 -57
  380. package/dist/chunk-RUUOAMRF.mjs +0 -43
  381. package/dist/chunk-RW4IZD3J.js +0 -74
  382. package/dist/chunk-RWSXJDFQ.mjs +0 -57
  383. package/dist/chunk-S2AEEWWW.mjs +0 -36
  384. package/dist/chunk-SAYLPMKP.js +0 -74
  385. package/dist/chunk-SDPCOC7O.mjs +0 -76
  386. package/dist/chunk-SEUDYVHA.js +0 -45
  387. package/dist/chunk-SMIDTCUZ.mjs +0 -56
  388. package/dist/chunk-SN2ALAEI.mjs +0 -36
  389. package/dist/chunk-SN4QTD6R.js +0 -1
  390. package/dist/chunk-SOFVWH6A.js +0 -56
  391. package/dist/chunk-SSFS7U3T.mjs +0 -72
  392. package/dist/chunk-SSZ5GGDT.js +0 -45
  393. package/dist/chunk-STKSA23M.mjs +0 -33
  394. package/dist/chunk-SVHWBNOB.mjs +0 -61
  395. package/dist/chunk-SVMTK42D.mjs +0 -48
  396. package/dist/chunk-SYIPILT6.mjs +0 -35
  397. package/dist/chunk-T4IVAGFU.mjs +0 -48
  398. package/dist/chunk-TKS2PTMF.mjs +0 -18
  399. package/dist/chunk-TLH73HQN.js +0 -63
  400. package/dist/chunk-TQIJQZBP.js +0 -57
  401. package/dist/chunk-TQTDHXR6.mjs +0 -22
  402. package/dist/chunk-TSDTKUIT.mjs +0 -151
  403. package/dist/chunk-TTPRXCNS.mjs +0 -46
  404. package/dist/chunk-TYWXW3FQ.mjs +0 -46
  405. package/dist/chunk-TZ2RKEBF.js +0 -2040
  406. package/dist/chunk-U3EACZZ3.js +0 -18
  407. package/dist/chunk-U3TS432W.js +0 -48
  408. package/dist/chunk-U634RJNK.js +0 -36
  409. package/dist/chunk-U7MLTDS4.js +0 -167
  410. package/dist/chunk-UCRPFQYY.js +0 -48
  411. package/dist/chunk-UEXFND2J.mjs +0 -56
  412. package/dist/chunk-UIYW7U2O.js +0 -28
  413. package/dist/chunk-UJ5Q7MZB.js +0 -78
  414. package/dist/chunk-UOSN6FPU.js +0 -42
  415. package/dist/chunk-UOY5QUAW.js +0 -63
  416. package/dist/chunk-UP3FJ7EK.mjs +0 -44
  417. package/dist/chunk-UQYEFGMG.mjs +0 -43
  418. package/dist/chunk-URX5VRVB.js +0 -24
  419. package/dist/chunk-USLYTOPD.mjs +0 -41
  420. package/dist/chunk-UUIIGFUZ.js +0 -33
  421. package/dist/chunk-UX7CIOBD.js +0 -61
  422. package/dist/chunk-V2AWKRQI.js +0 -26
  423. package/dist/chunk-V4JFB4H6.mjs +0 -45
  424. package/dist/chunk-V4P2FTIC.js +0 -72
  425. package/dist/chunk-VE3Q5LC3.mjs +0 -26
  426. package/dist/chunk-VKKQV6UO.js +0 -42
  427. package/dist/chunk-VOMHZHCC.js +0 -21
  428. package/dist/chunk-VTSJ33HJ.js +0 -18
  429. package/dist/chunk-VVELSEXL.mjs +0 -27
  430. package/dist/chunk-VX2IFBCP.mjs +0 -17008
  431. package/dist/chunk-VX346ARA.js +0 -42
  432. package/dist/chunk-VYV7BUJR.js +0 -42
  433. package/dist/chunk-W4CBCFMS.mjs +0 -36
  434. package/dist/chunk-W6QSJNDJ.js +0 -58
  435. package/dist/chunk-WDFGFSCS.js +0 -63
  436. package/dist/chunk-WGRAINAP.mjs +0 -43
  437. package/dist/chunk-WH4MHYUQ.mjs +0 -33
  438. package/dist/chunk-WJ6C635R.mjs +0 -45
  439. package/dist/chunk-WSYHZP5C.mjs +0 -28
  440. package/dist/chunk-X5WN73EF.js +0 -48
  441. package/dist/chunk-X7YFEBIL.mjs +0 -28
  442. package/dist/chunk-XB5AI72P.mjs +0 -24
  443. package/dist/chunk-XCCBDMTZ.mjs +0 -22
  444. package/dist/chunk-XG6RUZSI.mjs +0 -16
  445. package/dist/chunk-XGB3TDIC.mjs +0 -42
  446. package/dist/chunk-XI5L2ENL.js +0 -28
  447. package/dist/chunk-XIROUDIK.js +0 -151
  448. package/dist/chunk-XJ3B37LJ.js +0 -45
  449. package/dist/chunk-XJGSUINR.mjs +0 -24
  450. package/dist/chunk-XKWYGGIM.mjs +0 -36
  451. package/dist/chunk-XL5V4E3Z.js +0 -16
  452. package/dist/chunk-XMR5DWYS.mjs +0 -74
  453. package/dist/chunk-XN5RU4UY.js +0 -27
  454. package/dist/chunk-XR64DI5O.js +0 -31
  455. package/dist/chunk-XUZOVQYC.mjs +0 -42
  456. package/dist/chunk-XVQOUXV6.js +0 -48
  457. package/dist/chunk-XYNVAWSB.mjs +0 -45
  458. package/dist/chunk-Y2G3CY4Q.mjs +0 -51
  459. package/dist/chunk-YHZKCAK6.mjs +0 -49
  460. package/dist/chunk-YJXRZ5WX.mjs +0 -78
  461. package/dist/chunk-YNT5L5UH.js +0 -78
  462. package/dist/chunk-YRB3F2AG.mjs +0 -81
  463. package/dist/chunk-YRRALMO4.mjs +0 -36
  464. package/dist/chunk-YUFVOYYX.mjs +0 -57
  465. package/dist/chunk-YV3HYBCX.js +0 -45
  466. package/dist/chunk-YVASGALV.js +0 -81
  467. package/dist/chunk-YWFUY5A4.js +0 -30
  468. package/dist/chunk-YYSJWYK3.js +0 -21
  469. package/dist/chunk-YZNZHRY3.mjs +0 -81
  470. package/dist/chunk-Z46HCVNZ.js +0 -151
  471. package/dist/chunk-Z5HPFZ65.mjs +0 -35
  472. package/dist/chunk-ZADIRLZW.mjs +0 -56
  473. package/dist/chunk-ZAU43ZDI.mjs +0 -74
  474. package/dist/chunk-ZBU5LSC3.mjs +0 -45
  475. package/dist/chunk-ZDV7FI2F.js +0 -45
  476. package/dist/chunk-ZKVLWCGR.mjs +0 -63
  477. package/dist/chunk-ZN3MHVES.mjs +0 -57
  478. package/dist/chunk-ZPQ6LVKQ.mjs +0 -20
  479. package/dist/chunk-ZQA42PYM.mjs +0 -67
  480. package/dist/chunk-ZQYJPU4U.mjs +0 -76
  481. package/dist/chunk-ZSBGAX6X.js +0 -2022
  482. package/dist/chunk-ZT2QP4MD.mjs +0 -25
  483. package/dist/chunk-ZTUCFJLM.mjs +0 -33
  484. package/dist/chunk-ZWLHVT5O.js +0 -41
  485. package/dist/chunk-ZXWWD74E.mjs +0 -45
  486. package/dist/color-BT6BF8oV.d.mts +0 -61
  487. package/dist/color-BmTZnKiW.d.mts +0 -61
  488. package/dist/color-WFinq_Y4.d.ts +0 -61
  489. package/dist/color-lBH29suB.d.ts +0 -61
  490. package/dist/commerce-BqVjXEhQ.d.mts +0 -40
  491. package/dist/commerce-Ch71_dd2.d.ts +0 -40
  492. package/dist/commerce-IGFkOXjQ.d.mts +0 -40
  493. package/dist/commerce-mdOpchjx.d.ts +0 -40
  494. package/dist/common-CbuXAeQ-.d.mts +0 -11
  495. package/dist/common-IR_KozaJ.d.mts +0 -11
  496. package/dist/common-Kp8LaAzK.d.ts +0 -11
  497. package/dist/common-t-ZQebCq.d.ts +0 -11
  498. package/dist/company---O1IwYo.d.ts +0 -35
  499. package/dist/company-C3EU1J7k.d.ts +0 -35
  500. package/dist/company-D7Cc_hsx.d.mts +0 -35
  501. package/dist/company-cR_0hm6U.d.mts +0 -35
  502. package/dist/config-BTjogu5M.d.ts +0 -7
  503. package/dist/config-C1N2Brw-.d.mts +0 -7
  504. package/dist/config.d.mts +0 -2
  505. package/dist/config.mjs +0 -19
  506. package/dist/config_scheme.d.mts +0 -32
  507. package/dist/config_scheme.mjs +0 -17
  508. package/dist/create_config.d.mts +0 -58
  509. package/dist/create_config.mjs +0 -18
  510. package/dist/create_config.test.d.mts +0 -2
  511. package/dist/create_config.test.js +0 -63
  512. package/dist/create_config.test.mjs +0 -63
  513. package/dist/create_generator_fn.d.mts +0 -12
  514. package/dist/create_generator_fn.mjs +0 -20
  515. package/dist/create_generator_fn.test.d.mts +0 -2
  516. package/dist/create_generator_fn.test.js +0 -200
  517. package/dist/create_generator_fn.test.mjs +0 -200
  518. package/dist/database-B8Wr1oXH.d.mts +0 -23
  519. package/dist/database-DV9wgnca.d.ts +0 -23
  520. package/dist/database-Dnsy3cQb.d.ts +0 -23
  521. package/dist/database-UzO1Lwec.d.mts +0 -23
  522. package/dist/datatype-C92TZLxo.d.ts +0 -13
  523. package/dist/datatype-CAu_sc1g.d.ts +0 -13
  524. package/dist/datatype-DZjmP0fA.d.mts +0 -13
  525. package/dist/datatype-gjFHrdMj.d.mts +0 -13
  526. package/dist/datetime-BDgsnqq_.d.mts +0 -78
  527. package/dist/datetime-BkidbR1O.d.ts +0 -78
  528. package/dist/datetime-CSUpnUXU.d.ts +0 -78
  529. package/dist/datetime-dnPA_lnt.d.mts +0 -78
  530. package/dist/finance-BZEmlfNQ.d.mts +0 -90
  531. package/dist/finance-Cn3DFbX4.d.ts +0 -90
  532. package/dist/finance-CstKW1nH.d.mts +0 -90
  533. package/dist/finance-gj0fiEmf.d.ts +0 -90
  534. package/dist/food-CInj1GX2.d.ts +0 -35
  535. package/dist/food-CfxZX81O.d.mts +0 -35
  536. package/dist/food-Dk3-40CY.d.mts +0 -35
  537. package/dist/food-tr11e_Qp.d.ts +0 -35
  538. package/dist/generator_fn-CJDbnCZl.d.mts +0 -7
  539. package/dist/generator_fn-D-npAfnC.d.ts +0 -7
  540. package/dist/generator_fn.d.mts +0 -2
  541. package/dist/generator_fn.mjs +0 -21
  542. package/dist/git-BHL1ppL4.d.ts +0 -31
  543. package/dist/git-DoCI9ZYT.d.ts +0 -31
  544. package/dist/git-Feo1ntKa.d.mts +0 -31
  545. package/dist/git-w0nznSjX.d.mts +0 -31
  546. package/dist/hacker-DL7pR6JO.d.ts +0 -26
  547. package/dist/hacker-FcQXZGtz.d.mts +0 -26
  548. package/dist/hacker-X3zBTMoE.d.ts +0 -26
  549. package/dist/hacker-mGVIO_wL.d.mts +0 -26
  550. package/dist/image-B5OPCNhD.d.mts +0 -56
  551. package/dist/image-BeZbZlyo.d.ts +0 -56
  552. package/dist/image-IyGCgqNf.d.ts +0 -56
  553. package/dist/image-govZ7HjA.d.mts +0 -56
  554. package/dist/index.d.mts +0 -5
  555. package/dist/index.mjs +0 -43
  556. package/dist/internet-BWBjFZ1E.d.mts +0 -101
  557. package/dist/internet-BukCBMX-.d.ts +0 -106
  558. package/dist/internet-C2ElurWb.d.mts +0 -106
  559. package/dist/internet-CH_7YDHs.d.mts +0 -106
  560. package/dist/internet-CJEETk0v.d.mts +0 -101
  561. package/dist/internet-DLYaMWtd.d.ts +0 -106
  562. package/dist/internet-WmWuV39U.d.ts +0 -101
  563. package/dist/internet-jHHnqVJG.d.ts +0 -101
  564. package/dist/location-BIZ-KsaI.d.ts +0 -80
  565. package/dist/location-CTA_Bq7w.d.mts +0 -80
  566. package/dist/location-CsVekxIU.d.ts +0 -80
  567. package/dist/location-WU_nRdjx.d.mts +0 -80
  568. package/dist/lorem-BE4n3dVs.d.mts +0 -62
  569. package/dist/lorem-Btv0fltY.d.ts +0 -62
  570. package/dist/lorem-OlHaVntu.d.mts +0 -62
  571. package/dist/lorem-yMyLb-d-.d.ts +0 -62
  572. package/dist/magic-string.es-2DLPM6Q3.js +0 -1299
  573. package/dist/magic-string.es-NHTKQXSF.mjs +0 -1299
  574. package/dist/magic-string.es-PQN52XPX.js +0 -1288
  575. package/dist/magic-string.es-X3ME2TR2.mjs +0 -1288
  576. package/dist/music-CQ3lnDvg.d.mts +0 -20
  577. package/dist/music-D3zj5REe.d.ts +0 -20
  578. package/dist/music-P8XZ4JSO.d.ts +0 -20
  579. package/dist/music-vcWm9dzu.d.mts +0 -20
  580. package/dist/number-BfwwKvTJ.d.mts +0 -48
  581. package/dist/number-Bj9ydAOH.d.ts +0 -47
  582. package/dist/number-D5QmTRsK.d.ts +0 -48
  583. package/dist/number-D9Wn_qjS.d.mts +0 -47
  584. package/dist/number-DomDs-l5.d.mts +0 -47
  585. package/dist/number-DvzbKHZR.d.ts +0 -47
  586. package/dist/person-DXne2mKX.d.ts +0 -58
  587. package/dist/person-LLleVozS.d.ts +0 -58
  588. package/dist/person-OKRyYmeX.d.mts +0 -58
  589. package/dist/person-Si_vy67g.d.mts +0 -58
  590. package/dist/phone-Bc8UXPF3.d.ts +0 -16
  591. package/dist/phone-Cbxvm_Qv.d.ts +0 -16
  592. package/dist/phone-QbHXAqVF.d.mts +0 -16
  593. package/dist/phone-g4FDs50M.d.mts +0 -16
  594. package/dist/science-BX8WhoEY.d.ts +0 -15
  595. package/dist/science-BfA9sVXz.d.mts +0 -15
  596. package/dist/science-BgXAZ3YR.d.ts +0 -15
  597. package/dist/science-CSN41yUZ.d.mts +0 -15
  598. package/dist/string-9w976kVk.d.mts +0 -87
  599. package/dist/string-Cm9TczI6.d.ts +0 -87
  600. package/dist/string-DGScZrrP.d.mts +0 -87
  601. package/dist/string-Do4vhsl0.d.ts +0 -87
  602. package/dist/system-BpxbduIr.d.ts +0 -55
  603. package/dist/system-Cy0e05Cr.d.mts +0 -55
  604. package/dist/system-DOyHjHxs.d.mts +0 -55
  605. package/dist/system-DipW6DYb.d.ts +0 -55
  606. package/dist/system-EuG0S2Xy.d.mts +0 -55
  607. package/dist/system-ZV2S9Qw2.d.ts +0 -55
  608. package/dist/test.d.mts +0 -2
  609. package/dist/test.d.ts +0 -2
  610. package/dist/test.js +0 -15
  611. package/dist/test.mjs +0 -15
  612. package/dist/type-C8Ny1fB6.d.mts +0 -33
  613. package/dist/type-C8Ny1fB6.d.ts +0 -33
  614. package/dist/type.d.mts +0 -93
  615. package/dist/type.mjs +0 -1
  616. package/dist/utils/airline.d.mts +0 -3
  617. package/dist/utils/airline.mjs +0 -14
  618. package/dist/utils/animal.d.mts +0 -2
  619. package/dist/utils/animal.mjs +0 -38
  620. package/dist/utils/color.d.mts +0 -3
  621. package/dist/utils/color.mjs +0 -30
  622. package/dist/utils/commerce.d.mts +0 -2
  623. package/dist/utils/commerce.mjs +0 -24
  624. package/dist/utils/common.d.mts +0 -2
  625. package/dist/utils/common.mjs +0 -9
  626. package/dist/utils/company.d.mts +0 -2
  627. package/dist/utils/company.mjs +0 -26
  628. package/dist/utils/database.d.mts +0 -2
  629. package/dist/utils/database.mjs +0 -18
  630. package/dist/utils/datatype.d.mts +0 -2
  631. package/dist/utils/datatype.mjs +0 -10
  632. package/dist/utils/datetime.d.mts +0 -2
  633. package/dist/utils/datetime.mjs +0 -30
  634. package/dist/utils/finance.d.mts +0 -3
  635. package/dist/utils/finance.mjs +0 -46
  636. package/dist/utils/food.d.mts +0 -2
  637. package/dist/utils/food.mjs +0 -26
  638. package/dist/utils/git.d.mts +0 -2
  639. package/dist/utils/git.mjs +0 -18
  640. package/dist/utils/hacker.d.mts +0 -2
  641. package/dist/utils/hacker.mjs +0 -20
  642. package/dist/utils/image.d.mts +0 -2
  643. package/dist/utils/image.mjs +0 -24
  644. package/dist/utils/index.d.mts +0 -28
  645. package/dist/utils/index.mjs +0 -109
  646. package/dist/utils/internet.d.mts +0 -3
  647. package/dist/utils/internet.mjs +0 -48
  648. package/dist/utils/location.d.mts +0 -2
  649. package/dist/utils/location.mjs +0 -40
  650. package/dist/utils/lorem.d.mts +0 -2
  651. package/dist/utils/lorem.mjs +0 -26
  652. package/dist/utils/music.d.mts +0 -2
  653. package/dist/utils/music.mjs +0 -16
  654. package/dist/utils/number.d.mts +0 -2
  655. package/dist/utils/number.mjs +0 -20
  656. package/dist/utils/person.d.mts +0 -3
  657. package/dist/utils/person.mjs +0 -38
  658. package/dist/utils/phone.d.mts +0 -2
  659. package/dist/utils/phone.mjs +0 -12
  660. package/dist/utils/science.d.mts +0 -3
  661. package/dist/utils/science.mjs +0 -12
  662. package/dist/utils/string.d.mts +0 -2
  663. package/dist/utils/string.mjs +0 -28
  664. package/dist/utils/system.d.mts +0 -2
  665. package/dist/utils/system.mjs +0 -32
  666. package/dist/utils/utils.d.mts +0 -2
  667. package/dist/utils/utils.mjs +0 -9
  668. package/dist/utils/vehicle.d.mts +0 -2
  669. package/dist/utils/vehicle.mjs +0 -26
  670. package/dist/utils/word.d.mts +0 -75
  671. package/dist/utils/word.mjs +0 -29
  672. package/dist/utils-BImnOpvp.d.ts +0 -10
  673. package/dist/utils-BiDlGzTl.d.mts +0 -10
  674. package/dist/utils-DinJc3Cq.d.ts +0 -10
  675. package/dist/utils-zJKwaMUY.d.mts +0 -10
  676. package/dist/vehicle-D4yBDYMc.d.mts +0 -35
  677. package/dist/vehicle-DmBDda98.d.mts +0 -35
  678. package/dist/vehicle-Ufz4AoXu.d.ts +0 -35
  679. package/dist/vehicle-rnBz1Za2.d.ts +0 -35
  680. package/src/config.ts +0 -8
  681. package/src/config_scheme.ts +0 -41
  682. package/src/create_config.test.ts +0 -71
  683. package/src/create_config.ts +0 -170
  684. package/src/create_generator_fn.test.ts +0 -229
  685. package/src/create_generator_fn.ts +0 -343
  686. package/src/generator_fn.ts +0 -9
  687. package/src/index.ts +0 -5
  688. package/src/type.ts +0 -167
  689. package/src/utils/airline.ts +0 -11
  690. package/src/utils/animal.ts +0 -47
  691. package/src/utils/color.ts +0 -41
  692. package/src/utils/commerce.ts +0 -32
  693. package/src/utils/common.ts +0 -4
  694. package/src/utils/company.ts +0 -33
  695. package/src/utils/database.ts +0 -19
  696. package/src/utils/datatype.ts +0 -5
  697. package/src/utils/datetime.ts +0 -35
  698. package/src/utils/finance.ts +0 -65
  699. package/src/utils/food.ts +0 -29
  700. package/src/utils/git.ts +0 -17
  701. package/src/utils/hacker.ts +0 -20
  702. package/src/utils/image.ts +0 -26
  703. package/src/utils/index.ts +0 -27
  704. package/src/utils/internet.ts +0 -62
  705. package/src/utils/location.ts +0 -58
  706. package/src/utils/lorem.ts +0 -29
  707. package/src/utils/music.ts +0 -14
  708. package/src/utils/number.ts +0 -20
  709. package/src/utils/person.ts +0 -47
  710. package/src/utils/phone.ts +0 -8
  711. package/src/utils/science.ts +0 -8
  712. package/src/utils/string.ts +0 -32
  713. package/src/utils/system.ts +0 -40
  714. package/src/utils/utils.ts +0 -8
  715. package/src/utils/vehicle.ts +0 -29
  716. package/src/utils/word.ts +0 -29
  717. package/tsconfig.json +0 -17
  718. package/tsup.config.ts +0 -8
@@ -1,200 +0,0 @@
1
- import {
2
- describe,
3
- globalExpect,
4
- test
5
- } from "./chunk-VX2IFBCP.mjs";
6
- import {
7
- createArrayConfig,
8
- createObjectConfig,
9
- createTupleConfig,
10
- createValueConfig
11
- } from "./chunk-ZQA42PYM.mjs";
12
- import {
13
- createArrayGenerator,
14
- createBoundedSeriesGenerator,
15
- createGeneratorByType,
16
- createObjectGenerator,
17
- createSelectionGenerator,
18
- createTupleGenerator,
19
- createValueGenerator
20
- } from "./chunk-7TMD372Q.mjs";
21
- import "./chunk-USLYTOPD.mjs";
22
- import "./chunk-XGB3TDIC.mjs";
23
-
24
- // src/create_generator_fn.test.ts
25
- describe("createValueGenerator", () => {
26
- test("normal", () => {
27
- const value = createValueGenerator({
28
- type: "value",
29
- generateFn: () => 50
30
- })();
31
- globalExpect(value).toBe(50);
32
- const value2 = createValueGenerator({
33
- type: "value",
34
- generateFn: () => ({ age: 100, name: "hello" })
35
- })();
36
- globalExpect(value2).toEqual({ age: 100, name: "hello" });
37
- });
38
- });
39
- describe("createSelectionGenerator", () => {
40
- test("normal", () => {
41
- const value = createSelectionGenerator({
42
- type: "select",
43
- items: [1]
44
- })();
45
- globalExpect(value).toBe(1);
46
- const value2 = createSelectionGenerator({
47
- type: "select",
48
- items: [30, 30, 30, 30]
49
- })();
50
- globalExpect(value2).toBe(30);
51
- });
52
- });
53
- describe("createArrayGenerator", () => {
54
- test("normal", () => {
55
- const list = createArrayGenerator({
56
- type: "arr",
57
- len: 5,
58
- item: { type: "value", generateFn: () => ({ age: 42 }) }
59
- })();
60
- globalExpect(list).toEqual([
61
- { age: 42 },
62
- { age: 42 },
63
- { age: 42 },
64
- { age: 42 },
65
- { age: 42 }
66
- ]);
67
- });
68
- test("with next function", () => {
69
- const list = createArrayGenerator(
70
- createArrayConfig(
71
- createValueConfig(() => 100),
72
- 5,
73
- (prev) => prev + 1
74
- )
75
- )();
76
- globalExpect(list).toEqual([101, 102, 103, 104, 105]);
77
- });
78
- });
79
- describe("createTupleGenerator", () => {
80
- test("normal", () => {
81
- const tuple = createTupleGenerator(
82
- createTupleConfig([
83
- createValueConfig(() => 225),
84
- createValueConfig(() => "hello world")
85
- ])
86
- )();
87
- globalExpect(tuple.length).toBe(2);
88
- const [num, str] = tuple;
89
- globalExpect(num).toBe(225);
90
- globalExpect(str).toBe("hello world");
91
- });
92
- });
93
- describe("createObjectGenerator", () => {
94
- test("normal", () => {
95
- const obj = createObjectGenerator({
96
- type: "obj",
97
- content: {
98
- name: { type: "value", generateFn: () => "John" },
99
- age: { type: "value", generateFn: () => 50 },
100
- location: { type: "value", generateFn: () => "Taiwan" }
101
- }
102
- })();
103
- globalExpect(obj).toEqual({ name: "John", age: 50, location: "Taiwan" });
104
- });
105
- test("transformer function", () => {
106
- const obj = createObjectGenerator(
107
- createObjectConfig(
108
- {
109
- name: createValueConfig(() => "John"),
110
- age: createValueConfig(() => 50),
111
- location: createValueConfig(() => "Taiwan")
112
- },
113
- ({ age }) => age + 50
114
- )
115
- )();
116
- globalExpect(obj).toEqual(100);
117
- });
118
- });
119
- describe("createBoundedSeriesGenerator", () => {
120
- test("normal", () => {
121
- const upperLimit = 1.1;
122
- const lowerLimit = 0.9;
123
- const initValue = 100;
124
- const count = 100;
125
- const list = createBoundedSeriesGenerator({
126
- type: "bounded_series",
127
- upperLimit,
128
- lowerLimit,
129
- createInitValue: () => initValue,
130
- count
131
- })();
132
- for (let i = 0; i < count; i++) {
133
- const value = list[i];
134
- if (i === 0) {
135
- const ratio2 = value / initValue;
136
- globalExpect(ratio2).toBeLessThanOrEqual(upperLimit);
137
- globalExpect(ratio2).toBeGreaterThanOrEqual(lowerLimit);
138
- continue;
139
- }
140
- const prevValue = list[i - 1];
141
- const ratio = value / prevValue;
142
- globalExpect(ratio).toBeLessThanOrEqual(upperLimit);
143
- globalExpect(ratio).toBeGreaterThanOrEqual(lowerLimit);
144
- }
145
- });
146
- });
147
- describe("createGeneratorByType", () => {
148
- test("normal", () => {
149
- const config = createObjectConfig({
150
- name: createValueConfig(() => "John"),
151
- age: createValueConfig(() => 50),
152
- locations: createArrayConfig(
153
- createValueConfig(() => "Taiwan"),
154
- 5
155
- )
156
- });
157
- const result = createGeneratorByType(config)();
158
- globalExpect(result).toEqual({
159
- name: "John",
160
- age: 50,
161
- locations: ["Taiwan", "Taiwan", "Taiwan", "Taiwan", "Taiwan"]
162
- });
163
- });
164
- test("test error config", () => {
165
- const config = {
166
- type: "obj",
167
- content: {
168
- name: {
169
- type: "123",
170
- generateFn: "John"
171
- }
172
- }
173
- };
174
- globalExpect(() => createGeneratorByType(config)).toThrowError();
175
- });
176
- test("with custom type match", () => {
177
- const createIntValueConfig = (option) => createValueConfig(() => 50);
178
- const createEmailValueConfig = (option) => createValueConfig(() => "xxx@example.com");
179
- const customTypeMatch = (config2) => {
180
- if (config2.type === "int") {
181
- return createIntValueConfig(config2.option);
182
- }
183
- if (config2.type === "email") {
184
- return createEmailValueConfig(config2.option);
185
- }
186
- throw Error("error");
187
- };
188
- const config = createObjectConfig({
189
- name: { type: "value", generateFn: () => "John" },
190
- age: { type: "int" },
191
- email: { type: "email" }
192
- });
193
- const result = createGeneratorByType(config, customTypeMatch)();
194
- globalExpect(result).toEqual({
195
- name: "John",
196
- age: 50,
197
- email: "xxx@example.com"
198
- });
199
- });
200
- });
@@ -1,23 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
2
-
3
- /** Database [collation](https://fakerjs.dev/api/database.html#collation) */
4
- declare const collation: () => ValueConfig<string>;
5
- /** Database [column](https://fakerjs.dev/api/database.html#column) */
6
- declare const column: () => ValueConfig<string>;
7
- /** Database [engine](https://fakerjs.dev/api/database.html#engine) */
8
- declare const engine: () => ValueConfig<string>;
9
- /** Database [mongodbObjectId](https://fakerjs.dev/api/database.html#mongodbObjectId) */
10
- declare const mongodbObjectId: () => ValueConfig<string>;
11
- /** Database [type](https://fakerjs.dev/api/database.html#type) */
12
- declare const type: () => ValueConfig<string>;
13
-
14
- declare const database_collation: typeof collation;
15
- declare const database_column: typeof column;
16
- declare const database_engine: typeof engine;
17
- declare const database_mongodbObjectId: typeof mongodbObjectId;
18
- declare const database_type: typeof type;
19
- declare namespace database {
20
- export { database_collation as collation, database_column as column, database_engine as engine, database_mongodbObjectId as mongodbObjectId, database_type as type };
21
- }
22
-
23
- export { column as a, collation as c, database as d, engine as e, mongodbObjectId as m, type as t };
@@ -1,23 +0,0 @@
1
- import { ValueConfig } from './type.js';
2
-
3
- /** Database [collation](https://fakerjs.dev/api/database.html#collation) */
4
- declare const collation: () => ValueConfig<string>;
5
- /** Database [column](https://fakerjs.dev/api/database.html#column) */
6
- declare const column: () => ValueConfig<string>;
7
- /** Database [engine](https://fakerjs.dev/api/database.html#engine) */
8
- declare const engine: () => ValueConfig<string>;
9
- /** Database [mongodbObjectId](https://fakerjs.dev/api/database.html#mongodbObjectId) */
10
- declare const mongodbObjectId: () => ValueConfig<string>;
11
- /** Database [type](https://fakerjs.dev/api/database.html#type) */
12
- declare const type: () => ValueConfig<string>;
13
-
14
- declare const database_collation: typeof collation;
15
- declare const database_column: typeof column;
16
- declare const database_engine: typeof engine;
17
- declare const database_mongodbObjectId: typeof mongodbObjectId;
18
- declare const database_type: typeof type;
19
- declare namespace database {
20
- export { database_collation as collation, database_column as column, database_engine as engine, database_mongodbObjectId as mongodbObjectId, database_type as type };
21
- }
22
-
23
- export { column as a, collation as c, database as d, engine as e, mongodbObjectId as m, type as t };
@@ -1,23 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.js';
2
-
3
- /** Database [collation](https://fakerjs.dev/api/database.html#collation) */
4
- declare const collation: () => ValueConfig<string>;
5
- /** Database [column](https://fakerjs.dev/api/database.html#column) */
6
- declare const column: () => ValueConfig<string>;
7
- /** Database [engine](https://fakerjs.dev/api/database.html#engine) */
8
- declare const engine: () => ValueConfig<string>;
9
- /** Database [mongodbObjectId](https://fakerjs.dev/api/database.html#mongodbObjectId) */
10
- declare const mongodbObjectId: () => ValueConfig<string>;
11
- /** Database [type](https://fakerjs.dev/api/database.html#type) */
12
- declare const type: () => ValueConfig<string>;
13
-
14
- declare const database_collation: typeof collation;
15
- declare const database_column: typeof column;
16
- declare const database_engine: typeof engine;
17
- declare const database_mongodbObjectId: typeof mongodbObjectId;
18
- declare const database_type: typeof type;
19
- declare namespace database {
20
- export { database_collation as collation, database_column as column, database_engine as engine, database_mongodbObjectId as mongodbObjectId, database_type as type };
21
- }
22
-
23
- export { column as a, collation as c, database as d, engine as e, mongodbObjectId as m, type as t };
@@ -1,23 +0,0 @@
1
- import { ValueConfig } from './type.mjs';
2
-
3
- /** Database [collation](https://fakerjs.dev/api/database.html#collation) */
4
- declare const collation: () => ValueConfig<string>;
5
- /** Database [column](https://fakerjs.dev/api/database.html#column) */
6
- declare const column: () => ValueConfig<string>;
7
- /** Database [engine](https://fakerjs.dev/api/database.html#engine) */
8
- declare const engine: () => ValueConfig<string>;
9
- /** Database [mongodbObjectId](https://fakerjs.dev/api/database.html#mongodbObjectId) */
10
- declare const mongodbObjectId: () => ValueConfig<string>;
11
- /** Database [type](https://fakerjs.dev/api/database.html#type) */
12
- declare const type: () => ValueConfig<string>;
13
-
14
- declare const database_collation: typeof collation;
15
- declare const database_column: typeof column;
16
- declare const database_engine: typeof engine;
17
- declare const database_mongodbObjectId: typeof mongodbObjectId;
18
- declare const database_type: typeof type;
19
- declare namespace database {
20
- export { database_collation as collation, database_column as column, database_engine as engine, database_mongodbObjectId as mongodbObjectId, database_type as type };
21
- }
22
-
23
- export { column as a, collation as c, database as d, engine as e, mongodbObjectId as m, type as t };
@@ -1,13 +0,0 @@
1
- import { ValueConfig } from './type.js';
2
-
3
- /** Datatype [boolean](https://fakerjs.dev/api/datatype.html#boolean) */
4
- declare const boolean: (options?: number | {
5
- probability?: number;
6
- }) => ValueConfig<boolean>;
7
-
8
- declare const datatype_boolean: typeof boolean;
9
- declare namespace datatype {
10
- export { datatype_boolean as boolean };
11
- }
12
-
13
- export { boolean as b, datatype as d };
@@ -1,13 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.js';
2
-
3
- /** Datatype [boolean](https://fakerjs.dev/api/datatype.html#boolean) */
4
- declare const boolean: (options?: number | {
5
- probability?: number;
6
- }) => ValueConfig<boolean>;
7
-
8
- declare const datatype_boolean: typeof boolean;
9
- declare namespace datatype {
10
- export { datatype_boolean as boolean };
11
- }
12
-
13
- export { boolean as b, datatype as d };
@@ -1,13 +0,0 @@
1
- import { ValueConfig } from './type.mjs';
2
-
3
- /** Datatype [boolean](https://fakerjs.dev/api/datatype.html#boolean) */
4
- declare const boolean: (options?: number | {
5
- probability?: number;
6
- }) => ValueConfig<boolean>;
7
-
8
- declare const datatype_boolean: typeof boolean;
9
- declare namespace datatype {
10
- export { datatype_boolean as boolean };
11
- }
12
-
13
- export { boolean as b, datatype as d };
@@ -1,13 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
2
-
3
- /** Datatype [boolean](https://fakerjs.dev/api/datatype.html#boolean) */
4
- declare const boolean: (options?: number | {
5
- probability?: number;
6
- }) => ValueConfig<boolean>;
7
-
8
- declare const datatype_boolean: typeof boolean;
9
- declare namespace datatype {
10
- export { datatype_boolean as boolean };
11
- }
12
-
13
- export { boolean as b, datatype as d };
@@ -1,78 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
2
-
3
- /** Datetime [anytime](https://fakerjs.dev/api/date.html#anytime) */
4
- declare const anytime: (options?: {
5
- refDate?: string | Date | number;
6
- }) => ValueConfig<Date>;
7
- /** Datetime [between](https://fakerjs.dev/api/date.html#between) */
8
- declare const between: (options: {
9
- from: string | Date | number;
10
- to: string | Date | number;
11
- }) => ValueConfig<Date>;
12
- /** Datetime [betweens](https://fakerjs.dev/api/date.html#betweens) */
13
- declare const betweens: (options: {
14
- from: string | Date | number;
15
- to: string | Date | number;
16
- count?: number | {
17
- min: number;
18
- max: number;
19
- };
20
- }) => ValueConfig<Date[]>;
21
- /** Datetime [birthdate](https://fakerjs.dev/api/date.html#birthdate) */
22
- declare const birthdate: (options?: {
23
- refDate?: string | Date | number;
24
- } | {
25
- mode: "age" | "year";
26
- min: number;
27
- max: number;
28
- refDate?: string | Date | number;
29
- }) => ValueConfig<Date>;
30
- /** Datetime [future](https://fakerjs.dev/api/date.html#future) */
31
- declare const future: (options?: {
32
- years?: number;
33
- refDate?: string | Date | number;
34
- }) => ValueConfig<Date>;
35
- /** Datetime [month](https://fakerjs.dev/api/date.html#month) */
36
- declare const month: (options?: {
37
- abbreviated?: boolean;
38
- context?: boolean;
39
- }) => ValueConfig<string>;
40
- /** Datetime [past](https://fakerjs.dev/api/date.html#past) */
41
- declare const past: (options?: {
42
- years?: number;
43
- refDate?: string | Date | number;
44
- }) => ValueConfig<Date>;
45
- /** Datetime [recent](https://fakerjs.dev/api/date.html#recent) */
46
- declare const recent: (options?: {
47
- days?: number;
48
- refDate?: string | Date | number;
49
- }) => ValueConfig<Date>;
50
- /** Datetime [soon](https://fakerjs.dev/api/date.html#soon) */
51
- declare const soon: (options?: {
52
- days?: number;
53
- refDate?: string | Date | number;
54
- }) => ValueConfig<Date>;
55
- /** Datetime [timeZone](https://fakerjs.dev/api/date.html#timeZone) */
56
- declare const timeZone: () => ValueConfig<string>;
57
- /** Datetime [weekday](https://fakerjs.dev/api/date.html#weekday) */
58
- declare const weekday: (options?: {
59
- abbreviated?: boolean;
60
- context?: boolean;
61
- }) => ValueConfig<string>;
62
-
63
- declare const datetime_anytime: typeof anytime;
64
- declare const datetime_between: typeof between;
65
- declare const datetime_betweens: typeof betweens;
66
- declare const datetime_birthdate: typeof birthdate;
67
- declare const datetime_future: typeof future;
68
- declare const datetime_month: typeof month;
69
- declare const datetime_past: typeof past;
70
- declare const datetime_recent: typeof recent;
71
- declare const datetime_soon: typeof soon;
72
- declare const datetime_timeZone: typeof timeZone;
73
- declare const datetime_weekday: typeof weekday;
74
- declare namespace datetime {
75
- export { datetime_anytime as anytime, datetime_between as between, datetime_betweens as betweens, datetime_birthdate as birthdate, datetime_future as future, datetime_month as month, datetime_past as past, datetime_recent as recent, datetime_soon as soon, datetime_timeZone as timeZone, datetime_weekday as weekday };
76
- }
77
-
78
- export { anytime as a, between as b, betweens as c, datetime as d, birthdate as e, future as f, month as m, past as p, recent as r, soon as s, timeZone as t, weekday as w };
@@ -1,78 +0,0 @@
1
- import { V as ValueConfig } from './type-C8Ny1fB6.js';
2
-
3
- /** Datetime [anytime](https://fakerjs.dev/api/date.html#anytime) */
4
- declare const anytime: (options?: {
5
- refDate?: string | Date | number;
6
- }) => ValueConfig<Date>;
7
- /** Datetime [between](https://fakerjs.dev/api/date.html#between) */
8
- declare const between: (options: {
9
- from: string | Date | number;
10
- to: string | Date | number;
11
- }) => ValueConfig<Date>;
12
- /** Datetime [betweens](https://fakerjs.dev/api/date.html#betweens) */
13
- declare const betweens: (options: {
14
- from: string | Date | number;
15
- to: string | Date | number;
16
- count?: number | {
17
- min: number;
18
- max: number;
19
- };
20
- }) => ValueConfig<Date[]>;
21
- /** Datetime [birthdate](https://fakerjs.dev/api/date.html#birthdate) */
22
- declare const birthdate: (options?: {
23
- refDate?: string | Date | number;
24
- } | {
25
- mode: "age" | "year";
26
- min: number;
27
- max: number;
28
- refDate?: string | Date | number;
29
- }) => ValueConfig<Date>;
30
- /** Datetime [future](https://fakerjs.dev/api/date.html#future) */
31
- declare const future: (options?: {
32
- years?: number;
33
- refDate?: string | Date | number;
34
- }) => ValueConfig<Date>;
35
- /** Datetime [month](https://fakerjs.dev/api/date.html#month) */
36
- declare const month: (options?: {
37
- abbreviated?: boolean;
38
- context?: boolean;
39
- }) => ValueConfig<string>;
40
- /** Datetime [past](https://fakerjs.dev/api/date.html#past) */
41
- declare const past: (options?: {
42
- years?: number;
43
- refDate?: string | Date | number;
44
- }) => ValueConfig<Date>;
45
- /** Datetime [recent](https://fakerjs.dev/api/date.html#recent) */
46
- declare const recent: (options?: {
47
- days?: number;
48
- refDate?: string | Date | number;
49
- }) => ValueConfig<Date>;
50
- /** Datetime [soon](https://fakerjs.dev/api/date.html#soon) */
51
- declare const soon: (options?: {
52
- days?: number;
53
- refDate?: string | Date | number;
54
- }) => ValueConfig<Date>;
55
- /** Datetime [timeZone](https://fakerjs.dev/api/date.html#timeZone) */
56
- declare const timeZone: () => ValueConfig<string>;
57
- /** Datetime [weekday](https://fakerjs.dev/api/date.html#weekday) */
58
- declare const weekday: (options?: {
59
- abbreviated?: boolean;
60
- context?: boolean;
61
- }) => ValueConfig<string>;
62
-
63
- declare const datetime_anytime: typeof anytime;
64
- declare const datetime_between: typeof between;
65
- declare const datetime_betweens: typeof betweens;
66
- declare const datetime_birthdate: typeof birthdate;
67
- declare const datetime_future: typeof future;
68
- declare const datetime_month: typeof month;
69
- declare const datetime_past: typeof past;
70
- declare const datetime_recent: typeof recent;
71
- declare const datetime_soon: typeof soon;
72
- declare const datetime_timeZone: typeof timeZone;
73
- declare const datetime_weekday: typeof weekday;
74
- declare namespace datetime {
75
- export { datetime_anytime as anytime, datetime_between as between, datetime_betweens as betweens, datetime_birthdate as birthdate, datetime_future as future, datetime_month as month, datetime_past as past, datetime_recent as recent, datetime_soon as soon, datetime_timeZone as timeZone, datetime_weekday as weekday };
76
- }
77
-
78
- export { anytime as a, between as b, betweens as c, datetime as d, birthdate as e, future as f, month as m, past as p, recent as r, soon as s, timeZone as t, weekday as w };
@@ -1,78 +0,0 @@
1
- import { ValueConfig } from './type.js';
2
-
3
- /** Datetime [anytime](https://fakerjs.dev/api/date.html#anytime) */
4
- declare const anytime: (options?: {
5
- refDate?: string | Date | number;
6
- }) => ValueConfig<Date>;
7
- /** Datetime [between](https://fakerjs.dev/api/date.html#between) */
8
- declare const between: (options: {
9
- from: string | Date | number;
10
- to: string | Date | number;
11
- }) => ValueConfig<Date>;
12
- /** Datetime [betweens](https://fakerjs.dev/api/date.html#betweens) */
13
- declare const betweens: (options: {
14
- from: string | Date | number;
15
- to: string | Date | number;
16
- count?: number | {
17
- min: number;
18
- max: number;
19
- };
20
- }) => ValueConfig<Date[]>;
21
- /** Datetime [birthdate](https://fakerjs.dev/api/date.html#birthdate) */
22
- declare const birthdate: (options?: {
23
- refDate?: string | Date | number;
24
- } | {
25
- mode: "age" | "year";
26
- min: number;
27
- max: number;
28
- refDate?: string | Date | number;
29
- }) => ValueConfig<Date>;
30
- /** Datetime [future](https://fakerjs.dev/api/date.html#future) */
31
- declare const future: (options?: {
32
- years?: number;
33
- refDate?: string | Date | number;
34
- }) => ValueConfig<Date>;
35
- /** Datetime [month](https://fakerjs.dev/api/date.html#month) */
36
- declare const month: (options?: {
37
- abbreviated?: boolean;
38
- context?: boolean;
39
- }) => ValueConfig<string>;
40
- /** Datetime [past](https://fakerjs.dev/api/date.html#past) */
41
- declare const past: (options?: {
42
- years?: number;
43
- refDate?: string | Date | number;
44
- }) => ValueConfig<Date>;
45
- /** Datetime [recent](https://fakerjs.dev/api/date.html#recent) */
46
- declare const recent: (options?: {
47
- days?: number;
48
- refDate?: string | Date | number;
49
- }) => ValueConfig<Date>;
50
- /** Datetime [soon](https://fakerjs.dev/api/date.html#soon) */
51
- declare const soon: (options?: {
52
- days?: number;
53
- refDate?: string | Date | number;
54
- }) => ValueConfig<Date>;
55
- /** Datetime [timeZone](https://fakerjs.dev/api/date.html#timeZone) */
56
- declare const timeZone: () => ValueConfig<string>;
57
- /** Datetime [weekday](https://fakerjs.dev/api/date.html#weekday) */
58
- declare const weekday: (options?: {
59
- abbreviated?: boolean;
60
- context?: boolean;
61
- }) => ValueConfig<string>;
62
-
63
- declare const datetime_anytime: typeof anytime;
64
- declare const datetime_between: typeof between;
65
- declare const datetime_betweens: typeof betweens;
66
- declare const datetime_birthdate: typeof birthdate;
67
- declare const datetime_future: typeof future;
68
- declare const datetime_month: typeof month;
69
- declare const datetime_past: typeof past;
70
- declare const datetime_recent: typeof recent;
71
- declare const datetime_soon: typeof soon;
72
- declare const datetime_timeZone: typeof timeZone;
73
- declare const datetime_weekday: typeof weekday;
74
- declare namespace datetime {
75
- export { datetime_anytime as anytime, datetime_between as between, datetime_betweens as betweens, datetime_birthdate as birthdate, datetime_future as future, datetime_month as month, datetime_past as past, datetime_recent as recent, datetime_soon as soon, datetime_timeZone as timeZone, datetime_weekday as weekday };
76
- }
77
-
78
- export { anytime as a, between as b, betweens as c, datetime as d, birthdate as e, future as f, month as m, past as p, recent as r, soon as s, timeZone as t, weekday as w };
@@ -1,78 +0,0 @@
1
- import { ValueConfig } from './type.mjs';
2
-
3
- /** Datetime [anytime](https://fakerjs.dev/api/date.html#anytime) */
4
- declare const anytime: (options?: {
5
- refDate?: string | Date | number;
6
- }) => ValueConfig<Date>;
7
- /** Datetime [between](https://fakerjs.dev/api/date.html#between) */
8
- declare const between: (options: {
9
- from: string | Date | number;
10
- to: string | Date | number;
11
- }) => ValueConfig<Date>;
12
- /** Datetime [betweens](https://fakerjs.dev/api/date.html#betweens) */
13
- declare const betweens: (options: {
14
- from: string | Date | number;
15
- to: string | Date | number;
16
- count?: number | {
17
- min: number;
18
- max: number;
19
- };
20
- }) => ValueConfig<Date[]>;
21
- /** Datetime [birthdate](https://fakerjs.dev/api/date.html#birthdate) */
22
- declare const birthdate: (options?: {
23
- refDate?: string | Date | number;
24
- } | {
25
- mode: "age" | "year";
26
- min: number;
27
- max: number;
28
- refDate?: string | Date | number;
29
- }) => ValueConfig<Date>;
30
- /** Datetime [future](https://fakerjs.dev/api/date.html#future) */
31
- declare const future: (options?: {
32
- years?: number;
33
- refDate?: string | Date | number;
34
- }) => ValueConfig<Date>;
35
- /** Datetime [month](https://fakerjs.dev/api/date.html#month) */
36
- declare const month: (options?: {
37
- abbreviated?: boolean;
38
- context?: boolean;
39
- }) => ValueConfig<string>;
40
- /** Datetime [past](https://fakerjs.dev/api/date.html#past) */
41
- declare const past: (options?: {
42
- years?: number;
43
- refDate?: string | Date | number;
44
- }) => ValueConfig<Date>;
45
- /** Datetime [recent](https://fakerjs.dev/api/date.html#recent) */
46
- declare const recent: (options?: {
47
- days?: number;
48
- refDate?: string | Date | number;
49
- }) => ValueConfig<Date>;
50
- /** Datetime [soon](https://fakerjs.dev/api/date.html#soon) */
51
- declare const soon: (options?: {
52
- days?: number;
53
- refDate?: string | Date | number;
54
- }) => ValueConfig<Date>;
55
- /** Datetime [timeZone](https://fakerjs.dev/api/date.html#timeZone) */
56
- declare const timeZone: () => ValueConfig<string>;
57
- /** Datetime [weekday](https://fakerjs.dev/api/date.html#weekday) */
58
- declare const weekday: (options?: {
59
- abbreviated?: boolean;
60
- context?: boolean;
61
- }) => ValueConfig<string>;
62
-
63
- declare const datetime_anytime: typeof anytime;
64
- declare const datetime_between: typeof between;
65
- declare const datetime_betweens: typeof betweens;
66
- declare const datetime_birthdate: typeof birthdate;
67
- declare const datetime_future: typeof future;
68
- declare const datetime_month: typeof month;
69
- declare const datetime_past: typeof past;
70
- declare const datetime_recent: typeof recent;
71
- declare const datetime_soon: typeof soon;
72
- declare const datetime_timeZone: typeof timeZone;
73
- declare const datetime_weekday: typeof weekday;
74
- declare namespace datetime {
75
- export { datetime_anytime as anytime, datetime_between as between, datetime_betweens as betweens, datetime_birthdate as birthdate, datetime_future as future, datetime_month as month, datetime_past as past, datetime_recent as recent, datetime_soon as soon, datetime_timeZone as timeZone, datetime_weekday as weekday };
76
- }
77
-
78
- export { anytime as a, between as b, betweens as c, datetime as d, birthdate as e, future as f, month as m, past as p, recent as r, soon as s, timeZone as t, weekday as w };