struct-fakerator 2.4.7 → 2.5.7
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.
- package/biome.json +1 -1
- package/dist/airline-98MCzMN8.d.ts +26 -0
- package/dist/airline-CuAxOEYH.d.mts +26 -0
- package/dist/animal-BohQ7s0w.d.mts +53 -0
- package/dist/animal-o8BFF7gd.d.ts +53 -0
- package/dist/chunk-25HDDMTE.js +45 -0
- package/dist/chunk-266JLHQ7.mjs +27 -0
- package/dist/chunk-2FTPTSHD.mjs +1972 -0
- package/dist/chunk-2P6DPKAW.js +35 -0
- package/dist/chunk-2QPSWN3J.js +24 -0
- package/dist/chunk-2SF54GZN.mjs +24 -0
- package/dist/chunk-2UAN3WRZ.js +51 -0
- package/dist/chunk-2VTSGFBK.mjs +56 -0
- package/dist/chunk-2ZR6AR26.js +24 -0
- package/dist/chunk-3AXS7RA6.mjs +18 -0
- package/dist/chunk-3DIP4M5Y.mjs +36 -0
- package/dist/chunk-3U6BNHWG.mjs +2040 -0
- package/dist/chunk-42EKB2FX.js +74 -0
- package/dist/chunk-4OB35J4Q.mjs +151 -0
- package/dist/chunk-4VNS5WPM.js +42 -0
- package/dist/chunk-52ZOIHJM.js +26 -0
- package/dist/chunk-55HSOHNN.js +36 -0
- package/dist/chunk-5A3HJWPX.mjs +33 -0
- package/dist/chunk-5PCIFPK7.js +15721 -0
- package/dist/chunk-5TG43IWT.js +36 -0
- package/dist/chunk-5UFZ4NET.mjs +26 -0
- package/dist/chunk-5VTJIH2Q.mjs +63 -0
- package/dist/chunk-5ZNSQDU5.js +81 -0
- package/dist/chunk-6BWS3CLP.mjs +16 -0
- package/dist/chunk-6GXFVYK2.js +18 -0
- package/dist/chunk-6QZF75LH.js +20 -0
- package/dist/chunk-6TGTIMX2.mjs +151 -0
- package/dist/chunk-73BBBL26.js +49 -0
- package/dist/chunk-7C2MCLYX.mjs +15721 -0
- package/dist/chunk-7IWAOHPW.mjs +27 -0
- package/dist/chunk-7POVLKQR.mjs +20 -0
- package/dist/chunk-7UQSPUCL.mjs +0 -0
- package/dist/chunk-7ZAVU2DI.mjs +81 -0
- package/dist/chunk-A4QVPMYT.js +44 -0
- package/dist/chunk-A5YXOL6G.mjs +63 -0
- package/dist/chunk-ABZZ2Y2O.mjs +45 -0
- package/dist/chunk-AT4FPDTE.mjs +51 -0
- package/dist/chunk-B3RA7BAM.mjs +30 -0
- package/dist/chunk-B7MK7WHV.mjs +21 -0
- package/dist/chunk-BMQ2NETL.js +63 -0
- package/dist/chunk-BNJUSXEO.js +27 -0
- package/dist/chunk-BVGE5IMC.js +45 -0
- package/dist/chunk-C6FQYK5T.js +81 -0
- package/dist/chunk-C6IEYVWV.mjs +21 -0
- package/dist/chunk-CKNDI3RH.js +24 -0
- package/dist/chunk-CSOXFDKC.mjs +42 -0
- package/dist/chunk-D3DPNIYF.mjs +36 -0
- package/dist/chunk-D74AUXZW.mjs +35 -0
- package/dist/chunk-DONFLQME.js +49 -0
- package/dist/chunk-DX6NQK6H.js +49 -0
- package/dist/chunk-DXVB5THL.js +36 -0
- package/dist/chunk-E3EZHXI2.mjs +45 -0
- package/dist/chunk-E3N3PWFI.js +45 -0
- package/dist/chunk-E7JW4TGQ.mjs +49 -0
- package/dist/chunk-ECTLN5SO.mjs +63 -0
- package/dist/chunk-EGCGEPYD.mjs +24 -0
- package/dist/chunk-EPWKT75L.js +63 -0
- package/dist/chunk-ES6I4JEP.js +24 -0
- package/dist/chunk-F4NIEPKF.mjs +48 -0
- package/dist/chunk-F4WSUHUB.js +27 -0
- package/dist/chunk-FGA73ALI.mjs +45 -0
- package/dist/chunk-FT5QWXEO.mjs +21 -0
- package/dist/chunk-G73JPAKW.mjs +16831 -0
- package/dist/chunk-GAOFL72U.mjs +24 -0
- package/dist/chunk-GMOMLI4W.js +56 -0
- package/dist/chunk-GNLLMLQX.js +48 -0
- package/dist/chunk-GNPP2GGZ.js +16831 -0
- package/dist/chunk-GSFJYUDA.js +63 -0
- package/dist/chunk-GUIYTTMP.mjs +24 -0
- package/dist/chunk-HEHR64VN.js +1972 -0
- package/dist/chunk-HLHMXAI2.js +21 -0
- package/dist/chunk-HMDAKHLF.js +151 -0
- package/dist/chunk-HNCQJ5F3.js +56 -0
- package/dist/chunk-HVWSAC7Q.js +74 -0
- package/dist/chunk-IEYIHOHM.js +57 -0
- package/dist/chunk-IRHHL256.mjs +36 -0
- package/dist/chunk-IY4LBMAL.js +78 -0
- package/dist/chunk-JC2FY5K5.mjs +42 -0
- package/dist/chunk-JIPBMHNL.mjs +63 -0
- package/dist/chunk-JIWCYW33.js +35 -0
- package/dist/chunk-JSZXNY5A.js +33 -0
- package/dist/chunk-JUS3FQET.js +63 -0
- package/dist/chunk-KDRX2A7A.mjs +45 -0
- package/dist/chunk-KDTNND32.js +63 -0
- package/dist/chunk-KESFLCJB.mjs +57 -0
- package/dist/chunk-KKDNACGF.js +78 -0
- package/dist/chunk-KSBJZ7PZ.mjs +48 -0
- package/dist/chunk-KVPPJDFE.mjs +63 -0
- package/dist/chunk-L55R55BM.mjs +24 -0
- package/dist/chunk-L7SUBSOS.mjs +74 -0
- package/dist/chunk-LGYUIU5L.js +33 -0
- package/dist/chunk-LKLQIBRC.mjs +18 -0
- package/dist/chunk-LPLLITHD.mjs +33 -0
- package/dist/chunk-LSP4VVPM.mjs +45 -0
- package/dist/chunk-LYYFKB5U.mjs +48 -0
- package/dist/chunk-M2ERA63H.mjs +20 -0
- package/dist/chunk-M3JRMFX2.js +36 -0
- package/dist/chunk-MHBVLDC4.js +30 -0
- package/dist/chunk-N2ZA6SQB.mjs +45 -0
- package/dist/chunk-NBUVTD24.js +24 -0
- package/dist/chunk-NGJNM6BX.mjs +48 -0
- package/dist/chunk-NWVKBRLA.js +30 -0
- package/dist/chunk-O73LDQID.mjs +57 -0
- package/dist/chunk-OAPPDES4.js +51 -0
- package/dist/chunk-OETKBS7R.mjs +63 -0
- package/dist/chunk-OFMBEI6Y.js +20 -0
- package/dist/chunk-OJRNPQVE.js +45 -0
- package/dist/chunk-OKDN5R6M.mjs +78 -0
- package/dist/chunk-OTDJMFZE.js +36 -0
- package/dist/chunk-OZ5VJVBQ.js +21 -0
- package/dist/chunk-OZ7Y3D4Z.js +48 -0
- package/dist/chunk-P2NEBQQH.mjs +78 -0
- package/dist/chunk-PBOBMHB3.js +45 -0
- package/dist/chunk-PEMTSFQT.mjs +36 -0
- package/dist/chunk-PSTZXVEM.mjs +45 -0
- package/dist/chunk-PXVILWPC.js +51 -0
- package/dist/chunk-PXXIPMA2.mjs +17567 -0
- package/dist/chunk-PYIUSFN2.js +48 -0
- package/dist/chunk-Q4BXZB6O.mjs +35 -0
- package/dist/chunk-Q6CVTFPU.mjs +2022 -0
- package/dist/chunk-Q7THO24V.js +45 -0
- package/dist/chunk-QEVQSGOW.mjs +49 -0
- package/dist/chunk-QFG2B4XU.js +35 -0
- package/dist/chunk-QH2RT36U.js +57 -0
- package/dist/chunk-QHW2YYKY.js +45 -0
- package/dist/chunk-QMNACCJG.mjs +30 -0
- package/dist/chunk-QOATILWS.mjs +48 -0
- package/dist/chunk-R5U7XKVJ.js +16 -0
- package/dist/chunk-RA35MXTT.mjs +51 -0
- package/dist/chunk-RDATYKAG.mjs +58 -0
- package/dist/chunk-RDMAE6F2.js +17567 -0
- package/dist/chunk-RFTRP37B.mjs +74 -0
- package/dist/chunk-RIOEYYMH.mjs +30 -0
- package/dist/chunk-RM7GMMWN.mjs +49 -0
- package/dist/chunk-ROM4ZH2A.js +56 -0
- package/dist/chunk-RUTM5ENW.js +57 -0
- package/dist/chunk-RW4IZD3J.js +74 -0
- package/dist/chunk-S2AEEWWW.mjs +36 -0
- package/dist/chunk-SEUDYVHA.js +45 -0
- package/dist/chunk-SMIDTCUZ.mjs +56 -0
- package/dist/chunk-SN2ALAEI.mjs +36 -0
- package/dist/chunk-SN4QTD6R.js +1 -0
- package/dist/chunk-SSZ5GGDT.js +45 -0
- package/dist/chunk-SVMTK42D.mjs +48 -0
- package/dist/chunk-SYIPILT6.mjs +35 -0
- package/dist/chunk-TSDTKUIT.mjs +151 -0
- package/dist/chunk-TZ2RKEBF.js +2040 -0
- package/dist/chunk-U3EACZZ3.js +18 -0
- package/dist/chunk-U634RJNK.js +36 -0
- package/dist/chunk-UCRPFQYY.js +48 -0
- package/dist/chunk-UEXFND2J.mjs +56 -0
- package/dist/chunk-UJ5Q7MZB.js +78 -0
- package/dist/chunk-UOY5QUAW.js +63 -0
- package/dist/chunk-UP3FJ7EK.mjs +44 -0
- package/dist/chunk-URX5VRVB.js +24 -0
- package/dist/chunk-UUIIGFUZ.js +33 -0
- package/dist/chunk-VKKQV6UO.js +42 -0
- package/dist/chunk-VOMHZHCC.js +21 -0
- package/dist/chunk-VVELSEXL.mjs +27 -0
- package/dist/chunk-VX346ARA.js +42 -0
- package/dist/chunk-VYV7BUJR.js +42 -0
- package/dist/chunk-W6QSJNDJ.js +58 -0
- package/dist/chunk-X5WN73EF.js +48 -0
- package/dist/chunk-X7YFEBIL.mjs +28 -0
- package/dist/chunk-XGB3TDIC.mjs +42 -0
- package/dist/chunk-XI5L2ENL.js +28 -0
- package/dist/chunk-XIROUDIK.js +151 -0
- package/dist/chunk-XJGSUINR.mjs +24 -0
- package/dist/chunk-XN5RU4UY.js +27 -0
- package/dist/chunk-XUZOVQYC.mjs +42 -0
- package/dist/chunk-XVQOUXV6.js +48 -0
- package/dist/chunk-Y2G3CY4Q.mjs +51 -0
- package/dist/chunk-YJXRZ5WX.mjs +78 -0
- package/dist/chunk-YRB3F2AG.mjs +81 -0
- package/dist/chunk-YUFVOYYX.mjs +57 -0
- package/dist/chunk-YVASGALV.js +81 -0
- package/dist/chunk-YWFUY5A4.js +30 -0
- package/dist/chunk-YZNZHRY3.mjs +81 -0
- package/dist/chunk-Z46HCVNZ.js +151 -0
- package/dist/chunk-ZAU43ZDI.mjs +74 -0
- package/dist/chunk-ZBU5LSC3.mjs +45 -0
- package/dist/chunk-ZSBGAX6X.js +2022 -0
- package/dist/chunk-ZTUCFJLM.mjs +33 -0
- package/dist/chunk-ZXWWD74E.mjs +45 -0
- package/dist/color-BT6BF8oV.d.mts +61 -0
- package/dist/color-lBH29suB.d.ts +61 -0
- package/dist/commerce-BqVjXEhQ.d.mts +40 -0
- package/dist/commerce-mdOpchjx.d.ts +40 -0
- package/dist/common-IR_KozaJ.d.mts +11 -0
- package/dist/common-t-ZQebCq.d.ts +11 -0
- package/dist/company-C3EU1J7k.d.ts +35 -0
- package/dist/company-cR_0hm6U.d.mts +35 -0
- package/dist/config-BTjogu5M.d.ts +7 -0
- package/dist/config-C1N2Brw-.d.mts +7 -0
- package/dist/config.d.mts +2 -0
- package/dist/config.d.ts +2 -0
- package/dist/config.js +19 -0
- package/dist/config.mjs +19 -0
- package/dist/config_scheme.d.mts +100 -0
- package/dist/config_scheme.d.ts +100 -0
- package/dist/config_scheme.js +17 -0
- package/dist/config_scheme.mjs +17 -0
- package/dist/create_config.d.mts +53 -0
- package/dist/create_config.d.ts +53 -0
- package/dist/create_config.js +18 -0
- package/dist/create_config.mjs +18 -0
- package/dist/create_config.test.d.mts +2 -0
- package/dist/create_config.test.d.ts +2 -0
- package/dist/create_config.test.js +63 -0
- package/dist/create_config.test.mjs +63 -0
- package/dist/create_generator_fn.d.mts +12 -0
- package/dist/create_generator_fn.d.ts +12 -0
- package/dist/create_generator_fn.js +21 -0
- package/dist/create_generator_fn.mjs +21 -0
- package/dist/create_generator_fn.test.d.mts +2 -0
- package/dist/create_generator_fn.test.d.ts +2 -0
- package/dist/create_generator_fn.test.js +178 -0
- package/dist/create_generator_fn.test.mjs +178 -0
- package/dist/database-DV9wgnca.d.ts +23 -0
- package/dist/database-UzO1Lwec.d.mts +23 -0
- package/dist/datatype-C92TZLxo.d.ts +13 -0
- package/dist/datatype-DZjmP0fA.d.mts +13 -0
- package/dist/datetime-CSUpnUXU.d.ts +78 -0
- package/dist/datetime-dnPA_lnt.d.mts +78 -0
- package/dist/finance-CstKW1nH.d.mts +90 -0
- package/dist/finance-gj0fiEmf.d.ts +90 -0
- package/dist/food-CInj1GX2.d.ts +35 -0
- package/dist/food-Dk3-40CY.d.mts +35 -0
- package/dist/generator_fn-CJDbnCZl.d.mts +7 -0
- package/dist/generator_fn-D-npAfnC.d.ts +7 -0
- package/dist/generator_fn.d.mts +2 -0
- package/dist/generator_fn.d.ts +2 -0
- package/dist/generator_fn.js +22 -0
- package/dist/generator_fn.mjs +22 -0
- package/dist/git-BHL1ppL4.d.ts +31 -0
- package/dist/git-w0nznSjX.d.mts +31 -0
- package/dist/hacker-DL7pR6JO.d.ts +26 -0
- package/dist/hacker-FcQXZGtz.d.mts +26 -0
- package/dist/image-B5OPCNhD.d.mts +56 -0
- package/dist/image-IyGCgqNf.d.ts +56 -0
- package/dist/index.d.mts +5 -57
- package/dist/index.d.ts +5 -57
- package/dist/index.js +44 -162
- package/dist/index.mjs +22 -140
- package/dist/internet-BWBjFZ1E.d.mts +101 -0
- package/dist/internet-BukCBMX-.d.ts +106 -0
- package/dist/internet-C2ElurWb.d.mts +106 -0
- package/dist/internet-WmWuV39U.d.ts +101 -0
- package/dist/location-BIZ-KsaI.d.ts +80 -0
- package/dist/location-WU_nRdjx.d.mts +80 -0
- package/dist/lorem-OlHaVntu.d.mts +62 -0
- package/dist/lorem-yMyLb-d-.d.ts +62 -0
- package/dist/magic-string.es-2DLPM6Q3.js +1299 -0
- package/dist/magic-string.es-NHTKQXSF.mjs +1299 -0
- package/dist/magic-string.es-PQN52XPX.js +1288 -0
- package/dist/magic-string.es-X3ME2TR2.mjs +1288 -0
- package/dist/music-P8XZ4JSO.d.ts +20 -0
- package/dist/music-vcWm9dzu.d.mts +20 -0
- package/dist/number-BfwwKvTJ.d.mts +48 -0
- package/dist/number-D5QmTRsK.d.ts +48 -0
- package/dist/number-DomDs-l5.d.mts +47 -0
- package/dist/number-DvzbKHZR.d.ts +47 -0
- package/dist/person-DXne2mKX.d.ts +58 -0
- package/dist/person-Si_vy67g.d.mts +58 -0
- package/dist/phone-Cbxvm_Qv.d.ts +16 -0
- package/dist/phone-g4FDs50M.d.mts +16 -0
- package/dist/science-BX8WhoEY.d.ts +15 -0
- package/dist/science-BfA9sVXz.d.mts +15 -0
- package/dist/string-DGScZrrP.d.mts +87 -0
- package/dist/string-Do4vhsl0.d.ts +87 -0
- package/dist/system-BpxbduIr.d.ts +55 -0
- package/dist/system-Cy0e05Cr.d.mts +55 -0
- package/dist/system-EuG0S2Xy.d.mts +55 -0
- package/dist/system-ZV2S9Qw2.d.ts +55 -0
- package/dist/type.d.mts +85 -0
- package/dist/type.d.ts +85 -0
- package/dist/type.js +1 -0
- package/dist/type.mjs +1 -0
- package/dist/utils/airline.d.mts +2 -2
- package/dist/utils/airline.d.ts +2 -2
- package/dist/utils/airline.js +7 -5
- package/dist/utils/airline.mjs +6 -4
- package/dist/utils/animal.d.mts +2 -2
- package/dist/utils/animal.d.ts +2 -2
- package/dist/utils/animal.js +7 -5
- package/dist/utils/animal.mjs +6 -4
- package/dist/utils/color.d.mts +2 -2
- package/dist/utils/color.d.ts +2 -2
- package/dist/utils/color.js +7 -5
- package/dist/utils/color.mjs +6 -4
- package/dist/utils/commerce.d.mts +2 -2
- package/dist/utils/commerce.d.ts +2 -2
- package/dist/utils/commerce.js +7 -5
- package/dist/utils/commerce.mjs +6 -4
- package/dist/utils/common.d.mts +2 -2
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/common.js +5 -3
- package/dist/utils/common.mjs +4 -2
- package/dist/utils/company.d.mts +2 -2
- package/dist/utils/company.d.ts +2 -2
- package/dist/utils/company.js +7 -5
- package/dist/utils/company.mjs +6 -4
- package/dist/utils/database.d.mts +2 -2
- package/dist/utils/database.d.ts +2 -2
- package/dist/utils/database.js +7 -5
- package/dist/utils/database.mjs +6 -4
- package/dist/utils/datatype.d.mts +2 -2
- package/dist/utils/datatype.d.ts +2 -2
- package/dist/utils/datatype.js +7 -5
- package/dist/utils/datatype.mjs +6 -4
- package/dist/utils/datetime.d.mts +2 -2
- package/dist/utils/datetime.d.ts +2 -2
- package/dist/utils/datetime.js +7 -5
- package/dist/utils/datetime.mjs +6 -4
- package/dist/utils/finance.d.mts +2 -2
- package/dist/utils/finance.d.ts +2 -2
- package/dist/utils/finance.js +7 -5
- package/dist/utils/finance.mjs +6 -4
- package/dist/utils/food.d.mts +2 -2
- package/dist/utils/food.d.ts +2 -2
- package/dist/utils/food.js +7 -5
- package/dist/utils/food.mjs +6 -4
- package/dist/utils/git.d.mts +2 -2
- package/dist/utils/git.d.ts +2 -2
- package/dist/utils/git.js +7 -5
- package/dist/utils/git.mjs +6 -4
- package/dist/utils/hacker.d.mts +2 -2
- package/dist/utils/hacker.d.ts +2 -2
- package/dist/utils/hacker.js +7 -5
- package/dist/utils/hacker.mjs +6 -4
- package/dist/utils/image.d.mts +2 -2
- package/dist/utils/image.d.ts +2 -2
- package/dist/utils/image.js +7 -5
- package/dist/utils/image.mjs +6 -4
- package/dist/utils/index.d.mts +27 -27
- package/dist/utils/index.d.ts +27 -27
- package/dist/utils/index.js +31 -29
- package/dist/utils/index.mjs +30 -28
- package/dist/utils/internet.d.mts +3 -2
- package/dist/utils/internet.d.ts +3 -2
- package/dist/utils/internet.js +7 -5
- package/dist/utils/internet.mjs +6 -4
- package/dist/utils/location.d.mts +2 -2
- package/dist/utils/location.d.ts +2 -2
- package/dist/utils/location.js +7 -5
- package/dist/utils/location.mjs +6 -4
- package/dist/utils/lorem.d.mts +2 -2
- package/dist/utils/lorem.d.ts +2 -2
- package/dist/utils/lorem.js +7 -5
- package/dist/utils/lorem.mjs +6 -4
- package/dist/utils/music.d.mts +2 -2
- package/dist/utils/music.d.ts +2 -2
- package/dist/utils/music.js +7 -5
- package/dist/utils/music.mjs +6 -4
- package/dist/utils/number.d.mts +2 -2
- package/dist/utils/number.d.ts +2 -2
- package/dist/utils/number.js +7 -5
- package/dist/utils/number.mjs +6 -4
- package/dist/utils/person.d.mts +2 -2
- package/dist/utils/person.d.ts +2 -2
- package/dist/utils/person.js +7 -5
- package/dist/utils/person.mjs +6 -4
- package/dist/utils/phone.d.mts +2 -2
- package/dist/utils/phone.d.ts +2 -2
- package/dist/utils/phone.js +7 -5
- package/dist/utils/phone.mjs +6 -4
- package/dist/utils/science.d.mts +2 -2
- package/dist/utils/science.d.ts +2 -2
- package/dist/utils/science.js +7 -5
- package/dist/utils/science.mjs +6 -4
- package/dist/utils/string.d.mts +2 -2
- package/dist/utils/string.d.ts +2 -2
- package/dist/utils/string.js +7 -5
- package/dist/utils/string.mjs +6 -4
- package/dist/utils/system.d.mts +2 -2
- package/dist/utils/system.d.ts +2 -2
- package/dist/utils/system.js +7 -5
- package/dist/utils/system.mjs +6 -4
- package/dist/utils/utils.d.mts +2 -2
- package/dist/utils/utils.d.ts +2 -2
- package/dist/utils/utils.js +5 -3
- package/dist/utils/utils.mjs +4 -2
- package/dist/utils/vehicle.d.mts +2 -2
- package/dist/utils/vehicle.d.ts +2 -2
- package/dist/utils/vehicle.js +7 -5
- package/dist/utils/vehicle.mjs +6 -4
- package/dist/utils/word.d.mts +1 -1
- package/dist/utils/word.d.ts +1 -1
- package/dist/utils/word.js +14 -12
- package/dist/utils/word.mjs +5 -3
- package/dist/utils-BImnOpvp.d.ts +10 -0
- package/dist/utils-zJKwaMUY.d.mts +10 -0
- package/dist/vehicle-D4yBDYMc.d.mts +35 -0
- package/dist/vehicle-Ufz4AoXu.d.ts +35 -0
- package/package.json +9 -8
- package/src/config.ts +8 -0
- package/src/create_config.ts +27 -14
- package/src/create_generator_fn.ts +39 -0
- package/src/generator_fn.ts +9 -0
- package/src/index.ts +2 -0
- package/src/type.ts +108 -19
- package/tsconfig.json +4 -3
package/dist/utils/science.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '../type
|
|
1
|
+
import '../type.mjs';
|
|
2
2
|
import '@faker-js/faker/.';
|
|
3
|
-
export { c as chemicalElement, u as unit } from '../science-
|
|
3
|
+
export { c as chemicalElement, u as unit } from '../science-BfA9sVXz.mjs';
|
package/dist/utils/science.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '../type
|
|
1
|
+
import '../type.js';
|
|
2
2
|
import '@faker-js/faker/.';
|
|
3
|
-
export { c as chemicalElement, u as unit } from '../science-
|
|
3
|
+
export { c as chemicalElement, u as unit } from '../science-BX8WhoEY.js';
|
package/dist/utils/science.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
4
|
+
var _chunkNBUVTD24js = require('../chunk-NBUVTD24.js');
|
|
5
|
+
require('../chunk-6QZF75LH.js');
|
|
6
|
+
require('../chunk-W6QSJNDJ.js');
|
|
7
|
+
require('../chunk-TZ2RKEBF.js');
|
|
8
|
+
require('../chunk-A4QVPMYT.js');
|
|
9
|
+
require('../chunk-4VNS5WPM.js');
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
|
|
11
|
-
exports.chemicalElement =
|
|
13
|
+
exports.chemicalElement = _chunkNBUVTD24js.chemicalElement; exports.unit = _chunkNBUVTD24js.unit;
|
package/dist/utils/science.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chemicalElement,
|
|
3
3
|
unit
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-GUIYTTMP.mjs";
|
|
5
|
+
import "../chunk-7POVLKQR.mjs";
|
|
6
|
+
import "../chunk-RDATYKAG.mjs";
|
|
7
|
+
import "../chunk-3U6BNHWG.mjs";
|
|
8
|
+
import "../chunk-UP3FJ7EK.mjs";
|
|
9
|
+
import "../chunk-XGB3TDIC.mjs";
|
|
8
10
|
export {
|
|
9
11
|
chemicalElement,
|
|
10
12
|
unit
|
package/dist/utils/string.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { a as alpha, b as alphanumeric, c as binary, f as fromCharacters, h as hexadecimal, n as nanoid, o as octal, d as sample, e as symbol, u as uuid } from '../string-
|
|
1
|
+
import '../type.mjs';
|
|
2
|
+
export { a as alpha, b as alphanumeric, c as binary, f as fromCharacters, h as hexadecimal, n as nanoid, o as octal, d as sample, e as symbol, u as uuid } from '../string-DGScZrrP.mjs';
|
package/dist/utils/string.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { a as alpha, b as alphanumeric, c as binary, f as fromCharacters, h as hexadecimal, n as nanoid, o as octal, d as sample, e as symbol, u as uuid } from '../string-
|
|
1
|
+
import '../type.js';
|
|
2
|
+
export { a as alpha, b as alphanumeric, c as binary, f as fromCharacters, h as hexadecimal, n as nanoid, o as octal, d as sample, e as symbol, u as uuid } from '../string-Do4vhsl0.js';
|
package/dist/utils/string.js
CHANGED
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
12
|
+
var _chunkGNLLMLQXjs = require('../chunk-GNLLMLQX.js');
|
|
13
|
+
require('../chunk-6QZF75LH.js');
|
|
14
|
+
require('../chunk-W6QSJNDJ.js');
|
|
15
|
+
require('../chunk-TZ2RKEBF.js');
|
|
16
|
+
require('../chunk-A4QVPMYT.js');
|
|
17
|
+
require('../chunk-4VNS5WPM.js');
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
|
|
@@ -24,4 +26,4 @@ require('../chunk-3HQMGDUF.js');
|
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
|
|
27
|
-
exports.alpha =
|
|
29
|
+
exports.alpha = _chunkGNLLMLQXjs.alpha; exports.alphanumeric = _chunkGNLLMLQXjs.alphanumeric; exports.binary = _chunkGNLLMLQXjs.binary; exports.fromCharacters = _chunkGNLLMLQXjs.fromCharacters; exports.hexadecimal = _chunkGNLLMLQXjs.hexadecimal; exports.nanoid = _chunkGNLLMLQXjs.nanoid; exports.octal = _chunkGNLLMLQXjs.octal; exports.sample = _chunkGNLLMLQXjs.sample; exports.symbol = _chunkGNLLMLQXjs.symbol; exports.uuid = _chunkGNLLMLQXjs.uuid;
|
package/dist/utils/string.mjs
CHANGED
|
@@ -9,10 +9,12 @@ import {
|
|
|
9
9
|
sample,
|
|
10
10
|
symbol,
|
|
11
11
|
uuid
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-NGJNM6BX.mjs";
|
|
13
|
+
import "../chunk-7POVLKQR.mjs";
|
|
14
|
+
import "../chunk-RDATYKAG.mjs";
|
|
15
|
+
import "../chunk-3U6BNHWG.mjs";
|
|
16
|
+
import "../chunk-UP3FJ7EK.mjs";
|
|
17
|
+
import "../chunk-XGB3TDIC.mjs";
|
|
16
18
|
export {
|
|
17
19
|
alpha,
|
|
18
20
|
alphanumeric,
|
package/dist/utils/system.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { c as commonFileExt, a as commonFileName, b as commonFileType, d as cron, e as directoryPath, f as fileExt, g as fileName, h as filePath, i as fileType, m as mimeType, n as networkInterface, j as semver } from '../system-
|
|
1
|
+
import '../type.mjs';
|
|
2
|
+
export { c as commonFileExt, a as commonFileName, b as commonFileType, d as cron, e as directoryPath, f as fileExt, g as fileName, h as filePath, i as fileType, m as mimeType, n as networkInterface, j as semver } from '../system-Cy0e05Cr.mjs';
|
package/dist/utils/system.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { c as commonFileExt, a as commonFileName, b as commonFileType, d as cron, e as directoryPath, f as fileExt, g as fileName, h as filePath, i as fileType, m as mimeType, n as networkInterface, j as semver } from '../system-
|
|
1
|
+
import '../type.js';
|
|
2
|
+
export { c as commonFileExt, a as commonFileName, b as commonFileType, d as cron, e as directoryPath, f as fileExt, g as fileName, h as filePath, i as fileType, m as mimeType, n as networkInterface, j as semver } from '../system-BpxbduIr.js';
|
package/dist/utils/system.js
CHANGED
|
@@ -11,10 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
17
|
-
require('../chunk-
|
|
14
|
+
var _chunkGMOMLI4Wjs = require('../chunk-GMOMLI4W.js');
|
|
15
|
+
require('../chunk-6QZF75LH.js');
|
|
16
|
+
require('../chunk-W6QSJNDJ.js');
|
|
17
|
+
require('../chunk-TZ2RKEBF.js');
|
|
18
|
+
require('../chunk-A4QVPMYT.js');
|
|
19
|
+
require('../chunk-4VNS5WPM.js');
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
|
|
@@ -28,4 +30,4 @@ require('../chunk-3HQMGDUF.js');
|
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
|
|
31
|
-
exports.commonFileExt =
|
|
33
|
+
exports.commonFileExt = _chunkGMOMLI4Wjs.commonFileExt; exports.commonFileName = _chunkGMOMLI4Wjs.commonFileName; exports.commonFileType = _chunkGMOMLI4Wjs.commonFileType; exports.cron = _chunkGMOMLI4Wjs.cron; exports.directoryPath = _chunkGMOMLI4Wjs.directoryPath; exports.fileExt = _chunkGMOMLI4Wjs.fileExt; exports.fileName = _chunkGMOMLI4Wjs.fileName; exports.filePath = _chunkGMOMLI4Wjs.filePath; exports.fileType = _chunkGMOMLI4Wjs.fileType; exports.mimeType = _chunkGMOMLI4Wjs.mimeType; exports.networkInterface = _chunkGMOMLI4Wjs.networkInterface; exports.semver = _chunkGMOMLI4Wjs.semver;
|
package/dist/utils/system.mjs
CHANGED
|
@@ -11,10 +11,12 @@ import {
|
|
|
11
11
|
mimeType,
|
|
12
12
|
networkInterface,
|
|
13
13
|
semver
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-2VTSGFBK.mjs";
|
|
15
|
+
import "../chunk-7POVLKQR.mjs";
|
|
16
|
+
import "../chunk-RDATYKAG.mjs";
|
|
17
|
+
import "../chunk-3U6BNHWG.mjs";
|
|
18
|
+
import "../chunk-UP3FJ7EK.mjs";
|
|
19
|
+
import "../chunk-XGB3TDIC.mjs";
|
|
18
20
|
export {
|
|
19
21
|
commonFileExt,
|
|
20
22
|
commonFileName,
|
package/dist/utils/utils.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { m as makeValueConfigFn } from '../utils-
|
|
1
|
+
import '../type.mjs';
|
|
2
|
+
export { m as makeValueConfigFn } from '../utils-zJKwaMUY.mjs';
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { m as makeValueConfigFn } from '../utils-
|
|
1
|
+
import '../type.js';
|
|
2
|
+
export { m as makeValueConfigFn } from '../utils-BImnOpvp.js';
|
package/dist/utils/utils.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk6QZF75LHjs = require('../chunk-6QZF75LH.js');
|
|
4
|
+
require('../chunk-W6QSJNDJ.js');
|
|
5
|
+
require('../chunk-A4QVPMYT.js');
|
|
6
|
+
require('../chunk-4VNS5WPM.js');
|
|
5
7
|
|
|
6
8
|
|
|
7
|
-
exports.makeValueConfigFn =
|
|
9
|
+
exports.makeValueConfigFn = _chunk6QZF75LHjs.makeValueConfigFn;
|
package/dist/utils/utils.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeValueConfigFn
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-7POVLKQR.mjs";
|
|
4
|
+
import "../chunk-RDATYKAG.mjs";
|
|
5
|
+
import "../chunk-UP3FJ7EK.mjs";
|
|
6
|
+
import "../chunk-XGB3TDIC.mjs";
|
|
5
7
|
export {
|
|
6
8
|
makeValueConfigFn
|
|
7
9
|
};
|
package/dist/utils/vehicle.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { b as bicycle, c as color, f as fuel, m as manufacturer, a as model, t as type, d as vehicle, e as vin, g as vrm } from '../vehicle-
|
|
1
|
+
import '../type.mjs';
|
|
2
|
+
export { b as bicycle, c as color, f as fuel, m as manufacturer, a as model, t as type, d as vehicle, e as vin, g as vrm } from '../vehicle-D4yBDYMc.mjs';
|
package/dist/utils/vehicle.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../type
|
|
2
|
-
export { b as bicycle, c as color, f as fuel, m as manufacturer, a as model, t as type, d as vehicle, e as vin, g as vrm } from '../vehicle-
|
|
1
|
+
import '../type.js';
|
|
2
|
+
export { b as bicycle, c as color, f as fuel, m as manufacturer, a as model, t as type, d as vehicle, e as vin, g as vrm } from '../vehicle-Ufz4AoXu.js';
|
package/dist/utils/vehicle.js
CHANGED
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
11
|
+
var _chunk25HDDMTEjs = require('../chunk-25HDDMTE.js');
|
|
12
|
+
require('../chunk-6QZF75LH.js');
|
|
13
|
+
require('../chunk-W6QSJNDJ.js');
|
|
14
|
+
require('../chunk-TZ2RKEBF.js');
|
|
15
|
+
require('../chunk-A4QVPMYT.js');
|
|
16
|
+
require('../chunk-4VNS5WPM.js');
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
|
|
@@ -22,4 +24,4 @@ require('../chunk-3HQMGDUF.js');
|
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
exports.bicycle =
|
|
27
|
+
exports.bicycle = _chunk25HDDMTEjs.bicycle; exports.color = _chunk25HDDMTEjs.color; exports.fuel = _chunk25HDDMTEjs.fuel; exports.manufacturer = _chunk25HDDMTEjs.manufacturer; exports.model = _chunk25HDDMTEjs.model; exports.type = _chunk25HDDMTEjs.type; exports.vehicle = _chunk25HDDMTEjs.vehicle; exports.vin = _chunk25HDDMTEjs.vin; exports.vrm = _chunk25HDDMTEjs.vrm;
|
package/dist/utils/vehicle.mjs
CHANGED
|
@@ -8,10 +8,12 @@ import {
|
|
|
8
8
|
vehicle,
|
|
9
9
|
vin,
|
|
10
10
|
vrm
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-KDRX2A7A.mjs";
|
|
12
|
+
import "../chunk-7POVLKQR.mjs";
|
|
13
|
+
import "../chunk-RDATYKAG.mjs";
|
|
14
|
+
import "../chunk-3U6BNHWG.mjs";
|
|
15
|
+
import "../chunk-UP3FJ7EK.mjs";
|
|
16
|
+
import "../chunk-XGB3TDIC.mjs";
|
|
15
17
|
export {
|
|
16
18
|
bicycle,
|
|
17
19
|
color,
|
package/dist/utils/word.d.mts
CHANGED
package/dist/utils/word.d.ts
CHANGED
package/dist/utils/word.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6QZF75LHjs = require('../chunk-6QZF75LH.js');
|
|
4
|
+
require('../chunk-W6QSJNDJ.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
7
|
+
var _chunkTZ2RKEBFjs = require('../chunk-TZ2RKEBF.js');
|
|
8
|
+
require('../chunk-A4QVPMYT.js');
|
|
9
|
+
require('../chunk-4VNS5WPM.js');
|
|
8
10
|
|
|
9
11
|
// src/utils/word.ts
|
|
10
|
-
var adjective =
|
|
11
|
-
var adverb =
|
|
12
|
-
var conjunction =
|
|
13
|
-
var interjection =
|
|
14
|
-
var noun =
|
|
15
|
-
var preposition =
|
|
16
|
-
var sample =
|
|
17
|
-
var verb =
|
|
18
|
-
var words =
|
|
12
|
+
var adjective = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.adjective);
|
|
13
|
+
var adverb = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.adverb);
|
|
14
|
+
var conjunction = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.conjunction);
|
|
15
|
+
var interjection = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.interjection);
|
|
16
|
+
var noun = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.noun);
|
|
17
|
+
var preposition = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.preposition);
|
|
18
|
+
var sample = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.sample);
|
|
19
|
+
var verb = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.verb);
|
|
20
|
+
var words = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.word.words);
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
|
package/dist/utils/word.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeValueConfigFn
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7POVLKQR.mjs";
|
|
4
|
+
import "../chunk-RDATYKAG.mjs";
|
|
4
5
|
import {
|
|
5
6
|
f
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-3U6BNHWG.mjs";
|
|
8
|
+
import "../chunk-UP3FJ7EK.mjs";
|
|
9
|
+
import "../chunk-XGB3TDIC.mjs";
|
|
8
10
|
|
|
9
11
|
// src/utils/word.ts
|
|
10
12
|
var adjective = makeValueConfigFn(f.word.adjective);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ValueConfig } from './type.js';
|
|
2
|
+
|
|
3
|
+
declare function makeValueConfigFn<Args extends Array<unknown>, R>(fn: (...options: Args) => R): (...options: Args) => ValueConfig<R>;
|
|
4
|
+
|
|
5
|
+
declare const utils_makeValueConfigFn: typeof makeValueConfigFn;
|
|
6
|
+
declare namespace utils {
|
|
7
|
+
export { utils_makeValueConfigFn as makeValueConfigFn };
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { makeValueConfigFn as m, utils as u };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ValueConfig } from './type.mjs';
|
|
2
|
+
|
|
3
|
+
declare function makeValueConfigFn<Args extends Array<unknown>, R>(fn: (...options: Args) => R): (...options: Args) => ValueConfig<R>;
|
|
4
|
+
|
|
5
|
+
declare const utils_makeValueConfigFn: typeof makeValueConfigFn;
|
|
6
|
+
declare namespace utils {
|
|
7
|
+
export { utils_makeValueConfigFn as makeValueConfigFn };
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { makeValueConfigFn as m, utils as u };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ValueConfig } from './type.mjs';
|
|
2
|
+
|
|
3
|
+
/** Vehicle [bicycle](https://fakerjs.dev/api/vehicle.html#bicycle) */
|
|
4
|
+
declare const bicycle: () => ValueConfig<string>;
|
|
5
|
+
/** Vehicle [color](https://fakerjs.dev/api/vehicle.html#color) */
|
|
6
|
+
declare const color: () => ValueConfig<string>;
|
|
7
|
+
/** Vehicle [fuel](https://fakerjs.dev/api/vehicle.html#fuel) */
|
|
8
|
+
declare const fuel: () => ValueConfig<string>;
|
|
9
|
+
/** Vehicle [manufacturer](https://fakerjs.dev/api/vehicle.html#manufacturer) */
|
|
10
|
+
declare const manufacturer: () => ValueConfig<string>;
|
|
11
|
+
/** Vehicle [model](https://fakerjs.dev/api/vehicle.html#model) */
|
|
12
|
+
declare const model: () => ValueConfig<string>;
|
|
13
|
+
/** Vehicle [type](https://fakerjs.dev/api/vehicle.html#type) */
|
|
14
|
+
declare const type: () => ValueConfig<string>;
|
|
15
|
+
/** Vehicle [vehicle](https://fakerjs.dev/api/vehicle.html#vehicle) */
|
|
16
|
+
declare const vehicle: () => ValueConfig<string>;
|
|
17
|
+
/** Vehicle [vin](https://fakerjs.dev/api/vehicle.html#vin) */
|
|
18
|
+
declare const vin: () => ValueConfig<string>;
|
|
19
|
+
/** Vehicle [vrm](https://fakerjs.dev/api/vehicle.html#vrm) */
|
|
20
|
+
declare const vrm: () => ValueConfig<string>;
|
|
21
|
+
|
|
22
|
+
declare const vehicle$1_bicycle: typeof bicycle;
|
|
23
|
+
declare const vehicle$1_color: typeof color;
|
|
24
|
+
declare const vehicle$1_fuel: typeof fuel;
|
|
25
|
+
declare const vehicle$1_manufacturer: typeof manufacturer;
|
|
26
|
+
declare const vehicle$1_model: typeof model;
|
|
27
|
+
declare const vehicle$1_type: typeof type;
|
|
28
|
+
declare const vehicle$1_vehicle: typeof vehicle;
|
|
29
|
+
declare const vehicle$1_vin: typeof vin;
|
|
30
|
+
declare const vehicle$1_vrm: typeof vrm;
|
|
31
|
+
declare namespace vehicle$1 {
|
|
32
|
+
export { vehicle$1_bicycle as bicycle, vehicle$1_color as color, vehicle$1_fuel as fuel, vehicle$1_manufacturer as manufacturer, vehicle$1_model as model, vehicle$1_type as type, vehicle$1_vehicle as vehicle, vehicle$1_vin as vin, vehicle$1_vrm as vrm };
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { model as a, bicycle as b, color as c, vehicle as d, vin as e, fuel as f, vrm as g, manufacturer as m, type as t, vehicle$1 as v };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ValueConfig } from './type.js';
|
|
2
|
+
|
|
3
|
+
/** Vehicle [bicycle](https://fakerjs.dev/api/vehicle.html#bicycle) */
|
|
4
|
+
declare const bicycle: () => ValueConfig<string>;
|
|
5
|
+
/** Vehicle [color](https://fakerjs.dev/api/vehicle.html#color) */
|
|
6
|
+
declare const color: () => ValueConfig<string>;
|
|
7
|
+
/** Vehicle [fuel](https://fakerjs.dev/api/vehicle.html#fuel) */
|
|
8
|
+
declare const fuel: () => ValueConfig<string>;
|
|
9
|
+
/** Vehicle [manufacturer](https://fakerjs.dev/api/vehicle.html#manufacturer) */
|
|
10
|
+
declare const manufacturer: () => ValueConfig<string>;
|
|
11
|
+
/** Vehicle [model](https://fakerjs.dev/api/vehicle.html#model) */
|
|
12
|
+
declare const model: () => ValueConfig<string>;
|
|
13
|
+
/** Vehicle [type](https://fakerjs.dev/api/vehicle.html#type) */
|
|
14
|
+
declare const type: () => ValueConfig<string>;
|
|
15
|
+
/** Vehicle [vehicle](https://fakerjs.dev/api/vehicle.html#vehicle) */
|
|
16
|
+
declare const vehicle: () => ValueConfig<string>;
|
|
17
|
+
/** Vehicle [vin](https://fakerjs.dev/api/vehicle.html#vin) */
|
|
18
|
+
declare const vin: () => ValueConfig<string>;
|
|
19
|
+
/** Vehicle [vrm](https://fakerjs.dev/api/vehicle.html#vrm) */
|
|
20
|
+
declare const vrm: () => ValueConfig<string>;
|
|
21
|
+
|
|
22
|
+
declare const vehicle$1_bicycle: typeof bicycle;
|
|
23
|
+
declare const vehicle$1_color: typeof color;
|
|
24
|
+
declare const vehicle$1_fuel: typeof fuel;
|
|
25
|
+
declare const vehicle$1_manufacturer: typeof manufacturer;
|
|
26
|
+
declare const vehicle$1_model: typeof model;
|
|
27
|
+
declare const vehicle$1_type: typeof type;
|
|
28
|
+
declare const vehicle$1_vehicle: typeof vehicle;
|
|
29
|
+
declare const vehicle$1_vin: typeof vin;
|
|
30
|
+
declare const vehicle$1_vrm: typeof vrm;
|
|
31
|
+
declare namespace vehicle$1 {
|
|
32
|
+
export { vehicle$1_bicycle as bicycle, vehicle$1_color as color, vehicle$1_fuel as fuel, vehicle$1_manufacturer as manufacturer, vehicle$1_model as model, vehicle$1_type as type, vehicle$1_vehicle as vehicle, vehicle$1_vin as vin, vehicle$1_vrm as vrm };
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { model as a, bicycle as b, color as c, vehicle as d, vin as e, fuel as f, vrm as g, manufacturer as m, type as t, vehicle$1 as v };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "struct-fakerator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -66,20 +66,21 @@
|
|
|
66
66
|
"homepage": "https://github.com/FizzyElt/fakerator",
|
|
67
67
|
"license": "ISC",
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@biomejs/biome": "^1.9.
|
|
70
|
-
"@faker-js/faker": "^9.0
|
|
71
|
-
"tsup": "^8.
|
|
72
|
-
"typescript": "^5.
|
|
73
|
-
"vitest": "^
|
|
69
|
+
"@biomejs/biome": "^1.9.4",
|
|
70
|
+
"@faker-js/faker": "^9.8.0",
|
|
71
|
+
"tsup": "^8.5.0",
|
|
72
|
+
"typescript": "^5.8.3",
|
|
73
|
+
"vitest": "^3.1.4"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"zod": "^3.
|
|
76
|
+
"zod": "^3.25.30"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
|
-
"
|
|
82
|
+
"type_check": "tsc --noEmit",
|
|
83
|
+
"build": "pnpm type_check && tsup src",
|
|
83
84
|
"test": "vitest src"
|
|
84
85
|
}
|
|
85
86
|
}
|
package/src/config.ts
ADDED
package/src/create_config.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type {
|
|
|
12
12
|
ObjectConfig,
|
|
13
13
|
SelectionConfig,
|
|
14
14
|
TupleConfig,
|
|
15
|
+
TupleItems,
|
|
15
16
|
ValueConfig,
|
|
16
17
|
} from "./type";
|
|
17
18
|
|
|
@@ -79,6 +80,21 @@ export const createArrayConfig = <T>(item: T, len: number): ArrayConfig<T> => {
|
|
|
79
80
|
* @return {TupleConfig}
|
|
80
81
|
*/
|
|
81
82
|
interface CreateTupleConfig {
|
|
83
|
+
<A, B, C, D, E, F, G, H, I, J>(
|
|
84
|
+
configItems: [A, B, C, D, E, F, G, H, I, J],
|
|
85
|
+
): TupleConfig<A, B, C, D, E, F, G, H, I, J>;
|
|
86
|
+
<A, B, C, D, E, F, G, H, I>(
|
|
87
|
+
configItems: [A, B, C, D, E, F, G, H, I],
|
|
88
|
+
): TupleConfig<A, B, C, D, E, F, G, H, I>;
|
|
89
|
+
<A, B, C, D, E, F, G, H>(
|
|
90
|
+
configItems: [A, B, C, D, E, F, G, H],
|
|
91
|
+
): TupleConfig<A, B, C, D, E, F, G, H>;
|
|
92
|
+
<A, B, C, D, E, F, G>(
|
|
93
|
+
configItems: [A, B, C, D, E, F, G],
|
|
94
|
+
): TupleConfig<A, B, C, D, E, F, G>;
|
|
95
|
+
<A, B, C, D, E, F>(
|
|
96
|
+
configItems: [A, B, C, D, E, F],
|
|
97
|
+
): TupleConfig<A, B, C, D, E, F>;
|
|
82
98
|
<A, B, C, D, E>(configItems: [A, B, C, D, E]): TupleConfig<A, B, C, D, E>;
|
|
83
99
|
<A, B, C, D>(configItems: [A, B, C, D]): TupleConfig<A, B, C, D>;
|
|
84
100
|
<A, B, C>(configItems: [A, B, C]): TupleConfig<A, B, C>;
|
|
@@ -87,22 +103,19 @@ interface CreateTupleConfig {
|
|
|
87
103
|
}
|
|
88
104
|
export const createTupleConfig: CreateTupleConfig = <
|
|
89
105
|
A,
|
|
90
|
-
B
|
|
91
|
-
C
|
|
92
|
-
D
|
|
93
|
-
E
|
|
106
|
+
B,
|
|
107
|
+
C,
|
|
108
|
+
D,
|
|
109
|
+
E,
|
|
110
|
+
F,
|
|
111
|
+
G,
|
|
112
|
+
H,
|
|
113
|
+
I,
|
|
114
|
+
J,
|
|
94
115
|
>(
|
|
95
|
-
configItems: E
|
|
96
|
-
? D extends undefined
|
|
97
|
-
? C extends undefined
|
|
98
|
-
? B extends undefined
|
|
99
|
-
? [A]
|
|
100
|
-
: [A, B]
|
|
101
|
-
: [A, B, C]
|
|
102
|
-
: [A, B, C, D]
|
|
103
|
-
: [A, B, C, D, E],
|
|
116
|
+
configItems: TupleItems<A, B, C, D, E, F, G, H, I, J>,
|
|
104
117
|
) => {
|
|
105
|
-
const config: TupleConfig<A, B, C, D, E> = {
|
|
118
|
+
const config: TupleConfig<A, B, C, D, E, F, G, H, I, J> = {
|
|
106
119
|
type: "tuple",
|
|
107
120
|
configItems,
|
|
108
121
|
};
|
|
@@ -28,6 +28,11 @@ type AllConfig<T> =
|
|
|
28
28
|
| TupleConfig<T, T, T>
|
|
29
29
|
| TupleConfig<T, T, T, T>
|
|
30
30
|
| TupleConfig<T, T, T, T, T>
|
|
31
|
+
| TupleConfig<T, T, T, T, T, T>
|
|
32
|
+
| TupleConfig<T, T, T, T, T, T, T>
|
|
33
|
+
| TupleConfig<T, T, T, T, T, T, T, T>
|
|
34
|
+
| TupleConfig<T, T, T, T, T, T, T, T, T>
|
|
35
|
+
| TupleConfig<T, T, T, T, T, T, T, T, T, T>
|
|
31
36
|
| BoundedSeriesConfig;
|
|
32
37
|
|
|
33
38
|
const _createValueGenerator = <R = unknown>(
|
|
@@ -130,6 +135,40 @@ export const createArrayGenerator = <T extends ArrayConfig<unknown>>(
|
|
|
130
135
|
|
|
131
136
|
const _createTupleGenerator = <
|
|
132
137
|
T extends
|
|
138
|
+
| TupleConfig<
|
|
139
|
+
unknown,
|
|
140
|
+
unknown,
|
|
141
|
+
unknown,
|
|
142
|
+
unknown,
|
|
143
|
+
unknown,
|
|
144
|
+
unknown,
|
|
145
|
+
unknown,
|
|
146
|
+
unknown,
|
|
147
|
+
unknown,
|
|
148
|
+
unknown
|
|
149
|
+
>
|
|
150
|
+
| TupleConfig<
|
|
151
|
+
unknown,
|
|
152
|
+
unknown,
|
|
153
|
+
unknown,
|
|
154
|
+
unknown,
|
|
155
|
+
unknown,
|
|
156
|
+
unknown,
|
|
157
|
+
unknown,
|
|
158
|
+
unknown,
|
|
159
|
+
unknown
|
|
160
|
+
>
|
|
161
|
+
| TupleConfig<
|
|
162
|
+
unknown,
|
|
163
|
+
unknown,
|
|
164
|
+
unknown,
|
|
165
|
+
unknown,
|
|
166
|
+
unknown,
|
|
167
|
+
unknown,
|
|
168
|
+
unknown,
|
|
169
|
+
unknown
|
|
170
|
+
>
|
|
171
|
+
| TupleConfig<unknown, unknown, unknown, unknown, unknown, unknown>
|
|
133
172
|
| TupleConfig<unknown, unknown, unknown, unknown, unknown>
|
|
134
173
|
| TupleConfig<unknown, unknown, unknown, unknown>
|
|
135
174
|
| TupleConfig<unknown, unknown, unknown>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export {
|
|
2
|
+
createGeneratorByType as genFn,
|
|
3
|
+
createArrayGenerator as genArrayFn,
|
|
4
|
+
createBoundedSeriesGenerator as genBoundedSeriesFn,
|
|
5
|
+
createObjectGenerator as genObjectFn,
|
|
6
|
+
createSelectionGenerator as genSelectFn,
|
|
7
|
+
createTupleGenerator as genTupleFn,
|
|
8
|
+
createValueGenerator as genValueFn,
|
|
9
|
+
} from "./create_generator_fn";
|