struct-fakerator 2.5.6 → 2.6.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.
Files changed (232) hide show
  1. package/dist/chunk-25HDDMTE.js +45 -0
  2. package/dist/chunk-266JLHQ7.mjs +27 -0
  3. package/dist/chunk-266W7TLD.mjs +45 -0
  4. package/dist/chunk-2HHTDZ5W.mjs +27 -0
  5. package/dist/chunk-2SF54GZN.mjs +24 -0
  6. package/dist/chunk-2VTSGFBK.mjs +56 -0
  7. package/dist/chunk-3APOILUV.js +81 -0
  8. package/dist/chunk-3PSJD6BF.js +67 -0
  9. package/dist/chunk-3U6BNHWG.mjs +2040 -0
  10. package/dist/chunk-44Q7WXPL.mjs +30 -0
  11. package/dist/chunk-474WFN7X.js +33 -0
  12. package/dist/chunk-4XEKUGKR.js +35 -0
  13. package/dist/chunk-52ZOIHJM.js +26 -0
  14. package/dist/chunk-5A3HJWPX.mjs +33 -0
  15. package/dist/chunk-5KKLW4SD.js +26 -0
  16. package/dist/chunk-5NC3JFHS.mjs +63 -0
  17. package/dist/chunk-5TG43IWT.js +36 -0
  18. package/dist/chunk-5UFZ4NET.mjs +26 -0
  19. package/dist/chunk-5VTJIH2Q.mjs +63 -0
  20. package/dist/chunk-6LNIYJMV.mjs +21 -0
  21. package/dist/chunk-6OOU3BX5.mjs +35 -0
  22. package/dist/chunk-6TGTIMX2.mjs +151 -0
  23. package/dist/chunk-6UVWD65N.mjs +63 -0
  24. package/dist/chunk-7LDYF5VW.js +78 -0
  25. package/dist/chunk-7RP7F74O.js +49 -0
  26. package/dist/chunk-7ZAVU2DI.mjs +81 -0
  27. package/dist/chunk-ABZZ2Y2O.mjs +45 -0
  28. package/dist/chunk-AH3KD37M.js +45 -0
  29. package/dist/chunk-C6FQYK5T.js +81 -0
  30. package/dist/chunk-CRW5Q4VB.js +30 -0
  31. package/dist/chunk-D74AUXZW.mjs +35 -0
  32. package/dist/chunk-DM5VFX6B.js +17008 -0
  33. package/dist/chunk-DN6VWFMI.js +56 -0
  34. package/dist/chunk-DQBTHPWE.js +24 -0
  35. package/dist/chunk-DX6NQK6H.js +49 -0
  36. package/dist/chunk-DXVB5THL.js +36 -0
  37. package/dist/chunk-E7JW4TGQ.mjs +49 -0
  38. package/dist/chunk-EPWKT75L.js +63 -0
  39. package/dist/chunk-ETS5PP3N.js +42 -0
  40. package/dist/chunk-EXLV2IRM.mjs +26 -0
  41. package/dist/chunk-F4WSUHUB.js +27 -0
  42. package/dist/chunk-F54WJZPR.mjs +48 -0
  43. package/dist/chunk-FT5QWXEO.mjs +21 -0
  44. package/dist/chunk-FXTLAJTY.mjs +74 -0
  45. package/dist/chunk-G73JPAKW.mjs +16831 -0
  46. package/dist/chunk-GMOMLI4W.js +56 -0
  47. package/dist/chunk-GNLLMLQX.js +48 -0
  48. package/dist/chunk-GNPP2GGZ.js +16831 -0
  49. package/dist/chunk-GUIYTTMP.mjs +24 -0
  50. package/dist/chunk-HMDAKHLF.js +151 -0
  51. package/dist/chunk-HVWSAC7Q.js +74 -0
  52. package/dist/chunk-IN3R3ABZ.mjs +45 -0
  53. package/dist/chunk-IOLQKV4S.js +51 -0
  54. package/dist/chunk-JIPBMHNL.mjs +63 -0
  55. package/dist/chunk-JIWCYW33.js +35 -0
  56. package/dist/chunk-JSZXNY5A.js +33 -0
  57. package/dist/chunk-JTURHVCR.mjs +67 -0
  58. package/dist/chunk-JY2DLJQ7.js +74 -0
  59. package/dist/chunk-KDRX2A7A.mjs +45 -0
  60. package/dist/chunk-KMAT3MEQ.mjs +24 -0
  61. package/dist/chunk-KMGBR4B7.mjs +49 -0
  62. package/dist/chunk-KO4BOJXG.mjs +18 -0
  63. package/dist/chunk-KSBJZ7PZ.mjs +48 -0
  64. package/dist/chunk-KUNWO6DB.js +20 -0
  65. package/dist/chunk-L5EOJC4C.mjs +78 -0
  66. package/dist/chunk-LDVSCWU7.mjs +51 -0
  67. package/dist/chunk-LSP4VVPM.mjs +45 -0
  68. package/dist/chunk-MCHBNMZ7.js +48 -0
  69. package/dist/chunk-MHBVLDC4.js +30 -0
  70. package/dist/chunk-MLJAHDYX.mjs +167 -0
  71. package/dist/chunk-NBUVTD24.js +24 -0
  72. package/dist/chunk-NEFBZJ7G.mjs +42 -0
  73. package/dist/chunk-NGJNM6BX.mjs +48 -0
  74. package/dist/chunk-NP7ZKTAA.js +36 -0
  75. package/dist/chunk-OAPPDES4.js +51 -0
  76. package/dist/chunk-OCKZOACK.js +24 -0
  77. package/dist/chunk-OKDN5R6M.mjs +78 -0
  78. package/dist/chunk-OZ5VJVBQ.js +21 -0
  79. package/dist/chunk-OZU24BQP.mjs +81 -0
  80. package/dist/chunk-PFTS7XQK.js +27 -0
  81. package/dist/chunk-PLNNO4GL.js +36 -0
  82. package/dist/chunk-PPQIZT6A.mjs +48 -0
  83. package/dist/chunk-QH2RT36U.js +57 -0
  84. package/dist/chunk-QHW2YYKY.js +45 -0
  85. package/dist/chunk-QZQ32UPU.mjs +28 -0
  86. package/dist/chunk-RA35MXTT.mjs +51 -0
  87. package/dist/chunk-RFTRP37B.mjs +74 -0
  88. package/dist/chunk-RIOEYYMH.mjs +30 -0
  89. package/dist/chunk-RTENULN5.mjs +36 -0
  90. package/dist/chunk-S2AEEWWW.mjs +36 -0
  91. package/dist/chunk-SN2ALAEI.mjs +36 -0
  92. package/dist/chunk-SSZ5GGDT.js +45 -0
  93. package/dist/chunk-STKSA23M.mjs +33 -0
  94. package/dist/chunk-TLH73HQN.js +63 -0
  95. package/dist/chunk-TQIJQZBP.js +57 -0
  96. package/dist/chunk-TZ2RKEBF.js +2040 -0
  97. package/dist/chunk-U3TS432W.js +48 -0
  98. package/dist/chunk-U7MLTDS4.js +167 -0
  99. package/dist/chunk-UIYW7U2O.js +28 -0
  100. package/dist/chunk-UJ5Q7MZB.js +78 -0
  101. package/dist/chunk-UOY5QUAW.js +63 -0
  102. package/dist/chunk-URX5VRVB.js +24 -0
  103. package/dist/chunk-USLYTOPD.mjs +41 -0
  104. package/dist/chunk-VTSJ33HJ.js +18 -0
  105. package/dist/chunk-VX2IFBCP.mjs +17008 -0
  106. package/dist/chunk-VYV7BUJR.js +42 -0
  107. package/dist/chunk-W4CBCFMS.mjs +36 -0
  108. package/dist/chunk-WDFGFSCS.js +63 -0
  109. package/dist/chunk-WJ6C635R.mjs +45 -0
  110. package/dist/chunk-X7YFEBIL.mjs +28 -0
  111. package/dist/chunk-XB5AI72P.mjs +24 -0
  112. package/dist/chunk-XI5L2ENL.js +28 -0
  113. package/dist/chunk-XUZOVQYC.mjs +42 -0
  114. package/dist/chunk-XVQOUXV6.js +48 -0
  115. package/dist/chunk-YUFVOYYX.mjs +57 -0
  116. package/dist/chunk-YV3HYBCX.js +45 -0
  117. package/dist/chunk-YYSJWYK3.js +21 -0
  118. package/dist/chunk-ZADIRLZW.mjs +56 -0
  119. package/dist/chunk-ZDV7FI2F.js +45 -0
  120. package/dist/chunk-ZN3MHVES.mjs +57 -0
  121. package/dist/chunk-ZPQ6LVKQ.mjs +20 -0
  122. package/dist/chunk-ZWLHVT5O.js +41 -0
  123. package/dist/config-BTjogu5M.d.ts +7 -0
  124. package/dist/config-C1N2Brw-.d.mts +7 -0
  125. package/dist/config.d.mts +2 -0
  126. package/dist/config.d.ts +2 -0
  127. package/dist/config.js +19 -0
  128. package/dist/config.mjs +19 -0
  129. package/dist/config_scheme.d.mts +14 -82
  130. package/dist/config_scheme.d.ts +14 -82
  131. package/dist/config_scheme.js +2 -2
  132. package/dist/config_scheme.mjs +1 -1
  133. package/dist/create_config.d.mts +10 -2
  134. package/dist/create_config.d.ts +10 -2
  135. package/dist/create_config.js +3 -3
  136. package/dist/create_config.mjs +2 -2
  137. package/dist/create_config.test.js +35 -35
  138. package/dist/create_config.test.mjs +3 -3
  139. package/dist/create_generator_fn.d.mts +2 -2
  140. package/dist/create_generator_fn.d.ts +2 -2
  141. package/dist/create_generator_fn.js +4 -4
  142. package/dist/create_generator_fn.mjs +3 -3
  143. package/dist/create_generator_fn.test.js +71 -58
  144. package/dist/create_generator_fn.test.mjs +23 -10
  145. package/dist/generator_fn-CJDbnCZl.d.mts +7 -0
  146. package/dist/generator_fn-D-npAfnC.d.ts +7 -0
  147. package/dist/generator_fn.d.mts +2 -0
  148. package/dist/generator_fn.d.ts +2 -0
  149. package/dist/generator_fn.js +22 -0
  150. package/dist/generator_fn.mjs +22 -0
  151. package/dist/index.d.mts +3 -1
  152. package/dist/index.d.ts +3 -1
  153. package/dist/index.js +15 -7
  154. package/dist/index.mjs +20 -12
  155. package/dist/number-BfwwKvTJ.d.mts +48 -0
  156. package/dist/number-D5QmTRsK.d.ts +48 -0
  157. package/dist/test.d.mts +2 -0
  158. package/dist/test.d.ts +2 -0
  159. package/dist/test.js +15 -0
  160. package/dist/test.mjs +15 -0
  161. package/dist/type.d.mts +65 -5
  162. package/dist/type.d.ts +65 -5
  163. package/dist/utils/airline.js +6 -6
  164. package/dist/utils/airline.mjs +5 -5
  165. package/dist/utils/animal.js +6 -6
  166. package/dist/utils/animal.mjs +5 -5
  167. package/dist/utils/color.js +6 -6
  168. package/dist/utils/color.mjs +5 -5
  169. package/dist/utils/commerce.js +6 -6
  170. package/dist/utils/commerce.mjs +5 -5
  171. package/dist/utils/common.js +4 -4
  172. package/dist/utils/common.mjs +3 -3
  173. package/dist/utils/company.js +6 -6
  174. package/dist/utils/company.mjs +5 -5
  175. package/dist/utils/database.js +6 -6
  176. package/dist/utils/database.mjs +5 -5
  177. package/dist/utils/datatype.js +6 -6
  178. package/dist/utils/datatype.mjs +5 -5
  179. package/dist/utils/datetime.js +6 -6
  180. package/dist/utils/datetime.mjs +5 -5
  181. package/dist/utils/finance.js +6 -6
  182. package/dist/utils/finance.mjs +5 -5
  183. package/dist/utils/food.js +6 -6
  184. package/dist/utils/food.mjs +5 -5
  185. package/dist/utils/git.js +6 -6
  186. package/dist/utils/git.mjs +5 -5
  187. package/dist/utils/hacker.js +6 -6
  188. package/dist/utils/hacker.mjs +5 -5
  189. package/dist/utils/image.js +6 -6
  190. package/dist/utils/image.mjs +5 -5
  191. package/dist/utils/index.d.mts +1 -1
  192. package/dist/utils/index.d.ts +1 -1
  193. package/dist/utils/index.js +30 -30
  194. package/dist/utils/index.mjs +43 -43
  195. package/dist/utils/internet.js +6 -6
  196. package/dist/utils/internet.mjs +5 -5
  197. package/dist/utils/location.js +6 -6
  198. package/dist/utils/location.mjs +5 -5
  199. package/dist/utils/lorem.js +6 -6
  200. package/dist/utils/lorem.mjs +5 -5
  201. package/dist/utils/music.js +6 -6
  202. package/dist/utils/music.mjs +5 -5
  203. package/dist/utils/number.d.mts +1 -1
  204. package/dist/utils/number.d.ts +1 -1
  205. package/dist/utils/number.js +6 -6
  206. package/dist/utils/number.mjs +5 -5
  207. package/dist/utils/person.js +6 -6
  208. package/dist/utils/person.mjs +5 -5
  209. package/dist/utils/phone.js +6 -6
  210. package/dist/utils/phone.mjs +5 -5
  211. package/dist/utils/science.js +6 -6
  212. package/dist/utils/science.mjs +5 -5
  213. package/dist/utils/string.js +6 -6
  214. package/dist/utils/string.mjs +5 -5
  215. package/dist/utils/system.js +6 -6
  216. package/dist/utils/system.mjs +5 -5
  217. package/dist/utils/utils.js +4 -4
  218. package/dist/utils/utils.mjs +3 -3
  219. package/dist/utils/vehicle.js +6 -6
  220. package/dist/utils/vehicle.mjs +5 -5
  221. package/dist/utils/word.js +13 -13
  222. package/dist/utils/word.mjs +4 -4
  223. package/package.json +6 -6
  224. package/src/config.ts +8 -0
  225. package/src/config_scheme.ts +3 -7
  226. package/src/create_config.ts +50 -17
  227. package/src/create_generator_fn.test.ts +15 -0
  228. package/src/create_generator_fn.ts +63 -1
  229. package/src/generator_fn.ts +9 -0
  230. package/src/index.ts +2 -0
  231. package/src/test.ts +10 -0
  232. package/src/type.ts +120 -22
