struct-fakerator 2.4.7 → 2.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/biome.json +1 -1
  2. package/dist/airline-98MCzMN8.d.ts +26 -0
  3. package/dist/airline-CuAxOEYH.d.mts +26 -0
  4. package/dist/animal-BohQ7s0w.d.mts +53 -0
  5. package/dist/animal-o8BFF7gd.d.ts +53 -0
  6. package/dist/chunk-2FTPTSHD.mjs +1972 -0
  7. package/dist/chunk-2P6DPKAW.js +35 -0
  8. package/dist/chunk-2QPSWN3J.js +24 -0
  9. package/dist/chunk-2UAN3WRZ.js +51 -0
  10. package/dist/chunk-2ZR6AR26.js +24 -0
  11. package/dist/chunk-3AXS7RA6.mjs +18 -0
  12. package/dist/chunk-3DIP4M5Y.mjs +36 -0
  13. package/dist/chunk-42EKB2FX.js +74 -0
  14. package/dist/chunk-4OB35J4Q.mjs +151 -0
  15. package/dist/chunk-4VNS5WPM.js +42 -0
  16. package/dist/chunk-55HSOHNN.js +36 -0
  17. package/dist/chunk-5PCIFPK7.js +15721 -0
  18. package/dist/chunk-5ZNSQDU5.js +81 -0
  19. package/dist/chunk-6BWS3CLP.mjs +16 -0
  20. package/dist/chunk-6GXFVYK2.js +18 -0
  21. package/dist/chunk-6QZF75LH.js +20 -0
  22. package/dist/chunk-73BBBL26.js +49 -0
  23. package/dist/chunk-7C2MCLYX.mjs +15721 -0
  24. package/dist/chunk-7IWAOHPW.mjs +27 -0
  25. package/dist/chunk-7POVLKQR.mjs +20 -0
  26. package/dist/chunk-7UQSPUCL.mjs +0 -0
  27. package/dist/chunk-A4QVPMYT.js +44 -0
  28. package/dist/chunk-A5YXOL6G.mjs +63 -0
  29. package/dist/chunk-AT4FPDTE.mjs +51 -0
  30. package/dist/chunk-B3RA7BAM.mjs +30 -0
  31. package/dist/chunk-B7MK7WHV.mjs +21 -0
  32. package/dist/chunk-BMQ2NETL.js +63 -0
  33. package/dist/chunk-BNJUSXEO.js +27 -0
  34. package/dist/chunk-BVGE5IMC.js +45 -0
  35. package/dist/chunk-C6IEYVWV.mjs +21 -0
  36. package/dist/chunk-CKNDI3RH.js +24 -0
  37. package/dist/chunk-CSOXFDKC.mjs +42 -0
  38. package/dist/chunk-D3DPNIYF.mjs +36 -0
  39. package/dist/chunk-DONFLQME.js +49 -0
  40. package/dist/chunk-E3EZHXI2.mjs +45 -0
  41. package/dist/chunk-E3N3PWFI.js +45 -0
  42. package/dist/chunk-ECTLN5SO.mjs +63 -0
  43. package/dist/chunk-EGCGEPYD.mjs +24 -0
  44. package/dist/chunk-ES6I4JEP.js +24 -0
  45. package/dist/chunk-F4NIEPKF.mjs +48 -0
  46. package/dist/chunk-FGA73ALI.mjs +45 -0
  47. package/dist/chunk-GAOFL72U.mjs +24 -0
  48. package/dist/chunk-GSFJYUDA.js +63 -0
  49. package/dist/chunk-HEHR64VN.js +1972 -0
  50. package/dist/chunk-HLHMXAI2.js +21 -0
  51. package/dist/chunk-HNCQJ5F3.js +56 -0
  52. package/dist/chunk-IEYIHOHM.js +57 -0
  53. package/dist/chunk-IRHHL256.mjs +36 -0
  54. package/dist/chunk-IY4LBMAL.js +78 -0
  55. package/dist/chunk-JC2FY5K5.mjs +42 -0
  56. package/dist/chunk-JUS3FQET.js +63 -0
  57. package/dist/chunk-KDTNND32.js +63 -0
  58. package/dist/chunk-KESFLCJB.mjs +57 -0
  59. package/dist/chunk-KKDNACGF.js +78 -0
  60. package/dist/chunk-KVPPJDFE.mjs +63 -0
  61. package/dist/chunk-L55R55BM.mjs +24 -0
  62. package/dist/chunk-L7SUBSOS.mjs +74 -0
  63. package/dist/chunk-LGYUIU5L.js +33 -0
  64. package/dist/chunk-LKLQIBRC.mjs +18 -0
  65. package/dist/chunk-LPLLITHD.mjs +33 -0
  66. package/dist/chunk-LYYFKB5U.mjs +48 -0
  67. package/dist/chunk-M2ERA63H.mjs +20 -0
  68. package/dist/chunk-M3JRMFX2.js +36 -0
  69. package/dist/chunk-N2ZA6SQB.mjs +45 -0
  70. package/dist/chunk-NWVKBRLA.js +30 -0
  71. package/dist/chunk-O73LDQID.mjs +57 -0
  72. package/dist/chunk-OETKBS7R.mjs +63 -0
  73. package/dist/chunk-OFMBEI6Y.js +20 -0
  74. package/dist/chunk-OJRNPQVE.js +45 -0
  75. package/dist/chunk-OTDJMFZE.js +36 -0
  76. package/dist/chunk-OZ7Y3D4Z.js +48 -0
  77. package/dist/chunk-P2NEBQQH.mjs +78 -0
  78. package/dist/chunk-PBOBMHB3.js +45 -0
  79. package/dist/chunk-PEMTSFQT.mjs +36 -0
  80. package/dist/chunk-PSTZXVEM.mjs +45 -0
  81. package/dist/chunk-PXVILWPC.js +51 -0
  82. package/dist/chunk-PXXIPMA2.mjs +17567 -0
  83. package/dist/chunk-PYIUSFN2.js +48 -0
  84. package/dist/chunk-Q4BXZB6O.mjs +35 -0
  85. package/dist/chunk-Q6CVTFPU.mjs +2022 -0
  86. package/dist/chunk-Q7THO24V.js +45 -0
  87. package/dist/chunk-QEVQSGOW.mjs +49 -0
  88. package/dist/chunk-QFG2B4XU.js +35 -0
  89. package/dist/chunk-QMNACCJG.mjs +30 -0
  90. package/dist/chunk-QOATILWS.mjs +48 -0
  91. package/dist/chunk-R5U7XKVJ.js +16 -0
  92. package/dist/chunk-RDATYKAG.mjs +58 -0
  93. package/dist/chunk-RDMAE6F2.js +17567 -0
  94. package/dist/chunk-RM7GMMWN.mjs +49 -0
  95. package/dist/chunk-ROM4ZH2A.js +56 -0
  96. package/dist/chunk-RUTM5ENW.js +57 -0
  97. package/dist/chunk-RW4IZD3J.js +74 -0
  98. package/dist/chunk-SEUDYVHA.js +45 -0
  99. package/dist/chunk-SMIDTCUZ.mjs +56 -0
  100. package/dist/chunk-SN4QTD6R.js +1 -0
  101. package/dist/chunk-SVMTK42D.mjs +48 -0
  102. package/dist/chunk-SYIPILT6.mjs +35 -0
  103. package/dist/chunk-TSDTKUIT.mjs +151 -0
  104. package/dist/chunk-U3EACZZ3.js +18 -0
  105. package/dist/chunk-U634RJNK.js +36 -0
  106. package/dist/chunk-UCRPFQYY.js +48 -0
  107. package/dist/chunk-UEXFND2J.mjs +56 -0
  108. package/dist/chunk-UP3FJ7EK.mjs +44 -0
  109. package/dist/chunk-UUIIGFUZ.js +33 -0
  110. package/dist/chunk-VKKQV6UO.js +42 -0
  111. package/dist/chunk-VOMHZHCC.js +21 -0
  112. package/dist/chunk-VVELSEXL.mjs +27 -0
  113. package/dist/chunk-VX346ARA.js +42 -0
  114. package/dist/chunk-W6QSJNDJ.js +58 -0
  115. package/dist/chunk-X5WN73EF.js +48 -0
  116. package/dist/chunk-XGB3TDIC.mjs +42 -0
  117. package/dist/chunk-XIROUDIK.js +151 -0
  118. package/dist/chunk-XJGSUINR.mjs +24 -0
  119. package/dist/chunk-XN5RU4UY.js +27 -0
  120. package/dist/chunk-Y2G3CY4Q.mjs +51 -0
  121. package/dist/chunk-YJXRZ5WX.mjs +78 -0
  122. package/dist/chunk-YRB3F2AG.mjs +81 -0
  123. package/dist/chunk-YVASGALV.js +81 -0
  124. package/dist/chunk-YWFUY5A4.js +30 -0
  125. package/dist/chunk-YZNZHRY3.mjs +81 -0
  126. package/dist/chunk-Z46HCVNZ.js +151 -0
  127. package/dist/chunk-ZAU43ZDI.mjs +74 -0
  128. package/dist/chunk-ZBU5LSC3.mjs +45 -0
  129. package/dist/chunk-ZSBGAX6X.js +2022 -0
  130. package/dist/chunk-ZTUCFJLM.mjs +33 -0
  131. package/dist/chunk-ZXWWD74E.mjs +45 -0
  132. package/dist/color-BT6BF8oV.d.mts +61 -0
  133. package/dist/color-lBH29suB.d.ts +61 -0
  134. package/dist/commerce-BqVjXEhQ.d.mts +40 -0
  135. package/dist/commerce-mdOpchjx.d.ts +40 -0
  136. package/dist/common-IR_KozaJ.d.mts +11 -0
  137. package/dist/common-t-ZQebCq.d.ts +11 -0
  138. package/dist/company-C3EU1J7k.d.ts +35 -0
  139. package/dist/company-cR_0hm6U.d.mts +35 -0
  140. package/dist/config_scheme.d.mts +100 -0
  141. package/dist/config_scheme.d.ts +100 -0
  142. package/dist/config_scheme.js +17 -0
  143. package/dist/config_scheme.mjs +17 -0
  144. package/dist/create_config.d.mts +48 -0
  145. package/dist/create_config.d.ts +48 -0
  146. package/dist/create_config.js +18 -0
  147. package/dist/create_config.mjs +18 -0
  148. package/dist/create_config.test.d.mts +2 -0
  149. package/dist/create_config.test.d.ts +2 -0
  150. package/dist/create_config.test.js +63 -0
  151. package/dist/create_config.test.mjs +63 -0
  152. package/dist/create_generator_fn.d.mts +12 -0
  153. package/dist/create_generator_fn.d.ts +12 -0
  154. package/dist/create_generator_fn.js +21 -0
  155. package/dist/create_generator_fn.mjs +21 -0
  156. package/dist/create_generator_fn.test.d.mts +2 -0
  157. package/dist/create_generator_fn.test.d.ts +2 -0
  158. package/dist/create_generator_fn.test.js +178 -0
  159. package/dist/create_generator_fn.test.mjs +178 -0
  160. package/dist/database-DV9wgnca.d.ts +23 -0
  161. package/dist/database-UzO1Lwec.d.mts +23 -0
  162. package/dist/datatype-C92TZLxo.d.ts +13 -0
  163. package/dist/datatype-DZjmP0fA.d.mts +13 -0
  164. package/dist/datetime-CSUpnUXU.d.ts +78 -0
  165. package/dist/datetime-dnPA_lnt.d.mts +78 -0
  166. package/dist/finance-CstKW1nH.d.mts +90 -0
  167. package/dist/finance-gj0fiEmf.d.ts +90 -0
  168. package/dist/food-CInj1GX2.d.ts +35 -0
  169. package/dist/food-Dk3-40CY.d.mts +35 -0
  170. package/dist/git-BHL1ppL4.d.ts +31 -0
  171. package/dist/git-w0nznSjX.d.mts +31 -0
  172. package/dist/hacker-DL7pR6JO.d.ts +26 -0
  173. package/dist/hacker-FcQXZGtz.d.mts +26 -0
  174. package/dist/image-B5OPCNhD.d.mts +56 -0
  175. package/dist/image-IyGCgqNf.d.ts +56 -0
  176. package/dist/index.d.mts +3 -57
  177. package/dist/index.d.ts +3 -57
  178. package/dist/index.js +36 -162
  179. package/dist/index.mjs +14 -140
  180. package/dist/internet-BWBjFZ1E.d.mts +101 -0
  181. package/dist/internet-BukCBMX-.d.ts +106 -0
  182. package/dist/internet-C2ElurWb.d.mts +106 -0
  183. package/dist/internet-WmWuV39U.d.ts +101 -0
  184. package/dist/location-BIZ-KsaI.d.ts +80 -0
  185. package/dist/location-WU_nRdjx.d.mts +80 -0
  186. package/dist/lorem-OlHaVntu.d.mts +62 -0
  187. package/dist/lorem-yMyLb-d-.d.ts +62 -0
  188. package/dist/magic-string.es-2DLPM6Q3.js +1299 -0
  189. package/dist/magic-string.es-NHTKQXSF.mjs +1299 -0
  190. package/dist/magic-string.es-PQN52XPX.js +1288 -0
  191. package/dist/magic-string.es-X3ME2TR2.mjs +1288 -0
  192. package/dist/music-P8XZ4JSO.d.ts +20 -0
  193. package/dist/music-vcWm9dzu.d.mts +20 -0
  194. package/dist/number-DomDs-l5.d.mts +47 -0
  195. package/dist/number-DvzbKHZR.d.ts +47 -0
  196. package/dist/person-DXne2mKX.d.ts +58 -0
  197. package/dist/person-Si_vy67g.d.mts +58 -0
  198. package/dist/phone-Cbxvm_Qv.d.ts +16 -0
  199. package/dist/phone-g4FDs50M.d.mts +16 -0
  200. package/dist/science-BX8WhoEY.d.ts +15 -0
  201. package/dist/science-BfA9sVXz.d.mts +15 -0
  202. package/dist/string-DGScZrrP.d.mts +87 -0
  203. package/dist/string-Do4vhsl0.d.ts +87 -0
  204. package/dist/system-BpxbduIr.d.ts +55 -0
  205. package/dist/system-Cy0e05Cr.d.mts +55 -0
  206. package/dist/system-EuG0S2Xy.d.mts +55 -0
  207. package/dist/system-ZV2S9Qw2.d.ts +55 -0
  208. package/dist/type.d.mts +33 -0
  209. package/dist/type.d.ts +33 -0
  210. package/dist/type.js +1 -0
  211. package/dist/type.mjs +1 -0
  212. package/dist/utils/airline.d.mts +2 -2
  213. package/dist/utils/airline.d.ts +2 -2
  214. package/dist/utils/airline.js +7 -5
  215. package/dist/utils/airline.mjs +6 -4
  216. package/dist/utils/animal.d.mts +2 -2
  217. package/dist/utils/animal.d.ts +2 -2
  218. package/dist/utils/animal.js +7 -5
  219. package/dist/utils/animal.mjs +6 -4
  220. package/dist/utils/color.d.mts +2 -2
  221. package/dist/utils/color.d.ts +2 -2
  222. package/dist/utils/color.js +7 -5
  223. package/dist/utils/color.mjs +6 -4
  224. package/dist/utils/commerce.d.mts +2 -2
  225. package/dist/utils/commerce.d.ts +2 -2
  226. package/dist/utils/commerce.js +7 -5
  227. package/dist/utils/commerce.mjs +6 -4
  228. package/dist/utils/common.d.mts +2 -2
  229. package/dist/utils/common.d.ts +2 -2
  230. package/dist/utils/common.js +5 -3
  231. package/dist/utils/common.mjs +4 -2
  232. package/dist/utils/company.d.mts +2 -2
  233. package/dist/utils/company.d.ts +2 -2
  234. package/dist/utils/company.js +7 -5
  235. package/dist/utils/company.mjs +6 -4
  236. package/dist/utils/database.d.mts +2 -2
  237. package/dist/utils/database.d.ts +2 -2
  238. package/dist/utils/database.js +7 -5
  239. package/dist/utils/database.mjs +6 -4
  240. package/dist/utils/datatype.d.mts +2 -2
  241. package/dist/utils/datatype.d.ts +2 -2
  242. package/dist/utils/datatype.js +7 -5
  243. package/dist/utils/datatype.mjs +6 -4
  244. package/dist/utils/datetime.d.mts +2 -2
  245. package/dist/utils/datetime.d.ts +2 -2
  246. package/dist/utils/datetime.js +7 -5
  247. package/dist/utils/datetime.mjs +6 -4
  248. package/dist/utils/finance.d.mts +2 -2
  249. package/dist/utils/finance.d.ts +2 -2
  250. package/dist/utils/finance.js +7 -5
  251. package/dist/utils/finance.mjs +6 -4
  252. package/dist/utils/food.d.mts +2 -2
  253. package/dist/utils/food.d.ts +2 -2
  254. package/dist/utils/food.js +7 -5
  255. package/dist/utils/food.mjs +6 -4
  256. package/dist/utils/git.d.mts +2 -2
  257. package/dist/utils/git.d.ts +2 -2
  258. package/dist/utils/git.js +7 -5
  259. package/dist/utils/git.mjs +6 -4
  260. package/dist/utils/hacker.d.mts +2 -2
  261. package/dist/utils/hacker.d.ts +2 -2
  262. package/dist/utils/hacker.js +7 -5
  263. package/dist/utils/hacker.mjs +6 -4
  264. package/dist/utils/image.d.mts +2 -2
  265. package/dist/utils/image.d.ts +2 -2
  266. package/dist/utils/image.js +7 -5
  267. package/dist/utils/image.mjs +6 -4
  268. package/dist/utils/index.d.mts +27 -27
  269. package/dist/utils/index.d.ts +27 -27
  270. package/dist/utils/index.js +31 -29
  271. package/dist/utils/index.mjs +41 -39
  272. package/dist/utils/internet.d.mts +3 -2
  273. package/dist/utils/internet.d.ts +3 -2
  274. package/dist/utils/internet.js +7 -5
  275. package/dist/utils/internet.mjs +6 -4
  276. package/dist/utils/location.d.mts +2 -2
  277. package/dist/utils/location.d.ts +2 -2
  278. package/dist/utils/location.js +7 -5
  279. package/dist/utils/location.mjs +6 -4
  280. package/dist/utils/lorem.d.mts +2 -2
  281. package/dist/utils/lorem.d.ts +2 -2
  282. package/dist/utils/lorem.js +7 -5
  283. package/dist/utils/lorem.mjs +6 -4
  284. package/dist/utils/music.d.mts +2 -2
  285. package/dist/utils/music.d.ts +2 -2
  286. package/dist/utils/music.js +7 -5
  287. package/dist/utils/music.mjs +6 -4
  288. package/dist/utils/number.d.mts +2 -2
  289. package/dist/utils/number.d.ts +2 -2
  290. package/dist/utils/number.js +7 -5
  291. package/dist/utils/number.mjs +6 -4
  292. package/dist/utils/person.d.mts +2 -2
  293. package/dist/utils/person.d.ts +2 -2
  294. package/dist/utils/person.js +7 -5
  295. package/dist/utils/person.mjs +6 -4
  296. package/dist/utils/phone.d.mts +2 -2
  297. package/dist/utils/phone.d.ts +2 -2
  298. package/dist/utils/phone.js +7 -5
  299. package/dist/utils/phone.mjs +6 -4
  300. package/dist/utils/science.d.mts +2 -2
  301. package/dist/utils/science.d.ts +2 -2
  302. package/dist/utils/science.js +7 -5
  303. package/dist/utils/science.mjs +6 -4
  304. package/dist/utils/string.d.mts +2 -2
  305. package/dist/utils/string.d.ts +2 -2
  306. package/dist/utils/string.js +7 -5
  307. package/dist/utils/string.mjs +6 -4
  308. package/dist/utils/system.d.mts +2 -2
  309. package/dist/utils/system.d.ts +2 -2
  310. package/dist/utils/system.js +7 -5
  311. package/dist/utils/system.mjs +6 -4
  312. package/dist/utils/utils.d.mts +2 -2
  313. package/dist/utils/utils.d.ts +2 -2
  314. package/dist/utils/utils.js +5 -3
  315. package/dist/utils/utils.mjs +4 -2
  316. package/dist/utils/vehicle.d.mts +2 -2
  317. package/dist/utils/vehicle.d.ts +2 -2
  318. package/dist/utils/vehicle.js +7 -5
  319. package/dist/utils/vehicle.mjs +6 -4
  320. package/dist/utils/word.d.mts +1 -1
  321. package/dist/utils/word.d.ts +1 -1
  322. package/dist/utils/word.js +14 -12
  323. package/dist/utils/word.mjs +5 -3
  324. package/dist/utils-BImnOpvp.d.ts +10 -0
  325. package/dist/utils-zJKwaMUY.d.mts +10 -0
  326. package/dist/vehicle-D4yBDYMc.d.mts +35 -0
  327. package/dist/vehicle-Ufz4AoXu.d.ts +35 -0
  328. package/package.json +9 -8
  329. package/tsconfig.json +4 -3
