struct-fakerator 2.3.4 → 2.4.5
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 +12 -13
- package/biome.json +2 -1
- 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-2R3Q64AD.mjs +28 -0
- package/dist/chunk-3HQMGDUF.js +98 -0
- package/dist/chunk-4UGSTE5Q.js +1968 -0
- package/dist/chunk-5U5KT6H4.js +61 -0
- package/dist/chunk-7GE2A5VT.mjs +43 -0
- package/dist/chunk-7R4M2AAS.js +25 -0
- package/dist/chunk-7YNCYSJY.js +19 -0
- package/dist/chunk-A5HM6XTD.js +76 -0
- package/dist/chunk-AONYMB6O.mjs +40 -0
- package/dist/chunk-ARUJ7L4V.mjs +64 -0
- package/dist/chunk-BB5LVHI7.mjs +46 -0
- package/dist/chunk-BELV2S6H.js +46 -0
- package/dist/chunk-BS7IEV74.mjs +1968 -0
- package/dist/chunk-BXJJGEM5.js +22 -0
- package/dist/chunk-CFX43E3I.mjs +22 -0
- package/dist/chunk-D7PC2EQM.mjs +73 -0
- package/dist/chunk-DF3HCW6W.js +43 -0
- package/dist/chunk-DVBKP7FB.mjs +31 -0
- package/dist/chunk-EDATUWC4.js +40 -0
- package/dist/chunk-FLNVEEY2.mjs +34 -0
- package/dist/chunk-GE7QO474.js +64 -0
- package/dist/chunk-H4XUR4CP.mjs +34 -0
- package/dist/chunk-HADENNJW.js +22 -0
- package/dist/chunk-HHL3SY7A.js +34 -0
- package/dist/chunk-HOVGSNA4.js +73 -0
- package/dist/chunk-J266ZY25.mjs +22 -0
- package/dist/chunk-J3IXKUJK.js +61 -0
- package/dist/chunk-J5ZX7PK3.js +34 -0
- package/dist/chunk-L7PFM742.mjs +49 -0
- package/dist/chunk-LBQLRQOQ.js +28 -0
- package/dist/chunk-LJKI4ZZ5.mjs +43 -0
- package/dist/chunk-M2J3MAM7.mjs +52 -0
- package/dist/chunk-NEE5QKPY.mjs +40 -0
- package/dist/chunk-OLSCXZ3D.mjs +98 -0
- package/dist/chunk-P65FYBLE.mjs +61 -0
- package/dist/chunk-PVPH6A5C.mjs +43 -0
- package/dist/chunk-RKTNWUZK.js +43 -0
- package/dist/chunk-S73SWVKV.js +31 -0
- package/dist/chunk-SYSS7JTS.js +49 -0
- package/dist/chunk-T5JPOARU.js +40 -0
- package/dist/chunk-TX7HRLKE.mjs +19 -0
- package/dist/chunk-USSK73G6.js +43 -0
- package/dist/chunk-VCWW76K4.mjs +61 -0
- package/dist/chunk-WJ5EC6UN.js +49 -0
- package/dist/chunk-X5TOZB77.mjs +43 -0
- package/dist/chunk-XG6RUZSI.mjs +16 -0
- package/dist/chunk-XL5V4E3Z.js +16 -0
- package/dist/chunk-XPZ47TRN.js +52 -0
- package/dist/chunk-YJWVP2PN.mjs +31 -0
- package/dist/chunk-YQWQUNOA.js +31 -0
- package/dist/chunk-YTTIRC5J.mjs +49 -0
- package/dist/chunk-YY2TF7WC.mjs +25 -0
- package/dist/chunk-ZPQWZLYI.js +43 -0
- package/dist/chunk-ZRQDW34U.mjs +76 -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 +2 -682
- package/dist/index.d.ts +2 -682
- package/dist/index.js +22 -2439
- package/dist/index.mjs +20 -2390
- 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 +12 -0
- package/dist/utils/airline.mjs +12 -0
- package/dist/utils/animal.d.mts +2 -0
- package/dist/utils/animal.d.ts +2 -0
- package/dist/utils/animal.js +36 -0
- package/dist/utils/animal.mjs +36 -0
- package/dist/utils/color.d.mts +3 -0
- package/dist/utils/color.d.ts +3 -0
- package/dist/utils/color.js +28 -0
- package/dist/utils/color.mjs +28 -0
- package/dist/utils/commerce.d.mts +2 -0
- package/dist/utils/commerce.d.ts +2 -0
- package/dist/utils/commerce.js +22 -0
- package/dist/utils/commerce.mjs +22 -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 +24 -0
- package/dist/utils/company.mjs +24 -0
- package/dist/utils/database.d.mts +2 -0
- package/dist/utils/database.d.ts +2 -0
- package/dist/utils/database.js +16 -0
- package/dist/utils/database.mjs +16 -0
- package/dist/utils/datatype.d.mts +2 -0
- package/dist/utils/datatype.d.ts +2 -0
- package/dist/utils/datatype.js +8 -0
- package/dist/utils/datatype.mjs +8 -0
- package/dist/utils/datetime.d.mts +2 -0
- package/dist/utils/datetime.d.ts +2 -0
- package/dist/utils/datetime.js +28 -0
- package/dist/utils/datetime.mjs +28 -0
- package/dist/utils/finance.d.mts +3 -0
- package/dist/utils/finance.d.ts +3 -0
- package/dist/utils/finance.js +44 -0
- package/dist/utils/finance.mjs +44 -0
- package/dist/utils/food.d.mts +2 -0
- package/dist/utils/food.d.ts +2 -0
- package/dist/utils/food.js +24 -0
- package/dist/utils/food.mjs +24 -0
- package/dist/utils/git.d.mts +2 -0
- package/dist/utils/git.d.ts +2 -0
- package/dist/utils/git.js +16 -0
- package/dist/utils/git.mjs +16 -0
- package/dist/utils/hacker.d.mts +2 -0
- package/dist/utils/hacker.d.ts +2 -0
- package/dist/utils/hacker.js +18 -0
- package/dist/utils/hacker.mjs +18 -0
- package/dist/utils/image.d.mts +2 -0
- package/dist/utils/image.d.ts +2 -0
- package/dist/utils/image.js +22 -0
- package/dist/utils/image.mjs +22 -0
- package/dist/utils/index.d.mts +27 -0
- package/dist/utils/index.d.ts +27 -0
- package/dist/utils/index.js +104 -0
- package/dist/utils/index.mjs +104 -0
- package/dist/utils/internet.d.mts +2 -0
- package/dist/utils/internet.d.ts +2 -0
- package/dist/utils/internet.js +46 -0
- package/dist/utils/internet.mjs +46 -0
- package/dist/utils/location.d.mts +2 -0
- package/dist/utils/location.d.ts +2 -0
- package/dist/utils/location.js +38 -0
- package/dist/utils/location.mjs +38 -0
- package/dist/utils/lorem.d.mts +2 -0
- package/dist/utils/lorem.d.ts +2 -0
- package/dist/utils/lorem.js +24 -0
- package/dist/utils/lorem.mjs +24 -0
- package/dist/utils/music.d.mts +2 -0
- package/dist/utils/music.d.ts +2 -0
- package/dist/utils/music.js +14 -0
- package/dist/utils/music.mjs +14 -0
- package/dist/utils/number.d.mts +2 -0
- package/dist/utils/number.d.ts +2 -0
- package/dist/utils/number.js +18 -0
- package/dist/utils/number.mjs +18 -0
- package/dist/utils/person.d.mts +3 -0
- package/dist/utils/person.d.ts +3 -0
- package/dist/utils/person.js +36 -0
- package/dist/utils/person.mjs +36 -0
- package/dist/utils/phone.d.mts +2 -0
- package/dist/utils/phone.d.ts +2 -0
- package/dist/utils/phone.js +10 -0
- package/dist/utils/phone.mjs +10 -0
- package/dist/utils/science.d.mts +3 -0
- package/dist/utils/science.d.ts +3 -0
- package/dist/utils/science.js +10 -0
- package/dist/utils/science.mjs +10 -0
- package/dist/utils/string.d.mts +2 -0
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +26 -0
- package/dist/utils/string.mjs +26 -0
- package/dist/utils/system.d.mts +2 -0
- package/dist/utils/system.d.ts +2 -0
- package/dist/utils/system.js +30 -0
- package/dist/utils/system.mjs +30 -0
- package/dist/utils/vehicle.d.mts +2 -0
- package/dist/utils/vehicle.d.ts +2 -0
- package/dist/utils/vehicle.js +24 -0
- package/dist/utils/vehicle.mjs +24 -0
- package/dist/utils/word.d.mts +75 -0
- package/dist/utils/word.d.ts +75 -0
- package/dist/utils/word.js +28 -0
- package/dist/utils/word.mjs +28 -0
- package/dist/vehicle-DmBDda98.d.mts +35 -0
- package/dist/vehicle-rnBz1Za2.d.ts +35 -0
- package/package.json +59 -10
- package/src/create_config.test.ts +4 -4
- package/src/create_config.ts +7 -7
- package/src/create_generator_fn.test.ts +11 -11
- package/src/create_generator_fn.ts +8 -8
- package/src/index.ts +0 -1
- package/src/utils/food.ts +43 -0
- package/src/utils/git.ts +25 -0
- package/src/utils/hacker.ts +28 -0
- package/src/utils/image.ts +39 -0
- package/src/utils/index.ts +10 -29
- package/src/utils/internet.ts +93 -0
- package/src/utils/location.ts +78 -0
- package/src/utils/music.ts +18 -0
- package/src/utils/science.ts +11 -0
- package/src/utils/system.ts +59 -0
- package/src/utils/vehicle.ts +39 -0
- package/tsup.config.ts +8 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.js';
|
|
2
|
+
|
|
3
|
+
/** Git [branch](https://fakerjs.dev/api/git.html#branch) */
|
|
4
|
+
declare const branch: () => ValueConfig<string>;
|
|
5
|
+
/** Git [commitDate](https://fakerjs.dev/api/git.html#commitDate) */
|
|
6
|
+
declare const commitDate: (options?: {
|
|
7
|
+
refDate?: string | Date | number;
|
|
8
|
+
}) => ValueConfig<string>;
|
|
9
|
+
/** Git [commitEntry](https://fakerjs.dev/api/git.html#commitEntry) */
|
|
10
|
+
declare const commitEntry: (options?: {
|
|
11
|
+
merge?: boolean;
|
|
12
|
+
eol?: "LF" | "CRLF";
|
|
13
|
+
refDate?: string | Date | number;
|
|
14
|
+
}) => ValueConfig<string>;
|
|
15
|
+
/** Git [commitMessage](https://fakerjs.dev/api/git.html#commitMessage) */
|
|
16
|
+
declare const commitMessage: () => ValueConfig<string>;
|
|
17
|
+
/** Git [commitSha](https://fakerjs.dev/api/git.html#commitSha) */
|
|
18
|
+
declare const commitSha: (options?: {
|
|
19
|
+
length?: number;
|
|
20
|
+
}) => ValueConfig<string>;
|
|
21
|
+
|
|
22
|
+
declare const git_branch: typeof branch;
|
|
23
|
+
declare const git_commitDate: typeof commitDate;
|
|
24
|
+
declare const git_commitEntry: typeof commitEntry;
|
|
25
|
+
declare const git_commitMessage: typeof commitMessage;
|
|
26
|
+
declare const git_commitSha: typeof commitSha;
|
|
27
|
+
declare namespace git {
|
|
28
|
+
export { git_branch as branch, git_commitDate as commitDate, git_commitEntry as commitEntry, git_commitMessage as commitMessage, git_commitSha as commitSha };
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { commitEntry as a, branch as b, commitDate as c, commitMessage as d, commitSha as e, git as g };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
|
|
2
|
+
|
|
3
|
+
/** Git [branch](https://fakerjs.dev/api/git.html#branch) */
|
|
4
|
+
declare const branch: () => ValueConfig<string>;
|
|
5
|
+
/** Git [commitDate](https://fakerjs.dev/api/git.html#commitDate) */
|
|
6
|
+
declare const commitDate: (options?: {
|
|
7
|
+
refDate?: string | Date | number;
|
|
8
|
+
}) => ValueConfig<string>;
|
|
9
|
+
/** Git [commitEntry](https://fakerjs.dev/api/git.html#commitEntry) */
|
|
10
|
+
declare const commitEntry: (options?: {
|
|
11
|
+
merge?: boolean;
|
|
12
|
+
eol?: "LF" | "CRLF";
|
|
13
|
+
refDate?: string | Date | number;
|
|
14
|
+
}) => ValueConfig<string>;
|
|
15
|
+
/** Git [commitMessage](https://fakerjs.dev/api/git.html#commitMessage) */
|
|
16
|
+
declare const commitMessage: () => ValueConfig<string>;
|
|
17
|
+
/** Git [commitSha](https://fakerjs.dev/api/git.html#commitSha) */
|
|
18
|
+
declare const commitSha: (options?: {
|
|
19
|
+
length?: number;
|
|
20
|
+
}) => ValueConfig<string>;
|
|
21
|
+
|
|
22
|
+
declare const git_branch: typeof branch;
|
|
23
|
+
declare const git_commitDate: typeof commitDate;
|
|
24
|
+
declare const git_commitEntry: typeof commitEntry;
|
|
25
|
+
declare const git_commitMessage: typeof commitMessage;
|
|
26
|
+
declare const git_commitSha: typeof commitSha;
|
|
27
|
+
declare namespace git {
|
|
28
|
+
export { git_branch as branch, git_commitDate as commitDate, git_commitEntry as commitEntry, git_commitMessage as commitMessage, git_commitSha as commitSha };
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { commitEntry as a, branch as b, commitDate as c, commitMessage as d, commitSha as e, git as g };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.js';
|
|
2
|
+
|
|
3
|
+
/** Hacker [abbreviation](https://fakerjs.dev/api/hacker.html#abbreviation) */
|
|
4
|
+
declare const abbreviation: () => ValueConfig<string>;
|
|
5
|
+
/** Hacker [adjective](https://fakerjs.dev/api/hacker.html#adjective) */
|
|
6
|
+
declare const adjective: () => ValueConfig<string>;
|
|
7
|
+
/** Hacker [ingverb](https://fakerjs.dev/api/hacker.html#ingverb) */
|
|
8
|
+
declare const ingverb: () => ValueConfig<string>;
|
|
9
|
+
/** Hacker [noun](https://fakerjs.dev/api/hacker.html#noun) */
|
|
10
|
+
declare const noun: () => ValueConfig<string>;
|
|
11
|
+
/** Hacker [phrase](https://fakerjs.dev/api/hacker.html#phrase) */
|
|
12
|
+
declare const phrase: () => ValueConfig<string>;
|
|
13
|
+
/** Hacker [verb](https://fakerjs.dev/api/hacker.html#verb) */
|
|
14
|
+
declare const verb: () => ValueConfig<string>;
|
|
15
|
+
|
|
16
|
+
declare const hacker_abbreviation: typeof abbreviation;
|
|
17
|
+
declare const hacker_adjective: typeof adjective;
|
|
18
|
+
declare const hacker_ingverb: typeof ingverb;
|
|
19
|
+
declare const hacker_noun: typeof noun;
|
|
20
|
+
declare const hacker_phrase: typeof phrase;
|
|
21
|
+
declare const hacker_verb: typeof verb;
|
|
22
|
+
declare namespace hacker {
|
|
23
|
+
export { hacker_abbreviation as abbreviation, hacker_adjective as adjective, hacker_ingverb as ingverb, hacker_noun as noun, hacker_phrase as phrase, hacker_verb as verb };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { abbreviation as a, adjective as b, hacker as h, ingverb as i, noun as n, phrase as p, verb as v };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
|
|
2
|
+
|
|
3
|
+
/** Hacker [abbreviation](https://fakerjs.dev/api/hacker.html#abbreviation) */
|
|
4
|
+
declare const abbreviation: () => ValueConfig<string>;
|
|
5
|
+
/** Hacker [adjective](https://fakerjs.dev/api/hacker.html#adjective) */
|
|
6
|
+
declare const adjective: () => ValueConfig<string>;
|
|
7
|
+
/** Hacker [ingverb](https://fakerjs.dev/api/hacker.html#ingverb) */
|
|
8
|
+
declare const ingverb: () => ValueConfig<string>;
|
|
9
|
+
/** Hacker [noun](https://fakerjs.dev/api/hacker.html#noun) */
|
|
10
|
+
declare const noun: () => ValueConfig<string>;
|
|
11
|
+
/** Hacker [phrase](https://fakerjs.dev/api/hacker.html#phrase) */
|
|
12
|
+
declare const phrase: () => ValueConfig<string>;
|
|
13
|
+
/** Hacker [verb](https://fakerjs.dev/api/hacker.html#verb) */
|
|
14
|
+
declare const verb: () => ValueConfig<string>;
|
|
15
|
+
|
|
16
|
+
declare const hacker_abbreviation: typeof abbreviation;
|
|
17
|
+
declare const hacker_adjective: typeof adjective;
|
|
18
|
+
declare const hacker_ingverb: typeof ingverb;
|
|
19
|
+
declare const hacker_noun: typeof noun;
|
|
20
|
+
declare const hacker_phrase: typeof phrase;
|
|
21
|
+
declare const hacker_verb: typeof verb;
|
|
22
|
+
declare namespace hacker {
|
|
23
|
+
export { hacker_abbreviation as abbreviation, hacker_adjective as adjective, hacker_ingverb as ingverb, hacker_noun as noun, hacker_phrase as phrase, hacker_verb as verb };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { abbreviation as a, adjective as b, hacker as h, ingverb as i, noun as n, phrase as p, verb as v };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.js';
|
|
2
|
+
|
|
3
|
+
/** Image [avatar](https://fakerjs.dev/api/image.html#avatar) */
|
|
4
|
+
declare const avatar: () => ValueConfig<string>;
|
|
5
|
+
/** Image [avatarGitHub](https://fakerjs.dev/api/image.html#avatarGitHub) */
|
|
6
|
+
declare const avatarGitHub: () => ValueConfig<string>;
|
|
7
|
+
/** Image [avatarLegacy](https://fakerjs.dev/api/image.html#avatarLegacy) */
|
|
8
|
+
declare const avatarLegacy: () => ValueConfig<string>;
|
|
9
|
+
/** Image [dataUri](https://fakerjs.dev/api/image.html#dataUri) */
|
|
10
|
+
declare const dataUri: (options?: {
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
color?: string;
|
|
14
|
+
type?: "svg-uri" | "svg-base64";
|
|
15
|
+
}) => ValueConfig<string>;
|
|
16
|
+
/** Image [url](https://fakerjs.dev/api/image.html#url) */
|
|
17
|
+
declare const url: (options?: {
|
|
18
|
+
width?: number;
|
|
19
|
+
height?: number;
|
|
20
|
+
}) => ValueConfig<string>;
|
|
21
|
+
/** Image [urlLoremFlickr](https://fakerjs.dev/api/image.html#urlLoremFlickr) */
|
|
22
|
+
declare const urlLoremFlickr: (options?: {
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
category?: string;
|
|
26
|
+
}) => ValueConfig<string>;
|
|
27
|
+
/** Image [urlPicsumPhotos](https://fakerjs.dev/api/image.html#urlPicsumPhotos) */
|
|
28
|
+
declare const urlPicsumPhotos: (options?: {
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
grayscale?: boolean;
|
|
32
|
+
blur?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
33
|
+
}) => ValueConfig<string>;
|
|
34
|
+
/** Image [urlPlaceholder](https://fakerjs.dev/api/image.html#urlPlaceholder) */
|
|
35
|
+
declare const urlPlaceholder: (options?: {
|
|
36
|
+
width?: number;
|
|
37
|
+
height?: number;
|
|
38
|
+
backgroundColor?: string;
|
|
39
|
+
textColor?: string;
|
|
40
|
+
format?: "gif" | "jpeg" | "jpg" | "png" | "webp";
|
|
41
|
+
text?: string;
|
|
42
|
+
}) => ValueConfig<string>;
|
|
43
|
+
|
|
44
|
+
declare const image_avatar: typeof avatar;
|
|
45
|
+
declare const image_avatarGitHub: typeof avatarGitHub;
|
|
46
|
+
declare const image_avatarLegacy: typeof avatarLegacy;
|
|
47
|
+
declare const image_dataUri: typeof dataUri;
|
|
48
|
+
declare const image_url: typeof url;
|
|
49
|
+
declare const image_urlLoremFlickr: typeof urlLoremFlickr;
|
|
50
|
+
declare const image_urlPicsumPhotos: typeof urlPicsumPhotos;
|
|
51
|
+
declare const image_urlPlaceholder: typeof urlPlaceholder;
|
|
52
|
+
declare namespace image {
|
|
53
|
+
export { image_avatar as avatar, image_avatarGitHub as avatarGitHub, image_avatarLegacy as avatarLegacy, image_dataUri as dataUri, image_url as url, image_urlLoremFlickr as urlLoremFlickr, image_urlPicsumPhotos as urlPicsumPhotos, image_urlPlaceholder as urlPlaceholder };
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { avatar as a, avatarGitHub as b, avatarLegacy as c, dataUri as d, urlLoremFlickr as e, urlPicsumPhotos as f, urlPlaceholder as g, image as i, url as u };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
|
|
2
|
+
|
|
3
|
+
/** Image [avatar](https://fakerjs.dev/api/image.html#avatar) */
|
|
4
|
+
declare const avatar: () => ValueConfig<string>;
|
|
5
|
+
/** Image [avatarGitHub](https://fakerjs.dev/api/image.html#avatarGitHub) */
|
|
6
|
+
declare const avatarGitHub: () => ValueConfig<string>;
|
|
7
|
+
/** Image [avatarLegacy](https://fakerjs.dev/api/image.html#avatarLegacy) */
|
|
8
|
+
declare const avatarLegacy: () => ValueConfig<string>;
|
|
9
|
+
/** Image [dataUri](https://fakerjs.dev/api/image.html#dataUri) */
|
|
10
|
+
declare const dataUri: (options?: {
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
color?: string;
|
|
14
|
+
type?: "svg-uri" | "svg-base64";
|
|
15
|
+
}) => ValueConfig<string>;
|
|
16
|
+
/** Image [url](https://fakerjs.dev/api/image.html#url) */
|
|
17
|
+
declare const url: (options?: {
|
|
18
|
+
width?: number;
|
|
19
|
+
height?: number;
|
|
20
|
+
}) => ValueConfig<string>;
|
|
21
|
+
/** Image [urlLoremFlickr](https://fakerjs.dev/api/image.html#urlLoremFlickr) */
|
|
22
|
+
declare const urlLoremFlickr: (options?: {
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
category?: string;
|
|
26
|
+
}) => ValueConfig<string>;
|
|
27
|
+
/** Image [urlPicsumPhotos](https://fakerjs.dev/api/image.html#urlPicsumPhotos) */
|
|
28
|
+
declare const urlPicsumPhotos: (options?: {
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
grayscale?: boolean;
|
|
32
|
+
blur?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
33
|
+
}) => ValueConfig<string>;
|
|
34
|
+
/** Image [urlPlaceholder](https://fakerjs.dev/api/image.html#urlPlaceholder) */
|
|
35
|
+
declare const urlPlaceholder: (options?: {
|
|
36
|
+
width?: number;
|
|
37
|
+
height?: number;
|
|
38
|
+
backgroundColor?: string;
|
|
39
|
+
textColor?: string;
|
|
40
|
+
format?: "gif" | "jpeg" | "jpg" | "png" | "webp";
|
|
41
|
+
text?: string;
|
|
42
|
+
}) => ValueConfig<string>;
|
|
43
|
+
|
|
44
|
+
declare const image_avatar: typeof avatar;
|
|
45
|
+
declare const image_avatarGitHub: typeof avatarGitHub;
|
|
46
|
+
declare const image_avatarLegacy: typeof avatarLegacy;
|
|
47
|
+
declare const image_dataUri: typeof dataUri;
|
|
48
|
+
declare const image_url: typeof url;
|
|
49
|
+
declare const image_urlLoremFlickr: typeof urlLoremFlickr;
|
|
50
|
+
declare const image_urlPicsumPhotos: typeof urlPicsumPhotos;
|
|
51
|
+
declare const image_urlPlaceholder: typeof urlPlaceholder;
|
|
52
|
+
declare namespace image {
|
|
53
|
+
export { image_avatar as avatar, image_avatarGitHub as avatarGitHub, image_avatarLegacy as avatarLegacy, image_dataUri as dataUri, image_url as url, image_urlLoremFlickr as urlLoremFlickr, image_urlPicsumPhotos as urlPicsumPhotos, image_urlPlaceholder as urlPlaceholder };
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { avatar as a, avatarGitHub as b, avatarLegacy as c, dataUri as d, urlLoremFlickr as e, urlPicsumPhotos as f, urlPlaceholder as g, image as i, url as u };
|