struct-fakerator 2.4.6 → 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/airline-BUwgrfsj.d.ts +26 -0
- package/dist/airline-C0ManYED.d.mts +26 -0
- package/dist/animal-arG64NM6.d.mts +53 -0
- package/dist/animal-erAZXs_d.d.ts +53 -0
- package/dist/chunk-3FFGDXA5.mjs +48 -0
- package/dist/chunk-3HQMGDUF.js +98 -0
- package/dist/chunk-3MYH2PDS.js +24 -0
- package/dist/chunk-4ESFUYHU.js +48 -0
- package/dist/chunk-4UGSTE5Q.js +1968 -0
- package/dist/chunk-4XQBQAPC.mjs +33 -0
- package/dist/chunk-5M3DUBFV.mjs +24 -0
- package/dist/chunk-62NUC6UZ.js +51 -0
- package/dist/chunk-7IQW6MWT.mjs +81 -0
- package/dist/chunk-7V3T6MQ3.mjs +21 -0
- package/dist/chunk-AWKBY27N.js +35 -0
- package/dist/chunk-BGE4WZH7.js +27 -0
- package/dist/chunk-BNUCXH6Q.js +49 -0
- package/dist/chunk-BS7IEV74.mjs +1968 -0
- package/dist/chunk-CC255UJD.mjs +27 -0
- package/dist/chunk-CK65OFQQ.mjs +56 -0
- package/dist/chunk-FG2O523S.js +48 -0
- package/dist/chunk-GF4PSVJ7.js +81 -0
- package/dist/chunk-GL777PKT.js +21 -0
- package/dist/chunk-GR5EJCJ2.js +24 -0
- package/dist/chunk-HAIK2LXD.js +63 -0
- package/dist/chunk-HK4L636Y.mjs +49 -0
- package/dist/chunk-HMGGQ5ZJ.js +45 -0
- package/dist/chunk-IZVHA6FO.js +45 -0
- package/dist/chunk-JFYN4RCQ.mjs +24 -0
- package/dist/chunk-KB4QNLUX.js +30 -0
- package/dist/chunk-KK4QURZV.mjs +63 -0
- package/dist/chunk-KLYK2EDS.js +18 -0
- package/dist/chunk-L63CILKL.js +36 -0
- package/dist/chunk-LCQV5ZXR.js +63 -0
- package/dist/chunk-M7SBPX3E.mjs +45 -0
- package/dist/chunk-MJWNNESP.js +57 -0
- package/dist/chunk-MKTV5ZCC.mjs +30 -0
- package/dist/chunk-MNRDBDJD.js +33 -0
- package/dist/chunk-MTNLYYS2.mjs +51 -0
- package/dist/chunk-NPYKAZ5O.mjs +42 -0
- package/dist/chunk-OLSCXZ3D.mjs +98 -0
- package/dist/chunk-PS673ZMG.mjs +78 -0
- package/dist/chunk-RCDDW7NN.js +36 -0
- package/dist/chunk-RWSXJDFQ.mjs +57 -0
- package/dist/chunk-SAYLPMKP.js +74 -0
- package/dist/chunk-SOFVWH6A.js +56 -0
- package/dist/chunk-T4IVAGFU.mjs +48 -0
- package/dist/chunk-TKS2PTMF.mjs +18 -0
- package/dist/chunk-UOSN6FPU.js +42 -0
- package/dist/chunk-V4JFB4H6.mjs +45 -0
- package/dist/chunk-XG6RUZSI.mjs +16 -0
- package/dist/chunk-XJ3B37LJ.js +45 -0
- package/dist/chunk-XKWYGGIM.mjs +36 -0
- package/dist/chunk-XL5V4E3Z.js +16 -0
- package/dist/chunk-XMR5DWYS.mjs +74 -0
- package/dist/chunk-XYNVAWSB.mjs +45 -0
- package/dist/chunk-YNT5L5UH.js +78 -0
- package/dist/chunk-YRRALMO4.mjs +36 -0
- package/dist/chunk-Z5HPFZ65.mjs +35 -0
- package/dist/chunk-ZKVLWCGR.mjs +63 -0
- package/dist/color-BmTZnKiW.d.mts +61 -0
- package/dist/color-WFinq_Y4.d.ts +61 -0
- package/dist/commerce-Ch71_dd2.d.ts +40 -0
- package/dist/commerce-IGFkOXjQ.d.mts +40 -0
- package/dist/common-CbuXAeQ-.d.mts +11 -0
- package/dist/common-Kp8LaAzK.d.ts +11 -0
- package/dist/company---O1IwYo.d.ts +35 -0
- package/dist/company-D7Cc_hsx.d.mts +35 -0
- package/dist/database-B8Wr1oXH.d.mts +23 -0
- package/dist/database-Dnsy3cQb.d.ts +23 -0
- package/dist/datatype-CAu_sc1g.d.ts +13 -0
- package/dist/datatype-gjFHrdMj.d.mts +13 -0
- package/dist/datetime-BDgsnqq_.d.mts +78 -0
- package/dist/datetime-BkidbR1O.d.ts +78 -0
- package/dist/finance-BZEmlfNQ.d.mts +90 -0
- package/dist/finance-Cn3DFbX4.d.ts +90 -0
- package/dist/food-CfxZX81O.d.mts +35 -0
- package/dist/food-tr11e_Qp.d.ts +35 -0
- package/dist/git-DoCI9ZYT.d.ts +31 -0
- package/dist/git-Feo1ntKa.d.mts +31 -0
- package/dist/hacker-X3zBTMoE.d.ts +26 -0
- package/dist/hacker-mGVIO_wL.d.mts +26 -0
- package/dist/image-BeZbZlyo.d.ts +56 -0
- package/dist/image-govZ7HjA.d.mts +56 -0
- package/dist/index.d.mts +57 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.js +162 -0
- package/dist/index.mjs +162 -0
- package/dist/internet-CJEETk0v.d.mts +101 -0
- package/dist/internet-jHHnqVJG.d.ts +101 -0
- package/dist/location-CTA_Bq7w.d.mts +80 -0
- package/dist/location-CsVekxIU.d.ts +80 -0
- package/dist/lorem-BE4n3dVs.d.mts +62 -0
- package/dist/lorem-Btv0fltY.d.ts +62 -0
- package/dist/music-CQ3lnDvg.d.mts +20 -0
- package/dist/music-D3zj5REe.d.ts +20 -0
- package/dist/number-Bj9ydAOH.d.ts +47 -0
- package/dist/number-D9Wn_qjS.d.mts +47 -0
- package/dist/person-LLleVozS.d.ts +58 -0
- package/dist/person-OKRyYmeX.d.mts +58 -0
- package/dist/phone-Bc8UXPF3.d.ts +16 -0
- package/dist/phone-QbHXAqVF.d.mts +16 -0
- package/dist/science-BgXAZ3YR.d.ts +15 -0
- package/dist/science-CSN41yUZ.d.mts +15 -0
- package/dist/string-9w976kVk.d.mts +87 -0
- package/dist/string-Cm9TczI6.d.ts +87 -0
- package/dist/system-DOyHjHxs.d.mts +55 -0
- package/dist/system-DipW6DYb.d.ts +55 -0
- package/dist/type-C8Ny1fB6.d.mts +33 -0
- package/dist/type-C8Ny1fB6.d.ts +33 -0
- package/dist/utils/airline.d.mts +3 -0
- package/dist/utils/airline.d.ts +3 -0
- package/dist/utils/airline.js +13 -0
- package/dist/utils/airline.mjs +13 -0
- package/dist/utils/animal.d.mts +2 -0
- package/dist/utils/animal.d.ts +2 -0
- package/dist/utils/animal.js +37 -0
- package/dist/utils/animal.mjs +37 -0
- package/dist/utils/color.d.mts +3 -0
- package/dist/utils/color.d.ts +3 -0
- package/dist/utils/color.js +29 -0
- package/dist/utils/color.mjs +29 -0
- package/dist/utils/commerce.d.mts +2 -0
- package/dist/utils/commerce.d.ts +2 -0
- package/dist/utils/commerce.js +23 -0
- package/dist/utils/commerce.mjs +23 -0
- package/dist/utils/common.d.mts +2 -0
- package/dist/utils/common.d.ts +2 -0
- package/dist/utils/common.js +7 -0
- package/dist/utils/common.mjs +7 -0
- package/dist/utils/company.d.mts +2 -0
- package/dist/utils/company.d.ts +2 -0
- package/dist/utils/company.js +25 -0
- package/dist/utils/company.mjs +25 -0
- package/dist/utils/database.d.mts +2 -0
- package/dist/utils/database.d.ts +2 -0
- package/dist/utils/database.js +17 -0
- package/dist/utils/database.mjs +17 -0
- package/dist/utils/datatype.d.mts +2 -0
- package/dist/utils/datatype.d.ts +2 -0
- package/dist/utils/datatype.js +9 -0
- package/dist/utils/datatype.mjs +9 -0
- package/dist/utils/datetime.d.mts +2 -0
- package/dist/utils/datetime.d.ts +2 -0
- package/dist/utils/datetime.js +29 -0
- package/dist/utils/datetime.mjs +29 -0
- package/dist/utils/finance.d.mts +3 -0
- package/dist/utils/finance.d.ts +3 -0
- package/dist/utils/finance.js +45 -0
- package/dist/utils/finance.mjs +45 -0
- package/dist/utils/food.d.mts +2 -0
- package/dist/utils/food.d.ts +2 -0
- package/dist/utils/food.js +25 -0
- package/dist/utils/food.mjs +25 -0
- package/dist/utils/git.d.mts +2 -0
- package/dist/utils/git.d.ts +2 -0
- package/dist/utils/git.js +17 -0
- package/dist/utils/git.mjs +17 -0
- package/dist/utils/hacker.d.mts +2 -0
- package/dist/utils/hacker.d.ts +2 -0
- package/dist/utils/hacker.js +19 -0
- package/dist/utils/hacker.mjs +19 -0
- package/dist/utils/image.d.mts +2 -0
- package/dist/utils/image.d.ts +2 -0
- package/dist/utils/image.js +23 -0
- package/dist/utils/image.mjs +23 -0
- package/dist/utils/index.d.mts +28 -0
- package/dist/utils/index.d.ts +28 -0
- package/dist/utils/index.js +108 -0
- package/dist/utils/index.mjs +108 -0
- package/dist/utils/internet.d.mts +2 -0
- package/dist/utils/internet.d.ts +2 -0
- package/dist/utils/internet.js +47 -0
- package/dist/utils/internet.mjs +47 -0
- package/dist/utils/location.d.mts +2 -0
- package/dist/utils/location.d.ts +2 -0
- package/dist/utils/location.js +39 -0
- package/dist/utils/location.mjs +39 -0
- package/dist/utils/lorem.d.mts +2 -0
- package/dist/utils/lorem.d.ts +2 -0
- package/dist/utils/lorem.js +25 -0
- package/dist/utils/lorem.mjs +25 -0
- package/dist/utils/music.d.mts +2 -0
- package/dist/utils/music.d.ts +2 -0
- package/dist/utils/music.js +15 -0
- package/dist/utils/music.mjs +15 -0
- package/dist/utils/number.d.mts +2 -0
- package/dist/utils/number.d.ts +2 -0
- package/dist/utils/number.js +19 -0
- package/dist/utils/number.mjs +19 -0
- package/dist/utils/person.d.mts +3 -0
- package/dist/utils/person.d.ts +3 -0
- package/dist/utils/person.js +37 -0
- package/dist/utils/person.mjs +37 -0
- package/dist/utils/phone.d.mts +2 -0
- package/dist/utils/phone.d.ts +2 -0
- package/dist/utils/phone.js +11 -0
- package/dist/utils/phone.mjs +11 -0
- package/dist/utils/science.d.mts +3 -0
- package/dist/utils/science.d.ts +3 -0
- package/dist/utils/science.js +11 -0
- package/dist/utils/science.mjs +11 -0
- package/dist/utils/string.d.mts +2 -0
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +27 -0
- package/dist/utils/string.mjs +27 -0
- package/dist/utils/system.d.mts +2 -0
- package/dist/utils/system.d.ts +2 -0
- package/dist/utils/system.js +31 -0
- package/dist/utils/system.mjs +31 -0
- package/dist/utils/utils.d.mts +2 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils/utils.js +7 -0
- package/dist/utils/utils.mjs +7 -0
- package/dist/utils/vehicle.d.mts +2 -0
- package/dist/utils/vehicle.d.ts +2 -0
- package/dist/utils/vehicle.js +25 -0
- package/dist/utils/vehicle.mjs +25 -0
- package/dist/utils/word.d.mts +75 -0
- package/dist/utils/word.d.ts +75 -0
- package/dist/utils/word.js +29 -0
- package/dist/utils/word.mjs +29 -0
- package/dist/utils-BiDlGzTl.d.mts +10 -0
- package/dist/utils-DinJc3Cq.d.ts +10 -0
- package/dist/vehicle-DmBDda98.d.mts +35 -0
- package/dist/vehicle-rnBz1Za2.d.ts +35 -0
- package/package.json +13 -13
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as _faker_js_faker__ from '@faker-js/faker/.';
|
|
2
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.js';
|
|
3
|
+
|
|
4
|
+
/** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
|
|
5
|
+
declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
|
|
6
|
+
/** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
|
|
7
|
+
declare const flightNumber: (options?: {
|
|
8
|
+
length?: number | {
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
};
|
|
12
|
+
addLeadingZeros?: boolean;
|
|
13
|
+
}) => ValueConfig<string>;
|
|
14
|
+
/** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
|
|
15
|
+
declare const seat: (options?: {
|
|
16
|
+
aircraftType?: _faker_js_faker__.AircraftType;
|
|
17
|
+
}) => ValueConfig<string>;
|
|
18
|
+
|
|
19
|
+
declare const airline_aircraftType: typeof aircraftType;
|
|
20
|
+
declare const airline_flightNumber: typeof flightNumber;
|
|
21
|
+
declare const airline_seat: typeof seat;
|
|
22
|
+
declare namespace airline {
|
|
23
|
+
export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { airline as a, aircraftType as b, flightNumber as f, seat as s };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as _faker_js_faker__ from '@faker-js/faker/.';
|
|
2
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
|
|
3
|
+
|
|
4
|
+
/** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
|
|
5
|
+
declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
|
|
6
|
+
/** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
|
|
7
|
+
declare const flightNumber: (options?: {
|
|
8
|
+
length?: number | {
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
};
|
|
12
|
+
addLeadingZeros?: boolean;
|
|
13
|
+
}) => ValueConfig<string>;
|
|
14
|
+
/** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
|
|
15
|
+
declare const seat: (options?: {
|
|
16
|
+
aircraftType?: _faker_js_faker__.AircraftType;
|
|
17
|
+
}) => ValueConfig<string>;
|
|
18
|
+
|
|
19
|
+
declare const airline_aircraftType: typeof aircraftType;
|
|
20
|
+
declare const airline_flightNumber: typeof flightNumber;
|
|
21
|
+
declare const airline_seat: typeof seat;
|
|
22
|
+
declare namespace airline {
|
|
23
|
+
export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { airline as a, aircraftType as b, flightNumber as f, seat as s };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
|
|
2
|
+
|
|
3
|
+
/** Animal [bear](https://fakerjs.dev/api/animal.html#bear) */
|
|
4
|
+
declare const bear: () => ValueConfig<string>;
|
|
5
|
+
/** Animal [bird](https://fakerjs.dev/api/animal.html#bird) */
|
|
6
|
+
declare const bird: () => ValueConfig<string>;
|
|
7
|
+
/** Animal [cat](https://fakerjs.dev/api/animal.html#cat) */
|
|
8
|
+
declare const cat: () => ValueConfig<string>;
|
|
9
|
+
/** Animal [cetacean](https://fakerjs.dev/api/animal.html#cetacean) */
|
|
10
|
+
declare const cetacean: () => ValueConfig<string>;
|
|
11
|
+
/** Animal [cow](https://fakerjs.dev/api/animal.html#cow) */
|
|
12
|
+
declare const cow: () => ValueConfig<string>;
|
|
13
|
+
/** Animal [crocodilia](https://fakerjs.dev/api/animal.html#crocodilia) */
|
|
14
|
+
declare const crocodilia: () => ValueConfig<string>;
|
|
15
|
+
/** Animal [dog](https://fakerjs.dev/api/animal.html#dog) */
|
|
16
|
+
declare const dog: () => ValueConfig<string>;
|
|
17
|
+
/** Animal [fish](https://fakerjs.dev/api/animal.html#fish) */
|
|
18
|
+
declare const fish: () => ValueConfig<string>;
|
|
19
|
+
/** Animal [horse](https://fakerjs.dev/api/animal.html#horse) */
|
|
20
|
+
declare const horse: () => ValueConfig<string>;
|
|
21
|
+
/** Animal [insect](https://fakerjs.dev/api/animal.html#insect) */
|
|
22
|
+
declare const insect: () => ValueConfig<string>;
|
|
23
|
+
/** Animal [lion](https://fakerjs.dev/api/animal.html#lion) */
|
|
24
|
+
declare const lion: () => ValueConfig<string>;
|
|
25
|
+
/** Animal [rabbit](https://fakerjs.dev/api/animal.html#rabbit) */
|
|
26
|
+
declare const rabbit: () => ValueConfig<string>;
|
|
27
|
+
/** Animal [rodent](https://fakerjs.dev/api/animal.html#rodent) */
|
|
28
|
+
declare const rodent: () => ValueConfig<string>;
|
|
29
|
+
/** Animal [snake](https://fakerjs.dev/api/animal.html#snake) */
|
|
30
|
+
declare const snake: () => ValueConfig<string>;
|
|
31
|
+
/** Animal [type](https://fakerjs.dev/api/animal.html#type) */
|
|
32
|
+
declare const type: () => ValueConfig<string>;
|
|
33
|
+
|
|
34
|
+
declare const animal_bear: typeof bear;
|
|
35
|
+
declare const animal_bird: typeof bird;
|
|
36
|
+
declare const animal_cat: typeof cat;
|
|
37
|
+
declare const animal_cetacean: typeof cetacean;
|
|
38
|
+
declare const animal_cow: typeof cow;
|
|
39
|
+
declare const animal_crocodilia: typeof crocodilia;
|
|
40
|
+
declare const animal_dog: typeof dog;
|
|
41
|
+
declare const animal_fish: typeof fish;
|
|
42
|
+
declare const animal_horse: typeof horse;
|
|
43
|
+
declare const animal_insect: typeof insect;
|
|
44
|
+
declare const animal_lion: typeof lion;
|
|
45
|
+
declare const animal_rabbit: typeof rabbit;
|
|
46
|
+
declare const animal_rodent: typeof rodent;
|
|
47
|
+
declare const animal_snake: typeof snake;
|
|
48
|
+
declare const animal_type: typeof type;
|
|
49
|
+
declare namespace animal {
|
|
50
|
+
export { animal_bear as bear, animal_bird as bird, animal_cat as cat, animal_cetacean as cetacean, animal_cow as cow, animal_crocodilia as crocodilia, animal_dog as dog, animal_fish as fish, animal_horse as horse, animal_insect as insect, animal_lion as lion, animal_rabbit as rabbit, animal_rodent as rodent, animal_snake as snake, animal_type as type };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { animal as a, bear as b, bird as c, cat as d, cetacean as e, cow as f, crocodilia as g, dog as h, fish as i, horse as j, insect as k, lion as l, rodent as m, rabbit as r, snake as s, type as t };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { V as ValueConfig } from './type-C8Ny1fB6.js';
|
|
2
|
+
|
|
3
|
+
/** Animal [bear](https://fakerjs.dev/api/animal.html#bear) */
|
|
4
|
+
declare const bear: () => ValueConfig<string>;
|
|
5
|
+
/** Animal [bird](https://fakerjs.dev/api/animal.html#bird) */
|
|
6
|
+
declare const bird: () => ValueConfig<string>;
|
|
7
|
+
/** Animal [cat](https://fakerjs.dev/api/animal.html#cat) */
|
|
8
|
+
declare const cat: () => ValueConfig<string>;
|
|
9
|
+
/** Animal [cetacean](https://fakerjs.dev/api/animal.html#cetacean) */
|
|
10
|
+
declare const cetacean: () => ValueConfig<string>;
|
|
11
|
+
/** Animal [cow](https://fakerjs.dev/api/animal.html#cow) */
|
|
12
|
+
declare const cow: () => ValueConfig<string>;
|
|
13
|
+
/** Animal [crocodilia](https://fakerjs.dev/api/animal.html#crocodilia) */
|
|
14
|
+
declare const crocodilia: () => ValueConfig<string>;
|
|
15
|
+
/** Animal [dog](https://fakerjs.dev/api/animal.html#dog) */
|
|
16
|
+
declare const dog: () => ValueConfig<string>;
|
|
17
|
+
/** Animal [fish](https://fakerjs.dev/api/animal.html#fish) */
|
|
18
|
+
declare const fish: () => ValueConfig<string>;
|
|
19
|
+
/** Animal [horse](https://fakerjs.dev/api/animal.html#horse) */
|
|
20
|
+
declare const horse: () => ValueConfig<string>;
|
|
21
|
+
/** Animal [insect](https://fakerjs.dev/api/animal.html#insect) */
|
|
22
|
+
declare const insect: () => ValueConfig<string>;
|
|
23
|
+
/** Animal [lion](https://fakerjs.dev/api/animal.html#lion) */
|
|
24
|
+
declare const lion: () => ValueConfig<string>;
|
|
25
|
+
/** Animal [rabbit](https://fakerjs.dev/api/animal.html#rabbit) */
|
|
26
|
+
declare const rabbit: () => ValueConfig<string>;
|
|
27
|
+
/** Animal [rodent](https://fakerjs.dev/api/animal.html#rodent) */
|
|
28
|
+
declare const rodent: () => ValueConfig<string>;
|
|
29
|
+
/** Animal [snake](https://fakerjs.dev/api/animal.html#snake) */
|
|
30
|
+
declare const snake: () => ValueConfig<string>;
|
|
31
|
+
/** Animal [type](https://fakerjs.dev/api/animal.html#type) */
|
|
32
|
+
declare const type: () => ValueConfig<string>;
|
|
33
|
+
|
|
34
|
+
declare const animal_bear: typeof bear;
|
|
35
|
+
declare const animal_bird: typeof bird;
|
|
36
|
+
declare const animal_cat: typeof cat;
|
|
37
|
+
declare const animal_cetacean: typeof cetacean;
|
|
38
|
+
declare const animal_cow: typeof cow;
|
|
39
|
+
declare const animal_crocodilia: typeof crocodilia;
|
|
40
|
+
declare const animal_dog: typeof dog;
|
|
41
|
+
declare const animal_fish: typeof fish;
|
|
42
|
+
declare const animal_horse: typeof horse;
|
|
43
|
+
declare const animal_insect: typeof insect;
|
|
44
|
+
declare const animal_lion: typeof lion;
|
|
45
|
+
declare const animal_rabbit: typeof rabbit;
|
|
46
|
+
declare const animal_rodent: typeof rodent;
|
|
47
|
+
declare const animal_snake: typeof snake;
|
|
48
|
+
declare const animal_type: typeof type;
|
|
49
|
+
declare namespace animal {
|
|
50
|
+
export { animal_bear as bear, animal_bird as bird, animal_cat as cat, animal_cetacean as cetacean, animal_cow as cow, animal_crocodilia as crocodilia, animal_dog as dog, animal_fish as fish, animal_horse as horse, animal_insect as insect, animal_lion as lion, animal_rabbit as rabbit, animal_rodent as rodent, animal_snake as snake, animal_type as type };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { animal as a, bear as b, bird as c, cat as d, cetacean as e, cow as f, crocodilia as g, dog as h, fish as i, horse as j, insect as k, lion as l, rodent as m, rabbit as r, snake as s, type as t };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
makeValueConfigFn
|
|
3
|
+
} from "./chunk-TKS2PTMF.mjs";
|
|
4
|
+
import {
|
|
5
|
+
f
|
|
6
|
+
} from "./chunk-BS7IEV74.mjs";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./chunk-OLSCXZ3D.mjs";
|
|
10
|
+
|
|
11
|
+
// src/utils/commerce.ts
|
|
12
|
+
var commerce_exports = {};
|
|
13
|
+
__export(commerce_exports, {
|
|
14
|
+
department: () => department,
|
|
15
|
+
isbn: () => isbn,
|
|
16
|
+
price: () => price,
|
|
17
|
+
product: () => product,
|
|
18
|
+
productAdjective: () => productAdjective,
|
|
19
|
+
productDescription: () => productDescription,
|
|
20
|
+
productMaterial: () => productMaterial,
|
|
21
|
+
productName: () => productName
|
|
22
|
+
});
|
|
23
|
+
var department = makeValueConfigFn(f.commerce.department);
|
|
24
|
+
var isbn = makeValueConfigFn(f.commerce.isbn);
|
|
25
|
+
var price = makeValueConfigFn(f.commerce.price);
|
|
26
|
+
var product = makeValueConfigFn(f.commerce.product);
|
|
27
|
+
var productAdjective = makeValueConfigFn(
|
|
28
|
+
f.commerce.productAdjective
|
|
29
|
+
);
|
|
30
|
+
var productDescription = makeValueConfigFn(
|
|
31
|
+
f.commerce.productDescription
|
|
32
|
+
);
|
|
33
|
+
var productMaterial = makeValueConfigFn(
|
|
34
|
+
f.commerce.productMaterial
|
|
35
|
+
);
|
|
36
|
+
var productName = makeValueConfigFn(f.commerce.productName);
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
department,
|
|
40
|
+
isbn,
|
|
41
|
+
price,
|
|
42
|
+
product,
|
|
43
|
+
productAdjective,
|
|
44
|
+
productDescription,
|
|
45
|
+
productMaterial,
|
|
46
|
+
productName,
|
|
47
|
+
commerce_exports
|
|
48
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
|
|
2
|
+
var __export = (target, all) => {
|
|
3
|
+
for (var name in all)
|
|
4
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
// src/config_scheme.ts
|
|
8
|
+
var _zod = require('zod');
|
|
9
|
+
var valueConfigScheme = _zod.z.object({
|
|
10
|
+
type: _zod.z.string().regex(/^value$/, { message: "invalid type string" }),
|
|
11
|
+
generateFn: _zod.z.function()
|
|
12
|
+
});
|
|
13
|
+
var selectionConfigScheme = _zod.z.object({
|
|
14
|
+
type: _zod.z.string().regex(/^select$/, { message: "invalid type string" }),
|
|
15
|
+
items: _zod.z.any().array().nonempty({ message: "items can not be empty" })
|
|
16
|
+
});
|
|
17
|
+
var arrayConfigScheme = _zod.z.object({
|
|
18
|
+
type: _zod.z.string().regex(/^arr$/, { message: "invalid type string" }),
|
|
19
|
+
item: _zod.z.object({}),
|
|
20
|
+
len: _zod.z.number().nonnegative()
|
|
21
|
+
});
|
|
22
|
+
var tupleConfigScheme = _zod.z.object({
|
|
23
|
+
type: _zod.z.string().regex(/^tuple$/, { message: "invalid type string" }),
|
|
24
|
+
configItems: _zod.z.any().array()
|
|
25
|
+
});
|
|
26
|
+
var objConfigScheme = _zod.z.object({
|
|
27
|
+
type: _zod.z.string().regex(/^obj$/, { message: "invalid type string" }),
|
|
28
|
+
content: _zod.z.object({})
|
|
29
|
+
});
|
|
30
|
+
var boundedSeriesScheme = _zod.z.object({
|
|
31
|
+
type: _zod.z.string().regex(/^bounded_series$/, { message: "invalid type string" }),
|
|
32
|
+
upperLimit: _zod.z.number().nonnegative(),
|
|
33
|
+
lowerLimit: _zod.z.number().nonnegative(),
|
|
34
|
+
createInitValue: _zod.z.function().args().returns(_zod.z.number()),
|
|
35
|
+
count: _zod.z.number().nonnegative()
|
|
36
|
+
}).refine(({ upperLimit, lowerLimit }) => upperLimit >= lowerLimit, {
|
|
37
|
+
message: "lowerLimit can not greater then upperLimit"
|
|
38
|
+
}).refine(({ createInitValue }) => typeof createInitValue() === "number", {
|
|
39
|
+
message: "createInitValue is not return number",
|
|
40
|
+
path: ["createInitValue"]
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
// src/create_config.ts
|
|
44
|
+
var createValueConfig = (generateFn) => {
|
|
45
|
+
const config = {
|
|
46
|
+
type: "value",
|
|
47
|
+
generateFn
|
|
48
|
+
};
|
|
49
|
+
valueConfigScheme.parse(config);
|
|
50
|
+
return config;
|
|
51
|
+
};
|
|
52
|
+
var createSelectionConfig = (items) => {
|
|
53
|
+
const config = { type: "select", items };
|
|
54
|
+
selectionConfigScheme.parse(config);
|
|
55
|
+
return config;
|
|
56
|
+
};
|
|
57
|
+
var createObjectConfig = (content) => {
|
|
58
|
+
const config = { type: "obj", content };
|
|
59
|
+
objConfigScheme.parse(config);
|
|
60
|
+
return config;
|
|
61
|
+
};
|
|
62
|
+
var createArrayConfig = (item, len) => {
|
|
63
|
+
const config = { type: "arr", item, len };
|
|
64
|
+
arrayConfigScheme.parse(config);
|
|
65
|
+
return config;
|
|
66
|
+
};
|
|
67
|
+
var createTupleConfig = (configItems) => {
|
|
68
|
+
const config = {
|
|
69
|
+
type: "tuple",
|
|
70
|
+
configItems
|
|
71
|
+
};
|
|
72
|
+
tupleConfigScheme.parse(config);
|
|
73
|
+
return config;
|
|
74
|
+
};
|
|
75
|
+
var createBoundedSeriesConfig = (config) => {
|
|
76
|
+
const newConfig = {
|
|
77
|
+
type: "bounded_series",
|
|
78
|
+
...config
|
|
79
|
+
};
|
|
80
|
+
boundedSeriesScheme.parse(newConfig);
|
|
81
|
+
return newConfig;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
exports.__export = __export; exports.valueConfigScheme = valueConfigScheme; exports.selectionConfigScheme = selectionConfigScheme; exports.arrayConfigScheme = arrayConfigScheme; exports.tupleConfigScheme = tupleConfigScheme; exports.objConfigScheme = objConfigScheme; exports.boundedSeriesScheme = boundedSeriesScheme; exports.createValueConfig = createValueConfig; exports.createSelectionConfig = createSelectionConfig; exports.createObjectConfig = createObjectConfig; exports.createArrayConfig = createArrayConfig; exports.createTupleConfig = createTupleConfig; exports.createBoundedSeriesConfig = createBoundedSeriesConfig;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkKLYK2EDSjs = require('./chunk-KLYK2EDS.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk4UGSTE5Qjs = require('./chunk-4UGSTE5Q.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk3HQMGDUFjs = require('./chunk-3HQMGDUF.js');
|
|
10
|
+
|
|
11
|
+
// src/utils/science.ts
|
|
12
|
+
var science_exports = {};
|
|
13
|
+
_chunk3HQMGDUFjs.__export.call(void 0, science_exports, {
|
|
14
|
+
chemicalElement: () => chemicalElement,
|
|
15
|
+
unit: () => unit
|
|
16
|
+
});
|
|
17
|
+
var chemicalElement = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.science.chemicalElement);
|
|
18
|
+
var unit = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.science.unit);
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.chemicalElement = chemicalElement; exports.unit = unit; exports.science_exports = science_exports;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkKLYK2EDSjs = require('./chunk-KLYK2EDS.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk4UGSTE5Qjs = require('./chunk-4UGSTE5Q.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk3HQMGDUFjs = require('./chunk-3HQMGDUF.js');
|
|
10
|
+
|
|
11
|
+
// src/utils/commerce.ts
|
|
12
|
+
var commerce_exports = {};
|
|
13
|
+
_chunk3HQMGDUFjs.__export.call(void 0, commerce_exports, {
|
|
14
|
+
department: () => department,
|
|
15
|
+
isbn: () => isbn,
|
|
16
|
+
price: () => price,
|
|
17
|
+
product: () => product,
|
|
18
|
+
productAdjective: () => productAdjective,
|
|
19
|
+
productDescription: () => productDescription,
|
|
20
|
+
productMaterial: () => productMaterial,
|
|
21
|
+
productName: () => productName
|
|
22
|
+
});
|
|
23
|
+
var department = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.commerce.department);
|
|
24
|
+
var isbn = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.commerce.isbn);
|
|
25
|
+
var price = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.commerce.price);
|
|
26
|
+
var product = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.commerce.product);
|
|
27
|
+
var productAdjective = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0,
|
|
28
|
+
_chunk4UGSTE5Qjs.f.commerce.productAdjective
|
|
29
|
+
);
|
|
30
|
+
var productDescription = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0,
|
|
31
|
+
_chunk4UGSTE5Qjs.f.commerce.productDescription
|
|
32
|
+
);
|
|
33
|
+
var productMaterial = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0,
|
|
34
|
+
_chunk4UGSTE5Qjs.f.commerce.productMaterial
|
|
35
|
+
);
|
|
36
|
+
var productName = _chunkKLYK2EDSjs.makeValueConfigFn.call(void 0, _chunk4UGSTE5Qjs.f.commerce.productName);
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.department = department; exports.isbn = isbn; exports.price = price; exports.product = product; exports.productAdjective = productAdjective; exports.productDescription = productDescription; exports.productMaterial = productMaterial; exports.productName = productName; exports.commerce_exports = commerce_exports;
|