@@ -0,0 +1,78 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-M2ERA63H.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-2FTPTSHD.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-6BWS3CLP.mjs";
10
+
11
+ // src/utils/internet.ts
12
+ var internet_exports = {};
13
+ __export(internet_exports, {
14
+ color: () => color,
15
+ displayName: () => displayName,
16
+ domainName: () => domainName,
17
+ domainSuffix: () => domainSuffix,
18
+ domainWord: () => domainWord,
19
+ email: () => email,
20
+ emoji: () => emoji,
21
+ exampleEmail: () => exampleEmail,
22
+ httpMethod: () => httpMethod,
23
+ httpStatusCode: () => httpStatusCode,
24
+ ip: () => ip,
25
+ ipv4: () => ipv4,
26
+ ipv6: () => ipv6,
27
+ mac: () => mac,
28
+ password: () => password,
29
+ port: () => port,
30
+ protocol: () => protocol,
31
+ url: () => url,
32
+ userAgent: () => userAgent,
33
+ userName: () => userName
34
+ });
35
+ var color = makeValueConfigFn(f.internet.color);
36
+ var displayName = makeValueConfigFn(f.internet.displayName);
37
+ var domainName = makeValueConfigFn(f.internet.domainName);
38
+ var domainSuffix = makeValueConfigFn(f.internet.domainSuffix);
39
+ var domainWord = makeValueConfigFn(f.internet.domainWord);
40
+ var email = makeValueConfigFn(f.internet.email);
41
+ var emoji = makeValueConfigFn(f.internet.emoji);
42
+ var exampleEmail = makeValueConfigFn(f.internet.exampleEmail);
43
+ var httpMethod = makeValueConfigFn(f.internet.httpMethod);
44
+ var httpStatusCode = makeValueConfigFn(f.internet.httpStatusCode);
45
+ var ip = makeValueConfigFn(f.internet.ip);
46
+ var ipv4 = makeValueConfigFn(f.internet.ipv4);
47
+ var ipv6 = makeValueConfigFn(f.internet.ipv6);
48
+ var mac = makeValueConfigFn(f.internet.mac);
49
+ var password = makeValueConfigFn(f.internet.password);
50
+ var port = makeValueConfigFn(f.internet.port);
51
+ var protocol = makeValueConfigFn(f.internet.protocol);
52
+ var url = makeValueConfigFn(f.internet.url);
53
+ var userAgent = makeValueConfigFn(f.internet.userAgent);
54
+ var userName = makeValueConfigFn(f.internet.userName);
55
+
56
+ export {
57
+ color,
58
+ displayName,
59
+ domainName,
60
+ domainSuffix,
61
+ domainWord,
62
+ email,
63
+ emoji,
64
+ exampleEmail,
65
+ httpMethod,
66
+ httpStatusCode,
67
+ ip,
68
+ ipv4,
69
+ ipv6,
70
+ mac,
71
+ password,
72
+ port,
73
+ protocol,
74
+ url,
75
+ userAgent,
76
+ userName,
77
+ internet_exports
78
+ };
@@ -0,0 +1,81 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-7POVLKQR.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-Q6CVTFPU.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/finance.ts
12
+ var finance_exports = {};
13
+ __export(finance_exports, {
14
+ accountName: () => accountName,
15
+ accountNumber: () => accountNumber,
16
+ amount: () => amount,
17
+ bic: () => bic,
18
+ bitcoinAddress: () => bitcoinAddress,
19
+ creditCardCVV: () => creditCardCVV,
20
+ creditCardIssuer: () => creditCardIssuer,
21
+ creditCardNumber: () => creditCardNumber,
22
+ currency: () => currency,
23
+ currencyCode: () => currencyCode,
24
+ currencySymbol: () => currencySymbol,
25
+ ethereumAddress: () => ethereumAddress,
26
+ iban: () => iban,
27
+ litecoinAddress: () => litecoinAddress,
28
+ maskedNumber: () => maskedNumber,
29
+ pin: () => pin,
30
+ routingNumber: () => routingNumber,
31
+ transactionDescription: () => transactionDescription,
32
+ transactionType: () => transactionType
33
+ });
34
+ var accountName = makeValueConfigFn(f.finance.accountName);
35
+ var accountNumber = makeValueConfigFn(f.finance.accountNumber);
36
+ var amount = makeValueConfigFn(f.finance.amount);
37
+ var bic = makeValueConfigFn(f.finance.bic);
38
+ var bitcoinAddress = makeValueConfigFn(f.finance.bitcoinAddress);
39
+ var creditCardCVV = makeValueConfigFn(f.finance.creditCardCVV);
40
+ var creditCardIssuer = makeValueConfigFn(
41
+ f.finance.creditCardIssuer
42
+ );
43
+ var creditCardNumber = makeValueConfigFn(
44
+ f.finance.creditCardNumber
45
+ );
46
+ var currency = makeValueConfigFn(f.finance.currency);
47
+ var currencyCode = makeValueConfigFn(f.finance.currencyCode);
48
+ var currencySymbol = makeValueConfigFn(f.finance.currencySymbol);
49
+ var ethereumAddress = makeValueConfigFn(f.finance.ethereumAddress);
50
+ var iban = makeValueConfigFn(f.finance.iban);
51
+ var litecoinAddress = makeValueConfigFn(f.finance.litecoinAddress);
52
+ var maskedNumber = makeValueConfigFn(f.finance.maskedNumber);
53
+ var pin = makeValueConfigFn(f.finance.pin);
54
+ var routingNumber = makeValueConfigFn(f.finance.routingNumber);
55
+ var transactionDescription = makeValueConfigFn(
56
+ f.finance.transactionDescription
57
+ );
58
+ var transactionType = makeValueConfigFn(f.finance.transactionType);
59
+
60
+ export {
61
+ accountName,
62
+ accountNumber,
63
+ amount,
64
+ bic,
65
+ bitcoinAddress,
66
+ creditCardCVV,
67
+ creditCardIssuer,
68
+ creditCardNumber,
69
+ currency,
70
+ currencyCode,
71
+ currencySymbol,
72
+ ethereumAddress,
73
+ iban,
74
+ litecoinAddress,
75
+ maskedNumber,
76
+ pin,
77
+ routingNumber,
78
+ transactionDescription,
79
+ transactionType,
80
+ finance_exports
81
+ };
@@ -0,0 +1,81 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk6QZF75LHjs = require('./chunk-6QZF75LH.js');
4
+
5
+
6
+ var _chunkZSBGAX6Xjs = require('./chunk-ZSBGAX6X.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/finance.ts
12
+ var finance_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, finance_exports, {
14
+ accountName: () => accountName,
15
+ accountNumber: () => accountNumber,
16
+ amount: () => amount,
17
+ bic: () => bic,
18
+ bitcoinAddress: () => bitcoinAddress,
19
+ creditCardCVV: () => creditCardCVV,
20
+ creditCardIssuer: () => creditCardIssuer,
21
+ creditCardNumber: () => creditCardNumber,
22
+ currency: () => currency,
23
+ currencyCode: () => currencyCode,
24
+ currencySymbol: () => currencySymbol,
25
+ ethereumAddress: () => ethereumAddress,
26
+ iban: () => iban,
27
+ litecoinAddress: () => litecoinAddress,
28
+ maskedNumber: () => maskedNumber,
29
+ pin: () => pin,
30
+ routingNumber: () => routingNumber,
31
+ transactionDescription: () => transactionDescription,
32
+ transactionType: () => transactionType
33
+ });
34
+ var accountName = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.accountName);
35
+ var accountNumber = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.accountNumber);
36
+ var amount = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.amount);
37
+ var bic = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.bic);
38
+ var bitcoinAddress = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.bitcoinAddress);
39
+ var creditCardCVV = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.creditCardCVV);
40
+ var creditCardIssuer = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
41
+ _chunkZSBGAX6Xjs.f.finance.creditCardIssuer
42
+ );
43
+ var creditCardNumber = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
44
+ _chunkZSBGAX6Xjs.f.finance.creditCardNumber
45
+ );
46
+ var currency = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.currency);
47
+ var currencyCode = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.currencyCode);
48
+ var currencySymbol = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.currencySymbol);
49
+ var ethereumAddress = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.ethereumAddress);
50
+ var iban = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.iban);
51
+ var litecoinAddress = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.litecoinAddress);
52
+ var maskedNumber = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.maskedNumber);
53
+ var pin = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.pin);
54
+ var routingNumber = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.routingNumber);
55
+ var transactionDescription = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
56
+ _chunkZSBGAX6Xjs.f.finance.transactionDescription
57
+ );
58
+ var transactionType = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.finance.transactionType);
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ exports.accountName = accountName; exports.accountNumber = accountNumber; exports.amount = amount; exports.bic = bic; exports.bitcoinAddress = bitcoinAddress; exports.creditCardCVV = creditCardCVV; exports.creditCardIssuer = creditCardIssuer; exports.creditCardNumber = creditCardNumber; exports.currency = currency; exports.currencyCode = currencyCode; exports.currencySymbol = currencySymbol; exports.ethereumAddress = ethereumAddress; exports.iban = iban; exports.litecoinAddress = litecoinAddress; exports.maskedNumber = maskedNumber; exports.pin = pin; exports.routingNumber = routingNumber; exports.transactionDescription = transactionDescription; exports.transactionType = transactionType; exports.finance_exports = finance_exports;
@@ -0,0 +1,30 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk6QZF75LHjs = require('./chunk-6QZF75LH.js');
4
+
5
+
6
+ var _chunkZSBGAX6Xjs = require('./chunk-ZSBGAX6X.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/music.ts
12
+ var music_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, music_exports, {
14
+ album: () => album,
15
+ artist: () => artist,
16
+ genre: () => genre,
17
+ songName: () => songName
18
+ });
19
+ var album = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.music.album);
20
+ var artist = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.music.artist);
21
+ var genre = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.music.genre);
22
+ var songName = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkZSBGAX6Xjs.f.music.songName);
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+ exports.album = album; exports.artist = artist; exports.genre = genre; exports.songName = songName; exports.music_exports = music_exports;
@@ -0,0 +1,81 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-M2ERA63H.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-2FTPTSHD.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-6BWS3CLP.mjs";
10
+
11
+ // src/utils/finance.ts
12
+ var finance_exports = {};
13
+ __export(finance_exports, {
14
+ accountName: () => accountName,
15
+ accountNumber: () => accountNumber,
16
+ amount: () => amount,
17
+ bic: () => bic,
18
+ bitcoinAddress: () => bitcoinAddress,
19
+ creditCardCVV: () => creditCardCVV,
20
+ creditCardIssuer: () => creditCardIssuer,
21
+ creditCardNumber: () => creditCardNumber,
22
+ currency: () => currency,
23
+ currencyCode: () => currencyCode,
24
+ currencySymbol: () => currencySymbol,
25
+ ethereumAddress: () => ethereumAddress,
26
+ iban: () => iban,
27
+ litecoinAddress: () => litecoinAddress,
28
+ maskedNumber: () => maskedNumber,
29
+ pin: () => pin,
30
+ routingNumber: () => routingNumber,
31
+ transactionDescription: () => transactionDescription,
32
+ transactionType: () => transactionType
33
+ });
34
+ var accountName = makeValueConfigFn(f.finance.accountName);
35
+ var accountNumber = makeValueConfigFn(f.finance.accountNumber);
36
+ var amount = makeValueConfigFn(f.finance.amount);
37
+ var bic = makeValueConfigFn(f.finance.bic);
38
+ var bitcoinAddress = makeValueConfigFn(f.finance.bitcoinAddress);
39
+ var creditCardCVV = makeValueConfigFn(f.finance.creditCardCVV);
40
+ var creditCardIssuer = makeValueConfigFn(
41
+ f.finance.creditCardIssuer
42
+ );
43
+ var creditCardNumber = makeValueConfigFn(
44
+ f.finance.creditCardNumber
45
+ );
46
+ var currency = makeValueConfigFn(f.finance.currency);
47
+ var currencyCode = makeValueConfigFn(f.finance.currencyCode);
48
+ var currencySymbol = makeValueConfigFn(f.finance.currencySymbol);
49
+ var ethereumAddress = makeValueConfigFn(f.finance.ethereumAddress);
50
+ var iban = makeValueConfigFn(f.finance.iban);
51
+ var litecoinAddress = makeValueConfigFn(f.finance.litecoinAddress);
52
+ var maskedNumber = makeValueConfigFn(f.finance.maskedNumber);
53
+ var pin = makeValueConfigFn(f.finance.pin);
54
+ var routingNumber = makeValueConfigFn(f.finance.routingNumber);
55
+ var transactionDescription = makeValueConfigFn(
56
+ f.finance.transactionDescription
57
+ );
58
+ var transactionType = makeValueConfigFn(f.finance.transactionType);
59
+
60
+ export {
61
+ accountName,
62
+ accountNumber,
63
+ amount,
64
+ bic,
65
+ bitcoinAddress,
66
+ creditCardCVV,
67
+ creditCardIssuer,
68
+ creditCardNumber,
69
+ currency,
70
+ currencyCode,
71
+ currencySymbol,
72
+ ethereumAddress,
73
+ iban,
74
+ litecoinAddress,
75
+ maskedNumber,
76
+ pin,
77
+ routingNumber,
78
+ transactionDescription,
79
+ transactionType,
80
+ finance_exports
81
+ };
@@ -0,0 +1,151 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+ var _chunkZSBGAX6Xjs = require('./chunk-ZSBGAX6X.js');
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunkA4QVPMYTjs = require('./chunk-A4QVPMYT.js');
12
+
13
+ // src/create_generator_fn.ts
14
+ var _createValueGenerator = (config, path) => {
15
+ try {
16
+ _chunkA4QVPMYTjs.valueConfigScheme.parse(config);
17
+ } catch (err) {
18
+ throw new Error(`config path: ${path}.value
19
+ ${err}`);
20
+ }
21
+ return config.generateFn;
22
+ };
23
+ var createValueGenerator = (config) => _createValueGenerator(config, "*");
24
+ var _createSelectionGenerator = (config, path) => {
25
+ try {
26
+ _chunkA4QVPMYTjs.selectionConfigScheme.parse(config);
27
+ } catch (err) {
28
+ throw new Error(`config path: ${path}.select
29
+ ${err}`);
30
+ }
31
+ const { items } = config;
32
+ return () => items[_chunkZSBGAX6Xjs.f.number.int(items.length - 1)];
33
+ };
34
+ var createSelectionGenerator = (config) => _createSelectionGenerator(config, "*");
35
+ var _createObjectGenerator = (config, path, customTypeMatch) => {
36
+ try {
37
+ _chunkA4QVPMYTjs.objConfigScheme.parse(config);
38
+ } catch (err) {
39
+ throw new Error(`config path: ${path}.obj
40
+ ${err}`);
41
+ }
42
+ const keyWithFns = Object.entries(config.content).map(([key, subConfig]) => [
43
+ key,
44
+ _createGeneratorByType(subConfig, `${path}.obj[${key}]`, customTypeMatch)
45
+ ]);
46
+ return () => {
47
+ const result = {};
48
+ for (const [key, generateFn] of keyWithFns) {
49
+ result[key] = generateFn();
50
+ }
51
+ return result;
52
+ };
53
+ };
54
+ var createObjectGenerator = (config, customTypeMatch) => _createObjectGenerator(config, "*", customTypeMatch);
55
+ var _createArrayGenerator = (config, path, customTypeMatch) => {
56
+ try {
57
+ _chunkA4QVPMYTjs.arrayConfigScheme.parse(config);
58
+ } catch (err) {
59
+ throw new Error(`config path: ${path}.arr
60
+ ${err}`);
61
+ }
62
+ const itemGeneratorFn = _createGeneratorByType(
63
+ config.item,
64
+ `${path}.arr`,
65
+ customTypeMatch
66
+ );
67
+ return () => Array.from({ length: _nullishCoalesce(config.len, () => ( 0)) }, itemGeneratorFn);
68
+ };
69
+ var createArrayGenerator = (config, customTypeMatch) => _createArrayGenerator(config, "*", customTypeMatch);
70
+ var _createTupleGenerator = (config, path, customTypeMatch) => {
71
+ try {
72
+ _chunkA4QVPMYTjs.tupleConfigScheme.parse(config);
73
+ } catch (err) {
74
+ throw new Error(`config path: ${path}.tuple
75
+ ${err}`);
76
+ }
77
+ const itemsFns = config.configItems.map(
78
+ (configItem, index) => _createGeneratorByType(
79
+ configItem,
80
+ `${path}.tuple[${index}]`,
81
+ customTypeMatch
82
+ )
83
+ );
84
+ return () => itemsFns.map((generateFn) => generateFn());
85
+ };
86
+ var createTupleGenerator = (config, customTypeMatch) => _createTupleGenerator(config, "*", customTypeMatch);
87
+ var _createBoundedSeriesGenerator = (config, path) => {
88
+ try {
89
+ _chunkA4QVPMYTjs.boundedSeriesScheme.parse(config);
90
+ } catch (err) {
91
+ throw new Error(`config path: ${path}.boundedSeries
92
+ ${err}`);
93
+ }
94
+ const { upperLimit, lowerLimit, createInitValue, count } = config;
95
+ return () => {
96
+ let value = createInitValue();
97
+ const boundedSeries = [];
98
+ for (let i = 0; i < count; i++) {
99
+ value = _chunkZSBGAX6Xjs.f.number.float({ max: upperLimit, min: lowerLimit }) * value;
100
+ boundedSeries.push(value);
101
+ }
102
+ return boundedSeries;
103
+ };
104
+ };
105
+ var createBoundedSeriesGenerator = (config) => _createBoundedSeriesGenerator(config, "*");
106
+ var _createGeneratorByType = (config, path, customTypeMatch) => {
107
+ switch (config.type) {
108
+ case "obj":
109
+ return _createObjectGenerator(
110
+ config,
111
+ path,
112
+ customTypeMatch
113
+ );
114
+ case "arr":
115
+ return _createArrayGenerator(
116
+ config,
117
+ path,
118
+ customTypeMatch
119
+ );
120
+ case "tuple":
121
+ return _createTupleGenerator(
122
+ config,
123
+ path,
124
+ customTypeMatch
125
+ );
126
+ case "select":
127
+ return _createSelectionGenerator(config, path);
128
+ case "value":
129
+ return _createValueGenerator(config, path);
130
+ case "bounded_series":
131
+ return _createBoundedSeriesGenerator(config, path);
132
+ default: {
133
+ if (customTypeMatch) {
134
+ return createValueGenerator(customTypeMatch(config, path));
135
+ }
136
+ throw new Error(`path: ${path}
137
+ config type is not supported`);
138
+ }
139
+ }
140
+ };
141
+ var createGeneratorByType = (config, customTypeMatch) => _createGeneratorByType(config, "*", customTypeMatch);
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ exports.createValueGenerator = createValueGenerator; exports.createSelectionGenerator = createSelectionGenerator; exports.createObjectGenerator = createObjectGenerator; exports.createArrayGenerator = createArrayGenerator; exports.createTupleGenerator = createTupleGenerator; exports.createBoundedSeriesGenerator = createBoundedSeriesGenerator; exports.createGeneratorByType = createGeneratorByType;
@@ -0,0 +1,74 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-7POVLKQR.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-Q6CVTFPU.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/location.ts
12
+ var location_exports = {};
13
+ __export(location_exports, {
14
+ buildingNumber: () => buildingNumber,
15
+ cardinalDirection: () => cardinalDirection,
16
+ city: () => city,
17
+ country: () => country,
18
+ countryCode: () => countryCode,
19
+ county: () => county,
20
+ direction: () => direction,
21
+ latitude: () => latitude,
22
+ longitude: () => longitude,
23
+ nearbyGPSCoordinate: () => nearbyGPSCoordinate,
24
+ ordinalDirection: () => ordinalDirection,
25
+ secondaryAddress: () => secondaryAddress,
26
+ state: () => state,
27
+ street: () => street,
28
+ streetAddress: () => streetAddress,
29
+ timeZone: () => timeZone
30
+ });
31
+ var buildingNumber = makeValueConfigFn(f.location.buildingNumber);
32
+ var cardinalDirection = makeValueConfigFn(
33
+ f.location.cardinalDirection
34
+ );
35
+ var city = makeValueConfigFn(f.location.city);
36
+ var country = makeValueConfigFn(f.location.country);
37
+ var countryCode = makeValueConfigFn(f.location.countryCode);
38
+ var county = makeValueConfigFn(f.location.county);
39
+ var direction = makeValueConfigFn(f.location.direction);
40
+ var latitude = makeValueConfigFn(f.location.latitude);
41
+ var longitude = makeValueConfigFn(f.location.longitude);
42
+ var nearbyGPSCoordinate = makeValueConfigFn(
43
+ f.location.nearbyGPSCoordinate
44
+ );
45
+ var ordinalDirection = makeValueConfigFn(
46
+ f.location.ordinalDirection
47
+ );
48
+ var secondaryAddress = makeValueConfigFn(
49
+ f.location.secondaryAddress
50
+ );
51
+ var state = makeValueConfigFn(f.location.state);
52
+ var street = makeValueConfigFn(f.location.street);
53
+ var streetAddress = makeValueConfigFn(f.location.streetAddress);
54
+ var timeZone = makeValueConfigFn(f.location.timeZone);
55
+
56
+ export {
57
+ buildingNumber,
58
+ cardinalDirection,
59
+ city,
60
+ country,
61
+ countryCode,
62
+ county,
63
+ direction,
64
+ latitude,
65
+ longitude,
66
+ nearbyGPSCoordinate,
67
+ ordinalDirection,
68
+ secondaryAddress,
69
+ state,
70
+ street,
71
+ streetAddress,
72
+ timeZone,
73
+ location_exports
74
+ };
@@ -0,0 +1,45 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-7POVLKQR.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-Q6CVTFPU.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/lorem.ts
12
+ var lorem_exports = {};
13
+ __export(lorem_exports, {
14
+ lines: () => lines,
15
+ paragraph: () => paragraph,
16
+ paragraphs: () => paragraphs,
17
+ sentence: () => sentence,
18
+ sentences: () => sentences,
19
+ slug: () => slug,
20
+ text: () => text,
21
+ word: () => word,
22
+ words: () => words
23
+ });
24
+ var lines = makeValueConfigFn(f.lorem.lines);
25
+ var paragraph = makeValueConfigFn(f.lorem.paragraph);
26
+ var paragraphs = makeValueConfigFn(f.lorem.paragraphs);
27
+ var sentence = makeValueConfigFn(f.lorem.sentence);
28
+ var sentences = makeValueConfigFn(f.lorem.sentences);
29
+ var slug = makeValueConfigFn(f.lorem.slug);
30
+ var text = makeValueConfigFn(f.lorem.text);
31
+ var word = makeValueConfigFn(f.lorem.word);
32
+ var words = makeValueConfigFn(f.lorem.words);
33
+
34
+ export {
35
+ lines,
36
+ paragraph,
37
+ paragraphs,
38
+ sentence,
39
+ sentences,
40
+ slug,
41
+ text,
42
+ word,
43
+ words,
44
+ lorem_exports
45
+ };