struct-fakerator 2.6.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 +148 -93
- 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 -21
- package/dist/create_generator_fn.mjs +115 -20
- package/dist/create_generator_fn.test.d.ts +1 -2
- package/dist/generator_fn.d.ts +1 -2
- package/dist/generator_fn.js +54 -22
- package/dist/generator_fn.mjs +2 -22
- package/dist/index.d.ts +5 -5
- package/dist/index.js +107 -44
- package/dist/index.mjs +6 -44
- package/dist/type.d.ts +10 -12
- 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 -15
- package/dist/utils/airline.mjs +6 -15
- package/dist/utils/animal.d.ts +30 -2
- package/dist/utils/animal.js +94 -39
- package/dist/utils/animal.mjs +18 -39
- package/dist/utils/color.d.ts +41 -3
- package/dist/utils/color.js +78 -31
- package/dist/utils/color.mjs +14 -31
- package/dist/utils/commerce.d.ts +24 -2
- package/dist/utils/commerce.js +66 -25
- package/dist/utils/commerce.mjs +11 -25
- 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 -27
- package/dist/utils/company.mjs +12 -27
- package/dist/utils/database.d.ts +10 -2
- package/dist/utils/database.js +54 -19
- package/dist/utils/database.mjs +8 -19
- package/dist/utils/datatype.d.ts +4 -2
- package/dist/utils/datatype.js +38 -11
- package/dist/utils/datatype.mjs +4 -11
- package/dist/utils/datetime.d.ts +59 -2
- package/dist/utils/datetime.js +78 -31
- package/dist/utils/datetime.mjs +14 -31
- package/dist/utils/finance.d.ts +62 -3
- package/dist/utils/finance.js +110 -47
- package/dist/utils/finance.mjs +22 -47
- package/dist/utils/food.d.ts +18 -2
- package/dist/utils/food.js +70 -27
- package/dist/utils/food.mjs +12 -27
- package/dist/utils/git.d.ts +18 -2
- package/dist/utils/git.js +54 -19
- package/dist/utils/git.mjs +8 -19
- package/dist/utils/hacker.d.ts +12 -2
- package/dist/utils/hacker.js +58 -21
- package/dist/utils/hacker.mjs +9 -21
- package/dist/utils/image.d.ts +40 -2
- package/dist/utils/image.js +66 -25
- package/dist/utils/image.mjs +11 -25
- package/dist/utils/index.d.ts +26 -28
- package/dist/utils/index.js +136 -110
- package/dist/utils/index.mjs +27 -110
- package/dist/utils/internet.d.ts +77 -3
- package/dist/utils/internet.js +114 -49
- package/dist/utils/internet.mjs +23 -49
- package/dist/utils/location.d.ts +56 -2
- package/dist/utils/location.js +98 -41
- package/dist/utils/location.mjs +19 -41
- package/dist/utils/lorem.d.ts +45 -2
- package/dist/utils/lorem.js +70 -27
- package/dist/utils/lorem.mjs +12 -27
- package/dist/utils/music.d.ts +8 -2
- package/dist/utils/music.js +50 -17
- package/dist/utils/music.mjs +7 -17
- package/dist/utils/number.d.ts +34 -2
- package/dist/utils/number.js +58 -21
- package/dist/utils/number.mjs +9 -21
- package/dist/utils/person.d.ts +34 -3
- package/dist/utils/person.js +94 -39
- package/dist/utils/person.mjs +18 -39
- package/dist/utils/phone.d.ts +6 -2
- package/dist/utils/phone.js +42 -13
- package/dist/utils/phone.mjs +5 -13
- package/dist/utils/science.d.ts +4 -3
- package/dist/utils/science.js +42 -13
- package/dist/utils/science.mjs +5 -13
- package/dist/utils/string.d.ts +69 -2
- package/dist/utils/string.js +74 -29
- package/dist/utils/string.mjs +13 -29
- package/dist/utils/system.d.ts +35 -2
- package/dist/utils/system.js +82 -33
- package/dist/utils/system.mjs +15 -33
- 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 -27
- package/dist/utils/vehicle.mjs +12 -27
- package/dist/utils/word.d.ts +18 -22
- package/dist/utils/word.js +70 -31
- package/dist/utils/word.mjs +12 -31
- package/package.json +10 -31
- 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_config.ts +1 -1
- package/src/create_generator_fn.test.ts +13 -2
- package/src/create_generator_fn.ts +5 -5
- package/src/generator_fn.ts +1 -1
- package/src/index.ts +2 -2
- package/src/type.ts +1 -1
- package/src/utils/index.ts +1 -2
- package/src/utils/internet.ts +1 -1
- package/src/utils/utils.ts +1 -1
- package/tsconfig.json +2 -1
- package/dist/airline-98MCzMN8.d.ts +0 -26
- package/dist/airline-CuAxOEYH.d.mts +0 -26
- package/dist/animal-BohQ7s0w.d.mts +0 -53
- package/dist/animal-o8BFF7gd.d.ts +0 -53
- package/dist/chunk-23I6D5SJ.js +0 -57
- package/dist/chunk-3KXIZTCT.mjs +0 -20
- package/dist/chunk-3U6BNHWG.mjs +0 -2040
- package/dist/chunk-4DDCMYY5.mjs +0 -57
- package/dist/chunk-4VNS5WPM.js +0 -42
- package/dist/chunk-5KF6D2RT.js +0 -63
- package/dist/chunk-5O3L5474.mjs +0 -45
- package/dist/chunk-5PCDQHI5.mjs +0 -21
- package/dist/chunk-62INTWCD.mjs +0 -36
- package/dist/chunk-6HRHPVPM.js +0 -35
- package/dist/chunk-6UFUX7X4.js +0 -51
- package/dist/chunk-6ZK2LMFM.js +0 -21
- package/dist/chunk-7BIWHK77.js +0 -42
- package/dist/chunk-7UQSPUCL.mjs +0 -0
- package/dist/chunk-7VOPOQZO.js +0 -45
- package/dist/chunk-C3RGM3CB.js +0 -67
- package/dist/chunk-DGW666Q6.mjs +0 -48
- package/dist/chunk-DM5VFX6B.js +0 -17008
- package/dist/chunk-DTC7Q7P5.js +0 -45
- package/dist/chunk-EM67LVYX.mjs +0 -18
- package/dist/chunk-EMCK2BLM.js +0 -45
- package/dist/chunk-ES2CYGB7.js +0 -24
- package/dist/chunk-ET6EJB33.js +0 -36
- package/dist/chunk-EYOBG3PQ.mjs +0 -45
- package/dist/chunk-F4GVSNLH.js +0 -30
- package/dist/chunk-G43WDHZO.mjs +0 -63
- package/dist/chunk-GJSTX6ZS.mjs +0 -24
- package/dist/chunk-GYF6YSNX.js +0 -74
- package/dist/chunk-HBJP434N.mjs +0 -78
- package/dist/chunk-IAR3DUKD.js +0 -49
- package/dist/chunk-IL4E3ZNB.js +0 -78
- package/dist/chunk-IOXGSFEU.js +0 -20
- package/dist/chunk-JB6NCVX3.mjs +0 -63
- package/dist/chunk-JGY3KVDU.mjs +0 -45
- package/dist/chunk-JWCDEYMY.js +0 -48
- package/dist/chunk-LSFOERXQ.js +0 -18
- package/dist/chunk-MGR2M7BS.mjs +0 -56
- package/dist/chunk-MLJAHDYX.mjs +0 -167
- package/dist/chunk-MROZIQOV.mjs +0 -51
- package/dist/chunk-NHYNERHW.js +0 -56
- package/dist/chunk-PGSJJESY.js +0 -27
- package/dist/chunk-QTVSUA5W.mjs +0 -24
- package/dist/chunk-QZQ32UPU.mjs +0 -28
- package/dist/chunk-R2MQ3IW5.mjs +0 -33
- package/dist/chunk-RD2SB2KT.js +0 -36
- package/dist/chunk-RDZI4CMI.mjs +0 -42
- package/dist/chunk-RTYV5XDU.mjs +0 -36
- package/dist/chunk-RZPUHXXO.mjs +0 -49
- package/dist/chunk-SD3HVRQN.mjs +0 -48
- package/dist/chunk-SN4QTD6R.js +0 -1
- package/dist/chunk-TA725QXR.mjs +0 -35
- package/dist/chunk-TXAOQHVV.mjs +0 -27
- package/dist/chunk-TZ2RKEBF.js +0 -2040
- package/dist/chunk-U7MLTDS4.js +0 -167
- package/dist/chunk-UIYW7U2O.js +0 -28
- package/dist/chunk-UP2JIDGZ.js +0 -81
- package/dist/chunk-USLYTOPD.mjs +0 -41
- package/dist/chunk-V2AWKRQI.js +0 -26
- package/dist/chunk-VE3Q5LC3.mjs +0 -26
- package/dist/chunk-VG6JYCUC.mjs +0 -74
- package/dist/chunk-VMSMHNPY.js +0 -48
- package/dist/chunk-VSZRD7CB.js +0 -33
- package/dist/chunk-VX2IFBCP.mjs +0 -17008
- package/dist/chunk-WLKNXHFN.mjs +0 -30
- package/dist/chunk-XGB3TDIC.mjs +0 -42
- package/dist/chunk-YXGKUR3R.js +0 -63
- package/dist/chunk-Z5BNMPTX.mjs +0 -81
- package/dist/chunk-ZQA42PYM.mjs +0 -67
- package/dist/chunk-ZSR4TJQG.js +0 -24
- package/dist/chunk-ZWLHVT5O.js +0 -41
- package/dist/color-BT6BF8oV.d.mts +0 -61
- package/dist/color-lBH29suB.d.ts +0 -61
- package/dist/commerce-BqVjXEhQ.d.mts +0 -40
- package/dist/commerce-mdOpchjx.d.ts +0 -40
- package/dist/common-IR_KozaJ.d.mts +0 -11
- package/dist/common-t-ZQebCq.d.ts +0 -11
- package/dist/company-C3EU1J7k.d.ts +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 -191
- package/dist/create_generator_fn.test.mjs +0 -191
- package/dist/database-DV9wgnca.d.ts +0 -23
- package/dist/database-UzO1Lwec.d.mts +0 -23
- package/dist/datatype-C92TZLxo.d.ts +0 -13
- package/dist/datatype-DZjmP0fA.d.mts +0 -13
- package/dist/datetime-CSUpnUXU.d.ts +0 -78
- package/dist/datetime-dnPA_lnt.d.mts +0 -78
- 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-Dk3-40CY.d.mts +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-w0nznSjX.d.mts +0 -31
- package/dist/hacker-DL7pR6JO.d.ts +0 -26
- package/dist/hacker-FcQXZGtz.d.mts +0 -26
- package/dist/image-B5OPCNhD.d.mts +0 -56
- package/dist/image-IyGCgqNf.d.ts +0 -56
- package/dist/index.d.mts +0 -5
- package/dist/internet-BukCBMX-.d.ts +0 -106
- package/dist/internet-C2ElurWb.d.mts +0 -106
- package/dist/location-BIZ-KsaI.d.ts +0 -80
- package/dist/location-WU_nRdjx.d.mts +0 -80
- 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/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-D5QmTRsK.d.ts +0 -48
- package/dist/person-DXne2mKX.d.ts +0 -58
- package/dist/person-Si_vy67g.d.mts +0 -58
- package/dist/phone-Cbxvm_Qv.d.ts +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/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/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.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-zJKwaMUY.d.mts +0 -10
- package/dist/vehicle-D4yBDYMc.d.mts +0 -35
- package/dist/vehicle-Ufz4AoXu.d.ts +0 -35
- package/src/test.ts +0 -10
- package/tsup.config.ts +0 -8
package/dist/utils/lorem.js
CHANGED
|
@@ -1,27 +1,70 @@
|
|
|
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
|
-
|
|
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
|
+
text: ()=>lorem_text,
|
|
28
|
+
paragraph: ()=>paragraph,
|
|
29
|
+
paragraphs: ()=>paragraphs,
|
|
30
|
+
lines: ()=>lines,
|
|
31
|
+
words: ()=>words,
|
|
32
|
+
sentences: ()=>sentences,
|
|
33
|
+
sentence: ()=>sentence,
|
|
34
|
+
word: ()=>word,
|
|
35
|
+
slug: ()=>slug
|
|
36
|
+
});
|
|
37
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
38
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
39
|
+
const lines = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.lines);
|
|
40
|
+
const paragraph = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.paragraph);
|
|
41
|
+
const paragraphs = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.paragraphs);
|
|
42
|
+
const sentence = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.sentence);
|
|
43
|
+
const sentences = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.sentences);
|
|
44
|
+
const slug = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.slug);
|
|
45
|
+
const lorem_text = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.text);
|
|
46
|
+
const word = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.word);
|
|
47
|
+
const words = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.words);
|
|
48
|
+
exports.lines = __webpack_exports__.lines;
|
|
49
|
+
exports.paragraph = __webpack_exports__.paragraph;
|
|
50
|
+
exports.paragraphs = __webpack_exports__.paragraphs;
|
|
51
|
+
exports.sentence = __webpack_exports__.sentence;
|
|
52
|
+
exports.sentences = __webpack_exports__.sentences;
|
|
53
|
+
exports.slug = __webpack_exports__.slug;
|
|
54
|
+
exports.text = __webpack_exports__.text;
|
|
55
|
+
exports.word = __webpack_exports__.word;
|
|
56
|
+
exports.words = __webpack_exports__.words;
|
|
57
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
58
|
+
"lines",
|
|
59
|
+
"paragraph",
|
|
60
|
+
"paragraphs",
|
|
61
|
+
"sentence",
|
|
62
|
+
"sentences",
|
|
63
|
+
"slug",
|
|
64
|
+
"text",
|
|
65
|
+
"word",
|
|
66
|
+
"words"
|
|
67
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
68
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
|
+
value: true
|
|
70
|
+
});
|
package/dist/utils/lorem.mjs
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import "../chunk-ZQA42PYM.mjs";
|
|
14
|
-
import "../chunk-3U6BNHWG.mjs";
|
|
15
|
-
import "../chunk-USLYTOPD.mjs";
|
|
16
|
-
import "../chunk-XGB3TDIC.mjs";
|
|
17
|
-
export {
|
|
18
|
-
lines,
|
|
19
|
-
paragraph,
|
|
20
|
-
paragraphs,
|
|
21
|
-
sentence,
|
|
22
|
-
sentences,
|
|
23
|
-
slug,
|
|
24
|
-
text,
|
|
25
|
-
word,
|
|
26
|
-
words
|
|
27
|
-
};
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.mjs";
|
|
3
|
+
const lines = makeValueConfigFn(faker.lorem.lines);
|
|
4
|
+
const paragraph = makeValueConfigFn(faker.lorem.paragraph);
|
|
5
|
+
const paragraphs = makeValueConfigFn(faker.lorem.paragraphs);
|
|
6
|
+
const sentence = makeValueConfigFn(faker.lorem.sentence);
|
|
7
|
+
const sentences = makeValueConfigFn(faker.lorem.sentences);
|
|
8
|
+
const slug = makeValueConfigFn(faker.lorem.slug);
|
|
9
|
+
const lorem_text = makeValueConfigFn(faker.lorem.text);
|
|
10
|
+
const word = makeValueConfigFn(faker.lorem.word);
|
|
11
|
+
const words = makeValueConfigFn(faker.lorem.words);
|
|
12
|
+
export { lines, paragraph, paragraphs, sentence, sentences, slug, lorem_text as text, word, words };
|
package/dist/utils/music.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/** Music [album](https://fakerjs.dev/api/music.html#album) */
|
|
2
|
+
export declare const album: () => import("..").ValueConfig<string>;
|
|
3
|
+
/** Music [artist](https://fakerjs.dev/api/music.html#artist) */
|
|
4
|
+
export declare const artist: () => import("..").ValueConfig<string>;
|
|
5
|
+
/** Music [genre](https://fakerjs.dev/api/music.html#genre) */
|
|
6
|
+
export declare const genre: () => import("..").ValueConfig<string>;
|
|
7
|
+
/** Music [songName](https://fakerjs.dev/api/music.html#songName) */
|
|
8
|
+
export declare const songName: () => import("..").ValueConfig<string>;
|
package/dist/utils/music.js
CHANGED
|
@@ -1,17 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
+
album: ()=>album,
|
|
28
|
+
songName: ()=>songName,
|
|
29
|
+
genre: ()=>genre,
|
|
30
|
+
artist: ()=>artist
|
|
31
|
+
});
|
|
32
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
33
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
34
|
+
const album = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.album);
|
|
35
|
+
const artist = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.artist);
|
|
36
|
+
const genre = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.genre);
|
|
37
|
+
const songName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.songName);
|
|
38
|
+
exports.album = __webpack_exports__.album;
|
|
39
|
+
exports.artist = __webpack_exports__.artist;
|
|
40
|
+
exports.genre = __webpack_exports__.genre;
|
|
41
|
+
exports.songName = __webpack_exports__.songName;
|
|
42
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
43
|
+
"album",
|
|
44
|
+
"artist",
|
|
45
|
+
"genre",
|
|
46
|
+
"songName"
|
|
47
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
48
|
+
Object.defineProperty(exports, '__esModule', {
|
|
49
|
+
value: true
|
|
50
|
+
});
|
package/dist/utils/music.mjs
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "../chunk-ZQA42PYM.mjs";
|
|
9
|
-
import "../chunk-3U6BNHWG.mjs";
|
|
10
|
-
import "../chunk-USLYTOPD.mjs";
|
|
11
|
-
import "../chunk-XGB3TDIC.mjs";
|
|
12
|
-
export {
|
|
13
|
-
album,
|
|
14
|
-
artist,
|
|
15
|
-
genre,
|
|
16
|
-
songName
|
|
17
|
-
};
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.mjs";
|
|
3
|
+
const album = makeValueConfigFn(faker.music.album);
|
|
4
|
+
const artist = makeValueConfigFn(faker.music.artist);
|
|
5
|
+
const genre = makeValueConfigFn(faker.music.genre);
|
|
6
|
+
const songName = makeValueConfigFn(faker.music.songName);
|
|
7
|
+
export { album, artist, genre, songName };
|
package/dist/utils/number.d.ts
CHANGED
|
@@ -1,2 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/** Number [bigInt](https://fakerjs.dev/api/number.html#bigInt) */
|
|
2
|
+
export declare const bigInt: (options?: string | number | bigint | boolean | {
|
|
3
|
+
min?: bigint | number | string | boolean;
|
|
4
|
+
max?: bigint | number | string | boolean;
|
|
5
|
+
multipleOf?: bigint | number | string | boolean;
|
|
6
|
+
}) => import("..").ValueConfig<bigint>;
|
|
7
|
+
/** Number [binary](https://fakerjs.dev/api/number.html#binary) */
|
|
8
|
+
export declare const binary: (options?: number | {
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
}) => import("..").ValueConfig<string>;
|
|
12
|
+
/** Number [float](https://fakerjs.dev/api/number.html#float) */
|
|
13
|
+
export declare const float: (options?: number | {
|
|
14
|
+
min?: number;
|
|
15
|
+
max?: number;
|
|
16
|
+
fractionDigits?: number;
|
|
17
|
+
multipleOf?: number;
|
|
18
|
+
}) => import("..").ValueConfig<number>;
|
|
19
|
+
/** Number [hex](https://fakerjs.dev/api/number.html#hex) */
|
|
20
|
+
export declare const hex: (options?: number | {
|
|
21
|
+
min?: number;
|
|
22
|
+
max?: number;
|
|
23
|
+
}) => import("..").ValueConfig<string>;
|
|
24
|
+
/** Number [int](https://fakerjs.dev/api/number.html#int) */
|
|
25
|
+
export declare const int: (options?: number | {
|
|
26
|
+
min?: number;
|
|
27
|
+
max?: number;
|
|
28
|
+
multipleOf?: number;
|
|
29
|
+
}) => import("..").ValueConfig<number>;
|
|
30
|
+
/** Number [octal](https://fakerjs.dev/api/number.html#octal) */
|
|
31
|
+
export declare const octal: (options?: number | {
|
|
32
|
+
min?: number;
|
|
33
|
+
max?: number;
|
|
34
|
+
}) => import("..").ValueConfig<string>;
|
package/dist/utils/number.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
+
hex: ()=>hex,
|
|
28
|
+
bigInt: ()=>bigInt,
|
|
29
|
+
octal: ()=>octal,
|
|
30
|
+
int: ()=>number_int,
|
|
31
|
+
float: ()=>number_float,
|
|
32
|
+
binary: ()=>binary
|
|
33
|
+
});
|
|
34
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
35
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
36
|
+
const bigInt = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.bigInt);
|
|
37
|
+
const binary = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.binary);
|
|
38
|
+
const number_float = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.float);
|
|
39
|
+
const hex = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.hex);
|
|
40
|
+
const number_int = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.int);
|
|
41
|
+
const octal = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.octal);
|
|
42
|
+
exports.bigInt = __webpack_exports__.bigInt;
|
|
43
|
+
exports.binary = __webpack_exports__.binary;
|
|
44
|
+
exports.float = __webpack_exports__.float;
|
|
45
|
+
exports.hex = __webpack_exports__.hex;
|
|
46
|
+
exports.int = __webpack_exports__.int;
|
|
47
|
+
exports.octal = __webpack_exports__.octal;
|
|
48
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
49
|
+
"bigInt",
|
|
50
|
+
"binary",
|
|
51
|
+
"float",
|
|
52
|
+
"hex",
|
|
53
|
+
"int",
|
|
54
|
+
"octal"
|
|
55
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
56
|
+
Object.defineProperty(exports, '__esModule', {
|
|
57
|
+
value: true
|
|
58
|
+
});
|
package/dist/utils/number.mjs
CHANGED
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "../chunk-ZQA42PYM.mjs";
|
|
11
|
-
import "../chunk-3U6BNHWG.mjs";
|
|
12
|
-
import "../chunk-USLYTOPD.mjs";
|
|
13
|
-
import "../chunk-XGB3TDIC.mjs";
|
|
14
|
-
export {
|
|
15
|
-
bigInt,
|
|
16
|
-
binary,
|
|
17
|
-
float,
|
|
18
|
-
hex,
|
|
19
|
-
int,
|
|
20
|
-
octal
|
|
21
|
-
};
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.mjs";
|
|
3
|
+
const bigInt = makeValueConfigFn(faker.number.bigInt);
|
|
4
|
+
const binary = makeValueConfigFn(faker.number.binary);
|
|
5
|
+
const number_float = makeValueConfigFn(faker.number.float);
|
|
6
|
+
const hex = makeValueConfigFn(faker.number.hex);
|
|
7
|
+
const number_int = makeValueConfigFn(faker.number.int);
|
|
8
|
+
const octal = makeValueConfigFn(faker.number.octal);
|
|
9
|
+
export { bigInt, binary, number_float as float, hex, number_int as int, octal };
|
package/dist/utils/person.d.ts
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
/** Person [bio](https://fakerjs.dev/api/person.html#bio) */
|
|
2
|
+
export declare const bio: () => import("..").ValueConfig<string>;
|
|
3
|
+
/** Person [firstName](https://fakerjs.dev/api/person.html#firstName) */
|
|
4
|
+
export declare const firstName: (sex?: "female" | "male") => import("..").ValueConfig<string>;
|
|
5
|
+
/** Person [fullName](https://fakerjs.dev/api/person.html#fullName) */
|
|
6
|
+
export declare const fullName: (options?: {
|
|
7
|
+
firstName?: string;
|
|
8
|
+
lastName?: string;
|
|
9
|
+
sex?: import("@faker-js/faker/.").SexType;
|
|
10
|
+
}) => import("..").ValueConfig<string>;
|
|
11
|
+
/** Person [gender](https://fakerjs.dev/api/person.html#gender) */
|
|
12
|
+
export declare const gender: () => import("..").ValueConfig<string>;
|
|
13
|
+
/** Person [jobArea](https://fakerjs.dev/api/person.html#jobArea) */
|
|
14
|
+
export declare const jobArea: () => import("..").ValueConfig<string>;
|
|
15
|
+
/** Person [jobDescriptor](https://fakerjs.dev/api/person.html#jobDescriptor) */
|
|
16
|
+
export declare const jobDescriptor: () => import("..").ValueConfig<string>;
|
|
17
|
+
/** Person [jobTitle](https://fakerjs.dev/api/person.html#jobTitle) */
|
|
18
|
+
export declare const jobTitle: () => import("..").ValueConfig<string>;
|
|
19
|
+
/** Person [jobType](https://fakerjs.dev/api/person.html#jobType) */
|
|
20
|
+
export declare const jobType: () => import("..").ValueConfig<string>;
|
|
21
|
+
/** Person [lastName](https://fakerjs.dev/api/person.html#lastName) */
|
|
22
|
+
export declare const lastName: (sex?: "female" | "male") => import("..").ValueConfig<string>;
|
|
23
|
+
/** Person [middleName](https://fakerjs.dev/api/person.html#middleName) */
|
|
24
|
+
export declare const middleName: (sex?: "female" | "male") => import("..").ValueConfig<string>;
|
|
25
|
+
/** Person [prefix](https://fakerjs.dev/api/person.html#prefix) */
|
|
26
|
+
export declare const prefix: (sex?: "female" | "male") => import("..").ValueConfig<string>;
|
|
27
|
+
/** Person [sex](https://fakerjs.dev/api/person.html#sex) */
|
|
28
|
+
export declare const sex: () => import("..").ValueConfig<string>;
|
|
29
|
+
/** Person [sexType](https://fakerjs.dev/api/person.html#sexType) */
|
|
30
|
+
export declare const sexType: () => import("..").ValueConfig<"female" | "male">;
|
|
31
|
+
/** Person [suffix](https://fakerjs.dev/api/person.html#suffix) */
|
|
32
|
+
export declare const suffix: () => import("..").ValueConfig<string>;
|
|
33
|
+
/** Person [zodiacSign](https://fakerjs.dev/api/person.html#zodiacSign) */
|
|
34
|
+
export declare const zodiacSign: () => import("..").ValueConfig<string>;
|
package/dist/utils/person.js
CHANGED
|
@@ -1,39 +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
|
-
|
|
39
|
-
|
|
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
|
+
fullName: ()=>fullName,
|
|
28
|
+
suffix: ()=>suffix,
|
|
29
|
+
sexType: ()=>sexType,
|
|
30
|
+
bio: ()=>bio,
|
|
31
|
+
jobTitle: ()=>jobTitle,
|
|
32
|
+
jobType: ()=>jobType,
|
|
33
|
+
firstName: ()=>firstName,
|
|
34
|
+
middleName: ()=>middleName,
|
|
35
|
+
zodiacSign: ()=>zodiacSign,
|
|
36
|
+
prefix: ()=>prefix,
|
|
37
|
+
sex: ()=>sex,
|
|
38
|
+
jobDescriptor: ()=>jobDescriptor,
|
|
39
|
+
lastName: ()=>lastName,
|
|
40
|
+
gender: ()=>gender,
|
|
41
|
+
jobArea: ()=>jobArea
|
|
42
|
+
});
|
|
43
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
44
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
45
|
+
const bio = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.bio);
|
|
46
|
+
const firstName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.firstName);
|
|
47
|
+
const fullName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.fullName);
|
|
48
|
+
const gender = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.gender);
|
|
49
|
+
const jobArea = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.jobArea);
|
|
50
|
+
const jobDescriptor = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.jobDescriptor);
|
|
51
|
+
const jobTitle = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.jobTitle);
|
|
52
|
+
const jobType = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.jobType);
|
|
53
|
+
const lastName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.lastName);
|
|
54
|
+
const middleName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.middleName);
|
|
55
|
+
const prefix = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.prefix);
|
|
56
|
+
const sex = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.sex);
|
|
57
|
+
const sexType = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.sexType);
|
|
58
|
+
const suffix = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.suffix);
|
|
59
|
+
const zodiacSign = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.person.zodiacSign);
|
|
60
|
+
exports.bio = __webpack_exports__.bio;
|
|
61
|
+
exports.firstName = __webpack_exports__.firstName;
|
|
62
|
+
exports.fullName = __webpack_exports__.fullName;
|
|
63
|
+
exports.gender = __webpack_exports__.gender;
|
|
64
|
+
exports.jobArea = __webpack_exports__.jobArea;
|
|
65
|
+
exports.jobDescriptor = __webpack_exports__.jobDescriptor;
|
|
66
|
+
exports.jobTitle = __webpack_exports__.jobTitle;
|
|
67
|
+
exports.jobType = __webpack_exports__.jobType;
|
|
68
|
+
exports.lastName = __webpack_exports__.lastName;
|
|
69
|
+
exports.middleName = __webpack_exports__.middleName;
|
|
70
|
+
exports.prefix = __webpack_exports__.prefix;
|
|
71
|
+
exports.sex = __webpack_exports__.sex;
|
|
72
|
+
exports.sexType = __webpack_exports__.sexType;
|
|
73
|
+
exports.suffix = __webpack_exports__.suffix;
|
|
74
|
+
exports.zodiacSign = __webpack_exports__.zodiacSign;
|
|
75
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
76
|
+
"bio",
|
|
77
|
+
"firstName",
|
|
78
|
+
"fullName",
|
|
79
|
+
"gender",
|
|
80
|
+
"jobArea",
|
|
81
|
+
"jobDescriptor",
|
|
82
|
+
"jobTitle",
|
|
83
|
+
"jobType",
|
|
84
|
+
"lastName",
|
|
85
|
+
"middleName",
|
|
86
|
+
"prefix",
|
|
87
|
+
"sex",
|
|
88
|
+
"sexType",
|
|
89
|
+
"suffix",
|
|
90
|
+
"zodiacSign"
|
|
91
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
92
|
+
Object.defineProperty(exports, '__esModule', {
|
|
93
|
+
value: true
|
|
94
|
+
});
|
package/dist/utils/person.mjs
CHANGED
|
@@ -1,39 +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-3U6BNHWG.mjs";
|
|
21
|
-
import "../chunk-USLYTOPD.mjs";
|
|
22
|
-
import "../chunk-XGB3TDIC.mjs";
|
|
23
|
-
export {
|
|
24
|
-
bio,
|
|
25
|
-
firstName,
|
|
26
|
-
fullName,
|
|
27
|
-
gender,
|
|
28
|
-
jobArea,
|
|
29
|
-
jobDescriptor,
|
|
30
|
-
jobTitle,
|
|
31
|
-
jobType,
|
|
32
|
-
lastName,
|
|
33
|
-
middleName,
|
|
34
|
-
prefix,
|
|
35
|
-
sex,
|
|
36
|
-
sexType,
|
|
37
|
-
suffix,
|
|
38
|
-
zodiacSign
|
|
39
|
-
};
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.mjs";
|
|
3
|
+
const bio = makeValueConfigFn(faker.person.bio);
|
|
4
|
+
const firstName = makeValueConfigFn(faker.person.firstName);
|
|
5
|
+
const fullName = makeValueConfigFn(faker.person.fullName);
|
|
6
|
+
const gender = makeValueConfigFn(faker.person.gender);
|
|
7
|
+
const jobArea = makeValueConfigFn(faker.person.jobArea);
|
|
8
|
+
const jobDescriptor = makeValueConfigFn(faker.person.jobDescriptor);
|
|
9
|
+
const jobTitle = makeValueConfigFn(faker.person.jobTitle);
|
|
10
|
+
const jobType = makeValueConfigFn(faker.person.jobType);
|
|
11
|
+
const lastName = makeValueConfigFn(faker.person.lastName);
|
|
12
|
+
const middleName = makeValueConfigFn(faker.person.middleName);
|
|
13
|
+
const prefix = makeValueConfigFn(faker.person.prefix);
|
|
14
|
+
const sex = makeValueConfigFn(faker.person.sex);
|
|
15
|
+
const sexType = makeValueConfigFn(faker.person.sexType);
|
|
16
|
+
const suffix = makeValueConfigFn(faker.person.suffix);
|
|
17
|
+
const zodiacSign = makeValueConfigFn(faker.person.zodiacSign);
|
|
18
|
+
export { bio, firstName, fullName, gender, jobArea, jobDescriptor, jobTitle, jobType, lastName, middleName, prefix, sex, sexType, suffix, zodiacSign };
|
package/dist/utils/phone.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/** Phone [imei](https://fakerjs.dev/api/phone.html#imei) */
|
|
2
|
+
export declare const imei: () => import("..").ValueConfig<string>;
|
|
3
|
+
/** Phone [number](https://fakerjs.dev/api/phone.html#number) */
|
|
4
|
+
export declare const number: (options?: {
|
|
5
|
+
style?: "human" | "national" | "international";
|
|
6
|
+
}) => import("..").ValueConfig<string>;
|