@@ -0,0 +1,24 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-7POVLKQR.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-3U6BNHWG.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/science.ts
12
+ var science_exports = {};
13
+ __export(science_exports, {
14
+ chemicalElement: () => chemicalElement,
15
+ unit: () => unit
16
+ });
17
+ var chemicalElement = makeValueConfigFn(f.science.chemicalElement);
18
+ var unit = makeValueConfigFn(f.science.unit);
19
+
20
+ export {
21
+ chemicalElement,
22
+ unit,
23
+ science_exports
24
+ };
@@ -0,0 +1,151 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+ var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunkA4QVPMYTjs = require('./chunk-A4QVPMYT.js');
12
+
13
+ // src/create_generator_fn.ts
14
+ var _createValueGenerator = (config, path) => {
15
+ try {
16
+ _chunkA4QVPMYTjs.valueConfigScheme.parse(config);
17
+ } catch (err) {
18
+ throw new Error(`config path: ${path}.value
19
+ ${err}`);
20
+ }
21
+ return config.generateFn;
22
+ };
23
+ var createValueGenerator = (config) => _createValueGenerator(config, "*");
24
+ var _createSelectionGenerator = (config, path) => {
25
+ try {
26
+ _chunkA4QVPMYTjs.selectionConfigScheme.parse(config);
27
+ } catch (err) {
28
+ throw new Error(`config path: ${path}.select
29
+ ${err}`);
30
+ }
31
+ const { items } = config;
32
+ return () => items[_chunkTZ2RKEBFjs.f.number.int(items.length - 1)];
33
+ };
34
+ var createSelectionGenerator = (config) => _createSelectionGenerator(config, "*");
35
+ var _createObjectGenerator = (config, path, customTypeMatch) => {
36
+ try {
37
+ _chunkA4QVPMYTjs.objConfigScheme.parse(config);
38
+ } catch (err) {
39
+ throw new Error(`config path: ${path}.obj
40
+ ${err}`);
41
+ }
42
+ const keyWithFns = Object.entries(config.content).map(([key, subConfig]) => [
43
+ key,
44
+ _createGeneratorByType(subConfig, `${path}.obj[${key}]`, customTypeMatch)
45
+ ]);
46
+ return () => {
47
+ const result = {};
48
+ for (const [key, generateFn] of keyWithFns) {
49
+ result[key] = generateFn();
50
+ }
51
+ return result;
52
+ };
53
+ };
54
+ var createObjectGenerator = (config, customTypeMatch) => _createObjectGenerator(config, "*", customTypeMatch);
55
+ var _createArrayGenerator = (config, path, customTypeMatch) => {
56
+ try {
57
+ _chunkA4QVPMYTjs.arrayConfigScheme.parse(config);
58
+ } catch (err) {
59
+ throw new Error(`config path: ${path}.arr
60
+ ${err}`);
61
+ }
62
+ const itemGeneratorFn = _createGeneratorByType(
63
+ config.item,
64
+ `${path}.arr`,
65
+ customTypeMatch
66
+ );
67
+ return () => Array.from({ length: _nullishCoalesce(config.len, () => ( 0)) }, itemGeneratorFn);
68
+ };
69
+ var createArrayGenerator = (config, customTypeMatch) => _createArrayGenerator(config, "*", customTypeMatch);
70
+ var _createTupleGenerator = (config, path, customTypeMatch) => {
71
+ try {
72
+ _chunkA4QVPMYTjs.tupleConfigScheme.parse(config);
73
+ } catch (err) {
74
+ throw new Error(`config path: ${path}.tuple
75
+ ${err}`);
76
+ }
77
+ const itemsFns = config.configItems.map(
78
+ (configItem, index) => _createGeneratorByType(
79
+ configItem,
80
+ `${path}.tuple[${index}]`,
81
+ customTypeMatch
82
+ )
83
+ );
84
+ return () => itemsFns.map((generateFn) => generateFn());
85
+ };
86
+ var createTupleGenerator = (config, customTypeMatch) => _createTupleGenerator(config, "*", customTypeMatch);
87
+ var _createBoundedSeriesGenerator = (config, path) => {
88
+ try {
89
+ _chunkA4QVPMYTjs.boundedSeriesScheme.parse(config);
90
+ } catch (err) {
91
+ throw new Error(`config path: ${path}.boundedSeries
92
+ ${err}`);
93
+ }
94
+ const { upperLimit, lowerLimit, createInitValue, count } = config;
95
+ return () => {
96
+ let value = createInitValue();
97
+ const boundedSeries = [];
98
+ for (let i = 0; i < count; i++) {
99
+ value = _chunkTZ2RKEBFjs.f.number.float({ max: upperLimit, min: lowerLimit }) * value;
100
+ boundedSeries.push(value);
101
+ }
102
+ return boundedSeries;
103
+ };
104
+ };
105
+ var createBoundedSeriesGenerator = (config) => _createBoundedSeriesGenerator(config, "*");
106
+ var _createGeneratorByType = (config, path, customTypeMatch) => {
107
+ switch (config.type) {
108
+ case "obj":
109
+ return _createObjectGenerator(
110
+ config,
111
+ path,
112
+ customTypeMatch
113
+ );
114
+ case "arr":
115
+ return _createArrayGenerator(
116
+ config,
117
+ path,
118
+ customTypeMatch
119
+ );
120
+ case "tuple":
121
+ return _createTupleGenerator(
122
+ config,
123
+ path,
124
+ customTypeMatch
125
+ );
126
+ case "select":
127
+ return _createSelectionGenerator(config, path);
128
+ case "value":
129
+ return _createValueGenerator(config, path);
130
+ case "bounded_series":
131
+ return _createBoundedSeriesGenerator(config, path);
132
+ default: {
133
+ if (customTypeMatch) {
134
+ return createValueGenerator(customTypeMatch(config, path));
135
+ }
136
+ throw new Error(`path: ${path}
137
+ config type is not supported`);
138
+ }
139
+ }
140
+ };
141
+ var createGeneratorByType = (config, customTypeMatch) => _createGeneratorByType(config, "*", customTypeMatch);
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ exports.createValueGenerator = createValueGenerator; exports.createSelectionGenerator = createSelectionGenerator; exports.createObjectGenerator = createObjectGenerator; exports.createArrayGenerator = createArrayGenerator; exports.createTupleGenerator = createTupleGenerator; exports.createBoundedSeriesGenerator = createBoundedSeriesGenerator; exports.createGeneratorByType = createGeneratorByType;
@@ -0,0 +1,74 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk6QZF75LHjs = require('./chunk-6QZF75LH.js');
4
+
5
+
6
+ var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/location.ts
12
+ var location_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, location_exports, {
14
+ buildingNumber: () => buildingNumber,
15
+ cardinalDirection: () => cardinalDirection,
16
+ city: () => city,
17
+ country: () => country,
18
+ countryCode: () => countryCode,
19
+ county: () => county,
20
+ direction: () => direction,
21
+ latitude: () => latitude,
22
+ longitude: () => longitude,
23
+ nearbyGPSCoordinate: () => nearbyGPSCoordinate,
24
+ ordinalDirection: () => ordinalDirection,
25
+ secondaryAddress: () => secondaryAddress,
26
+ state: () => state,
27
+ street: () => street,
28
+ streetAddress: () => streetAddress,
29
+ timeZone: () => timeZone
30
+ });
31
+ var buildingNumber = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.buildingNumber);
32
+ var cardinalDirection = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
33
+ _chunkTZ2RKEBFjs.f.location.cardinalDirection
34
+ );
35
+ var city = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.city);
36
+ var country = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.country);
37
+ var countryCode = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.countryCode);
38
+ var county = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.county);
39
+ var direction = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.direction);
40
+ var latitude = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.latitude);
41
+ var longitude = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.longitude);
42
+ var nearbyGPSCoordinate = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
43
+ _chunkTZ2RKEBFjs.f.location.nearbyGPSCoordinate
44
+ );
45
+ var ordinalDirection = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
46
+ _chunkTZ2RKEBFjs.f.location.ordinalDirection
47
+ );
48
+ var secondaryAddress = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
49
+ _chunkTZ2RKEBFjs.f.location.secondaryAddress
50
+ );
51
+ var state = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.state);
52
+ var street = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.street);
53
+ var streetAddress = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.streetAddress);
54
+ var timeZone = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.timeZone);
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+ exports.buildingNumber = buildingNumber; exports.cardinalDirection = cardinalDirection; exports.city = city; exports.country = country; exports.countryCode = countryCode; exports.county = county; exports.direction = direction; exports.latitude = latitude; exports.longitude = longitude; exports.nearbyGPSCoordinate = nearbyGPSCoordinate; exports.ordinalDirection = ordinalDirection; exports.secondaryAddress = secondaryAddress; exports.state = state; exports.street = street; exports.streetAddress = streetAddress; exports.timeZone = timeZone; exports.location_exports = location_exports;
@@ -0,0 +1,45 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-ZPQ6LVKQ.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-3U6BNHWG.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/vehicle.ts
12
+ var vehicle_exports = {};
13
+ __export(vehicle_exports, {
14
+ bicycle: () => bicycle,
15
+ color: () => color,
16
+ fuel: () => fuel,
17
+ manufacturer: () => manufacturer,
18
+ model: () => model,
19
+ type: () => type,
20
+ vehicle: () => vehicle,
21
+ vin: () => vin,
22
+ vrm: () => vrm
23
+ });
24
+ var bicycle = makeValueConfigFn(f.vehicle.bicycle);
25
+ var color = makeValueConfigFn(f.vehicle.color);
26
+ var fuel = makeValueConfigFn(f.vehicle.fuel);
27
+ var manufacturer = makeValueConfigFn(f.vehicle.manufacturer);
28
+ var model = makeValueConfigFn(f.vehicle.model);
29
+ var type = makeValueConfigFn(f.vehicle.type);
30
+ var vehicle = makeValueConfigFn(f.vehicle.vehicle);
31
+ var vin = makeValueConfigFn(f.vehicle.vin);
32
+ var vrm = makeValueConfigFn(f.vehicle.vrm);
33
+
34
+ export {
35
+ bicycle,
36
+ color,
37
+ fuel,
38
+ manufacturer,
39
+ model,
40
+ type,
41
+ vehicle,
42
+ vin,
43
+ vrm,
44
+ vehicle_exports
45
+ };
@@ -0,0 +1,51 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkKUNWO6DBjs = require('./chunk-KUNWO6DB.js');
4
+
5
+
6
+ var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/datetime.ts
12
+ var datetime_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, datetime_exports, {
14
+ anytime: () => anytime,
15
+ between: () => between,
16
+ betweens: () => betweens,
17
+ birthdate: () => birthdate,
18
+ future: () => future,
19
+ month: () => month,
20
+ past: () => past,
21
+ recent: () => recent,
22
+ soon: () => soon,
23
+ timeZone: () => timeZone,
24
+ weekday: () => weekday
25
+ });
26
+ var anytime = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.anytime);
27
+ var between = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.between);
28
+ var betweens = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.betweens);
29
+ var birthdate = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.birthdate);
30
+ var future = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.future);
31
+ var month = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.month);
32
+ var past = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.past);
33
+ var recent = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.recent);
34
+ var soon = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.soon);
35
+ var timeZone = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.timeZone);
36
+ var weekday = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.date.weekday);
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+ exports.anytime = anytime; exports.between = between; exports.betweens = betweens; exports.birthdate = birthdate; exports.future = future; exports.month = month; exports.past = past; exports.recent = recent; exports.soon = soon; exports.timeZone = timeZone; exports.weekday = weekday; exports.datetime_exports = datetime_exports;
@@ -0,0 +1,63 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-7POVLKQR.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-3U6BNHWG.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/person.ts
12
+ var person_exports = {};
13
+ __export(person_exports, {
14
+ bio: () => bio,
15
+ firstName: () => firstName,
16
+ fullName: () => fullName,
17
+ gender: () => gender,
18
+ jobArea: () => jobArea,
19
+ jobDescriptor: () => jobDescriptor,
20
+ jobTitle: () => jobTitle,
21
+ jobType: () => jobType,
22
+ lastName: () => lastName,
23
+ middleName: () => middleName,
24
+ prefix: () => prefix,
25
+ sex: () => sex,
26
+ sexType: () => sexType,
27
+ suffix: () => suffix,
28
+ zodiacSign: () => zodiacSign
29
+ });
30
+ var bio = makeValueConfigFn(f.person.bio);
31
+ var firstName = makeValueConfigFn(f.person.firstName);
32
+ var fullName = makeValueConfigFn(f.person.fullName);
33
+ var gender = makeValueConfigFn(f.person.gender);
34
+ var jobArea = makeValueConfigFn(f.person.jobArea);
35
+ var jobDescriptor = makeValueConfigFn(f.person.jobDescriptor);
36
+ var jobTitle = makeValueConfigFn(f.person.jobTitle);
37
+ var jobType = makeValueConfigFn(f.person.jobType);
38
+ var lastName = makeValueConfigFn(f.person.lastName);
39
+ var middleName = makeValueConfigFn(f.person.middleName);
40
+ var prefix = makeValueConfigFn(f.person.prefix);
41
+ var sex = makeValueConfigFn(f.person.sex);
42
+ var sexType = makeValueConfigFn(f.person.sexType);
43
+ var suffix = makeValueConfigFn(f.person.suffix);
44
+ var zodiacSign = makeValueConfigFn(f.person.zodiacSign);
45
+
46
+ export {
47
+ bio,
48
+ firstName,
49
+ fullName,
50
+ gender,
51
+ jobArea,
52
+ jobDescriptor,
53
+ jobTitle,
54
+ jobType,
55
+ lastName,
56
+ middleName,
57
+ prefix,
58
+ sex,
59
+ sexType,
60
+ suffix,
61
+ zodiacSign,
62
+ person_exports
63
+ };
@@ -0,0 +1,35 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk6QZF75LHjs = require('./chunk-6QZF75LH.js');
4
+
5
+
6
+ var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/database.ts
12
+ var database_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, database_exports, {
14
+ collation: () => collation,
15
+ column: () => column,
16
+ engine: () => engine,
17
+ mongodbObjectId: () => mongodbObjectId,
18
+ type: () => type
19
+ });
20
+ var collation = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.database.collation);
21
+ var column = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.database.column);
22
+ var engine = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.database.engine);
23
+ var mongodbObjectId = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0,
24
+ _chunkTZ2RKEBFjs.f.database.mongodbObjectId
25
+ );
26
+ var type = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.database.type);
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+ exports.collation = collation; exports.column = column; exports.engine = engine; exports.mongodbObjectId = mongodbObjectId; exports.type = type; exports.database_exports = database_exports;
@@ -0,0 +1,33 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk6QZF75LHjs = require('./chunk-6QZF75LH.js');
4
+
5
+
6
+ var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/git.ts
12
+ var git_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, git_exports, {
14
+ branch: () => branch,
15
+ commitDate: () => commitDate,
16
+ commitEntry: () => commitEntry,
17
+ commitMessage: () => commitMessage,
18
+ commitSha: () => commitSha
19
+ });
20
+ var branch = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.git.branch);
21
+ var commitDate = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.git.commitDate);
22
+ var commitEntry = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.git.commitEntry);
23
+ var commitMessage = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.git.commitMessage);
24
+ var commitSha = _chunk6QZF75LHjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.git.commitSha);
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ exports.branch = branch; exports.commitDate = commitDate; exports.commitEntry = commitEntry; exports.commitMessage = commitMessage; exports.commitSha = commitSha; exports.git_exports = git_exports;
@@ -0,0 +1,67 @@
1
+ import {
2
+ arrayConfigScheme,
3
+ boundedSeriesScheme,
4
+ objConfigScheme,
5
+ selectionConfigScheme,
6
+ tupleConfigScheme,
7
+ valueConfigScheme
8
+ } from "./chunk-USLYTOPD.mjs";
9
+
10
+ // src/create_config.ts
11
+ var createValueConfig = (generateFn) => {
12
+ const config = {
13
+ type: "value",
14
+ generateFn
15
+ };
16
+ valueConfigScheme.parse(config);
17
+ return config;
18
+ };
19
+ var createSelectionConfig = (items) => {
20
+ const config = { type: "select", items };
21
+ selectionConfigScheme.parse(config);
22
+ return config;
23
+ };
24
+ function createObjectConfig(content, transformer) {
25
+ if (transformer) {
26
+ const config2 = {
27
+ type: "obj",
28
+ content,
29
+ transformer
30
+ };
31
+ objConfigScheme.parse(config2);
32
+ return config2;
33
+ }
34
+ const config = { type: "obj", content };
35
+ objConfigScheme.parse(config);
36
+ return config;
37
+ }
38
+ var createArrayConfig = (item, len) => {
39
+ const config = { type: "arr", item, len };
40
+ arrayConfigScheme.parse(config);
41
+ return config;
42
+ };
43
+ var createTupleConfig = (configItems) => {
44
+ const config = {
45
+ type: "tuple",
46
+ configItems
47
+ };
48
+ tupleConfigScheme.parse(config);
49
+ return config;
50
+ };
51
+ var createBoundedSeriesConfig = (config) => {
52
+ const newConfig = {
53
+ type: "bounded_series",
54
+ ...config
55
+ };
56
+ boundedSeriesScheme.parse(newConfig);
57
+ return newConfig;
58
+ };
59
+
60
+ export {
61
+ createValueConfig,
62
+ createSelectionConfig,
63
+ createObjectConfig,
64
+ createArrayConfig,
65
+ createTupleConfig,
66
+ createBoundedSeriesConfig
67
+ };
@@ -0,0 +1,74 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkKUNWO6DBjs = require('./chunk-KUNWO6DB.js');
4
+
5
+
6
+ var _chunkTZ2RKEBFjs = require('./chunk-TZ2RKEBF.js');
7
+
8
+
9
+ var _chunk4VNS5WPMjs = require('./chunk-4VNS5WPM.js');
10
+
11
+ // src/utils/location.ts
12
+ var location_exports = {};
13
+ _chunk4VNS5WPMjs.__export.call(void 0, location_exports, {
14
+ buildingNumber: () => buildingNumber,
15
+ cardinalDirection: () => cardinalDirection,
16
+ city: () => city,
17
+ country: () => country,
18
+ countryCode: () => countryCode,
19
+ county: () => county,
20
+ direction: () => direction,
21
+ latitude: () => latitude,
22
+ longitude: () => longitude,
23
+ nearbyGPSCoordinate: () => nearbyGPSCoordinate,
24
+ ordinalDirection: () => ordinalDirection,
25
+ secondaryAddress: () => secondaryAddress,
26
+ state: () => state,
27
+ street: () => street,
28
+ streetAddress: () => streetAddress,
29
+ timeZone: () => timeZone
30
+ });
31
+ var buildingNumber = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.buildingNumber);
32
+ var cardinalDirection = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0,
33
+ _chunkTZ2RKEBFjs.f.location.cardinalDirection
34
+ );
35
+ var city = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.city);
36
+ var country = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.country);
37
+ var countryCode = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.countryCode);
38
+ var county = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.county);
39
+ var direction = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.direction);
40
+ var latitude = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.latitude);
41
+ var longitude = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.longitude);
42
+ var nearbyGPSCoordinate = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0,
43
+ _chunkTZ2RKEBFjs.f.location.nearbyGPSCoordinate
44
+ );
45
+ var ordinalDirection = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0,
46
+ _chunkTZ2RKEBFjs.f.location.ordinalDirection
47
+ );
48
+ var secondaryAddress = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0,
49
+ _chunkTZ2RKEBFjs.f.location.secondaryAddress
50
+ );
51
+ var state = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.state);
52
+ var street = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.street);
53
+ var streetAddress = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.streetAddress);
54
+ var timeZone = _chunkKUNWO6DBjs.makeValueConfigFn.call(void 0, _chunkTZ2RKEBFjs.f.location.timeZone);
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+ exports.buildingNumber = buildingNumber; exports.cardinalDirection = cardinalDirection; exports.city = city; exports.country = country; exports.countryCode = countryCode; exports.county = county; exports.direction = direction; exports.latitude = latitude; exports.longitude = longitude; exports.nearbyGPSCoordinate = nearbyGPSCoordinate; exports.ordinalDirection = ordinalDirection; exports.secondaryAddress = secondaryAddress; exports.state = state; exports.street = street; exports.streetAddress = streetAddress; exports.timeZone = timeZone; exports.location_exports = location_exports;
@@ -0,0 +1,45 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-7POVLKQR.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-3U6BNHWG.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/vehicle.ts
12
+ var vehicle_exports = {};
13
+ __export(vehicle_exports, {
14
+ bicycle: () => bicycle,
15
+ color: () => color,
16
+ fuel: () => fuel,
17
+ manufacturer: () => manufacturer,
18
+ model: () => model,
19
+ type: () => type,
20
+ vehicle: () => vehicle,
21
+ vin: () => vin,
22
+ vrm: () => vrm
23
+ });
24
+ var bicycle = makeValueConfigFn(f.vehicle.bicycle);
25
+ var color = makeValueConfigFn(f.vehicle.color);
26
+ var fuel = makeValueConfigFn(f.vehicle.fuel);
27
+ var manufacturer = makeValueConfigFn(f.vehicle.manufacturer);
28
+ var model = makeValueConfigFn(f.vehicle.model);
29
+ var type = makeValueConfigFn(f.vehicle.type);
30
+ var vehicle = makeValueConfigFn(f.vehicle.vehicle);
31
+ var vin = makeValueConfigFn(f.vehicle.vin);
32
+ var vrm = makeValueConfigFn(f.vehicle.vrm);
33
+
34
+ export {
35
+ bicycle,
36
+ color,
37
+ fuel,
38
+ manufacturer,
39
+ model,
40
+ type,
41
+ vehicle,
42
+ vin,
43
+ vrm,
44
+ vehicle_exports
45
+ };
@@ -0,0 +1,24 @@
1
+ import {
2
+ makeValueConfigFn
3
+ } from "./chunk-ZPQ6LVKQ.mjs";
4
+ import {
5
+ f
6
+ } from "./chunk-3U6BNHWG.mjs";
7
+ import {
8
+ __export
9
+ } from "./chunk-XGB3TDIC.mjs";
10
+
11
+ // src/utils/phone.ts
12
+ var phone_exports = {};
13
+ __export(phone_exports, {
14
+ imei: () => imei,
15
+ number: () => number
16
+ });
17
+ var imei = makeValueConfigFn(f.phone.imei);
18
+ var number = makeValueConfigFn(f.phone.number);
19
+
20
+ export {
21
+ imei,
22
+ number,
23
+ phone_exports
24
+ };