struct-fakerator 2.5.6 → 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/dist/chunk-25HDDMTE.js +45 -0
- package/dist/chunk-266JLHQ7.mjs +27 -0
- package/dist/chunk-2SF54GZN.mjs +24 -0
- package/dist/chunk-2VTSGFBK.mjs +56 -0
- package/dist/chunk-3U6BNHWG.mjs +2040 -0
- package/dist/chunk-52ZOIHJM.js +26 -0
- package/dist/chunk-5A3HJWPX.mjs +33 -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-6TGTIMX2.mjs +151 -0
- package/dist/chunk-7ZAVU2DI.mjs +81 -0
- package/dist/chunk-ABZZ2Y2O.mjs +45 -0
- package/dist/chunk-C6FQYK5T.js +81 -0
- package/dist/chunk-D74AUXZW.mjs +35 -0
- package/dist/chunk-DX6NQK6H.js +49 -0
- package/dist/chunk-DXVB5THL.js +36 -0
- package/dist/chunk-E7JW4TGQ.mjs +49 -0
- package/dist/chunk-EPWKT75L.js +63 -0
- package/dist/chunk-F4WSUHUB.js +27 -0
- package/dist/chunk-FT5QWXEO.mjs +21 -0
- package/dist/chunk-G73JPAKW.mjs +16831 -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-GUIYTTMP.mjs +24 -0
- package/dist/chunk-HMDAKHLF.js +151 -0
- package/dist/chunk-HVWSAC7Q.js +74 -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-KDRX2A7A.mjs +45 -0
- package/dist/chunk-KSBJZ7PZ.mjs +48 -0
- package/dist/chunk-LSP4VVPM.mjs +45 -0
- package/dist/chunk-MHBVLDC4.js +30 -0
- package/dist/chunk-NBUVTD24.js +24 -0
- package/dist/chunk-NGJNM6BX.mjs +48 -0
- package/dist/chunk-OAPPDES4.js +51 -0
- package/dist/chunk-OKDN5R6M.mjs +78 -0
- package/dist/chunk-OZ5VJVBQ.js +21 -0
- package/dist/chunk-QH2RT36U.js +57 -0
- package/dist/chunk-QHW2YYKY.js +45 -0
- package/dist/chunk-RA35MXTT.mjs +51 -0
- package/dist/chunk-RFTRP37B.mjs +74 -0
- package/dist/chunk-RIOEYYMH.mjs +30 -0
- package/dist/chunk-S2AEEWWW.mjs +36 -0
- package/dist/chunk-SN2ALAEI.mjs +36 -0
- package/dist/chunk-SSZ5GGDT.js +45 -0
- package/dist/chunk-TZ2RKEBF.js +2040 -0
- package/dist/chunk-UJ5Q7MZB.js +78 -0
- package/dist/chunk-UOY5QUAW.js +63 -0
- package/dist/chunk-URX5VRVB.js +24 -0
- package/dist/chunk-VYV7BUJR.js +42 -0
- package/dist/chunk-X7YFEBIL.mjs +28 -0
- package/dist/chunk-XI5L2ENL.js +28 -0
- package/dist/chunk-XUZOVQYC.mjs +42 -0
- package/dist/chunk-XVQOUXV6.js +48 -0
- package/dist/chunk-YUFVOYYX.mjs +57 -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/create_config.d.mts +6 -1
- package/dist/create_config.d.ts +6 -1
- package/dist/create_config.test.js +22 -22
- package/dist/create_config.test.mjs +1 -1
- package/dist/create_generator_fn.d.mts +1 -1
- package/dist/create_generator_fn.d.ts +1 -1
- package/dist/create_generator_fn.js +3 -3
- package/dist/create_generator_fn.mjs +2 -2
- package/dist/create_generator_fn.test.js +46 -46
- package/dist/create_generator_fn.test.mjs +9 -9
- 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/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +14 -6
- package/dist/index.mjs +18 -10
- package/dist/number-BfwwKvTJ.d.mts +48 -0
- package/dist/number-D5QmTRsK.d.ts +48 -0
- package/dist/type.d.mts +56 -4
- package/dist/type.d.ts +56 -4
- package/dist/utils/airline.js +3 -3
- package/dist/utils/airline.mjs +2 -2
- package/dist/utils/animal.js +3 -3
- package/dist/utils/animal.mjs +2 -2
- package/dist/utils/color.js +3 -3
- package/dist/utils/color.mjs +2 -2
- package/dist/utils/commerce.js +3 -3
- package/dist/utils/commerce.mjs +2 -2
- package/dist/utils/company.js +3 -3
- package/dist/utils/company.mjs +2 -2
- package/dist/utils/database.js +3 -3
- package/dist/utils/database.mjs +2 -2
- package/dist/utils/datatype.js +3 -3
- package/dist/utils/datatype.mjs +2 -2
- package/dist/utils/datetime.js +3 -3
- package/dist/utils/datetime.mjs +2 -2
- package/dist/utils/finance.js +3 -3
- package/dist/utils/finance.mjs +2 -2
- package/dist/utils/food.js +3 -3
- package/dist/utils/food.mjs +2 -2
- package/dist/utils/git.js +3 -3
- package/dist/utils/git.mjs +2 -2
- package/dist/utils/hacker.js +3 -3
- package/dist/utils/hacker.mjs +2 -2
- package/dist/utils/image.js +3 -3
- package/dist/utils/image.mjs +2 -2
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +27 -27
- package/dist/utils/index.mjs +36 -36
- package/dist/utils/internet.js +3 -3
- package/dist/utils/internet.mjs +2 -2
- package/dist/utils/location.js +3 -3
- package/dist/utils/location.mjs +2 -2
- package/dist/utils/lorem.js +3 -3
- package/dist/utils/lorem.mjs +2 -2
- package/dist/utils/music.js +3 -3
- package/dist/utils/music.mjs +2 -2
- package/dist/utils/number.d.mts +1 -1
- package/dist/utils/number.d.ts +1 -1
- package/dist/utils/number.js +3 -3
- package/dist/utils/number.mjs +2 -2
- package/dist/utils/person.js +3 -3
- package/dist/utils/person.mjs +2 -2
- package/dist/utils/phone.js +3 -3
- package/dist/utils/phone.mjs +2 -2
- package/dist/utils/science.js +3 -3
- package/dist/utils/science.mjs +2 -2
- package/dist/utils/string.js +3 -3
- package/dist/utils/string.mjs +2 -2
- package/dist/utils/system.js +3 -3
- package/dist/utils/system.mjs +2 -2
- package/dist/utils/vehicle.js +3 -3
- package/dist/utils/vehicle.mjs +2 -2
- package/dist/utils/word.js +10 -10
- package/dist/utils/word.mjs +1 -1
- package/package.json +6 -6
- 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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk6QZF75LHjs = require('./chunk-6QZF75LH.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
|
|
10
|
+
|
|
11
|
+
// src/utils/vehicle.ts
|
|
12
|
+
var vehicle_exports = {};
|
|
13
|
+
_chunk4VNS5WPMjs.__export.call(void 0, vehicle_exports, {
|
|
14
|
+
bicycle: () => bicycle,
|
|
15
|
+
color: () => color,
|
|
16
|
+
fuel: () => fuel,
|
|
17
|
+
manufacturer: () => manufacturer,
|
|
18
|
+
model: () => model,
|
|
19
|
+
type: () => type,
|
|
20
|
+
vehicle: () => vehicle,
|
|
21
|
+
vin: () => vin,
|
|
22
|
+
vrm: () => vrm
|
|
23
|
+
});
|
|
24
|
+
var bicycle = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.bicycle);
|
|
25
|
+
var color = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.color);
|
|
26
|
+
var fuel = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.fuel);
|
|
27
|
+
var manufacturer = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.manufacturer);
|
|
28
|
+
var model = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.model);
|
|
29
|
+
var type = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.type);
|
|
30
|
+
var vehicle = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.vehicle);
|
|
31
|
+
var vin = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.vin);
|
|
32
|
+
var vrm = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.vehicle.vrm);
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
exports.bicycle = bicycle; exports.color = color; exports.fuel = fuel; exports.manufacturer = manufacturer; exports.model = model; exports.type = type; exports.vehicle = vehicle; exports.vin = vin; exports.vrm = vrm; exports.vehicle_exports = vehicle_exports;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
makeValueConfigFn
|
|
3
|
+
} from "./chunk-7POVLKQR.mjs";
|
|
4
|
+
import {
|
|
5
|
+
f
|
|
6
|
+
} from "./chunk-3U6BNHWG.mjs";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./chunk-XGB3TDIC.mjs";
|
|
10
|
+
|
|
11
|
+
// src/utils/airline.ts
|
|
12
|
+
var airline_exports = {};
|
|
13
|
+
__export(airline_exports, {
|
|
14
|
+
aircraftType: () => aircraftType,
|
|
15
|
+
flightNumber: () => flightNumber,
|
|
16
|
+
seat: () => seat
|
|
17
|
+
});
|
|
18
|
+
var aircraftType = makeValueConfigFn(f.airline.aircraftType);
|
|
19
|
+
var flightNumber = makeValueConfigFn(f.airline.flightNumber);
|
|
20
|
+
var seat = makeValueConfigFn(f.airline.seat);
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
aircraftType,
|
|
24
|
+
flightNumber,
|
|
25
|
+
seat,
|
|
26
|
+
airline_exports
|
|
27
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
makeValueConfigFn
|
|
3
|
+
} from "./chunk-7POVLKQR.mjs";
|
|
4
|
+
import {
|
|
5
|
+
f
|
|
6
|
+
} from "./chunk-3U6BNHWG.mjs";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./chunk-XGB3TDIC.mjs";
|
|
10
|
+
|
|
11
|
+
// src/utils/phone.ts
|
|
12
|
+
var phone_exports = {};
|
|
13
|
+
__export(phone_exports, {
|
|
14
|
+
imei: () => imei,
|
|
15
|
+
number: () => number
|
|
16
|
+
});
|
|
17
|
+
var imei = makeValueConfigFn(f.phone.imei);
|
|
18
|
+
var number = makeValueConfigFn(f.phone.number);
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
imei,
|
|
22
|
+
number,
|
|
23
|
+
phone_exports
|
|
24
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import {
|
|
2
|
+
makeValueConfigFn
|
|
3
|
+
} from "./chunk-7POVLKQR.mjs";
|
|
4
|
+
import {
|
|
5
|
+
f
|
|
6
|
+
} from "./chunk-3U6BNHWG.mjs";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./chunk-XGB3TDIC.mjs";
|
|
10
|
+
|
|
11
|
+
// src/utils/system.ts
|
|
12
|
+
var system_exports = {};
|
|
13
|
+
__export(system_exports, {
|
|
14
|
+
commonFileExt: () => commonFileExt,
|
|
15
|
+
commonFileName: () => commonFileName,
|
|
16
|
+
commonFileType: () => commonFileType,
|
|
17
|
+
cron: () => cron,
|
|
18
|
+
directoryPath: () => directoryPath,
|
|
19
|
+
fileExt: () => fileExt,
|
|
20
|
+
fileName: () => fileName,
|
|
21
|
+
filePath: () => filePath,
|
|
22
|
+
fileType: () => fileType,
|
|
23
|
+
mimeType: () => mimeType,
|
|
24
|
+
networkInterface: () => networkInterface,
|
|
25
|
+
semver: () => semver
|
|
26
|
+
});
|
|
27
|
+
var commonFileExt = makeValueConfigFn(f.system.commonFileExt);
|
|
28
|
+
var commonFileName = makeValueConfigFn(f.system.commonFileName);
|
|
29
|
+
var commonFileType = makeValueConfigFn(f.system.commonFileType);
|
|
30
|
+
var cron = makeValueConfigFn(f.system.cron);
|
|
31
|
+
var directoryPath = makeValueConfigFn(f.system.directoryPath);
|
|
32
|
+
var fileExt = makeValueConfigFn(f.system.fileExt);
|
|
33
|
+
var fileName = makeValueConfigFn(f.system.fileName);
|
|
34
|
+
var filePath = makeValueConfigFn(f.system.filePath);
|
|
35
|
+
var fileType = makeValueConfigFn(f.system.fileType);
|
|
36
|
+
var mimeType = makeValueConfigFn(f.system.mimeType);
|
|
37
|
+
var networkInterface = makeValueConfigFn(
|
|
38
|
+
f.system.networkInterface
|
|
39
|
+
);
|
|
40
|
+
var semver = makeValueConfigFn(f.system.semver);
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
commonFileExt,
|
|
44
|
+
commonFileName,
|
|
45
|
+
commonFileType,
|
|
46
|
+
cron,
|
|
47
|
+
directoryPath,
|
|
48
|
+
fileExt,
|
|
49
|
+
fileName,
|
|
50
|
+
filePath,
|
|
51
|
+
fileType,
|
|
52
|
+
mimeType,
|
|
53
|
+
networkInterface,
|
|
54
|
+
semver,
|
|
55
|
+
system_exports
|
|
56
|
+
};
|