struct-fakerator 2.4.6 → 2.4.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/airline-BUwgrfsj.d.ts +26 -0
- package/dist/airline-C0ManYED.d.mts +26 -0
- package/dist/animal-arG64NM6.d.mts +53 -0
- package/dist/animal-erAZXs_d.d.ts +53 -0
- package/dist/chunk-3FFGDXA5.mjs +48 -0
- package/dist/chunk-3HQMGDUF.js +98 -0
- package/dist/chunk-3MYH2PDS.js +24 -0
- package/dist/chunk-4ESFUYHU.js +48 -0
- package/dist/chunk-4UGSTE5Q.js +1968 -0
- package/dist/chunk-4XQBQAPC.mjs +33 -0
- package/dist/chunk-5M3DUBFV.mjs +24 -0
- package/dist/chunk-62NUC6UZ.js +51 -0
- package/dist/chunk-7IQW6MWT.mjs +81 -0
- package/dist/chunk-7V3T6MQ3.mjs +21 -0
- package/dist/chunk-AWKBY27N.js +35 -0
- package/dist/chunk-BGE4WZH7.js +27 -0
- package/dist/chunk-BNUCXH6Q.js +49 -0
- package/dist/chunk-BS7IEV74.mjs +1968 -0
- package/dist/chunk-CC255UJD.mjs +27 -0
- package/dist/chunk-CK65OFQQ.mjs +56 -0
- package/dist/chunk-FG2O523S.js +48 -0
- package/dist/chunk-GF4PSVJ7.js +81 -0
- package/dist/chunk-GL777PKT.js +21 -0
- package/dist/chunk-GR5EJCJ2.js +24 -0
- package/dist/chunk-HAIK2LXD.js +63 -0
- package/dist/chunk-HK4L636Y.mjs +49 -0
- package/dist/chunk-HMGGQ5ZJ.js +45 -0
- package/dist/chunk-IZVHA6FO.js +45 -0
- package/dist/chunk-JFYN4RCQ.mjs +24 -0
- package/dist/chunk-KB4QNLUX.js +30 -0
- package/dist/chunk-KK4QURZV.mjs +63 -0
- package/dist/chunk-KLYK2EDS.js +18 -0
- package/dist/chunk-L63CILKL.js +36 -0
- package/dist/chunk-LCQV5ZXR.js +63 -0
- package/dist/chunk-M7SBPX3E.mjs +45 -0
- package/dist/chunk-MJWNNESP.js +57 -0
- package/dist/chunk-MKTV5ZCC.mjs +30 -0
- package/dist/chunk-MNRDBDJD.js +33 -0
- package/dist/chunk-MTNLYYS2.mjs +51 -0
- package/dist/chunk-NPYKAZ5O.mjs +42 -0
- package/dist/chunk-OLSCXZ3D.mjs +98 -0
- package/dist/chunk-PS673ZMG.mjs +78 -0
- package/dist/chunk-RCDDW7NN.js +36 -0
- package/dist/chunk-RWSXJDFQ.mjs +57 -0
- package/dist/chunk-SAYLPMKP.js +74 -0
- package/dist/chunk-SOFVWH6A.js +56 -0
- package/dist/chunk-T4IVAGFU.mjs +48 -0
- package/dist/chunk-TKS2PTMF.mjs +18 -0
- package/dist/chunk-UOSN6FPU.js +42 -0
- package/dist/chunk-V4JFB4H6.mjs +45 -0
- package/dist/chunk-XG6RUZSI.mjs +16 -0
- package/dist/chunk-XJ3B37LJ.js +45 -0
- package/dist/chunk-XKWYGGIM.mjs +36 -0
- package/dist/chunk-XL5V4E3Z.js +16 -0
- package/dist/chunk-XMR5DWYS.mjs +74 -0
- package/dist/chunk-XYNVAWSB.mjs +45 -0
- package/dist/chunk-YNT5L5UH.js +78 -0
- package/dist/chunk-YRRALMO4.mjs +36 -0
- package/dist/chunk-Z5HPFZ65.mjs +35 -0
- package/dist/chunk-ZKVLWCGR.mjs +63 -0
- package/dist/color-BmTZnKiW.d.mts +61 -0
- package/dist/color-WFinq_Y4.d.ts +61 -0
- package/dist/commerce-Ch71_dd2.d.ts +40 -0
- package/dist/commerce-IGFkOXjQ.d.mts +40 -0
- package/dist/common-CbuXAeQ-.d.mts +11 -0
- package/dist/common-Kp8LaAzK.d.ts +11 -0
- package/dist/company---O1IwYo.d.ts +35 -0
- package/dist/company-D7Cc_hsx.d.mts +35 -0
- package/dist/database-B8Wr1oXH.d.mts +23 -0
- package/dist/database-Dnsy3cQb.d.ts +23 -0
- package/dist/datatype-CAu_sc1g.d.ts +13 -0
- package/dist/datatype-gjFHrdMj.d.mts +13 -0
- package/dist/datetime-BDgsnqq_.d.mts +78 -0
- package/dist/datetime-BkidbR1O.d.ts +78 -0
- package/dist/finance-BZEmlfNQ.d.mts +90 -0
- package/dist/finance-Cn3DFbX4.d.ts +90 -0
- package/dist/food-CfxZX81O.d.mts +35 -0
- package/dist/food-tr11e_Qp.d.ts +35 -0
- package/dist/git-DoCI9ZYT.d.ts +31 -0
- package/dist/git-Feo1ntKa.d.mts +31 -0
- package/dist/hacker-X3zBTMoE.d.ts +26 -0
- package/dist/hacker-mGVIO_wL.d.mts +26 -0
- package/dist/image-BeZbZlyo.d.ts +56 -0
- package/dist/image-govZ7HjA.d.mts +56 -0
- package/dist/index.d.mts +57 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.js +162 -0
- package/dist/index.mjs +162 -0
- package/dist/internet-CJEETk0v.d.mts +101 -0
- package/dist/internet-jHHnqVJG.d.ts +101 -0
- package/dist/location-CTA_Bq7w.d.mts +80 -0
- package/dist/location-CsVekxIU.d.ts +80 -0
- package/dist/lorem-BE4n3dVs.d.mts +62 -0
- package/dist/lorem-Btv0fltY.d.ts +62 -0
- package/dist/music-CQ3lnDvg.d.mts +20 -0
- package/dist/music-D3zj5REe.d.ts +20 -0
- package/dist/number-Bj9ydAOH.d.ts +47 -0
- package/dist/number-D9Wn_qjS.d.mts +47 -0
- package/dist/person-LLleVozS.d.ts +58 -0
- package/dist/person-OKRyYmeX.d.mts +58 -0
- package/dist/phone-Bc8UXPF3.d.ts +16 -0
- package/dist/phone-QbHXAqVF.d.mts +16 -0
- package/dist/science-BgXAZ3YR.d.ts +15 -0
- package/dist/science-CSN41yUZ.d.mts +15 -0
- package/dist/string-9w976kVk.d.mts +87 -0
- package/dist/string-Cm9TczI6.d.ts +87 -0
- package/dist/system-DOyHjHxs.d.mts +55 -0
- package/dist/system-DipW6DYb.d.ts +55 -0
- package/dist/type-C8Ny1fB6.d.mts +33 -0
- package/dist/type-C8Ny1fB6.d.ts +33 -0
- package/dist/utils/airline.d.mts +3 -0
- package/dist/utils/airline.d.ts +3 -0
- package/dist/utils/airline.js +13 -0
- package/dist/utils/airline.mjs +13 -0
- package/dist/utils/animal.d.mts +2 -0
- package/dist/utils/animal.d.ts +2 -0
- package/dist/utils/animal.js +37 -0
- package/dist/utils/animal.mjs +37 -0
- package/dist/utils/color.d.mts +3 -0
- package/dist/utils/color.d.ts +3 -0
- package/dist/utils/color.js +29 -0
- package/dist/utils/color.mjs +29 -0
- package/dist/utils/commerce.d.mts +2 -0
- package/dist/utils/commerce.d.ts +2 -0
- package/dist/utils/commerce.js +23 -0
- package/dist/utils/commerce.mjs +23 -0
- package/dist/utils/common.d.mts +2 -0
- package/dist/utils/common.d.ts +2 -0
- package/dist/utils/common.js +7 -0
- package/dist/utils/common.mjs +7 -0
- package/dist/utils/company.d.mts +2 -0
- package/dist/utils/company.d.ts +2 -0
- package/dist/utils/company.js +25 -0
- package/dist/utils/company.mjs +25 -0
- package/dist/utils/database.d.mts +2 -0
- package/dist/utils/database.d.ts +2 -0
- package/dist/utils/database.js +17 -0
- package/dist/utils/database.mjs +17 -0
- package/dist/utils/datatype.d.mts +2 -0
- package/dist/utils/datatype.d.ts +2 -0
- package/dist/utils/datatype.js +9 -0
- package/dist/utils/datatype.mjs +9 -0
- package/dist/utils/datetime.d.mts +2 -0
- package/dist/utils/datetime.d.ts +2 -0
- package/dist/utils/datetime.js +29 -0
- package/dist/utils/datetime.mjs +29 -0
- package/dist/utils/finance.d.mts +3 -0
- package/dist/utils/finance.d.ts +3 -0
- package/dist/utils/finance.js +45 -0
- package/dist/utils/finance.mjs +45 -0
- package/dist/utils/food.d.mts +2 -0
- package/dist/utils/food.d.ts +2 -0
- package/dist/utils/food.js +25 -0
- package/dist/utils/food.mjs +25 -0
- package/dist/utils/git.d.mts +2 -0
- package/dist/utils/git.d.ts +2 -0
- package/dist/utils/git.js +17 -0
- package/dist/utils/git.mjs +17 -0
- package/dist/utils/hacker.d.mts +2 -0
- package/dist/utils/hacker.d.ts +2 -0
- package/dist/utils/hacker.js +19 -0
- package/dist/utils/hacker.mjs +19 -0
- package/dist/utils/image.d.mts +2 -0
- package/dist/utils/image.d.ts +2 -0
- package/dist/utils/image.js +23 -0
- package/dist/utils/image.mjs +23 -0
- package/dist/utils/index.d.mts +28 -0
- package/dist/utils/index.d.ts +28 -0
- package/dist/utils/index.js +108 -0
- package/dist/utils/index.mjs +108 -0
- package/dist/utils/internet.d.mts +2 -0
- package/dist/utils/internet.d.ts +2 -0
- package/dist/utils/internet.js +47 -0
- package/dist/utils/internet.mjs +47 -0
- package/dist/utils/location.d.mts +2 -0
- package/dist/utils/location.d.ts +2 -0
- package/dist/utils/location.js +39 -0
- package/dist/utils/location.mjs +39 -0
- package/dist/utils/lorem.d.mts +2 -0
- package/dist/utils/lorem.d.ts +2 -0
- package/dist/utils/lorem.js +25 -0
- package/dist/utils/lorem.mjs +25 -0
- package/dist/utils/music.d.mts +2 -0
- package/dist/utils/music.d.ts +2 -0
- package/dist/utils/music.js +15 -0
- package/dist/utils/music.mjs +15 -0
- package/dist/utils/number.d.mts +2 -0
- package/dist/utils/number.d.ts +2 -0
- package/dist/utils/number.js +19 -0
- package/dist/utils/number.mjs +19 -0
- package/dist/utils/person.d.mts +3 -0
- package/dist/utils/person.d.ts +3 -0
- package/dist/utils/person.js +37 -0
- package/dist/utils/person.mjs +37 -0
- package/dist/utils/phone.d.mts +2 -0
- package/dist/utils/phone.d.ts +2 -0
- package/dist/utils/phone.js +11 -0
- package/dist/utils/phone.mjs +11 -0
- package/dist/utils/science.d.mts +3 -0
- package/dist/utils/science.d.ts +3 -0
- package/dist/utils/science.js +11 -0
- package/dist/utils/science.mjs +11 -0
- package/dist/utils/string.d.mts +2 -0
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +27 -0
- package/dist/utils/string.mjs +27 -0
- package/dist/utils/system.d.mts +2 -0
- package/dist/utils/system.d.ts +2 -0
- package/dist/utils/system.js +31 -0
- package/dist/utils/system.mjs +31 -0
- package/dist/utils/utils.d.mts +2 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils/utils.js +7 -0
- package/dist/utils/utils.mjs +7 -0
- package/dist/utils/vehicle.d.mts +2 -0
- package/dist/utils/vehicle.d.ts +2 -0
- package/dist/utils/vehicle.js +25 -0
- package/dist/utils/vehicle.mjs +25 -0
- package/dist/utils/word.d.mts +75 -0
- package/dist/utils/word.d.ts +75 -0
- package/dist/utils/word.js +29 -0
- package/dist/utils/word.mjs +29 -0
- package/dist/utils-BiDlGzTl.d.mts +10 -0
- package/dist/utils-DinJc3Cq.d.ts +10 -0
- package/dist/vehicle-DmBDda98.d.mts +35 -0
- package/dist/vehicle-rnBz1Za2.d.ts +35 -0
- package/package.json +13 -13
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunkSOFVWH6Ajs = require('../chunk-SOFVWH6A.js');
|
|
15
|
+
require('../chunk-KLYK2EDS.js');
|
|
16
|
+
require('../chunk-4UGSTE5Q.js');
|
|
17
|
+
require('../chunk-3HQMGDUF.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.commonFileExt = _chunkSOFVWH6Ajs.commonFileExt; exports.commonFileName = _chunkSOFVWH6Ajs.commonFileName; exports.commonFileType = _chunkSOFVWH6Ajs.commonFileType; exports.cron = _chunkSOFVWH6Ajs.cron; exports.directoryPath = _chunkSOFVWH6Ajs.directoryPath; exports.fileExt = _chunkSOFVWH6Ajs.fileExt; exports.fileName = _chunkSOFVWH6Ajs.fileName; exports.filePath = _chunkSOFVWH6Ajs.filePath; exports.fileType = _chunkSOFVWH6Ajs.fileType; exports.mimeType = _chunkSOFVWH6Ajs.mimeType; exports.networkInterface = _chunkSOFVWH6Ajs.networkInterface; exports.semver = _chunkSOFVWH6Ajs.semver;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
commonFileExt,
|
|
3
|
+
commonFileName,
|
|
4
|
+
commonFileType,
|
|
5
|
+
cron,
|
|
6
|
+
directoryPath,
|
|
7
|
+
fileExt,
|
|
8
|
+
fileName,
|
|
9
|
+
filePath,
|
|
10
|
+
fileType,
|
|
11
|
+
mimeType,
|
|
12
|
+
networkInterface,
|
|
13
|
+
semver
|
|
14
|
+
} from "../chunk-CK65OFQQ.mjs";
|
|
15
|
+
import "../chunk-TKS2PTMF.mjs";
|
|
16
|
+
import "../chunk-BS7IEV74.mjs";
|
|
17
|
+
import "../chunk-OLSCXZ3D.mjs";
|
|
18
|
+
export {
|
|
19
|
+
commonFileExt,
|
|
20
|
+
commonFileName,
|
|
21
|
+
commonFileType,
|
|
22
|
+
cron,
|
|
23
|
+
directoryPath,
|
|
24
|
+
fileExt,
|
|
25
|
+
fileName,
|
|
26
|
+
filePath,
|
|
27
|
+
fileType,
|
|
28
|
+
mimeType,
|
|
29
|
+
networkInterface,
|
|
30
|
+
semver
|
|
31
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkHMGGQ5ZJjs = require('../chunk-HMGGQ5ZJ.js');
|
|
12
|
+
require('../chunk-KLYK2EDS.js');
|
|
13
|
+
require('../chunk-4UGSTE5Q.js');
|
|
14
|
+
require('../chunk-3HQMGDUF.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.bicycle = _chunkHMGGQ5ZJjs.bicycle; exports.color = _chunkHMGGQ5ZJjs.color; exports.fuel = _chunkHMGGQ5ZJjs.fuel; exports.manufacturer = _chunkHMGGQ5ZJjs.manufacturer; exports.model = _chunkHMGGQ5ZJjs.model; exports.type = _chunkHMGGQ5ZJjs.type; exports.vehicle = _chunkHMGGQ5ZJjs.vehicle; exports.vin = _chunkHMGGQ5ZJjs.vin; exports.vrm = _chunkHMGGQ5ZJjs.vrm;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bicycle,
|
|
3
|
+
color,
|
|
4
|
+
fuel,
|
|
5
|
+
manufacturer,
|
|
6
|
+
model,
|
|
7
|
+
type,
|
|
8
|
+
vehicle,
|
|
9
|
+
vin,
|
|
10
|
+
vrm
|
|
11
|
+
} from "../chunk-V4JFB4H6.mjs";
|
|
12
|
+
import "../chunk-TKS2PTMF.mjs";
|
|
13
|
+
import "../chunk-BS7IEV74.mjs";
|
|
14
|
+
import "../chunk-OLSCXZ3D.mjs";
|
|
15
|
+
export {
|
|
16
|
+
bicycle,
|
|
17
|
+
color,
|
|
18
|
+
fuel,
|
|
19
|
+
manufacturer,
|
|
20
|
+
model,
|
|
21
|
+
type,
|
|
22
|
+
vehicle,
|
|
23
|
+
vin,
|
|
24
|
+
vrm
|
|
25
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { V as ValueConfig } from '../type-C8Ny1fB6.mjs';
|
|
2
|
+
|
|
3
|
+
/** Word [adjective](https://fakerjs.dev/word.html#adjective) */
|
|
4
|
+
declare const adjective: (options?: number | {
|
|
5
|
+
length?: number | {
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
};
|
|
9
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
10
|
+
}) => ValueConfig<string>;
|
|
11
|
+
/** Word [adverb](https://fakerjs.dev/word.html#adverb) */
|
|
12
|
+
declare const adverb: (options?: number | {
|
|
13
|
+
length?: number | {
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
};
|
|
17
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
18
|
+
}) => ValueConfig<string>;
|
|
19
|
+
/** Word [conjunction](https://fakerjs.dev/word.html#conjunction) */
|
|
20
|
+
declare const conjunction: (options?: number | {
|
|
21
|
+
length?: number | {
|
|
22
|
+
min: number;
|
|
23
|
+
max: number;
|
|
24
|
+
};
|
|
25
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
26
|
+
}) => ValueConfig<string>;
|
|
27
|
+
/** Word [interjection](https://fakerjs.dev/word.html#interjection) */
|
|
28
|
+
declare const interjection: (options?: number | {
|
|
29
|
+
length?: number | {
|
|
30
|
+
min: number;
|
|
31
|
+
max: number;
|
|
32
|
+
};
|
|
33
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
34
|
+
}) => ValueConfig<string>;
|
|
35
|
+
/** Word [noun](https://fakerjs.dev/word.html#noun) */
|
|
36
|
+
declare const noun: (options?: number | {
|
|
37
|
+
length?: number | {
|
|
38
|
+
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
};
|
|
41
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
42
|
+
}) => ValueConfig<string>;
|
|
43
|
+
/** Word [preposition](https://fakerjs.dev/word.html#preposition) */
|
|
44
|
+
declare const preposition: (options?: number | {
|
|
45
|
+
length?: number | {
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
};
|
|
49
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
50
|
+
}) => ValueConfig<string>;
|
|
51
|
+
/** Word [sample](https://fakerjs.dev/word.html#sample) */
|
|
52
|
+
declare const sample: (options?: number | {
|
|
53
|
+
length?: number | {
|
|
54
|
+
min: number;
|
|
55
|
+
max: number;
|
|
56
|
+
};
|
|
57
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
58
|
+
}) => ValueConfig<string>;
|
|
59
|
+
/** Word [verb](https://fakerjs.dev/word.html#verb) */
|
|
60
|
+
declare const verb: (options?: number | {
|
|
61
|
+
length?: number | {
|
|
62
|
+
min: number;
|
|
63
|
+
max: number;
|
|
64
|
+
};
|
|
65
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
66
|
+
}) => ValueConfig<string>;
|
|
67
|
+
/** Word [words](https://fakerjs.dev/word.html#words) */
|
|
68
|
+
declare const words: (options?: number | {
|
|
69
|
+
count?: number | {
|
|
70
|
+
min: number;
|
|
71
|
+
max: number;
|
|
72
|
+
};
|
|
73
|
+
}) => ValueConfig<string>;
|
|
74
|
+
|
|
75
|
+
export { adjective, adverb, conjunction, interjection, noun, preposition, sample, verb, words };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { V as ValueConfig } from '../type-C8Ny1fB6.js';
|
|
2
|
+
|
|
3
|
+
/** Word [adjective](https://fakerjs.dev/word.html#adjective) */
|
|
4
|
+
declare const adjective: (options?: number | {
|
|
5
|
+
length?: number | {
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
};
|
|
9
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
10
|
+
}) => ValueConfig<string>;
|
|
11
|
+
/** Word [adverb](https://fakerjs.dev/word.html#adverb) */
|
|
12
|
+
declare const adverb: (options?: number | {
|
|
13
|
+
length?: number | {
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
};
|
|
17
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
18
|
+
}) => ValueConfig<string>;
|
|
19
|
+
/** Word [conjunction](https://fakerjs.dev/word.html#conjunction) */
|
|
20
|
+
declare const conjunction: (options?: number | {
|
|
21
|
+
length?: number | {
|
|
22
|
+
min: number;
|
|
23
|
+
max: number;
|
|
24
|
+
};
|
|
25
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
26
|
+
}) => ValueConfig<string>;
|
|
27
|
+
/** Word [interjection](https://fakerjs.dev/word.html#interjection) */
|
|
28
|
+
declare const interjection: (options?: number | {
|
|
29
|
+
length?: number | {
|
|
30
|
+
min: number;
|
|
31
|
+
max: number;
|
|
32
|
+
};
|
|
33
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
34
|
+
}) => ValueConfig<string>;
|
|
35
|
+
/** Word [noun](https://fakerjs.dev/word.html#noun) */
|
|
36
|
+
declare const noun: (options?: number | {
|
|
37
|
+
length?: number | {
|
|
38
|
+
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
};
|
|
41
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
42
|
+
}) => ValueConfig<string>;
|
|
43
|
+
/** Word [preposition](https://fakerjs.dev/word.html#preposition) */
|
|
44
|
+
declare const preposition: (options?: number | {
|
|
45
|
+
length?: number | {
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
};
|
|
49
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
50
|
+
}) => ValueConfig<string>;
|
|
51
|
+
/** Word [sample](https://fakerjs.dev/word.html#sample) */
|
|
52
|
+
declare const sample: (options?: number | {
|
|
53
|
+
length?: number | {
|
|
54
|
+
min: number;
|
|
55
|
+
max: number;
|
|
56
|
+
};
|
|
57
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
58
|
+
}) => ValueConfig<string>;
|
|
59
|
+
/** Word [verb](https://fakerjs.dev/word.html#verb) */
|
|
60
|
+
declare const verb: (options?: number | {
|
|
61
|
+
length?: number | {
|
|
62
|
+
min: number;
|
|
63
|
+
max: number;
|
|
64
|
+
};
|
|
65
|
+
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
66
|
+
}) => ValueConfig<string>;
|
|
67
|
+
/** Word [words](https://fakerjs.dev/word.html#words) */
|
|
68
|
+
declare const words: (options?: number | {
|
|
69
|
+
count?: number | {
|
|
70
|
+
min: number;
|
|
71
|
+
max: number;
|
|
72
|
+
};
|
|
73
|
+
}) => ValueConfig<string>;
|
|
74
|
+
|
|
75
|
+
export { adjective, adverb, conjunction, interjection, noun, preposition, sample, verb, words };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkKLYK2EDSjs = require('../chunk-KLYK2EDS.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk4UGSTE5Qjs = require('../chunk-4UGSTE5Q.js');
|
|
7
|
+
require('../chunk-3HQMGDUF.js');
|
|
8
|
+
|
|
9
|
+
// src/utils/word.ts
|
|
10
|
+
var adjective = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.adjective);
|
|
11
|
+
var adverb = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.adverb);
|
|
12
|
+
var conjunction = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.conjunction);
|
|
13
|
+
var interjection = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.interjection);
|
|
14
|
+
var noun = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.noun);
|
|
15
|
+
var preposition = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.preposition);
|
|
16
|
+
var sample = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.sample);
|
|
17
|
+
var verb = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.verb);
|
|
18
|
+
var words = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.word.words);
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.adjective = adjective; exports.adverb = adverb; exports.conjunction = conjunction; exports.interjection = interjection; exports.noun = noun; exports.preposition = preposition; exports.sample = sample; exports.verb = verb; exports.words = words;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
makeValueConfigFn
|
|
3
|
+
} from "../chunk-TKS2PTMF.mjs";
|
|
4
|
+
import {
|
|
5
|
+
f
|
|
6
|
+
} from "../chunk-BS7IEV74.mjs";
|
|
7
|
+
import "../chunk-OLSCXZ3D.mjs";
|
|
8
|
+
|
|
9
|
+
// src/utils/word.ts
|
|
10
|
+
var adjective = makeValueConfigFn(f.word.adjective);
|
|
11
|
+
var adverb = makeValueConfigFn(f.word.adverb);
|
|
12
|
+
var conjunction = makeValueConfigFn(f.word.conjunction);
|
|
13
|
+
var interjection = makeValueConfigFn(f.word.interjection);
|
|
14
|
+
var noun = makeValueConfigFn(f.word.noun);
|
|
15
|
+
var preposition = makeValueConfigFn(f.word.preposition);
|
|
16
|
+
var sample = makeValueConfigFn(f.word.sample);
|
|
17
|
+
var verb = makeValueConfigFn(f.word.verb);
|
|
18
|
+
var words = makeValueConfigFn(f.word.words);
|
|
19
|
+
export {
|
|
20
|
+
adjective,
|
|
21
|
+
adverb,
|
|
22
|
+
conjunction,
|
|
23
|
+
interjection,
|
|
24
|
+
noun,
|
|
25
|
+
preposition,
|
|
26
|
+
sample,
|
|
27
|
+
verb,
|
|
28
|
+
words
|
|
29
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.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,10 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.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,35 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.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 { V as ValueConfig } from './type-C8Ny1fB6.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,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "struct-fakerator",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"default": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"default": "./dist/index.mjs"
|
|
13
|
-
},
|
|
14
10
|
"require": {
|
|
15
11
|
"types": "./dist/index.d.ts",
|
|
16
12
|
"default": "./dist/index.js"
|
|
@@ -22,13 +18,13 @@
|
|
|
22
18
|
"module": {
|
|
23
19
|
"types": "./dist/index.d.ts",
|
|
24
20
|
"default": "./dist/index.mjs"
|
|
21
|
+
},
|
|
22
|
+
"default": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"default": "./dist/index.mjs"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"./utils": {
|
|
28
|
-
"default": {
|
|
29
|
-
"types": "./dist/utils/index.d.ts",
|
|
30
|
-
"default": "./dist/utils/index.mjs"
|
|
31
|
-
},
|
|
32
28
|
"require": {
|
|
33
29
|
"types": "./dist/utils/index.d.ts",
|
|
34
30
|
"default": "./dist/utils/index.js"
|
|
@@ -40,13 +36,13 @@
|
|
|
40
36
|
"module": {
|
|
41
37
|
"types": "./dist/utils/index.d.ts",
|
|
42
38
|
"default": "./dist/utils/index.mjs"
|
|
39
|
+
},
|
|
40
|
+
"default": {
|
|
41
|
+
"types": "./dist/utils/index.d.ts",
|
|
42
|
+
"default": "./dist/utils/index.mjs"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"./utils/*": {
|
|
46
|
-
"default": {
|
|
47
|
-
"types": "./dist/utils/*.d.ts",
|
|
48
|
-
"default": "./dist/utils/*.mjs"
|
|
49
|
-
},
|
|
50
46
|
"require": {
|
|
51
47
|
"types": "./dist/utils/*.d.ts",
|
|
52
48
|
"default": "./dist/utils/*.js"
|
|
@@ -58,6 +54,10 @@
|
|
|
58
54
|
"module": {
|
|
59
55
|
"types": "./dist/utils/*.d.ts",
|
|
60
56
|
"default": "./dist/utils/*.mjs"
|
|
57
|
+
},
|
|
58
|
+
"default": {
|
|
59
|
+
"types": "./dist/utils/*.d.ts",
|
|
60
|
+
"default": "./dist/utils/*.mjs"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|