struct-fakerator 2.4.5 → 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/chunk-3FFGDXA5.mjs +48 -0
- package/dist/{chunk-HADENNJW.js → chunk-3MYH2PDS.js} +5 -3
- package/dist/chunk-4ESFUYHU.js +48 -0
- package/dist/chunk-4XQBQAPC.mjs +33 -0
- package/dist/{chunk-J266ZY25.mjs → chunk-5M3DUBFV.mjs} +6 -4
- package/dist/chunk-62NUC6UZ.js +51 -0
- package/dist/chunk-7IQW6MWT.mjs +81 -0
- package/dist/{chunk-TX7HRLKE.mjs → chunk-7V3T6MQ3.mjs} +5 -3
- package/dist/chunk-AWKBY27N.js +35 -0
- package/dist/{chunk-7R4M2AAS.js → chunk-BGE4WZH7.js} +6 -4
- package/dist/chunk-BNUCXH6Q.js +49 -0
- package/dist/{chunk-YY2TF7WC.mjs → chunk-CC255UJD.mjs} +7 -5
- package/dist/chunk-CK65OFQQ.mjs +56 -0
- package/dist/chunk-FG2O523S.js +48 -0
- package/dist/chunk-GF4PSVJ7.js +81 -0
- package/dist/{chunk-7YNCYSJY.js → chunk-GL777PKT.js} +4 -2
- package/dist/{chunk-BXJJGEM5.js → chunk-GR5EJCJ2.js} +5 -3
- 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-CFX43E3I.mjs → chunk-JFYN4RCQ.mjs} +6 -4
- package/dist/{chunk-LBQLRQOQ.js → chunk-KB4QNLUX.js} +7 -5
- 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-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-XJ3B37LJ.js +45 -0
- package/dist/chunk-XKWYGGIM.mjs +36 -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/utils/airline.js +3 -2
- package/dist/utils/airline.mjs +2 -1
- package/dist/utils/animal.js +3 -2
- package/dist/utils/animal.mjs +2 -1
- package/dist/utils/color.js +3 -2
- package/dist/utils/color.mjs +2 -1
- package/dist/utils/commerce.js +3 -2
- package/dist/utils/commerce.mjs +2 -1
- package/dist/utils/company.js +3 -2
- package/dist/utils/company.mjs +2 -1
- package/dist/utils/database.js +3 -2
- package/dist/utils/database.mjs +2 -1
- package/dist/utils/datatype.js +3 -2
- package/dist/utils/datatype.mjs +2 -1
- package/dist/utils/datetime.js +3 -2
- package/dist/utils/datetime.mjs +2 -1
- package/dist/utils/finance.js +3 -2
- package/dist/utils/finance.mjs +2 -1
- package/dist/utils/food.js +3 -2
- package/dist/utils/food.mjs +2 -1
- package/dist/utils/git.js +3 -2
- package/dist/utils/git.mjs +2 -1
- package/dist/utils/hacker.js +3 -2
- package/dist/utils/hacker.mjs +2 -1
- package/dist/utils/image.js +3 -2
- package/dist/utils/image.mjs +2 -1
- package/dist/utils/index.d.mts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +29 -25
- package/dist/utils/index.mjs +29 -25
- package/dist/utils/internet.js +3 -2
- package/dist/utils/internet.mjs +2 -1
- package/dist/utils/location.js +3 -2
- package/dist/utils/location.mjs +2 -1
- package/dist/utils/lorem.js +3 -2
- package/dist/utils/lorem.mjs +2 -1
- package/dist/utils/music.js +3 -2
- package/dist/utils/music.mjs +2 -1
- package/dist/utils/number.js +3 -2
- package/dist/utils/number.mjs +2 -1
- package/dist/utils/person.js +3 -2
- package/dist/utils/person.mjs +2 -1
- package/dist/utils/phone.js +3 -2
- package/dist/utils/phone.mjs +2 -1
- package/dist/utils/science.js +3 -2
- package/dist/utils/science.mjs +2 -1
- package/dist/utils/string.js +3 -2
- package/dist/utils/string.mjs +2 -1
- package/dist/utils/system.js +3 -2
- package/dist/utils/system.mjs +2 -1
- 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.js +3 -2
- package/dist/utils/vehicle.mjs +2 -1
- package/dist/utils/word.js +12 -11
- package/dist/utils/word.mjs +13 -12
- package/dist/utils-BiDlGzTl.d.mts +10 -0
- package/dist/utils-DinJc3Cq.d.ts +10 -0
- package/package.json +13 -13
- package/src/utils/airline.ts +4 -9
- package/src/utils/animal.ts +16 -33
- package/src/utils/color.ts +18 -26
- package/src/utils/commerce.ts +15 -23
- package/src/utils/company.ts +14 -27
- package/src/utils/database.ts +8 -13
- package/src/utils/datatype.ts +2 -4
- package/src/utils/datetime.ts +12 -24
- package/src/utils/finance.ts +26 -54
- package/src/utils/food.ts +10 -24
- package/src/utils/git.ts +6 -14
- package/src/utils/hacker.ts +7 -15
- package/src/utils/image.ts +9 -22
- package/src/utils/index.ts +2 -0
- package/src/utils/internet.ts +21 -52
- package/src/utils/location.ts +25 -45
- package/src/utils/lorem.ts +10 -22
- package/src/utils/music.ts +5 -9
- package/src/utils/number.ts +7 -13
- package/src/utils/person.ts +16 -38
- package/src/utils/phone.ts +3 -5
- package/src/utils/science.ts +3 -6
- package/src/utils/string.ts +11 -24
- package/src/utils/system.ts +15 -34
- package/src/utils/utils.ts +8 -0
- package/src/utils/vehicle.ts +10 -20
- package/src/utils/word.ts +10 -23
- package/dist/chunk-2R3Q64AD.mjs +0 -28
- package/dist/chunk-5U5KT6H4.js +0 -61
- package/dist/chunk-7GE2A5VT.mjs +0 -43
- package/dist/chunk-A5HM6XTD.js +0 -76
- package/dist/chunk-AONYMB6O.mjs +0 -40
- package/dist/chunk-ARUJ7L4V.mjs +0 -64
- package/dist/chunk-BB5LVHI7.mjs +0 -46
- package/dist/chunk-BELV2S6H.js +0 -46
- package/dist/chunk-D7PC2EQM.mjs +0 -73
- package/dist/chunk-DF3HCW6W.js +0 -43
- package/dist/chunk-DVBKP7FB.mjs +0 -31
- package/dist/chunk-EDATUWC4.js +0 -40
- package/dist/chunk-FLNVEEY2.mjs +0 -34
- package/dist/chunk-GE7QO474.js +0 -64
- package/dist/chunk-H4XUR4CP.mjs +0 -34
- package/dist/chunk-HHL3SY7A.js +0 -34
- package/dist/chunk-HOVGSNA4.js +0 -73
- package/dist/chunk-J3IXKUJK.js +0 -61
- package/dist/chunk-J5ZX7PK3.js +0 -34
- package/dist/chunk-L7PFM742.mjs +0 -49
- package/dist/chunk-LJKI4ZZ5.mjs +0 -43
- package/dist/chunk-M2J3MAM7.mjs +0 -52
- package/dist/chunk-NEE5QKPY.mjs +0 -40
- package/dist/chunk-P65FYBLE.mjs +0 -61
- package/dist/chunk-PVPH6A5C.mjs +0 -43
- package/dist/chunk-RKTNWUZK.js +0 -43
- package/dist/chunk-S73SWVKV.js +0 -31
- package/dist/chunk-SYSS7JTS.js +0 -49
- package/dist/chunk-T5JPOARU.js +0 -40
- package/dist/chunk-USSK73G6.js +0 -43
- package/dist/chunk-VCWW76K4.mjs +0 -61
- package/dist/chunk-WJ5EC6UN.js +0 -49
- package/dist/chunk-X5TOZB77.mjs +0 -43
- package/dist/chunk-XPZ47TRN.js +0 -52
- package/dist/chunk-YJWVP2PN.mjs +0 -31
- package/dist/chunk-YQWQUNOA.js +0 -31
- package/dist/chunk-YTTIRC5J.mjs +0 -49
- package/dist/chunk-ZPQWZLYI.js +0 -43
- package/dist/chunk-ZRQDW34U.mjs +0 -76
package/src/utils/person.ts
CHANGED
|
@@ -1,69 +1,47 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** Person [bio](https://fakerjs.dev/api/person.html#bio) */
|
|
5
|
-
export const bio = (
|
|
6
|
-
createValueConfig(() => faker.person.bio(...options));
|
|
5
|
+
export const bio = makeValueConfigFn(faker.person.bio);
|
|
7
6
|
|
|
8
7
|
/** Person [firstName](https://fakerjs.dev/api/person.html#firstName) */
|
|
9
|
-
export const firstName = (
|
|
10
|
-
...options: Parameters<typeof faker.person.firstName>
|
|
11
|
-
) => createValueConfig(() => faker.person.firstName(...options));
|
|
8
|
+
export const firstName = makeValueConfigFn(faker.person.firstName);
|
|
12
9
|
|
|
13
10
|
/** Person [fullName](https://fakerjs.dev/api/person.html#fullName) */
|
|
14
|
-
export const fullName = (
|
|
15
|
-
...options: Parameters<typeof faker.person.fullName>
|
|
16
|
-
) => createValueConfig(() => faker.person.fullName(...options));
|
|
11
|
+
export const fullName = makeValueConfigFn(faker.person.fullName);
|
|
17
12
|
|
|
18
13
|
/** Person [gender](https://fakerjs.dev/api/person.html#gender) */
|
|
19
|
-
export const gender = (
|
|
20
|
-
createValueConfig(() => faker.person.gender(...options));
|
|
14
|
+
export const gender = makeValueConfigFn(faker.person.gender);
|
|
21
15
|
|
|
22
16
|
/** Person [jobArea](https://fakerjs.dev/api/person.html#jobArea) */
|
|
23
|
-
export const jobArea = (
|
|
24
|
-
createValueConfig(() => faker.person.jobArea(...options));
|
|
17
|
+
export const jobArea = makeValueConfigFn(faker.person.jobArea);
|
|
25
18
|
|
|
26
19
|
/** Person [jobDescriptor](https://fakerjs.dev/api/person.html#jobDescriptor) */
|
|
27
|
-
export const jobDescriptor = (
|
|
28
|
-
...options: Parameters<typeof faker.person.jobDescriptor>
|
|
29
|
-
) => createValueConfig(() => faker.person.bio(...options));
|
|
20
|
+
export const jobDescriptor = makeValueConfigFn(faker.person.jobDescriptor);
|
|
30
21
|
|
|
31
22
|
/** Person [jobTitle](https://fakerjs.dev/api/person.html#jobTitle) */
|
|
32
|
-
export const jobTitle = (
|
|
33
|
-
...options: Parameters<typeof faker.person.jobTitle>
|
|
34
|
-
) => createValueConfig(() => faker.person.jobTitle(...options));
|
|
23
|
+
export const jobTitle = makeValueConfigFn(faker.person.jobTitle);
|
|
35
24
|
|
|
36
25
|
/** Person [jobType](https://fakerjs.dev/api/person.html#jobType) */
|
|
37
|
-
export const jobType = (
|
|
38
|
-
createValueConfig(() => faker.person.jobType(...options));
|
|
26
|
+
export const jobType = makeValueConfigFn(faker.person.jobType);
|
|
39
27
|
|
|
40
28
|
/** Person [lastName](https://fakerjs.dev/api/person.html#lastName) */
|
|
41
|
-
export const lastName = (
|
|
42
|
-
...options: Parameters<typeof faker.person.lastName>
|
|
43
|
-
) => createValueConfig(() => faker.person.lastName(...options));
|
|
29
|
+
export const lastName = makeValueConfigFn(faker.person.lastName);
|
|
44
30
|
|
|
45
31
|
/** Person [middleName](https://fakerjs.dev/api/person.html#middleName) */
|
|
46
|
-
export const middleName = (
|
|
47
|
-
...options: Parameters<typeof faker.person.middleName>
|
|
48
|
-
) => createValueConfig(() => faker.person.middleName(...options));
|
|
32
|
+
export const middleName = makeValueConfigFn(faker.person.middleName);
|
|
49
33
|
|
|
50
34
|
/** Person [prefix](https://fakerjs.dev/api/person.html#prefix) */
|
|
51
|
-
export const prefix = (
|
|
52
|
-
createValueConfig(() => faker.person.prefix(...options));
|
|
35
|
+
export const prefix = makeValueConfigFn(faker.person.prefix);
|
|
53
36
|
|
|
54
37
|
/** Person [sex](https://fakerjs.dev/api/person.html#sex) */
|
|
55
|
-
export const sex = (
|
|
56
|
-
createValueConfig(() => faker.person.sex(...options));
|
|
38
|
+
export const sex = makeValueConfigFn(faker.person.sex);
|
|
57
39
|
|
|
58
40
|
/** Person [sexType](https://fakerjs.dev/api/person.html#sexType) */
|
|
59
|
-
export const sexType = (
|
|
60
|
-
createValueConfig(() => faker.person.sexType(...options));
|
|
41
|
+
export const sexType = makeValueConfigFn(faker.person.sexType);
|
|
61
42
|
|
|
62
43
|
/** Person [suffix](https://fakerjs.dev/api/person.html#suffix) */
|
|
63
|
-
export const suffix = (
|
|
64
|
-
createValueConfig(() => faker.person.suffix(...options));
|
|
44
|
+
export const suffix = makeValueConfigFn(faker.person.suffix);
|
|
65
45
|
|
|
66
46
|
/** Person [zodiacSign](https://fakerjs.dev/api/person.html#zodiacSign) */
|
|
67
|
-
export const zodiacSign = (
|
|
68
|
-
...options: Parameters<typeof faker.person.zodiacSign>
|
|
69
|
-
) => createValueConfig(() => faker.person.zodiacSign(...options));
|
|
47
|
+
export const zodiacSign = makeValueConfigFn(faker.person.zodiacSign);
|
package/src/utils/phone.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** Phone [imei](https://fakerjs.dev/api/phone.html#imei) */
|
|
5
|
-
export const imei = (
|
|
6
|
-
createValueConfig(() => faker.phone.imei(...options));
|
|
5
|
+
export const imei = makeValueConfigFn(faker.phone.imei);
|
|
7
6
|
|
|
8
7
|
/** Phone [number](https://fakerjs.dev/api/phone.html#number) */
|
|
9
|
-
export const number = (
|
|
10
|
-
createValueConfig(() => faker.phone.number(...options));
|
|
8
|
+
export const number = makeValueConfigFn(faker.phone.number);
|
package/src/utils/science.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** Science [chemicalElement](https://fakerjs.dev/api/science.html#chemicalElement) */
|
|
5
|
-
export const chemicalElement = (
|
|
6
|
-
...options: Parameters<typeof faker.science.chemicalElement>
|
|
7
|
-
) => createValueConfig(() => faker.science.chemicalElement(...options));
|
|
5
|
+
export const chemicalElement = makeValueConfigFn(faker.science.chemicalElement);
|
|
8
6
|
|
|
9
7
|
/** Science [unit](https://fakerjs.dev/api/science.html#unit) */
|
|
10
|
-
export const unit = (
|
|
11
|
-
createValueConfig(() => faker.science.unit(...options));
|
|
8
|
+
export const unit = makeValueConfigFn(faker.science.unit);
|
package/src/utils/string.ts
CHANGED
|
@@ -1,45 +1,32 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** String [alpha](https://fakerjs.dev/api/string.html#alpha) */
|
|
5
|
-
export const alpha = (
|
|
6
|
-
createValueConfig(() => faker.string.alpha(...options));
|
|
5
|
+
export const alpha = makeValueConfigFn(faker.string.alpha);
|
|
7
6
|
|
|
8
7
|
/** String [alphanumeric](https://fakerjs.dev/api/string.html#alphanumeric) */
|
|
9
|
-
export const alphanumeric = (
|
|
10
|
-
...options: Parameters<typeof faker.string.alphanumeric>
|
|
11
|
-
) => createValueConfig(() => faker.string.alphanumeric(...options));
|
|
8
|
+
export const alphanumeric = makeValueConfigFn(faker.string.alphanumeric);
|
|
12
9
|
|
|
13
10
|
/** String [binary](https://fakerjs.dev/api/string.html#binary) */
|
|
14
|
-
export const binary = (
|
|
15
|
-
createValueConfig(() => faker.string.binary(...options));
|
|
11
|
+
export const binary = makeValueConfigFn(faker.string.binary);
|
|
16
12
|
|
|
17
13
|
/** String [fromCharacters](https://fakerjs.dev/api/string.html#fromCharacters) */
|
|
18
|
-
export const fromCharacters = (
|
|
19
|
-
...options: Parameters<typeof faker.string.fromCharacters>
|
|
20
|
-
) => createValueConfig(() => faker.string.fromCharacters(...options));
|
|
14
|
+
export const fromCharacters = makeValueConfigFn(faker.string.fromCharacters);
|
|
21
15
|
|
|
22
16
|
/** String [hexadecimal](https://fakerjs.dev/api/string.html#hexadecimal) */
|
|
23
|
-
export const hexadecimal = (
|
|
24
|
-
...options: Parameters<typeof faker.string.hexadecimal>
|
|
25
|
-
) => createValueConfig(() => faker.string.hexadecimal(...options));
|
|
17
|
+
export const hexadecimal = makeValueConfigFn(faker.string.hexadecimal);
|
|
26
18
|
|
|
27
19
|
/** String [nanoid](https://fakerjs.dev/api/string.html#nanoid) */
|
|
28
|
-
export const nanoid = (
|
|
29
|
-
createValueConfig(() => faker.string.nanoid(...options));
|
|
20
|
+
export const nanoid = makeValueConfigFn(faker.string.nanoid);
|
|
30
21
|
|
|
31
22
|
/** String [octal](https://fakerjs.dev/api/string.html#octal) */
|
|
32
|
-
export const octal = (
|
|
33
|
-
createValueConfig(() => faker.string.octal(...options));
|
|
23
|
+
export const octal = makeValueConfigFn(faker.string.octal);
|
|
34
24
|
|
|
35
25
|
/** String [sample](https://fakerjs.dev/api/string.html#sample) */
|
|
36
|
-
export const sample = (
|
|
37
|
-
createValueConfig(() => faker.string.sample(...options));
|
|
26
|
+
export const sample = makeValueConfigFn(faker.string.sample);
|
|
38
27
|
|
|
39
28
|
/** String [symbol](https://fakerjs.dev/api/string.html#symbol) */
|
|
40
|
-
export const symbol = (
|
|
41
|
-
createValueConfig(() => faker.string.symbol(...options));
|
|
29
|
+
export const symbol = makeValueConfigFn(faker.string.symbol);
|
|
42
30
|
|
|
43
31
|
/** String [uuid](https://fakerjs.dev/api/string.html#uuid) */
|
|
44
|
-
export const uuid = (
|
|
45
|
-
createValueConfig(() => faker.string.uuid(...options));
|
|
32
|
+
export const uuid = makeValueConfigFn(faker.string.uuid);
|
package/src/utils/system.ts
CHANGED
|
@@ -1,59 +1,40 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** System [commonFileExt](https://fakerjs.dev/api/system.html#commonFileExt) */
|
|
5
|
-
export const commonFileExt = (
|
|
6
|
-
...options: Parameters<typeof faker.system.commonFileExt>
|
|
7
|
-
) => createValueConfig(() => faker.system.commonFileExt(...options));
|
|
5
|
+
export const commonFileExt = makeValueConfigFn(faker.system.commonFileExt);
|
|
8
6
|
|
|
9
7
|
/** System [commonFileName](https://fakerjs.dev/api/system.html#commonFileName) */
|
|
10
|
-
export const commonFileName = (
|
|
11
|
-
...options: Parameters<typeof faker.system.commonFileName>
|
|
12
|
-
) => createValueConfig(() => faker.system.commonFileName(...options));
|
|
8
|
+
export const commonFileName = makeValueConfigFn(faker.system.commonFileName);
|
|
13
9
|
|
|
14
10
|
/** System [commonFileType](https://fakerjs.dev/api/system.html#commonFileType) */
|
|
15
|
-
export const commonFileType = (
|
|
16
|
-
...options: Parameters<typeof faker.system.commonFileType>
|
|
17
|
-
) => createValueConfig(() => faker.system.commonFileType(...options));
|
|
11
|
+
export const commonFileType = makeValueConfigFn(faker.system.commonFileType);
|
|
18
12
|
|
|
19
13
|
/** System [cron](https://fakerjs.dev/api/system.html#cron) */
|
|
20
|
-
export const cron = (
|
|
21
|
-
createValueConfig(() => faker.system.cron(...options));
|
|
14
|
+
export const cron = makeValueConfigFn(faker.system.cron);
|
|
22
15
|
|
|
23
16
|
/** System [directoryPath](https://fakerjs.dev/api/system.html#directoryPath) */
|
|
24
|
-
export const directoryPath = (
|
|
25
|
-
...options: Parameters<typeof faker.system.directoryPath>
|
|
26
|
-
) => createValueConfig(() => faker.system.directoryPath(...options));
|
|
17
|
+
export const directoryPath = makeValueConfigFn(faker.system.directoryPath);
|
|
27
18
|
|
|
28
19
|
/** System [fileExt](https://fakerjs.dev/api/system.html#fileExt) */
|
|
29
|
-
export const fileExt = (
|
|
30
|
-
createValueConfig(() => faker.system.fileExt(...options));
|
|
20
|
+
export const fileExt = makeValueConfigFn(faker.system.fileExt);
|
|
31
21
|
|
|
32
22
|
/** System [fileName](https://fakerjs.dev/api/system.html#fileName) */
|
|
33
|
-
export const fileName = (
|
|
34
|
-
...options: Parameters<typeof faker.system.fileName>
|
|
35
|
-
) => createValueConfig(() => faker.system.fileName(...options));
|
|
23
|
+
export const fileName = makeValueConfigFn(faker.system.fileName);
|
|
36
24
|
|
|
37
25
|
/** System [filePath](https://fakerjs.dev/api/system.html#filePath) */
|
|
38
|
-
export const filePath = (
|
|
39
|
-
...options: Parameters<typeof faker.system.filePath>
|
|
40
|
-
) => createValueConfig(() => faker.system.filePath(...options));
|
|
26
|
+
export const filePath = makeValueConfigFn(faker.system.filePath);
|
|
41
27
|
|
|
42
28
|
/** System [fileType](https://fakerjs.dev/api/system.html#fileType) */
|
|
43
|
-
export const fileType = (
|
|
44
|
-
...options: Parameters<typeof faker.system.fileType>
|
|
45
|
-
) => createValueConfig(() => faker.system.fileType(...options));
|
|
29
|
+
export const fileType = makeValueConfigFn(faker.system.fileType);
|
|
46
30
|
|
|
47
31
|
/** System [mimeType](https://fakerjs.dev/api/system.html#mimeType) */
|
|
48
|
-
export const mimeType = (
|
|
49
|
-
...options: Parameters<typeof faker.system.mimeType>
|
|
50
|
-
) => createValueConfig(() => faker.system.mimeType(...options));
|
|
32
|
+
export const mimeType = makeValueConfigFn(faker.system.mimeType);
|
|
51
33
|
|
|
52
34
|
/** System [networkInterface](https://fakerjs.dev/api/system.html#networkInterface) */
|
|
53
|
-
export const networkInterface = (
|
|
54
|
-
|
|
55
|
-
)
|
|
35
|
+
export const networkInterface = makeValueConfigFn(
|
|
36
|
+
faker.system.networkInterface,
|
|
37
|
+
);
|
|
56
38
|
|
|
57
39
|
/** System [semver](https://fakerjs.dev/api/system.html#semver) */
|
|
58
|
-
export const semver = (
|
|
59
|
-
createValueConfig(() => faker.system.semver(...options));
|
|
40
|
+
export const semver = makeValueConfigFn(faker.system.semver);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ValueConfig } from "../type";
|
|
2
|
+
import { createValueConfig } from "../create_config";
|
|
3
|
+
|
|
4
|
+
export function makeValueConfigFn<Args extends Array<unknown>, R>(
|
|
5
|
+
fn: (...options: Args) => R,
|
|
6
|
+
): (...options: Args) => ValueConfig<R> {
|
|
7
|
+
return (...options) => createValueConfig(() => fn(...options));
|
|
8
|
+
}
|
package/src/utils/vehicle.ts
CHANGED
|
@@ -1,39 +1,29 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** Vehicle [bicycle](https://fakerjs.dev/api/vehicle.html#bicycle) */
|
|
5
|
-
export const bicycle = (
|
|
6
|
-
createValueConfig(() => faker.vehicle.bicycle(...options));
|
|
5
|
+
export const bicycle = makeValueConfigFn(faker.vehicle.bicycle);
|
|
7
6
|
|
|
8
7
|
/** Vehicle [color](https://fakerjs.dev/api/vehicle.html#color) */
|
|
9
|
-
export const color = (
|
|
10
|
-
createValueConfig(() => faker.vehicle.color(...options));
|
|
8
|
+
export const color = makeValueConfigFn(faker.vehicle.color);
|
|
11
9
|
|
|
12
10
|
/** Vehicle [fuel](https://fakerjs.dev/api/vehicle.html#fuel) */
|
|
13
|
-
export const fuel = (
|
|
14
|
-
createValueConfig(() => faker.vehicle.fuel(...options));
|
|
11
|
+
export const fuel = makeValueConfigFn(faker.vehicle.fuel);
|
|
15
12
|
|
|
16
13
|
/** Vehicle [manufacturer](https://fakerjs.dev/api/vehicle.html#manufacturer) */
|
|
17
|
-
export const manufacturer = (
|
|
18
|
-
...options: Parameters<typeof faker.vehicle.manufacturer>
|
|
19
|
-
) => createValueConfig(() => faker.vehicle.manufacturer(...options));
|
|
14
|
+
export const manufacturer = makeValueConfigFn(faker.vehicle.manufacturer);
|
|
20
15
|
|
|
21
16
|
/** Vehicle [model](https://fakerjs.dev/api/vehicle.html#model) */
|
|
22
|
-
export const model = (
|
|
23
|
-
createValueConfig(() => faker.vehicle.model(...options));
|
|
17
|
+
export const model = makeValueConfigFn(faker.vehicle.model);
|
|
24
18
|
|
|
25
19
|
/** Vehicle [type](https://fakerjs.dev/api/vehicle.html#type) */
|
|
26
|
-
export const type = (
|
|
27
|
-
createValueConfig(() => faker.vehicle.type(...options));
|
|
20
|
+
export const type = makeValueConfigFn(faker.vehicle.type);
|
|
28
21
|
|
|
29
22
|
/** Vehicle [vehicle](https://fakerjs.dev/api/vehicle.html#vehicle) */
|
|
30
|
-
export const vehicle = (
|
|
31
|
-
createValueConfig(() => faker.vehicle.vehicle(...options));
|
|
23
|
+
export const vehicle = makeValueConfigFn(faker.vehicle.vehicle);
|
|
32
24
|
|
|
33
25
|
/** Vehicle [vin](https://fakerjs.dev/api/vehicle.html#vin) */
|
|
34
|
-
export const vin = (
|
|
35
|
-
createValueConfig(() => faker.vehicle.vin(...options));
|
|
26
|
+
export const vin = makeValueConfigFn(faker.vehicle.vin);
|
|
36
27
|
|
|
37
28
|
/** Vehicle [vrm](https://fakerjs.dev/api/vehicle.html#vrm) */
|
|
38
|
-
export const vrm = (
|
|
39
|
-
createValueConfig(() => faker.vehicle.vrm(...options));
|
|
29
|
+
export const vrm = makeValueConfigFn(faker.vehicle.vrm);
|
package/src/utils/word.ts
CHANGED
|
@@ -1,42 +1,29 @@
|
|
|
1
1
|
import { faker } from "@faker-js/faker";
|
|
2
|
-
import {
|
|
2
|
+
import { makeValueConfigFn } from "./utils";
|
|
3
3
|
|
|
4
4
|
/** Word [adjective](https://fakerjs.dev/word.html#adjective) */
|
|
5
|
-
export const adjective = (
|
|
6
|
-
...options: Parameters<typeof faker.word.adjective>
|
|
7
|
-
) => createValueConfig(() => faker.word.adjective(...options));
|
|
5
|
+
export const adjective = makeValueConfigFn(faker.word.adjective);
|
|
8
6
|
|
|
9
7
|
/** Word [adverb](https://fakerjs.dev/word.html#adverb) */
|
|
10
|
-
export const adverb = (
|
|
11
|
-
createValueConfig(() => faker.word.adverb(...options));
|
|
8
|
+
export const adverb = makeValueConfigFn(faker.word.adverb);
|
|
12
9
|
|
|
13
10
|
/** Word [conjunction](https://fakerjs.dev/word.html#conjunction) */
|
|
14
|
-
export const conjunction = (
|
|
15
|
-
...options: Parameters<typeof faker.word.conjunction>
|
|
16
|
-
) => createValueConfig(() => faker.word.conjunction(...options));
|
|
11
|
+
export const conjunction = makeValueConfigFn(faker.word.conjunction);
|
|
17
12
|
|
|
18
13
|
/** Word [interjection](https://fakerjs.dev/word.html#interjection) */
|
|
19
|
-
export const interjection = (
|
|
20
|
-
...options: Parameters<typeof faker.word.interjection>
|
|
21
|
-
) => createValueConfig(() => faker.word.interjection(...options));
|
|
14
|
+
export const interjection = makeValueConfigFn(faker.word.interjection);
|
|
22
15
|
|
|
23
16
|
/** Word [noun](https://fakerjs.dev/word.html#noun) */
|
|
24
|
-
export const noun = (
|
|
25
|
-
createValueConfig(() => faker.word.noun(...options));
|
|
17
|
+
export const noun = makeValueConfigFn(faker.word.noun);
|
|
26
18
|
|
|
27
19
|
/** Word [preposition](https://fakerjs.dev/word.html#preposition) */
|
|
28
|
-
export const preposition = (
|
|
29
|
-
...options: Parameters<typeof faker.word.preposition>
|
|
30
|
-
) => createValueConfig(() => faker.word.preposition(...options));
|
|
20
|
+
export const preposition = makeValueConfigFn(faker.word.preposition);
|
|
31
21
|
|
|
32
22
|
/** Word [sample](https://fakerjs.dev/word.html#sample) */
|
|
33
|
-
export const sample = (
|
|
34
|
-
createValueConfig(() => faker.word.sample(...options));
|
|
23
|
+
export const sample = makeValueConfigFn(faker.word.sample);
|
|
35
24
|
|
|
36
25
|
/** Word [verb](https://fakerjs.dev/word.html#verb) */
|
|
37
|
-
export const verb = (
|
|
38
|
-
createValueConfig(() => faker.word.verb(...options));
|
|
26
|
+
export const verb = makeValueConfigFn(faker.word.verb);
|
|
39
27
|
|
|
40
28
|
/** Word [words](https://fakerjs.dev/word.html#words) */
|
|
41
|
-
export const words = (
|
|
42
|
-
createValueConfig(() => faker.word.words(...options));
|
|
29
|
+
export const words = makeValueConfigFn(faker.word.words);
|
package/dist/chunk-2R3Q64AD.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
f
|
|
3
|
-
} from "./chunk-BS7IEV74.mjs";
|
|
4
|
-
import {
|
|
5
|
-
__export,
|
|
6
|
-
createValueConfig
|
|
7
|
-
} from "./chunk-OLSCXZ3D.mjs";
|
|
8
|
-
|
|
9
|
-
// src/utils/music.ts
|
|
10
|
-
var music_exports = {};
|
|
11
|
-
__export(music_exports, {
|
|
12
|
-
album: () => album,
|
|
13
|
-
artist: () => artist,
|
|
14
|
-
genre: () => genre,
|
|
15
|
-
songName: () => songName
|
|
16
|
-
});
|
|
17
|
-
var album = (...options) => createValueConfig(() => f.music.album(...options));
|
|
18
|
-
var artist = (...options) => createValueConfig(() => f.music.artist(...options));
|
|
19
|
-
var genre = (...options) => createValueConfig(() => f.music.genre(...options));
|
|
20
|
-
var songName = (...options) => createValueConfig(() => f.music.songName(...options));
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
album,
|
|
24
|
-
artist,
|
|
25
|
-
genre,
|
|
26
|
-
songName,
|
|
27
|
-
music_exports
|
|
28
|
-
};
|
package/dist/chunk-5U5KT6H4.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk4UGSTE5Qjs = require('./chunk-4UGSTE5Q.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk3HQMGDUFjs = require('./chunk-3HQMGDUF.js');
|
|
8
|
-
|
|
9
|
-
// src/utils/person.ts
|
|
10
|
-
var person_exports = {};
|
|
11
|
-
_chunk3HQMGDUFjs.__export.call(void 0, person_exports, {
|
|
12
|
-
bio: () => bio,
|
|
13
|
-
firstName: () => firstName,
|
|
14
|
-
fullName: () => fullName,
|
|
15
|
-
gender: () => gender,
|
|
16
|
-
jobArea: () => jobArea,
|
|
17
|
-
jobDescriptor: () => jobDescriptor,
|
|
18
|
-
jobTitle: () => jobTitle,
|
|
19
|
-
jobType: () => jobType,
|
|
20
|
-
lastName: () => lastName,
|
|
21
|
-
middleName: () => middleName,
|
|
22
|
-
prefix: () => prefix,
|
|
23
|
-
sex: () => sex,
|
|
24
|
-
sexType: () => sexType,
|
|
25
|
-
suffix: () => suffix,
|
|
26
|
-
zodiacSign: () => zodiacSign
|
|
27
|
-
});
|
|
28
|
-
var bio = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.bio(...options));
|
|
29
|
-
var firstName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.firstName(...options));
|
|
30
|
-
var fullName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.fullName(...options));
|
|
31
|
-
var gender = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.gender(...options));
|
|
32
|
-
var jobArea = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.jobArea(...options));
|
|
33
|
-
var jobDescriptor = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.bio(...options));
|
|
34
|
-
var jobTitle = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.jobTitle(...options));
|
|
35
|
-
var jobType = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.jobType(...options));
|
|
36
|
-
var lastName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.lastName(...options));
|
|
37
|
-
var middleName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.middleName(...options));
|
|
38
|
-
var prefix = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.prefix(...options));
|
|
39
|
-
var sex = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.sex(...options));
|
|
40
|
-
var sexType = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.sexType(...options));
|
|
41
|
-
var suffix = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.suffix(...options));
|
|
42
|
-
var zodiacSign = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.person.zodiacSign(...options));
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
exports.bio = bio; exports.firstName = firstName; exports.fullName = fullName; exports.gender = gender; exports.jobArea = jobArea; exports.jobDescriptor = jobDescriptor; exports.jobTitle = jobTitle; exports.jobType = jobType; exports.lastName = lastName; exports.middleName = middleName; exports.prefix = prefix; exports.sex = sex; exports.sexType = sexType; exports.suffix = suffix; exports.zodiacSign = zodiacSign; exports.person_exports = person_exports;
|
package/dist/chunk-7GE2A5VT.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
f
|
|
3
|
-
} from "./chunk-BS7IEV74.mjs";
|
|
4
|
-
import {
|
|
5
|
-
__export,
|
|
6
|
-
createValueConfig
|
|
7
|
-
} from "./chunk-OLSCXZ3D.mjs";
|
|
8
|
-
|
|
9
|
-
// src/utils/company.ts
|
|
10
|
-
var company_exports = {};
|
|
11
|
-
__export(company_exports, {
|
|
12
|
-
buzzAdjective: () => buzzAdjective,
|
|
13
|
-
buzzNoun: () => buzzNoun,
|
|
14
|
-
buzzPhrase: () => buzzPhrase,
|
|
15
|
-
buzzVerb: () => buzzVerb,
|
|
16
|
-
catchPhrase: () => catchPhrase,
|
|
17
|
-
catchPhraseAdjective: () => catchPhraseAdjective,
|
|
18
|
-
catchPhraseDescriptor: () => catchPhraseDescriptor,
|
|
19
|
-
catchPhraseNoun: () => catchPhraseNoun,
|
|
20
|
-
name: () => name
|
|
21
|
-
});
|
|
22
|
-
var buzzAdjective = (...options) => createValueConfig(() => f.company.buzzAdjective(...options));
|
|
23
|
-
var buzzNoun = (...options) => createValueConfig(() => f.company.buzzNoun(...options));
|
|
24
|
-
var buzzPhrase = (...options) => createValueConfig(() => f.company.buzzPhrase(...options));
|
|
25
|
-
var buzzVerb = (...options) => createValueConfig(() => f.company.buzzVerb(...options));
|
|
26
|
-
var catchPhrase = (...options) => createValueConfig(() => f.company.catchPhrase(...options));
|
|
27
|
-
var catchPhraseAdjective = (...options) => createValueConfig(() => f.company.catchPhraseAdjective(...options));
|
|
28
|
-
var catchPhraseDescriptor = (...options) => createValueConfig(() => f.company.catchPhraseDescriptor(...options));
|
|
29
|
-
var catchPhraseNoun = (...options) => createValueConfig(() => f.company.catchPhraseNoun(...options));
|
|
30
|
-
var name = (...options) => createValueConfig(() => f.company.name(...options));
|
|
31
|
-
|
|
32
|
-
export {
|
|
33
|
-
buzzAdjective,
|
|
34
|
-
buzzNoun,
|
|
35
|
-
buzzPhrase,
|
|
36
|
-
buzzVerb,
|
|
37
|
-
catchPhrase,
|
|
38
|
-
catchPhraseAdjective,
|
|
39
|
-
catchPhraseDescriptor,
|
|
40
|
-
catchPhraseNoun,
|
|
41
|
-
name,
|
|
42
|
-
company_exports
|
|
43
|
-
};
|
package/dist/chunk-A5HM6XTD.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk4UGSTE5Qjs = require('./chunk-4UGSTE5Q.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk3HQMGDUFjs = require('./chunk-3HQMGDUF.js');
|
|
8
|
-
|
|
9
|
-
// src/utils/internet.ts
|
|
10
|
-
var internet_exports = {};
|
|
11
|
-
_chunk3HQMGDUFjs.__export.call(void 0, internet_exports, {
|
|
12
|
-
color: () => color,
|
|
13
|
-
displayName: () => displayName,
|
|
14
|
-
domainName: () => domainName,
|
|
15
|
-
domainSuffix: () => domainSuffix,
|
|
16
|
-
domainWord: () => domainWord,
|
|
17
|
-
email: () => email,
|
|
18
|
-
emoji: () => emoji,
|
|
19
|
-
exampleEmail: () => exampleEmail,
|
|
20
|
-
httpMethod: () => httpMethod,
|
|
21
|
-
httpStatusCode: () => httpStatusCode,
|
|
22
|
-
ip: () => ip,
|
|
23
|
-
ipv4: () => ipv4,
|
|
24
|
-
ipv6: () => ipv6,
|
|
25
|
-
mac: () => mac,
|
|
26
|
-
password: () => password,
|
|
27
|
-
port: () => port,
|
|
28
|
-
protocol: () => protocol,
|
|
29
|
-
url: () => url,
|
|
30
|
-
userAgent: () => userAgent,
|
|
31
|
-
userName: () => userName
|
|
32
|
-
});
|
|
33
|
-
var color = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.color(...options));
|
|
34
|
-
var displayName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.displayName(...options));
|
|
35
|
-
var domainName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.domainName(...options));
|
|
36
|
-
var domainSuffix = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.domainSuffix(...options));
|
|
37
|
-
var domainWord = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.domainWord(...options));
|
|
38
|
-
var email = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.email(...options));
|
|
39
|
-
var emoji = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.emoji(...options));
|
|
40
|
-
var exampleEmail = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.exampleEmail(...options));
|
|
41
|
-
var httpMethod = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.httpMethod(...options));
|
|
42
|
-
var httpStatusCode = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.httpStatusCode(...options));
|
|
43
|
-
var ip = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.ip(...options));
|
|
44
|
-
var ipv4 = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.ipv4(...options));
|
|
45
|
-
var ipv6 = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.ipv6(...options));
|
|
46
|
-
var mac = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.mac(...options));
|
|
47
|
-
var password = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.password(...options));
|
|
48
|
-
var port = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.port(...options));
|
|
49
|
-
var protocol = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.protocol(...options));
|
|
50
|
-
var url = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.url(...options));
|
|
51
|
-
var userAgent = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.userAgent(...options));
|
|
52
|
-
var userName = (...options) => _chunk3HQMGDUFjs.createValueConfig.call(void 0, () => _chunk4UGSTE5Qjs.f.internet.userName(...options));
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
exports.color = color; exports.displayName = displayName; exports.domainName = domainName; exports.domainSuffix = domainSuffix; exports.domainWord = domainWord; exports.email = email; exports.emoji = emoji; exports.exampleEmail = exampleEmail; exports.httpMethod = httpMethod; exports.httpStatusCode = httpStatusCode; exports.ip = ip; exports.ipv4 = ipv4; exports.ipv6 = ipv6; exports.mac = mac; exports.password = password; exports.port = port; exports.protocol = protocol; exports.url = url; exports.userAgent = userAgent; exports.userName = userName; exports.internet_exports = internet_exports;
|
package/dist/chunk-AONYMB6O.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
f
|
|
3
|
-
} from "./chunk-BS7IEV74.mjs";
|
|
4
|
-
import {
|
|
5
|
-
__export,
|
|
6
|
-
createValueConfig
|
|
7
|
-
} from "./chunk-OLSCXZ3D.mjs";
|
|
8
|
-
|
|
9
|
-
// src/utils/image.ts
|
|
10
|
-
var image_exports = {};
|
|
11
|
-
__export(image_exports, {
|
|
12
|
-
avatar: () => avatar,
|
|
13
|
-
avatarGitHub: () => avatarGitHub,
|
|
14
|
-
avatarLegacy: () => avatarLegacy,
|
|
15
|
-
dataUri: () => dataUri,
|
|
16
|
-
url: () => url,
|
|
17
|
-
urlLoremFlickr: () => urlLoremFlickr,
|
|
18
|
-
urlPicsumPhotos: () => urlPicsumPhotos,
|
|
19
|
-
urlPlaceholder: () => urlPlaceholder
|
|
20
|
-
});
|
|
21
|
-
var avatar = (...options) => createValueConfig(() => f.image.avatar(...options));
|
|
22
|
-
var avatarGitHub = (...options) => createValueConfig(() => f.image.avatarGitHub(...options));
|
|
23
|
-
var avatarLegacy = (...options) => createValueConfig(() => f.image.avatarLegacy(...options));
|
|
24
|
-
var dataUri = (...options) => createValueConfig(() => f.image.dataUri(...options));
|
|
25
|
-
var url = (...options) => createValueConfig(() => f.image.url(...options));
|
|
26
|
-
var urlLoremFlickr = (...options) => createValueConfig(() => f.image.urlLoremFlickr(...options));
|
|
27
|
-
var urlPicsumPhotos = (...options) => createValueConfig(() => f.image.urlPicsumPhotos(...options));
|
|
28
|
-
var urlPlaceholder = (...options) => createValueConfig(() => f.image.urlPlaceholder(...options));
|
|
29
|
-
|
|
30
|
-
export {
|
|
31
|
-
avatar,
|
|
32
|
-
avatarGitHub,
|
|
33
|
-
avatarLegacy,
|
|
34
|
-
dataUri,
|
|
35
|
-
url,
|
|
36
|
-
urlLoremFlickr,
|
|
37
|
-
urlPicsumPhotos,
|
|
38
|
-
urlPlaceholder,
|
|
39
|
-
image_exports
|
|
40
|
-
};
|