struct-fakerator 2.7.9 → 2.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/biome.json +30 -26
- package/dist/config.d.ts +1 -2
- package/dist/config.js +51 -19
- package/dist/config.mjs +2 -19
- package/dist/config_scheme.d.ts +7 -10
- package/dist/config_scheme.js +95 -17
- package/dist/config_scheme.mjs +46 -17
- package/dist/create_config.d.ts +9 -11
- package/dist/create_config.js +110 -18
- package/dist/create_config.mjs +60 -17
- package/dist/create_config.test.d.ts +1 -2
- package/dist/create_generator_fn.d.ts +9 -11
- package/dist/create_generator_fn.js +168 -20
- package/dist/create_generator_fn.mjs +115 -19
- package/dist/create_generator_fn.test.d.ts +1 -2
- package/dist/generator_fn.d.ts +1 -2
- package/dist/generator_fn.js +54 -21
- package/dist/generator_fn.mjs +2 -21
- package/dist/index.d.ts +5 -5
- package/dist/index.js +107 -43
- package/dist/index.mjs +6 -43
- package/dist/type.d.ts +9 -11
- package/dist/type.js +18 -1
- package/dist/type.mjs +0 -1
- package/dist/utils/airline.d.ts +14 -3
- package/dist/utils/airline.js +46 -14
- package/dist/utils/airline.mjs +6 -14
- package/dist/utils/animal.d.ts +30 -2
- package/dist/utils/animal.js +94 -38
- package/dist/utils/animal.mjs +18 -38
- package/dist/utils/color.d.ts +41 -3
- package/dist/utils/color.js +78 -30
- package/dist/utils/color.mjs +14 -30
- package/dist/utils/commerce.d.ts +24 -2
- package/dist/utils/commerce.js +66 -24
- package/dist/utils/commerce.mjs +11 -24
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/common.js +37 -9
- package/dist/utils/common.mjs +3 -9
- package/dist/utils/company.d.ts +18 -2
- package/dist/utils/company.js +70 -26
- package/dist/utils/company.mjs +12 -26
- package/dist/utils/database.d.ts +10 -2
- package/dist/utils/database.js +54 -18
- package/dist/utils/database.mjs +8 -18
- package/dist/utils/datatype.d.ts +4 -2
- package/dist/utils/datatype.js +38 -10
- package/dist/utils/datatype.mjs +4 -10
- package/dist/utils/datetime.d.ts +59 -2
- package/dist/utils/datetime.js +78 -30
- package/dist/utils/datetime.mjs +14 -30
- package/dist/utils/finance.d.ts +62 -3
- package/dist/utils/finance.js +110 -46
- package/dist/utils/finance.mjs +22 -46
- package/dist/utils/food.d.ts +18 -2
- package/dist/utils/food.js +70 -26
- package/dist/utils/food.mjs +12 -26
- package/dist/utils/git.d.ts +18 -2
- package/dist/utils/git.js +54 -18
- package/dist/utils/git.mjs +8 -18
- package/dist/utils/hacker.d.ts +12 -2
- package/dist/utils/hacker.js +58 -20
- package/dist/utils/hacker.mjs +9 -20
- package/dist/utils/image.d.ts +40 -2
- package/dist/utils/image.js +66 -24
- package/dist/utils/image.mjs +11 -24
- package/dist/utils/index.d.ts +26 -28
- package/dist/utils/index.js +136 -109
- package/dist/utils/index.mjs +27 -109
- package/dist/utils/internet.d.ts +77 -3
- package/dist/utils/internet.js +114 -48
- package/dist/utils/internet.mjs +23 -48
- package/dist/utils/location.d.ts +56 -2
- package/dist/utils/location.js +98 -40
- package/dist/utils/location.mjs +19 -40
- package/dist/utils/lorem.d.ts +45 -2
- package/dist/utils/lorem.js +70 -26
- package/dist/utils/lorem.mjs +12 -26
- package/dist/utils/music.d.ts +8 -2
- package/dist/utils/music.js +50 -16
- package/dist/utils/music.mjs +7 -16
- package/dist/utils/number.d.ts +34 -2
- package/dist/utils/number.js +58 -20
- package/dist/utils/number.mjs +9 -20
- package/dist/utils/person.d.ts +34 -3
- package/dist/utils/person.js +94 -38
- package/dist/utils/person.mjs +18 -38
- package/dist/utils/phone.d.ts +6 -2
- package/dist/utils/phone.js +42 -12
- package/dist/utils/phone.mjs +5 -12
- package/dist/utils/science.d.ts +4 -3
- package/dist/utils/science.js +42 -12
- package/dist/utils/science.mjs +5 -12
- package/dist/utils/string.d.ts +69 -2
- package/dist/utils/string.js +74 -28
- package/dist/utils/string.mjs +13 -28
- package/dist/utils/system.d.ts +35 -2
- package/dist/utils/system.js +82 -32
- package/dist/utils/system.mjs +15 -32
- package/dist/utils/utils.d.ts +2 -2
- package/dist/utils/utils.js +39 -9
- package/dist/utils/utils.mjs +5 -9
- package/dist/utils/vehicle.d.ts +18 -2
- package/dist/utils/vehicle.js +70 -26
- package/dist/utils/vehicle.mjs +12 -26
- package/dist/utils/word.d.ts +18 -22
- package/dist/utils/word.js +70 -29
- package/dist/utils/word.mjs +11 -28
- package/package.json +9 -6
- package/pnpm-workspace.yaml +2 -0
- package/rslib.config.ts +26 -0
- package/src/config.ts +3 -3
- package/src/config_scheme.ts +1 -1
- package/src/create_config.test.ts +0 -1
- package/src/create_generator_fn.test.ts +2 -2
- package/src/create_generator_fn.ts +0 -1
- package/src/generator_fn.ts +1 -1
- package/src/index.ts +2 -2
- package/src/utils/index.ts +1 -2
- package/src/utils/utils.ts +1 -1
- package/tsconfig.json +2 -1
- package/dist/airline-98MCzMN8.d.ts +0 -26
- package/dist/airline-BUwgrfsj.d.ts +0 -26
- package/dist/airline-C0ManYED.d.mts +0 -26
- package/dist/airline-CuAxOEYH.d.mts +0 -26
- package/dist/animal-BohQ7s0w.d.mts +0 -53
- package/dist/animal-arG64NM6.d.mts +0 -53
- package/dist/animal-erAZXs_d.d.ts +0 -53
- package/dist/animal-o8BFF7gd.d.ts +0 -53
- package/dist/chunk-25HDDMTE.js +0 -45
- package/dist/chunk-266JLHQ7.mjs +0 -27
- package/dist/chunk-266W7TLD.mjs +0 -45
- package/dist/chunk-2FTPTSHD.mjs +0 -1972
- package/dist/chunk-2HHTDZ5W.mjs +0 -27
- package/dist/chunk-2P6DPKAW.js +0 -35
- package/dist/chunk-2QPSWN3J.js +0 -24
- package/dist/chunk-2SF54GZN.mjs +0 -24
- package/dist/chunk-2UAN3WRZ.js +0 -51
- package/dist/chunk-2VTSGFBK.mjs +0 -56
- package/dist/chunk-2ZR6AR26.js +0 -24
- package/dist/chunk-3APOILUV.js +0 -81
- package/dist/chunk-3AXS7RA6.mjs +0 -18
- package/dist/chunk-3DIP4M5Y.mjs +0 -36
- package/dist/chunk-3E2B272L.js +0 -25
- package/dist/chunk-3FFGDXA5.mjs +0 -48
- package/dist/chunk-3HQMGDUF.js +0 -98
- package/dist/chunk-3KXIZTCT.mjs +0 -20
- package/dist/chunk-3MYH2PDS.js +0 -24
- package/dist/chunk-3P4RJMMV.js +0 -79
- package/dist/chunk-3PSJD6BF.js +0 -67
- package/dist/chunk-3SVV5GDL.js +0 -22
- package/dist/chunk-3U6BNHWG.mjs +0 -2040
- package/dist/chunk-3WINWLTB.js +0 -34
- package/dist/chunk-42EKB2FX.js +0 -74
- package/dist/chunk-44Q7WXPL.mjs +0 -30
- package/dist/chunk-474WFN7X.js +0 -33
- package/dist/chunk-4ESFUYHU.js +0 -48
- package/dist/chunk-4OB35J4Q.mjs +0 -151
- package/dist/chunk-4UGSTE5Q.js +0 -1968
- package/dist/chunk-4VNS5WPM.js +0 -42
- package/dist/chunk-4XEKUGKR.js +0 -35
- package/dist/chunk-4XQBQAPC.mjs +0 -33
- package/dist/chunk-52ZOIHJM.js +0 -26
- package/dist/chunk-55HSOHNN.js +0 -36
- package/dist/chunk-5A3HJWPX.mjs +0 -33
- package/dist/chunk-5KKLW4SD.js +0 -26
- package/dist/chunk-5LCWZUVP.mjs +0 -19
- package/dist/chunk-5M3DUBFV.mjs +0 -24
- package/dist/chunk-5NC3JFHS.mjs +0 -63
- package/dist/chunk-5PCIFPK7.js +0 -15721
- package/dist/chunk-5TG43IWT.js +0 -36
- package/dist/chunk-5UFZ4NET.mjs +0 -26
- package/dist/chunk-5VTJIH2Q.mjs +0 -63
- package/dist/chunk-5ZNSQDU5.js +0 -81
- package/dist/chunk-62MDIAG3.js +0 -19
- package/dist/chunk-62NUC6UZ.js +0 -51
- package/dist/chunk-6BWS3CLP.mjs +0 -16
- package/dist/chunk-6GXFVYK2.js +0 -18
- package/dist/chunk-6LNIYJMV.mjs +0 -21
- package/dist/chunk-6OOU3BX5.mjs +0 -35
- package/dist/chunk-6QXR4Q23.js +0 -43
- package/dist/chunk-6QZF75LH.js +0 -20
- package/dist/chunk-6TGTIMX2.mjs +0 -151
- package/dist/chunk-6UVWD65N.mjs +0 -63
- package/dist/chunk-73BBBL26.js +0 -49
- package/dist/chunk-7C2MCLYX.mjs +0 -15721
- package/dist/chunk-7IQW6MWT.mjs +0 -81
- package/dist/chunk-7IWAOHPW.mjs +0 -27
- package/dist/chunk-7LDYF5VW.js +0 -78
- package/dist/chunk-7POVLKQR.mjs +0 -20
- package/dist/chunk-7QCNINQB.js +0 -43
- package/dist/chunk-7RP7F74O.js +0 -49
- package/dist/chunk-7TMD372Q.mjs +0 -165
- package/dist/chunk-7UQSPUCL.mjs +0 -0
- package/dist/chunk-7V3T6MQ3.mjs +0 -21
- package/dist/chunk-7ZAVU2DI.mjs +0 -81
- package/dist/chunk-A4QVPMYT.js +0 -44
- package/dist/chunk-A5YXOL6G.mjs +0 -63
- package/dist/chunk-ABZZ2Y2O.mjs +0 -45
- package/dist/chunk-AH3KD37M.js +0 -45
- package/dist/chunk-AQWBYQGF.js +0 -54
- package/dist/chunk-AT4FPDTE.mjs +0 -51
- package/dist/chunk-AWKBY27N.js +0 -35
- package/dist/chunk-B2NENAKV.mjs +0 -34
- package/dist/chunk-B3RA7BAM.mjs +0 -30
- package/dist/chunk-B7MK7WHV.mjs +0 -21
- package/dist/chunk-BGE4WZH7.js +0 -27
- package/dist/chunk-BMQ2NETL.js +0 -63
- package/dist/chunk-BNJUSXEO.js +0 -27
- package/dist/chunk-BNUCXH6Q.js +0 -49
- package/dist/chunk-BS7IEV74.mjs +0 -1968
- package/dist/chunk-BVGE5IMC.js +0 -45
- package/dist/chunk-C3RGM3CB.js +0 -67
- package/dist/chunk-C6FQYK5T.js +0 -81
- package/dist/chunk-C6IEYVWV.mjs +0 -21
- package/dist/chunk-CC255UJD.mjs +0 -27
- package/dist/chunk-CK65OFQQ.mjs +0 -56
- package/dist/chunk-CKNDI3RH.js +0 -24
- package/dist/chunk-CRW5Q4VB.js +0 -30
- package/dist/chunk-CSOXFDKC.mjs +0 -42
- package/dist/chunk-D3DPNIYF.mjs +0 -36
- package/dist/chunk-D6QN54CO.js +0 -46
- package/dist/chunk-D74AUXZW.mjs +0 -35
- package/dist/chunk-DM5VFX6B.js +0 -17008
- package/dist/chunk-DN6VWFMI.js +0 -56
- package/dist/chunk-DONFLQME.js +0 -49
- package/dist/chunk-DQBTHPWE.js +0 -24
- package/dist/chunk-DSDX7NOV.mjs +0 -40
- package/dist/chunk-DX6NQK6H.js +0 -49
- package/dist/chunk-DXVB5THL.js +0 -36
- package/dist/chunk-DZCTAI2Q.js +0 -49
- package/dist/chunk-E3EZHXI2.mjs +0 -45
- package/dist/chunk-E3N3PWFI.js +0 -45
- package/dist/chunk-E7JW4TGQ.mjs +0 -49
- package/dist/chunk-ECTLN5SO.mjs +0 -63
- package/dist/chunk-EGCGEPYD.mjs +0 -24
- package/dist/chunk-ELK6OOE6.js +0 -55
- package/dist/chunk-EM67LVYX.mjs +0 -18
- package/dist/chunk-EPWKT75L.js +0 -63
- package/dist/chunk-ES6I4JEP.js +0 -24
- package/dist/chunk-ETS5PP3N.js +0 -42
- package/dist/chunk-EXLV2IRM.mjs +0 -26
- package/dist/chunk-EZFWJGGR.js +0 -28
- package/dist/chunk-F4NIEPKF.mjs +0 -48
- package/dist/chunk-F4WSUHUB.js +0 -27
- package/dist/chunk-F54WJZPR.mjs +0 -48
- package/dist/chunk-FDIHUTKO.mjs +0 -34
- package/dist/chunk-FG2O523S.js +0 -48
- package/dist/chunk-FGA73ALI.mjs +0 -45
- package/dist/chunk-FT5QWXEO.mjs +0 -21
- package/dist/chunk-FXTLAJTY.mjs +0 -74
- package/dist/chunk-G73JPAKW.mjs +0 -16831
- package/dist/chunk-GAOFL72U.mjs +0 -24
- package/dist/chunk-GF4PSVJ7.js +0 -81
- package/dist/chunk-GL777PKT.js +0 -21
- package/dist/chunk-GLK5ZVJB.js +0 -47
- package/dist/chunk-GMOMLI4W.js +0 -56
- package/dist/chunk-GNFZ7Z6V.mjs +0 -28
- package/dist/chunk-GNLLMLQX.js +0 -48
- package/dist/chunk-GNPP2GGZ.js +0 -16831
- package/dist/chunk-GR5EJCJ2.js +0 -24
- package/dist/chunk-GSFJYUDA.js +0 -63
- package/dist/chunk-GUIYTTMP.mjs +0 -24
- package/dist/chunk-HAIK2LXD.js +0 -63
- package/dist/chunk-HEHR64VN.js +0 -1972
- package/dist/chunk-HK4L636Y.mjs +0 -49
- package/dist/chunk-HLHMXAI2.js +0 -21
- package/dist/chunk-HMDAKHLF.js +0 -151
- package/dist/chunk-HMGGQ5ZJ.js +0 -45
- package/dist/chunk-HNCQJ5F3.js +0 -56
- package/dist/chunk-HVWSAC7Q.js +0 -74
- package/dist/chunk-I3BHVE4B.js +0 -43
- package/dist/chunk-IEYIHOHM.js +0 -57
- package/dist/chunk-IHDAERZ6.mjs +0 -61
- package/dist/chunk-IM5JST4B.js +0 -76
- package/dist/chunk-IN3R3ABZ.mjs +0 -45
- package/dist/chunk-IOLQKV4S.js +0 -51
- package/dist/chunk-IOXGSFEU.js +0 -20
- package/dist/chunk-IRHHL256.mjs +0 -36
- package/dist/chunk-IY4LBMAL.js +0 -78
- package/dist/chunk-IZVHA6FO.js +0 -45
- package/dist/chunk-JA2F23JA.mjs +0 -79
- package/dist/chunk-JC2FY5K5.mjs +0 -42
- package/dist/chunk-JFYN4RCQ.mjs +0 -24
- package/dist/chunk-JHNWL66I.mjs +0 -47
- package/dist/chunk-JIPBMHNL.mjs +0 -63
- package/dist/chunk-JIWCYW33.js +0 -35
- package/dist/chunk-JSZXNY5A.js +0 -33
- package/dist/chunk-JTURHVCR.mjs +0 -67
- package/dist/chunk-JUS3FQET.js +0 -63
- package/dist/chunk-JY2DLJQ7.js +0 -74
- package/dist/chunk-KB4QNLUX.js +0 -30
- package/dist/chunk-KDRX2A7A.mjs +0 -45
- package/dist/chunk-KDTNND32.js +0 -63
- package/dist/chunk-KESFLCJB.mjs +0 -57
- package/dist/chunk-KK4QURZV.mjs +0 -63
- package/dist/chunk-KKDNACGF.js +0 -78
- package/dist/chunk-KLYK2EDS.js +0 -18
- package/dist/chunk-KMAT3MEQ.mjs +0 -24
- package/dist/chunk-KMGBR4B7.mjs +0 -49
- package/dist/chunk-KO4BOJXG.mjs +0 -18
- package/dist/chunk-KSBJZ7PZ.mjs +0 -48
- package/dist/chunk-KUNWO6DB.js +0 -20
- package/dist/chunk-KVPPJDFE.mjs +0 -63
- package/dist/chunk-L55R55BM.mjs +0 -24
- package/dist/chunk-L5EOJC4C.mjs +0 -78
- package/dist/chunk-L63CILKL.js +0 -36
- package/dist/chunk-L7SUBSOS.mjs +0 -74
- package/dist/chunk-LCQV5ZXR.js +0 -63
- package/dist/chunk-LDVSCWU7.mjs +0 -51
- package/dist/chunk-LGYUIU5L.js +0 -33
- package/dist/chunk-LKLQIBRC.mjs +0 -18
- package/dist/chunk-LPLLITHD.mjs +0 -33
- package/dist/chunk-LSFOERXQ.js +0 -18
- package/dist/chunk-LSP4VVPM.mjs +0 -45
- package/dist/chunk-LYYFKB5U.mjs +0 -48
- package/dist/chunk-M2ERA63H.mjs +0 -20
- package/dist/chunk-M3JRMFX2.js +0 -36
- package/dist/chunk-M7SBPX3E.mjs +0 -45
- package/dist/chunk-MCHBNMZ7.js +0 -48
- package/dist/chunk-MHBVLDC4.js +0 -30
- package/dist/chunk-MJWNNESP.js +0 -57
- package/dist/chunk-MKTV5ZCC.mjs +0 -30
- package/dist/chunk-MLJAHDYX.mjs +0 -167
- package/dist/chunk-MNRDBDJD.js +0 -33
- package/dist/chunk-MTNLYYS2.mjs +0 -51
- package/dist/chunk-MYNHKOPJ.js +0 -34
- package/dist/chunk-N2ZA6SQB.mjs +0 -45
- package/dist/chunk-NBUVTD24.js +0 -24
- package/dist/chunk-NEFBZJ7G.mjs +0 -42
- package/dist/chunk-NGJNM6BX.mjs +0 -48
- package/dist/chunk-NO44Z2RV.mjs +0 -55
- package/dist/chunk-NOD5QLN5.js +0 -40
- package/dist/chunk-NP7ZKTAA.js +0 -36
- package/dist/chunk-NPYKAZ5O.mjs +0 -42
- package/dist/chunk-NWVKBRLA.js +0 -30
- package/dist/chunk-O73LDQID.mjs +0 -57
- package/dist/chunk-OAPPDES4.js +0 -51
- package/dist/chunk-OCKZOACK.js +0 -24
- package/dist/chunk-OETKBS7R.mjs +0 -63
- package/dist/chunk-OFMBEI6Y.js +0 -20
- package/dist/chunk-OJRNPQVE.js +0 -45
- package/dist/chunk-OKDN5R6M.mjs +0 -78
- package/dist/chunk-OLSCXZ3D.mjs +0 -98
- package/dist/chunk-OTDJMFZE.js +0 -36
- package/dist/chunk-OYP22DDC.mjs +0 -31
- package/dist/chunk-OZ5VJVBQ.js +0 -21
- package/dist/chunk-OZ7Y3D4Z.js +0 -48
- package/dist/chunk-OZU24BQP.mjs +0 -81
- package/dist/chunk-P2NEBQQH.mjs +0 -78
- package/dist/chunk-PBOBMHB3.js +0 -45
- package/dist/chunk-PECDKT6F.js +0 -76
- package/dist/chunk-PEMTSFQT.mjs +0 -36
- package/dist/chunk-PFTS7XQK.js +0 -27
- package/dist/chunk-PFVCJYEK.js +0 -46
- package/dist/chunk-PLNNO4GL.js +0 -36
- package/dist/chunk-PPQIZT6A.mjs +0 -48
- package/dist/chunk-PS673ZMG.mjs +0 -78
- package/dist/chunk-PSTZXVEM.mjs +0 -45
- package/dist/chunk-PXVILWPC.js +0 -51
- package/dist/chunk-PXXIPMA2.mjs +0 -17567
- package/dist/chunk-PYIUSFN2.js +0 -48
- package/dist/chunk-Q4BXZB6O.mjs +0 -35
- package/dist/chunk-Q6CVTFPU.mjs +0 -2022
- package/dist/chunk-Q7THO24V.js +0 -45
- package/dist/chunk-QEVQSGOW.mjs +0 -49
- package/dist/chunk-QFG2B4XU.js +0 -35
- package/dist/chunk-QH2RT36U.js +0 -57
- package/dist/chunk-QHW2YYKY.js +0 -45
- package/dist/chunk-QMNACCJG.mjs +0 -30
- package/dist/chunk-QN2KYEUJ.js +0 -28
- package/dist/chunk-QOATILWS.mjs +0 -48
- package/dist/chunk-QQWZ56UO.js +0 -33
- package/dist/chunk-QTT2TUDM.js +0 -165
- package/dist/chunk-QZQ32UPU.mjs +0 -28
- package/dist/chunk-R3MBRFOY.js +0 -22
- package/dist/chunk-R5U7XKVJ.js +0 -16
- package/dist/chunk-R7ZZJULR.js +0 -61
- package/dist/chunk-RA35MXTT.mjs +0 -51
- package/dist/chunk-RCDDW7NN.js +0 -36
- package/dist/chunk-RDATYKAG.mjs +0 -58
- package/dist/chunk-RDMAE6F2.js +0 -17567
- package/dist/chunk-RFTRP37B.mjs +0 -74
- package/dist/chunk-RIOEYYMH.mjs +0 -30
- package/dist/chunk-RJPUHGKC.mjs +0 -54
- package/dist/chunk-RM7GMMWN.mjs +0 -49
- package/dist/chunk-ROM4ZH2A.js +0 -56
- package/dist/chunk-RTENULN5.mjs +0 -36
- package/dist/chunk-RUTM5ENW.js +0 -57
- package/dist/chunk-RUUOAMRF.mjs +0 -43
- package/dist/chunk-RW4IZD3J.js +0 -74
- package/dist/chunk-RWSXJDFQ.mjs +0 -57
- package/dist/chunk-S2AEEWWW.mjs +0 -36
- package/dist/chunk-SAYLPMKP.js +0 -74
- package/dist/chunk-SDPCOC7O.mjs +0 -76
- package/dist/chunk-SEUDYVHA.js +0 -45
- package/dist/chunk-SMIDTCUZ.mjs +0 -56
- package/dist/chunk-SN2ALAEI.mjs +0 -36
- package/dist/chunk-SN4QTD6R.js +0 -1
- package/dist/chunk-SOFVWH6A.js +0 -56
- package/dist/chunk-SSFS7U3T.mjs +0 -72
- package/dist/chunk-SSZ5GGDT.js +0 -45
- package/dist/chunk-STKSA23M.mjs +0 -33
- package/dist/chunk-SVHWBNOB.mjs +0 -61
- package/dist/chunk-SVMTK42D.mjs +0 -48
- package/dist/chunk-SYIPILT6.mjs +0 -35
- package/dist/chunk-T4IVAGFU.mjs +0 -48
- package/dist/chunk-TKS2PTMF.mjs +0 -18
- package/dist/chunk-TLH73HQN.js +0 -63
- package/dist/chunk-TQIJQZBP.js +0 -57
- package/dist/chunk-TQTDHXR6.mjs +0 -22
- package/dist/chunk-TSDTKUIT.mjs +0 -151
- package/dist/chunk-TTPRXCNS.mjs +0 -46
- package/dist/chunk-TYWXW3FQ.mjs +0 -46
- package/dist/chunk-TZ2RKEBF.js +0 -2040
- package/dist/chunk-U3EACZZ3.js +0 -18
- package/dist/chunk-U3TS432W.js +0 -48
- package/dist/chunk-U634RJNK.js +0 -36
- package/dist/chunk-U7MLTDS4.js +0 -167
- package/dist/chunk-UCRPFQYY.js +0 -48
- package/dist/chunk-UEXFND2J.mjs +0 -56
- package/dist/chunk-UIYW7U2O.js +0 -28
- package/dist/chunk-UJ5Q7MZB.js +0 -78
- package/dist/chunk-UOSN6FPU.js +0 -42
- package/dist/chunk-UOY5QUAW.js +0 -63
- package/dist/chunk-UP3FJ7EK.mjs +0 -44
- package/dist/chunk-UQYEFGMG.mjs +0 -43
- package/dist/chunk-URX5VRVB.js +0 -24
- package/dist/chunk-USLYTOPD.mjs +0 -41
- package/dist/chunk-UUIIGFUZ.js +0 -33
- package/dist/chunk-UX7CIOBD.js +0 -61
- package/dist/chunk-V2AWKRQI.js +0 -26
- package/dist/chunk-V4JFB4H6.mjs +0 -45
- package/dist/chunk-V4P2FTIC.js +0 -72
- package/dist/chunk-VE3Q5LC3.mjs +0 -26
- package/dist/chunk-VKKQV6UO.js +0 -42
- package/dist/chunk-VOMHZHCC.js +0 -21
- package/dist/chunk-VTSJ33HJ.js +0 -18
- package/dist/chunk-VVELSEXL.mjs +0 -27
- package/dist/chunk-VX2IFBCP.mjs +0 -17008
- package/dist/chunk-VX346ARA.js +0 -42
- package/dist/chunk-VYV7BUJR.js +0 -42
- package/dist/chunk-W4CBCFMS.mjs +0 -36
- package/dist/chunk-W6QSJNDJ.js +0 -58
- package/dist/chunk-WDFGFSCS.js +0 -63
- package/dist/chunk-WGRAINAP.mjs +0 -43
- package/dist/chunk-WH4MHYUQ.mjs +0 -33
- package/dist/chunk-WJ6C635R.mjs +0 -45
- package/dist/chunk-WSYHZP5C.mjs +0 -28
- package/dist/chunk-X5WN73EF.js +0 -48
- package/dist/chunk-X7YFEBIL.mjs +0 -28
- package/dist/chunk-XB5AI72P.mjs +0 -24
- package/dist/chunk-XCCBDMTZ.mjs +0 -22
- package/dist/chunk-XG6RUZSI.mjs +0 -16
- package/dist/chunk-XGB3TDIC.mjs +0 -42
- package/dist/chunk-XI5L2ENL.js +0 -28
- package/dist/chunk-XIROUDIK.js +0 -151
- package/dist/chunk-XJ3B37LJ.js +0 -45
- package/dist/chunk-XJGSUINR.mjs +0 -24
- package/dist/chunk-XKWYGGIM.mjs +0 -36
- package/dist/chunk-XL5V4E3Z.js +0 -16
- package/dist/chunk-XMR5DWYS.mjs +0 -74
- package/dist/chunk-XN5RU4UY.js +0 -27
- package/dist/chunk-XR64DI5O.js +0 -31
- package/dist/chunk-XUZOVQYC.mjs +0 -42
- package/dist/chunk-XVQOUXV6.js +0 -48
- package/dist/chunk-XYNVAWSB.mjs +0 -45
- package/dist/chunk-Y2G3CY4Q.mjs +0 -51
- package/dist/chunk-YHZKCAK6.mjs +0 -49
- package/dist/chunk-YJXRZ5WX.mjs +0 -78
- package/dist/chunk-YNT5L5UH.js +0 -78
- package/dist/chunk-YRB3F2AG.mjs +0 -81
- package/dist/chunk-YRRALMO4.mjs +0 -36
- package/dist/chunk-YUFVOYYX.mjs +0 -57
- package/dist/chunk-YV3HYBCX.js +0 -45
- package/dist/chunk-YVASGALV.js +0 -81
- package/dist/chunk-YWFUY5A4.js +0 -30
- package/dist/chunk-YYSJWYK3.js +0 -21
- package/dist/chunk-YZNZHRY3.mjs +0 -81
- package/dist/chunk-Z46HCVNZ.js +0 -151
- package/dist/chunk-Z5HPFZ65.mjs +0 -35
- package/dist/chunk-ZADIRLZW.mjs +0 -56
- package/dist/chunk-ZAU43ZDI.mjs +0 -74
- package/dist/chunk-ZBU5LSC3.mjs +0 -45
- package/dist/chunk-ZDV7FI2F.js +0 -45
- package/dist/chunk-ZKVLWCGR.mjs +0 -63
- package/dist/chunk-ZN3MHVES.mjs +0 -57
- package/dist/chunk-ZPQ6LVKQ.mjs +0 -20
- package/dist/chunk-ZQA42PYM.mjs +0 -67
- package/dist/chunk-ZQYJPU4U.mjs +0 -76
- package/dist/chunk-ZSBGAX6X.js +0 -2022
- package/dist/chunk-ZT2QP4MD.mjs +0 -25
- package/dist/chunk-ZTUCFJLM.mjs +0 -33
- package/dist/chunk-ZWLHVT5O.js +0 -41
- package/dist/chunk-ZXWWD74E.mjs +0 -45
- package/dist/color-BT6BF8oV.d.mts +0 -61
- package/dist/color-BmTZnKiW.d.mts +0 -61
- package/dist/color-WFinq_Y4.d.ts +0 -61
- package/dist/color-lBH29suB.d.ts +0 -61
- package/dist/commerce-BqVjXEhQ.d.mts +0 -40
- package/dist/commerce-Ch71_dd2.d.ts +0 -40
- package/dist/commerce-IGFkOXjQ.d.mts +0 -40
- package/dist/commerce-mdOpchjx.d.ts +0 -40
- package/dist/common-CbuXAeQ-.d.mts +0 -11
- package/dist/common-IR_KozaJ.d.mts +0 -11
- package/dist/common-Kp8LaAzK.d.ts +0 -11
- package/dist/common-t-ZQebCq.d.ts +0 -11
- package/dist/company---O1IwYo.d.ts +0 -35
- package/dist/company-C3EU1J7k.d.ts +0 -35
- package/dist/company-D7Cc_hsx.d.mts +0 -35
- package/dist/company-cR_0hm6U.d.mts +0 -35
- package/dist/config-BTjogu5M.d.ts +0 -7
- package/dist/config-C1N2Brw-.d.mts +0 -7
- package/dist/config.d.mts +0 -2
- package/dist/config_scheme.d.mts +0 -32
- package/dist/create_config.d.mts +0 -58
- package/dist/create_config.test.d.mts +0 -2
- package/dist/create_config.test.js +0 -63
- package/dist/create_config.test.mjs +0 -63
- package/dist/create_generator_fn.d.mts +0 -12
- package/dist/create_generator_fn.test.d.mts +0 -2
- package/dist/create_generator_fn.test.js +0 -200
- package/dist/create_generator_fn.test.mjs +0 -200
- package/dist/database-B8Wr1oXH.d.mts +0 -23
- package/dist/database-DV9wgnca.d.ts +0 -23
- package/dist/database-Dnsy3cQb.d.ts +0 -23
- package/dist/database-UzO1Lwec.d.mts +0 -23
- package/dist/datatype-C92TZLxo.d.ts +0 -13
- package/dist/datatype-CAu_sc1g.d.ts +0 -13
- package/dist/datatype-DZjmP0fA.d.mts +0 -13
- package/dist/datatype-gjFHrdMj.d.mts +0 -13
- package/dist/datetime-BDgsnqq_.d.mts +0 -78
- package/dist/datetime-BkidbR1O.d.ts +0 -78
- package/dist/datetime-CSUpnUXU.d.ts +0 -78
- package/dist/datetime-dnPA_lnt.d.mts +0 -78
- package/dist/finance-BZEmlfNQ.d.mts +0 -90
- package/dist/finance-Cn3DFbX4.d.ts +0 -90
- package/dist/finance-CstKW1nH.d.mts +0 -90
- package/dist/finance-gj0fiEmf.d.ts +0 -90
- package/dist/food-CInj1GX2.d.ts +0 -35
- package/dist/food-CfxZX81O.d.mts +0 -35
- package/dist/food-Dk3-40CY.d.mts +0 -35
- package/dist/food-tr11e_Qp.d.ts +0 -35
- package/dist/generator_fn-CJDbnCZl.d.mts +0 -7
- package/dist/generator_fn-D-npAfnC.d.ts +0 -7
- package/dist/generator_fn.d.mts +0 -2
- package/dist/git-BHL1ppL4.d.ts +0 -31
- package/dist/git-DoCI9ZYT.d.ts +0 -31
- package/dist/git-Feo1ntKa.d.mts +0 -31
- package/dist/git-w0nznSjX.d.mts +0 -31
- package/dist/hacker-DL7pR6JO.d.ts +0 -26
- package/dist/hacker-FcQXZGtz.d.mts +0 -26
- package/dist/hacker-X3zBTMoE.d.ts +0 -26
- package/dist/hacker-mGVIO_wL.d.mts +0 -26
- package/dist/image-B5OPCNhD.d.mts +0 -56
- package/dist/image-BeZbZlyo.d.ts +0 -56
- package/dist/image-IyGCgqNf.d.ts +0 -56
- package/dist/image-govZ7HjA.d.mts +0 -56
- package/dist/index.d.mts +0 -5
- package/dist/internet-BWBjFZ1E.d.mts +0 -101
- package/dist/internet-BukCBMX-.d.ts +0 -106
- package/dist/internet-C2ElurWb.d.mts +0 -106
- package/dist/internet-CH_7YDHs.d.mts +0 -106
- package/dist/internet-CJEETk0v.d.mts +0 -101
- package/dist/internet-DLYaMWtd.d.ts +0 -106
- package/dist/internet-WmWuV39U.d.ts +0 -101
- package/dist/internet-jHHnqVJG.d.ts +0 -101
- package/dist/location-BIZ-KsaI.d.ts +0 -80
- package/dist/location-CTA_Bq7w.d.mts +0 -80
- package/dist/location-CsVekxIU.d.ts +0 -80
- package/dist/location-WU_nRdjx.d.mts +0 -80
- package/dist/lorem-BE4n3dVs.d.mts +0 -62
- package/dist/lorem-Btv0fltY.d.ts +0 -62
- package/dist/lorem-OlHaVntu.d.mts +0 -62
- package/dist/lorem-yMyLb-d-.d.ts +0 -62
- package/dist/magic-string.es-2DLPM6Q3.js +0 -1299
- package/dist/magic-string.es-NHTKQXSF.mjs +0 -1299
- package/dist/magic-string.es-PQN52XPX.js +0 -1288
- package/dist/magic-string.es-X3ME2TR2.mjs +0 -1288
- package/dist/music-CQ3lnDvg.d.mts +0 -20
- package/dist/music-D3zj5REe.d.ts +0 -20
- package/dist/music-P8XZ4JSO.d.ts +0 -20
- package/dist/music-vcWm9dzu.d.mts +0 -20
- package/dist/number-BfwwKvTJ.d.mts +0 -48
- package/dist/number-Bj9ydAOH.d.ts +0 -47
- package/dist/number-D5QmTRsK.d.ts +0 -48
- package/dist/number-D9Wn_qjS.d.mts +0 -47
- package/dist/number-DomDs-l5.d.mts +0 -47
- package/dist/number-DvzbKHZR.d.ts +0 -47
- package/dist/person-DXne2mKX.d.ts +0 -58
- package/dist/person-LLleVozS.d.ts +0 -58
- package/dist/person-OKRyYmeX.d.mts +0 -58
- package/dist/person-Si_vy67g.d.mts +0 -58
- package/dist/phone-Bc8UXPF3.d.ts +0 -16
- package/dist/phone-Cbxvm_Qv.d.ts +0 -16
- package/dist/phone-QbHXAqVF.d.mts +0 -16
- package/dist/phone-g4FDs50M.d.mts +0 -16
- package/dist/science-BX8WhoEY.d.ts +0 -15
- package/dist/science-BfA9sVXz.d.mts +0 -15
- package/dist/science-BgXAZ3YR.d.ts +0 -15
- package/dist/science-CSN41yUZ.d.mts +0 -15
- package/dist/string-9w976kVk.d.mts +0 -87
- package/dist/string-Cm9TczI6.d.ts +0 -87
- package/dist/string-DGScZrrP.d.mts +0 -87
- package/dist/string-Do4vhsl0.d.ts +0 -87
- package/dist/system-BpxbduIr.d.ts +0 -55
- package/dist/system-Cy0e05Cr.d.mts +0 -55
- package/dist/system-DOyHjHxs.d.mts +0 -55
- package/dist/system-DipW6DYb.d.ts +0 -55
- package/dist/system-EuG0S2Xy.d.mts +0 -55
- package/dist/system-ZV2S9Qw2.d.ts +0 -55
- package/dist/test.d.mts +0 -2
- package/dist/test.d.ts +0 -2
- package/dist/test.js +0 -15
- package/dist/test.mjs +0 -15
- package/dist/type-C8Ny1fB6.d.mts +0 -33
- package/dist/type-C8Ny1fB6.d.ts +0 -33
- package/dist/type.d.mts +0 -93
- package/dist/utils/airline.d.mts +0 -3
- package/dist/utils/animal.d.mts +0 -2
- package/dist/utils/color.d.mts +0 -3
- package/dist/utils/commerce.d.mts +0 -2
- package/dist/utils/common.d.mts +0 -2
- package/dist/utils/company.d.mts +0 -2
- package/dist/utils/database.d.mts +0 -2
- package/dist/utils/datatype.d.mts +0 -2
- package/dist/utils/datetime.d.mts +0 -2
- package/dist/utils/finance.d.mts +0 -3
- package/dist/utils/food.d.mts +0 -2
- package/dist/utils/git.d.mts +0 -2
- package/dist/utils/hacker.d.mts +0 -2
- package/dist/utils/image.d.mts +0 -2
- package/dist/utils/index.d.mts +0 -28
- package/dist/utils/internet.d.mts +0 -3
- package/dist/utils/location.d.mts +0 -2
- package/dist/utils/lorem.d.mts +0 -2
- package/dist/utils/music.d.mts +0 -2
- package/dist/utils/number.d.mts +0 -2
- package/dist/utils/person.d.mts +0 -3
- package/dist/utils/phone.d.mts +0 -2
- package/dist/utils/science.d.mts +0 -3
- package/dist/utils/string.d.mts +0 -2
- package/dist/utils/system.d.mts +0 -2
- package/dist/utils/utils.d.mts +0 -2
- package/dist/utils/vehicle.d.mts +0 -2
- package/dist/utils/word.d.mts +0 -75
- package/dist/utils-BImnOpvp.d.ts +0 -10
- package/dist/utils-BiDlGzTl.d.mts +0 -10
- package/dist/utils-DinJc3Cq.d.ts +0 -10
- package/dist/utils-zJKwaMUY.d.mts +0 -10
- package/dist/vehicle-D4yBDYMc.d.mts +0 -35
- package/dist/vehicle-DmBDda98.d.mts +0 -35
- package/dist/vehicle-Ufz4AoXu.d.ts +0 -35
- package/dist/vehicle-rnBz1Za2.d.ts +0 -35
- package/tsup.config.ts +0 -8
package/dist/index.js
CHANGED
|
@@ -1,43 +1,107 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_modules__ = {
|
|
3
|
+
"./config": function(module) {
|
|
4
|
+
module.exports = require("./config.js");
|
|
5
|
+
},
|
|
6
|
+
"./create_config": function(module) {
|
|
7
|
+
module.exports = require("./create_config.js");
|
|
8
|
+
},
|
|
9
|
+
"./create_generator_fn": function(module) {
|
|
10
|
+
module.exports = require("./create_generator_fn.js");
|
|
11
|
+
},
|
|
12
|
+
"./generator_fn": function(module) {
|
|
13
|
+
module.exports = require("./generator_fn.js");
|
|
14
|
+
},
|
|
15
|
+
"./type": function(module) {
|
|
16
|
+
module.exports = require("./type.js");
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
var __webpack_module_cache__ = {};
|
|
20
|
+
function __webpack_require__(moduleId) {
|
|
21
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
22
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
23
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
24
|
+
exports: {}
|
|
25
|
+
};
|
|
26
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
27
|
+
return module.exports;
|
|
28
|
+
}
|
|
29
|
+
(()=>{
|
|
30
|
+
__webpack_require__.n = (module)=>{
|
|
31
|
+
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
32
|
+
__webpack_require__.d(getter, {
|
|
33
|
+
a: getter
|
|
34
|
+
});
|
|
35
|
+
return getter;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
(()=>{
|
|
39
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
40
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: definition[key]
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
46
|
+
(()=>{
|
|
47
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
48
|
+
})();
|
|
49
|
+
(()=>{
|
|
50
|
+
__webpack_require__.r = (exports1)=>{
|
|
51
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
52
|
+
value: 'Module'
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
55
|
+
value: true
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
})();
|
|
59
|
+
var __webpack_exports__ = {};
|
|
60
|
+
(()=>{
|
|
61
|
+
__webpack_require__.r(__webpack_exports__);
|
|
62
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
63
|
+
StructConfig: ()=>_config__WEBPACK_IMPORTED_MODULE_0__,
|
|
64
|
+
StructGenerator: ()=>_generator_fn__WEBPACK_IMPORTED_MODULE_3__
|
|
65
|
+
});
|
|
66
|
+
var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./config");
|
|
67
|
+
var _create_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./create_config");
|
|
68
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
69
|
+
for(var __WEBPACK_IMPORT_KEY__ in _create_config__WEBPACK_IMPORTED_MODULE_1__)if ([
|
|
70
|
+
"StructConfig",
|
|
71
|
+
"StructGenerator",
|
|
72
|
+
"default"
|
|
73
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
74
|
+
return _create_config__WEBPACK_IMPORTED_MODULE_1__[key];
|
|
75
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
76
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
77
|
+
var _create_generator_fn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./create_generator_fn");
|
|
78
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
79
|
+
for(var __WEBPACK_IMPORT_KEY__ in _create_generator_fn__WEBPACK_IMPORTED_MODULE_2__)if ([
|
|
80
|
+
"StructConfig",
|
|
81
|
+
"StructGenerator",
|
|
82
|
+
"default"
|
|
83
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
84
|
+
return _create_generator_fn__WEBPACK_IMPORTED_MODULE_2__[key];
|
|
85
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
86
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
87
|
+
var _generator_fn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./generator_fn");
|
|
88
|
+
var _type__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./type");
|
|
89
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
90
|
+
for(var __WEBPACK_IMPORT_KEY__ in _type__WEBPACK_IMPORTED_MODULE_4__)if ([
|
|
91
|
+
"StructConfig",
|
|
92
|
+
"StructGenerator",
|
|
93
|
+
"default"
|
|
94
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
95
|
+
return _type__WEBPACK_IMPORTED_MODULE_4__[key];
|
|
96
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
97
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
98
|
+
})();
|
|
99
|
+
exports.StructConfig = __webpack_exports__.StructConfig;
|
|
100
|
+
exports.StructGenerator = __webpack_exports__.StructGenerator;
|
|
101
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
102
|
+
"StructConfig",
|
|
103
|
+
"StructGenerator"
|
|
104
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
105
|
+
Object.defineProperty(exports, '__esModule', {
|
|
106
|
+
value: true
|
|
107
|
+
});
|
package/dist/index.mjs
CHANGED
|
@@ -1,43 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
createBoundedSeriesConfig,
|
|
8
|
-
createObjectConfig,
|
|
9
|
-
createSelectionConfig,
|
|
10
|
-
createTupleConfig,
|
|
11
|
-
createValueConfig
|
|
12
|
-
} from "./chunk-ZQA42PYM.mjs";
|
|
13
|
-
import {
|
|
14
|
-
generator_fn_exports
|
|
15
|
-
} from "./chunk-GNFZ7Z6V.mjs";
|
|
16
|
-
import {
|
|
17
|
-
createArrayGenerator,
|
|
18
|
-
createBoundedSeriesGenerator,
|
|
19
|
-
createGeneratorByType,
|
|
20
|
-
createObjectGenerator,
|
|
21
|
-
createSelectionGenerator,
|
|
22
|
-
createTupleGenerator,
|
|
23
|
-
createValueGenerator
|
|
24
|
-
} from "./chunk-7TMD372Q.mjs";
|
|
25
|
-
import "./chunk-USLYTOPD.mjs";
|
|
26
|
-
import "./chunk-XGB3TDIC.mjs";
|
|
27
|
-
export {
|
|
28
|
-
config_exports as StructConfig,
|
|
29
|
-
generator_fn_exports as StructGenerator,
|
|
30
|
-
createArrayConfig,
|
|
31
|
-
createArrayGenerator,
|
|
32
|
-
createBoundedSeriesConfig,
|
|
33
|
-
createBoundedSeriesGenerator,
|
|
34
|
-
createGeneratorByType,
|
|
35
|
-
createObjectConfig,
|
|
36
|
-
createObjectGenerator,
|
|
37
|
-
createSelectionConfig,
|
|
38
|
-
createSelectionGenerator,
|
|
39
|
-
createTupleConfig,
|
|
40
|
-
createTupleGenerator,
|
|
41
|
-
createValueConfig,
|
|
42
|
-
createValueGenerator
|
|
43
|
-
};
|
|
1
|
+
export * from "./create_config.mjs";
|
|
2
|
+
export * from "./create_generator_fn.mjs";
|
|
3
|
+
export * from "./type.mjs";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_mjs_e81460ea__ from "./config.mjs";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__generator_fn_mjs_d6160eec__ from "./generator_fn.mjs";
|
|
6
|
+
export { __WEBPACK_EXTERNAL_MODULE__config_mjs_e81460ea__ as StructConfig, __WEBPACK_EXTERNAL_MODULE__generator_fn_mjs_d6160eec__ as StructGenerator };
|
package/dist/type.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
type ValueConfig<T> = {
|
|
1
|
+
export type ValueConfig<T> = {
|
|
2
2
|
type: "value";
|
|
3
3
|
generateFn: () => T;
|
|
4
4
|
};
|
|
5
|
-
type SelectionConfig<T> = {
|
|
5
|
+
export type SelectionConfig<T> = {
|
|
6
6
|
type: "select";
|
|
7
7
|
items: T[];
|
|
8
8
|
};
|
|
9
|
-
type BoundedSeriesConfig = {
|
|
9
|
+
export type BoundedSeriesConfig = {
|
|
10
10
|
type: "bounded_series";
|
|
11
11
|
upperLimit: number;
|
|
12
12
|
lowerLimit: number;
|
|
13
13
|
createInitValue: () => number;
|
|
14
14
|
count: number;
|
|
15
15
|
};
|
|
16
|
-
type ArrayConfig<T> = {
|
|
16
|
+
export type ArrayConfig<T> = {
|
|
17
17
|
type: "arr";
|
|
18
18
|
item: T;
|
|
19
19
|
len: number;
|
|
20
20
|
next?: (prev: Result<T>, current: Result<T>) => Result<T>;
|
|
21
21
|
};
|
|
22
|
-
type ObjectConfig<T> = {
|
|
22
|
+
export type ObjectConfig<T> = {
|
|
23
23
|
type: "obj";
|
|
24
24
|
content: T;
|
|
25
25
|
};
|
|
26
|
-
type ObjectConfigWithFn<T, R> = {
|
|
26
|
+
export type ObjectConfigWithFn<T, R> = {
|
|
27
27
|
type: "obj";
|
|
28
28
|
content: T;
|
|
29
29
|
transformer: (v: {
|
|
30
30
|
[K in keyof T]: Result<T[K]>;
|
|
31
31
|
}) => R;
|
|
32
32
|
};
|
|
33
|
-
type TupleItems<A, B, C, D, E, F, G, H, I, J> = J extends undefined ? I extends undefined ? H extends undefined ? G extends undefined ? F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? [A] : [A, B] : [A, B, C] : [A, B, C, D] : [A, B, C, D, E] : [A, B, C, D, E, F] : [A, B, C, D, E, F, G] : [A, B, C, D, E, F, G, H] : [A, B, C, D, E, F, G, H, I] : [A, B, C, D, E, F, G, H, I, J];
|
|
34
|
-
type TupleConfig<A, B = undefined, C = undefined, D = undefined, E = undefined, F = undefined, G = undefined, H = undefined, I = undefined, J = undefined> = {
|
|
33
|
+
export type TupleItems<A, B, C, D, E, F, G, H, I, J> = J extends undefined ? I extends undefined ? H extends undefined ? G extends undefined ? F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? [A] : [A, B] : [A, B, C] : [A, B, C, D] : [A, B, C, D, E] : [A, B, C, D, E, F] : [A, B, C, D, E, F, G] : [A, B, C, D, E, F, G, H] : [A, B, C, D, E, F, G, H, I] : [A, B, C, D, E, F, G, H, I, J];
|
|
34
|
+
export type TupleConfig<A, B = undefined, C = undefined, D = undefined, E = undefined, F = undefined, G = undefined, H = undefined, I = undefined, J = undefined> = {
|
|
35
35
|
type: "tuple";
|
|
36
36
|
configItems: TupleItems<A, B, C, D, E, F, G, H, I, J>;
|
|
37
37
|
};
|
|
38
|
-
type Result<T> = T extends ValueConfig<infer U> ? U : T extends SelectionConfig<infer S> ? S : T extends BoundedSeriesConfig ? number[] : T extends ArrayConfig<infer W> ? Array<Result<W>> : T extends ObjectConfigWithFn<infer _, infer R> ? R : T extends ObjectConfig<infer O> ? {
|
|
38
|
+
export type Result<T> = T extends ValueConfig<infer U> ? U : T extends SelectionConfig<infer S> ? S : T extends BoundedSeriesConfig ? number[] : T extends ArrayConfig<infer W> ? Array<Result<W>> : T extends ObjectConfigWithFn<infer _, infer R> ? R : T extends ObjectConfig<infer O> ? {
|
|
39
39
|
[K in keyof O]: Result<O[K]>;
|
|
40
40
|
} : T extends TupleConfig<infer A, infer B, infer C, infer D, infer E, infer F, infer G, infer H, infer I, infer J> ? J extends undefined ? I extends undefined ? H extends undefined ? G extends undefined ? F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? [Result<A>] : [Result<A>, Result<B>] : [Result<A>, Result<B>, Result<C>] : [Result<A>, Result<B>, Result<C>, Result<D>] : [
|
|
41
41
|
Result<A>,
|
|
@@ -89,5 +89,3 @@ type Result<T> = T extends ValueConfig<infer U> ? U : T extends SelectionConfig<
|
|
|
89
89
|
Result<I>,
|
|
90
90
|
Result<J>
|
|
91
91
|
] : never;
|
|
92
|
-
|
|
93
|
-
export type { ArrayConfig, BoundedSeriesConfig, ObjectConfig, ObjectConfigWithFn, Result, SelectionConfig, TupleConfig, TupleItems, ValueConfig };
|
package/dist/type.js
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.r = (exports1)=>{
|
|
5
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
6
|
+
value: 'Module'
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
})();
|
|
13
|
+
var __webpack_exports__ = {};
|
|
14
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
16
|
+
Object.defineProperty(exports, '__esModule', {
|
|
17
|
+
value: true
|
|
18
|
+
});
|
package/dist/type.mjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./chunk-7UQSPUCL.mjs";
|
package/dist/utils/airline.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
/** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
|
|
2
|
+
export declare const aircraftType: () => import("..").ValueConfig<"narrowbody" | "regional" | "widebody">;
|
|
3
|
+
/** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
|
|
4
|
+
export declare const flightNumber: (options?: {
|
|
5
|
+
length?: number | {
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
};
|
|
9
|
+
addLeadingZeros?: boolean;
|
|
10
|
+
}) => import("..").ValueConfig<string>;
|
|
11
|
+
/** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
|
|
12
|
+
export declare const seat: (options?: {
|
|
13
|
+
aircraftType?: import("@faker-js/faker/.").AircraftType;
|
|
14
|
+
}) => import("..").ValueConfig<string>;
|
package/dist/utils/airline.js
CHANGED
|
@@ -1,14 +1,46 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
seat: ()=>seat,
|
|
28
|
+
flightNumber: ()=>flightNumber,
|
|
29
|
+
aircraftType: ()=>aircraftType
|
|
30
|
+
});
|
|
31
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
32
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
33
|
+
const aircraftType = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.airline.aircraftType);
|
|
34
|
+
const flightNumber = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.airline.flightNumber);
|
|
35
|
+
const seat = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.airline.seat);
|
|
36
|
+
exports.aircraftType = __webpack_exports__.aircraftType;
|
|
37
|
+
exports.flightNumber = __webpack_exports__.flightNumber;
|
|
38
|
+
exports.seat = __webpack_exports__.seat;
|
|
39
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
40
|
+
"aircraftType",
|
|
41
|
+
"flightNumber",
|
|
42
|
+
"seat"
|
|
43
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
44
|
+
Object.defineProperty(exports, '__esModule', {
|
|
45
|
+
value: true
|
|
46
|
+
});
|
package/dist/utils/airline.mjs
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "../chunk-ZQA42PYM.mjs";
|
|
8
|
-
import "../chunk-USLYTOPD.mjs";
|
|
9
|
-
import "../chunk-XGB3TDIC.mjs";
|
|
10
|
-
export {
|
|
11
|
-
aircraftType,
|
|
12
|
-
flightNumber,
|
|
13
|
-
seat
|
|
14
|
-
};
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.mjs";
|
|
3
|
+
const aircraftType = makeValueConfigFn(faker.airline.aircraftType);
|
|
4
|
+
const flightNumber = makeValueConfigFn(faker.airline.flightNumber);
|
|
5
|
+
const seat = makeValueConfigFn(faker.airline.seat);
|
|
6
|
+
export { aircraftType, flightNumber, seat };
|
package/dist/utils/animal.d.ts
CHANGED
|
@@ -1,2 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/** Animal [bear](https://fakerjs.dev/api/animal.html#bear) */
|
|
2
|
+
export declare const bear: () => import("..").ValueConfig<string>;
|
|
3
|
+
/** Animal [bird](https://fakerjs.dev/api/animal.html#bird) */
|
|
4
|
+
export declare const bird: () => import("..").ValueConfig<string>;
|
|
5
|
+
/** Animal [cat](https://fakerjs.dev/api/animal.html#cat) */
|
|
6
|
+
export declare const cat: () => import("..").ValueConfig<string>;
|
|
7
|
+
/** Animal [cetacean](https://fakerjs.dev/api/animal.html#cetacean) */
|
|
8
|
+
export declare const cetacean: () => import("..").ValueConfig<string>;
|
|
9
|
+
/** Animal [cow](https://fakerjs.dev/api/animal.html#cow) */
|
|
10
|
+
export declare const cow: () => import("..").ValueConfig<string>;
|
|
11
|
+
/** Animal [crocodilia](https://fakerjs.dev/api/animal.html#crocodilia) */
|
|
12
|
+
export declare const crocodilia: () => import("..").ValueConfig<string>;
|
|
13
|
+
/** Animal [dog](https://fakerjs.dev/api/animal.html#dog) */
|
|
14
|
+
export declare const dog: () => import("..").ValueConfig<string>;
|
|
15
|
+
/** Animal [fish](https://fakerjs.dev/api/animal.html#fish) */
|
|
16
|
+
export declare const fish: () => import("..").ValueConfig<string>;
|
|
17
|
+
/** Animal [horse](https://fakerjs.dev/api/animal.html#horse) */
|
|
18
|
+
export declare const horse: () => import("..").ValueConfig<string>;
|
|
19
|
+
/** Animal [insect](https://fakerjs.dev/api/animal.html#insect) */
|
|
20
|
+
export declare const insect: () => import("..").ValueConfig<string>;
|
|
21
|
+
/** Animal [lion](https://fakerjs.dev/api/animal.html#lion) */
|
|
22
|
+
export declare const lion: () => import("..").ValueConfig<string>;
|
|
23
|
+
/** Animal [rabbit](https://fakerjs.dev/api/animal.html#rabbit) */
|
|
24
|
+
export declare const rabbit: () => import("..").ValueConfig<string>;
|
|
25
|
+
/** Animal [rodent](https://fakerjs.dev/api/animal.html#rodent) */
|
|
26
|
+
export declare const rodent: () => import("..").ValueConfig<string>;
|
|
27
|
+
/** Animal [snake](https://fakerjs.dev/api/animal.html#snake) */
|
|
28
|
+
export declare const snake: () => import("..").ValueConfig<string>;
|
|
29
|
+
/** Animal [type](https://fakerjs.dev/api/animal.html#type) */
|
|
30
|
+
export declare const type: () => import("..").ValueConfig<string>;
|
package/dist/utils/animal.js
CHANGED
|
@@ -1,38 +1,94 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
dog: ()=>dog,
|
|
28
|
+
cow: ()=>cow,
|
|
29
|
+
cetacean: ()=>cetacean,
|
|
30
|
+
lion: ()=>lion,
|
|
31
|
+
bird: ()=>bird,
|
|
32
|
+
insect: ()=>insect,
|
|
33
|
+
rodent: ()=>rodent,
|
|
34
|
+
bear: ()=>bear,
|
|
35
|
+
type: ()=>type,
|
|
36
|
+
fish: ()=>fish,
|
|
37
|
+
snake: ()=>snake,
|
|
38
|
+
rabbit: ()=>rabbit,
|
|
39
|
+
crocodilia: ()=>crocodilia,
|
|
40
|
+
cat: ()=>cat,
|
|
41
|
+
horse: ()=>horse
|
|
42
|
+
});
|
|
43
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
44
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
45
|
+
const bear = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.bear);
|
|
46
|
+
const bird = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.bird);
|
|
47
|
+
const cat = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.cat);
|
|
48
|
+
const cetacean = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.cetacean);
|
|
49
|
+
const cow = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.cow);
|
|
50
|
+
const crocodilia = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.crocodilia);
|
|
51
|
+
const dog = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.dog);
|
|
52
|
+
const fish = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.fish);
|
|
53
|
+
const horse = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.horse);
|
|
54
|
+
const insect = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.insect);
|
|
55
|
+
const lion = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.lion);
|
|
56
|
+
const rabbit = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.rabbit);
|
|
57
|
+
const rodent = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.rodent);
|
|
58
|
+
const snake = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.snake);
|
|
59
|
+
const type = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.animal.type);
|
|
60
|
+
exports.bear = __webpack_exports__.bear;
|
|
61
|
+
exports.bird = __webpack_exports__.bird;
|
|
62
|
+
exports.cat = __webpack_exports__.cat;
|
|
63
|
+
exports.cetacean = __webpack_exports__.cetacean;
|
|
64
|
+
exports.cow = __webpack_exports__.cow;
|
|
65
|
+
exports.crocodilia = __webpack_exports__.crocodilia;
|
|
66
|
+
exports.dog = __webpack_exports__.dog;
|
|
67
|
+
exports.fish = __webpack_exports__.fish;
|
|
68
|
+
exports.horse = __webpack_exports__.horse;
|
|
69
|
+
exports.insect = __webpack_exports__.insect;
|
|
70
|
+
exports.lion = __webpack_exports__.lion;
|
|
71
|
+
exports.rabbit = __webpack_exports__.rabbit;
|
|
72
|
+
exports.rodent = __webpack_exports__.rodent;
|
|
73
|
+
exports.snake = __webpack_exports__.snake;
|
|
74
|
+
exports.type = __webpack_exports__.type;
|
|
75
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
76
|
+
"bear",
|
|
77
|
+
"bird",
|
|
78
|
+
"cat",
|
|
79
|
+
"cetacean",
|
|
80
|
+
"cow",
|
|
81
|
+
"crocodilia",
|
|
82
|
+
"dog",
|
|
83
|
+
"fish",
|
|
84
|
+
"horse",
|
|
85
|
+
"insect",
|
|
86
|
+
"lion",
|
|
87
|
+
"rabbit",
|
|
88
|
+
"rodent",
|
|
89
|
+
"snake",
|
|
90
|
+
"type"
|
|
91
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
92
|
+
Object.defineProperty(exports, '__esModule', {
|
|
93
|
+
value: true
|
|
94
|
+
});
|
package/dist/utils/animal.mjs
CHANGED
|
@@ -1,38 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
import "../chunk-ZQA42PYM.mjs";
|
|
20
|
-
import "../chunk-USLYTOPD.mjs";
|
|
21
|
-
import "../chunk-XGB3TDIC.mjs";
|
|
22
|
-
export {
|
|
23
|
-
bear,
|
|
24
|
-
bird,
|
|
25
|
-
cat,
|
|
26
|
-
cetacean,
|
|
27
|
-
cow,
|
|
28
|
-
crocodilia,
|
|
29
|
-
dog,
|
|
30
|
-
fish,
|
|
31
|
-
horse,
|
|
32
|
-
insect,
|
|
33
|
-
lion,
|
|
34
|
-
rabbit,
|
|
35
|
-
rodent,
|
|
36
|
-
snake,
|
|
37
|
-
type
|
|
38
|
-
};
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.mjs";
|
|
3
|
+
const bear = makeValueConfigFn(faker.animal.bear);
|
|
4
|
+
const bird = makeValueConfigFn(faker.animal.bird);
|
|
5
|
+
const cat = makeValueConfigFn(faker.animal.cat);
|
|
6
|
+
const cetacean = makeValueConfigFn(faker.animal.cetacean);
|
|
7
|
+
const cow = makeValueConfigFn(faker.animal.cow);
|
|
8
|
+
const crocodilia = makeValueConfigFn(faker.animal.crocodilia);
|
|
9
|
+
const dog = makeValueConfigFn(faker.animal.dog);
|
|
10
|
+
const fish = makeValueConfigFn(faker.animal.fish);
|
|
11
|
+
const horse = makeValueConfigFn(faker.animal.horse);
|
|
12
|
+
const insect = makeValueConfigFn(faker.animal.insect);
|
|
13
|
+
const lion = makeValueConfigFn(faker.animal.lion);
|
|
14
|
+
const rabbit = makeValueConfigFn(faker.animal.rabbit);
|
|
15
|
+
const rodent = makeValueConfigFn(faker.animal.rodent);
|
|
16
|
+
const snake = makeValueConfigFn(faker.animal.snake);
|
|
17
|
+
const type = makeValueConfigFn(faker.animal.type);
|
|
18
|
+
export { bear, bird, cat, cetacean, cow, crocodilia, dog, fish, horse, insect, lion, rabbit, rodent, snake, type };
|
package/dist/utils/color.d.ts
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/** Color [cmyk](https://fakerjs.dev/api/color.html#cmyk) */
|
|
2
|
+
export declare const cmyk: (options?: {
|
|
3
|
+
format?: import("@faker-js/faker/.").ColorFormat;
|
|
4
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
5
|
+
/** Color [colorByCSSColorSpace](https://fakerjs.dev/api/color.html#colorByCSSColorSpace) */
|
|
6
|
+
export declare const colorByCSSColorSpace: (options?: {
|
|
7
|
+
format?: import("@faker-js/faker/.").ColorFormat;
|
|
8
|
+
space?: import("@faker-js/faker/.").CssSpaceType;
|
|
9
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
10
|
+
/** Color [cssSupportedFunction](https://fakerjs.dev/api/color.html#cssSupportedFunction) */
|
|
11
|
+
export declare const cssSupportedFunction: () => import("..").ValueConfig<"rgb" | "rgba" | "hsl" | "hsla" | "hwb" | "cmyk" | "lab" | "lch" | "color">;
|
|
12
|
+
/** Color [cssSupportedSpace](https://fakerjs.dev/api/color.html#cssSupportedSpace) */
|
|
13
|
+
export declare const cssSupportedSpace: () => import("..").ValueConfig<"sRGB" | "display-p3" | "rec2020" | "a98-rgb" | "prophoto-rgb">;
|
|
14
|
+
/** Color [hsl](https://fakerjs.dev/api/color.html#hsl) */
|
|
15
|
+
export declare const hsl: (options?: {
|
|
16
|
+
format?: import("@faker-js/faker/.").ColorFormat;
|
|
17
|
+
includeAlpha?: boolean;
|
|
18
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
19
|
+
/** Color [human](https://fakerjs.dev/api/color.html#human) */
|
|
20
|
+
export declare const human: () => import("..").ValueConfig<string>;
|
|
21
|
+
/** Color [hwb](https://fakerjs.dev/api/color.html#hwb) */
|
|
22
|
+
export declare const hwb: (options?: {
|
|
23
|
+
format?: import("@faker-js/faker/.").ColorFormat;
|
|
24
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
25
|
+
/** Color [lab](https://fakerjs.dev/api/color.html#lab) */
|
|
26
|
+
export declare const lab: (options?: {
|
|
27
|
+
format?: import("@faker-js/faker/.").ColorFormat;
|
|
28
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
29
|
+
/** Color [lch](https://fakerjs.dev/api/color.html#lch) */
|
|
30
|
+
export declare const lch: (options?: {
|
|
31
|
+
format?: import("@faker-js/faker/.").ColorFormat;
|
|
32
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
33
|
+
/** Color [rgb](https://fakerjs.dev/api/color.html#rgb) */
|
|
34
|
+
export declare const rgb: (options?: {
|
|
35
|
+
prefix?: string;
|
|
36
|
+
casing?: import("@faker-js/faker/.").Casing;
|
|
37
|
+
format?: "hex" | import("@faker-js/faker/.").ColorFormat;
|
|
38
|
+
includeAlpha?: boolean;
|
|
39
|
+
}) => import("..").ValueConfig<string | number[]>;
|
|
40
|
+
/** Color [space](https://fakerjs.dev/api/color.html#space) */
|
|
41
|
+
export declare const space: () => import("..").ValueConfig<string>;
|