coral-island-crop-scrape 1.0.1 → 2.0.0

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 CHANGED
@@ -5,7 +5,20 @@ of the coral island wiki including usable enums and types.
5
5
 
6
6
  ## Crop Structure and Samples
7
7
 
8
- Currently you can import `cropv1` for the following data as an array of `Crop`
8
+ Currently you can import `crops` for the following data as an array of `Crop`
9
+
10
+ ## Adding to project
11
+
12
+ ```
13
+ yarn add coral-island-crop-scrape
14
+ ```
15
+
16
+ In your project you should be able to import as needed:
17
+
18
+ ```
19
+ import { EnumCropType, crops } from "coral-island-crop-scrape";
20
+
21
+ ```
9
22
 
10
23
  ### Notes
11
24
 
@@ -61,6 +74,7 @@ Artisan {
61
74
  BaseCrop {
62
75
  name: string;
63
76
  cropCost: number;
77
+ isOceanCrop: boolean;
64
78
  cropType: `${EnumCropType}`;
65
79
  seedType: `${EnumSeedType}`;
66
80
  growthTime: number;
@@ -82,184 +96,244 @@ Crop extends BaseCrop, ArtisianCropParts {}
82
96
  ### V1 Sample Crop
83
97
 
84
98
  ```
85
- {
86
- cropCost: 75,
87
- totalPossibleHarvests: 1,
88
- quantityPerHarvest: 1,
89
- totalProcessTime: 8,
90
- handlePayedOff: false,
91
- profitability: {
92
- sellPrice: {
93
- base: 130,
94
- bronze: 150,
95
- silver: 194,
96
- gold: 195,
97
- osmium: 260,
99
+ {
100
+ "cropCost": 50,
101
+ "totalPossibleHarvests": 1,
102
+ "quantityPerHarvest": 1,
103
+ "totalProcessTime": 11,
104
+ "handlePayedOff": false,
105
+ "profitability": {
106
+ "sellPrice": {
107
+ "base": 105,
108
+ "bronze": 121,
109
+ "silver": 137,
110
+ "gold": 158,
111
+ "osmium": 210
98
112
  },
99
- sellPriceImproved: {
100
- base: 150,
101
- bronze: 172,
102
- silver: 194,
103
- gold: 224,
104
- osmium: 299,
113
+ "sellPriceImproved": {
114
+ "base": 121,
115
+ "bronze": 139,
116
+ "silver": 157,
117
+ "gold": 181,
118
+ "osmium": 242
105
119
  },
106
- profit: {
107
- base: 55,
108
- bronze: 75,
109
- silver: 119,
110
- gold: 120,
111
- osmium: 185,
120
+ "profit": {
121
+ "base": 55,
122
+ "bronze": 71,
123
+ "silver": 87,
124
+ "gold": 108,
125
+ "osmium": 160
112
126
  },
113
- profitImproved: {
114
- base: 75,
115
- bronze: 97,
116
- silver: 119,
117
- gold: 149,
118
- osmium: 224,
127
+ "profitImproved": {
128
+ "base": 71,
129
+ "bronze": 89,
130
+ "silver": 107,
131
+ "gold": 131,
132
+ "osmium": 192
119
133
  },
120
- profitPO: null,
121
- profitPOImproved: null,
122
- payPerDay: {
123
- base: 6.875,
124
- bronze: 9.375,
125
- silver: 14.875,
126
- gold: 15,
127
- osmium: 23.125,
134
+ "profitPO": null,
135
+ "profitPOImproved": null,
136
+ "payPerDay": {
137
+ "base": 5,
138
+ "bronze": 6.454545454545454,
139
+ "silver": 7.909090909090909,
140
+ "gold": 9.818181818181818,
141
+ "osmium": 14.545454545454545
128
142
  },
129
- payPerDayImproved: {
130
- base: 9.375,
131
- bronze: 12.125,
132
- silver: 14.875,
133
- gold: 18.625,
134
- osmium: 28,
143
+ "payPerDayImproved": {
144
+ "base": 6.454545454545454,
145
+ "bronze": 8.090909090909092,
146
+ "silver": 9.727272727272727,
147
+ "gold": 11.909090909090908,
148
+ "osmium": 17.454545454545453
135
149
  },
136
- payPerDayPO: null,
137
- payPerDayPOImproved: null,
150
+ "payPerDayPO": null,
151
+ "payPerDayPOImproved": null
138
152
  },
139
- name: 'Orchid',
140
- seasons: ['fall'],
141
- growthTime: 8,
142
- cropType: 'flower',
143
- seedType: 'seed',
144
- regrowthTime: 0,
145
- honey: {
146
- cropCost: 75,
147
- totalPossibleHarvests: 1,
148
- quantityPerHarvest: 1,
149
- totalProcessTime: 10,
150
- handlePayedOff: false,
151
- profitability: {
152
- sellPrice: {
153
- base: 390,
154
- bronze: 450,
155
- silver: 505,
156
- gold: 585,
157
- osmium: 780,
153
+ "name": "Watermelon",
154
+ "seasons": ["fall"],
155
+ "growthTime": 11,
156
+ "isOceanCrop": false,
157
+ "cropType": "fruit",
158
+ "seedType": "seed",
159
+ "regrowthTime": 0,
160
+ "jar": {
161
+ "cropCost": 50,
162
+ "totalPossibleHarvests": 1,
163
+ "quantityPerHarvest": 1,
164
+ "totalProcessTime": 11.25,
165
+ "handlePayedOff": false,
166
+ "profitability": {
167
+ "sellPrice": {
168
+ "base": 175,
169
+ "bronze": 195,
170
+ "silver": 220,
171
+ "gold": 250,
172
+ "osmium": 330
158
173
  },
159
- sellPriceImproved: {
160
- base: 448,
161
- bronze: 517,
162
- silver: 580,
163
- gold: 672,
164
- osmium: 896,
174
+ "sellPriceImproved": {
175
+ "base": 201,
176
+ "bronze": 224,
177
+ "silver": 252,
178
+ "gold": 287,
179
+ "osmium": 379
165
180
  },
166
- profit: {
167
- base: 315,
168
- bronze: 375,
169
- silver: 430,
170
- gold: 510,
171
- osmium: 705,
181
+ "profit": {
182
+ "base": 125,
183
+ "bronze": 145,
184
+ "silver": 170,
185
+ "gold": 200,
186
+ "osmium": 280
172
187
  },
173
- profitImproved: {
174
- base: 373,
175
- bronze: 442,
176
- silver: 505,
177
- gold: 597,
178
- osmium: 821,
188
+ "profitImproved": {
189
+ "base": 151,
190
+ "bronze": 174,
191
+ "silver": 202,
192
+ "gold": 237,
193
+ "osmium": 329
179
194
  },
180
- profitPO: null,
181
- profitPOImproved: null,
182
- payPerDay: {
183
- base: 31.5,
184
- bronze: 37.5,
185
- silver: 43,
186
- gold: 51,
187
- osmium: 70.5,
195
+ "profitPO": null,
196
+ "profitPOImproved": null,
197
+ "payPerDay": {
198
+ "base": 11.11111111111111,
199
+ "bronze": 12.88888888888889,
200
+ "silver": 15.11111111111111,
201
+ "gold": 17.77777777777778,
202
+ "osmium": 24.88888888888889
188
203
  },
189
- payPerDayImproved: {
190
- base: 37.3,
191
- bronze: 44.2,
192
- silver: 50.5,
193
- gold: 59.7,
194
- osmium: 82.1,
204
+ "payPerDayImproved": {
205
+ "base": 13.422222222222222,
206
+ "bronze": 15.466666666666667,
207
+ "silver": 17.955555555555556,
208
+ "gold": 21.066666666666666,
209
+ "osmium": 29.244444444444444
195
210
  },
196
- payPerDayPO: null,
197
- payPerDayPOImproved: null,
211
+ "payPerDayPO": null,
212
+ "payPerDayPOImproved": null
198
213
  },
199
- process: 'honey',
200
- timeToProcess: 2,
201
- cropLifeSpan: 8,
202
- pastProcessTime: 0,
214
+ "process": "jar",
215
+ "timeToProcess": 0.25,
216
+ "cropLifeSpan": 11,
217
+ "pastProcessTime": 0
203
218
  },
204
- aged: {
205
- cropCost: 75,
206
- totalPossibleHarvests: 1,
207
- quantityPerHarvest: 1,
208
- totalProcessTime: 16,
209
- handlePayedOff: false,
210
- profitability: {
211
- sellPrice: {
212
- base: 1755,
213
- bronze: 2025,
214
- silver: 2275,
215
- gold: 2635,
216
- osmium: 3510,
219
+ "keg": {
220
+ "cropCost": 50,
221
+ "totalPossibleHarvests": 1,
222
+ "quantityPerHarvest": 1,
223
+ "totalProcessTime": 11.5,
224
+ "handlePayedOff": false,
225
+ "profitability": {
226
+ "sellPrice": {
227
+ "base": 230,
228
+ "bronze": 265,
229
+ "silver": 300,
230
+ "gold": 350,
231
+ "osmium": 460
217
232
  },
218
- sellPriceImproved: {
219
- base: 2018,
220
- bronze: 2328,
221
- silver: 2616,
222
- gold: 3030,
223
- osmium: 4036,
233
+ "sellPriceImproved": {
234
+ "base": 264,
235
+ "bronze": 304,
236
+ "silver": 345,
237
+ "gold": 402,
238
+ "osmium": 529
224
239
  },
225
- profit: {
226
- base: 1680,
227
- bronze: 1950,
228
- silver: 2200,
229
- gold: 2560,
230
- osmium: 3435,
240
+ "profit": {
241
+ "base": 180,
242
+ "bronze": 215,
243
+ "silver": 250,
244
+ "gold": 300,
245
+ "osmium": 410
231
246
  },
232
- profitImproved: {
233
- base: 1943,
234
- bronze: 2253,
235
- silver: 2541,
236
- gold: 2955,
237
- osmium: 3961,
247
+ "profitImproved": {
248
+ "base": 214,
249
+ "bronze": 254,
250
+ "silver": 295,
251
+ "gold": 352,
252
+ "osmium": 479
238
253
  },
239
- profitPO: null,
240
- profitPOImproved: null,
241
- payPerDay: {
242
- base: 105,
243
- bronze: 121.875,
244
- silver: 137.5,
245
- gold: 160,
246
- osmium: 214.6875,
254
+ "profitPO": null,
255
+ "profitPOImproved": null,
256
+ "payPerDay": {
257
+ "base": 15.652173913043478,
258
+ "bronze": 18.695652173913043,
259
+ "silver": 21.73913043478261,
260
+ "gold": 26.08695652173913,
261
+ "osmium": 35.65217391304348
247
262
  },
248
- payPerDayImproved: {
249
- base: 121.4375,
250
- bronze: 140.8125,
251
- silver: 158.8125,
252
- gold: 184.6875,
253
- osmium: 247.5625,
263
+ "payPerDayImproved": {
264
+ "base": 18.608695652173914,
265
+ "bronze": 22.08695652173913,
266
+ "silver": 25.652173913043477,
267
+ "gold": 30.608695652173914,
268
+ "osmium": 41.65217391304348
254
269
  },
255
- payPerDayPO: null,
256
- payPerDayPOImproved: null,
270
+ "payPerDayPO": null,
271
+ "payPerDayPOImproved": null
257
272
  },
258
- process: 'aged',
259
- timeToProcess: 6,
260
- cropLifeSpan: 8,
261
- pastProcessTime: 2,
273
+ "process": "keg",
274
+ "timeToProcess": 0.5,
275
+ "cropLifeSpan": 11,
276
+ "pastProcessTime": 0
262
277
  },
278
+ "aged": {
279
+ "cropCost": 50,
280
+ "totalPossibleHarvests": 1,
281
+ "quantityPerHarvest": 1,
282
+ "totalProcessTime": 17.5,
283
+ "handlePayedOff": false,
284
+ "profitability": {
285
+ "sellPrice": {
286
+ "base": 1035,
287
+ "bronze": 1195,
288
+ "silver": 1350,
289
+ "gold": 1575,
290
+ "osmium": 2070
291
+ },
292
+ "sellPriceImproved": {
293
+ "base": 1190,
294
+ "bronze": 1374,
295
+ "silver": 1552,
296
+ "gold": 1811,
297
+ "osmium": 2380
298
+ },
299
+ "profit": {
300
+ "base": 985,
301
+ "bronze": 1145,
302
+ "silver": 1300,
303
+ "gold": 1525,
304
+ "osmium": 2020
305
+ },
306
+ "profitImproved": {
307
+ "base": 1140,
308
+ "bronze": 1324,
309
+ "silver": 1502,
310
+ "gold": 1761,
311
+ "osmium": 2330
312
+ },
313
+ "profitPO": null,
314
+ "profitPOImproved": null,
315
+ "payPerDay": {
316
+ "base": 56.285714285714285,
317
+ "bronze": 65.42857142857143,
318
+ "silver": 74.28571428571429,
319
+ "gold": 87.14285714285714,
320
+ "osmium": 115.42857142857143
321
+ },
322
+ "payPerDayImproved": {
323
+ "base": 65.14285714285714,
324
+ "bronze": 75.65714285714286,
325
+ "silver": 85.82857142857142,
326
+ "gold": 100.62857142857143,
327
+ "osmium": 133.14285714285714
328
+ },
329
+ "payPerDayPO": null,
330
+ "payPerDayPOImproved": null
331
+ },
332
+ "process": "aged",
333
+ "timeToProcess": 6,
334
+ "cropLifeSpan": 11,
335
+ "pastProcessTime": 0.5
336
+ }
263
337
  },
264
338
  ```
265
339
 
@@ -312,19 +386,15 @@ EnumGrades {
312
386
 
313
387
  ### Versioning
314
388
 
315
- - If you make any changes to scrape functions. Please update .env version.
389
+ - If you make any changes to scrape functions. Please update version.
316
390
  - change Major version if there are changes to the resulting crops object
317
- shape. I.E new fields, removed fields (2_0_0)
391
+ shape. I.E new fields, removed fields (2.0.0)
318
392
  - Change minor version if object shape remains the same but calculations get
319
- updated. (1_1_0)
393
+ updated. (1.1.0)
320
394
  - Change patch version only if refreshing data. I.E re-running scrape as new
321
395
  crops were added.
322
396
 
323
397
  ### Running Scrape
324
398
 
325
399
  1. Install [tsx](https://www.npmjs.com/package/tsx)
326
- 2. If any changes have been made to the json generation. Please update `.env`
327
- crops version before running (see versioning below)
328
- 3. When steps 1 and 2 are complete update index.ts to export the new version of
329
- crop array. Do not delete old imports please. We will try to maintain them
330
- for some time.
400
+ 2. Run `yarn generate-crops` to proudce updated crops file
@@ -17,3 +17,4 @@ export class Artisan extends Profits {
17
17
  this.pastProcessTime = pastProcessTime;
18
18
  }
19
19
  }
20
+ //# sourceMappingURL=artisan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artisan.js","sourceRoot":"","sources":["../../src/classes/artisan.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,OAAO,OAAQ,SAAQ,OAAO;IAOlC,YAAY,EACV,OAAO,EACP,QAAQ,EACR,aAAa,EACb,eAAe,GAAG,CAAC,EACnB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,cAAc,GAAG,KAAK,GACC;QACvB,KAAK,CAAC;YACJ,QAAQ;YACR,kBAAkB;YAClB,qBAAqB;YACrB,SAAS;YACT,iBAAiB;YACjB,cAAc;YACd,gBAAgB;SACjB,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;CACF"}
@@ -9,6 +9,7 @@ export declare class Crop extends Profits implements CropType {
9
9
  growthTime: number;
10
10
  seasons: EnumSeasons[];
11
11
  regrowthTime?: number;
12
+ isOceanCrop: boolean;
12
13
  [OIL]?: Artisan;
13
14
  [JAR]?: Artisan;
14
15
  [HONEY]?: Artisan;
@@ -17,6 +18,6 @@ export declare class Crop extends Profits implements CropType {
17
18
  [LOOM]?: Artisan;
18
19
  [AGED]?: Artisan;
19
20
  [MILL]?: Artisan;
20
- constructor({ cropCost, quantityPerHarvest, totalPossibleHarvests, sellPrice, sellPriceImproved, handlePayedOff, totalProcessTime, name, seasons, growthTime, cropType, seedType, regrowthTime, oil, jar, honey, keg, aged, loom, cheese, mill, }: CropConstructor);
21
+ constructor({ cropCost, quantityPerHarvest, totalPossibleHarvests, sellPrice, sellPriceImproved, handlePayedOff, totalProcessTime, name, seasons, isOceanCrop, growthTime, cropType, seedType, regrowthTime, oil, jar, honey, keg, aged, loom, cheese, mill, }: CropConstructor);
21
22
  }
22
23
  export {};
@@ -2,7 +2,7 @@ import { EnumProcess, } from '../enums/enums';
2
2
  import { Profits } from './profits';
3
3
  const { OIL, JAR, HONEY, KEG, AGED, CHEESE, LOOM, MILL } = EnumProcess;
4
4
  export class Crop extends Profits {
5
- constructor({ cropCost, quantityPerHarvest, totalPossibleHarvests, sellPrice, sellPriceImproved, handlePayedOff, totalProcessTime, name, seasons, growthTime, cropType, seedType, regrowthTime, oil, jar, honey, keg, aged, loom, cheese, mill, }) {
5
+ constructor({ cropCost, quantityPerHarvest, totalPossibleHarvests, sellPrice, sellPriceImproved, handlePayedOff, totalProcessTime, name, seasons, isOceanCrop, growthTime, cropType, seedType, regrowthTime, oil, jar, honey, keg, aged, loom, cheese, mill, }) {
6
6
  super({
7
7
  cropCost,
8
8
  quantityPerHarvest,
@@ -15,6 +15,7 @@ export class Crop extends Profits {
15
15
  this.name = name;
16
16
  this.seasons = seasons;
17
17
  this.growthTime = growthTime;
18
+ this.isOceanCrop = isOceanCrop;
18
19
  this.cropType = cropType;
19
20
  this.seedType = seedType;
20
21
  this.regrowthTime = regrowthTime !== null && regrowthTime !== void 0 ? regrowthTime : 0;
@@ -28,3 +29,4 @@ export class Crop extends Profits {
28
29
  this[MILL] = mill;
29
30
  }
30
31
  }
32
+ //# sourceMappingURL=crop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crop.js","sourceRoot":"","sources":["../../src/classes/crop.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,GAGZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,M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AC;CACF"}
@@ -84,3 +84,4 @@ export class Profits {
84
84
  payPerDayPOImproved });
85
85
  }
86
86
  }
87
+ //# sourceMappingURL=profits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profits.js","sourceRoot":"","sources":["../../src/classes/profits.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,OAAO;IAQlB,YAAY,EACV,QAAQ,EACR,qBAAqB,EACrB,kBAAkB,EAClB,SAAS,EACT,iBAAiB,EACjB,cAAc,GAAG,KAAK,EACtB,gBAAgB,GACO;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,qBAAqB,CAAC;YAC9C,SAAS;YACT,iBAAiB;SAClB,CAAC,CAAC;IACL,CAAC;IAES,UAAU,CAAC,SAAiB,EAAE,QAAkB;QACxD,OAAO,CACL,SAAS,GAAG,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,qBAAqB;YAChE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAC/B,CAAC;IACJ,CAAC;IAES,eAAe,CACvB,aAA2C,EAC3C,QAAkB;QAElB,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO;gBACL,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC,IAAI,CAAC;gBAC3D,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC;gBAC/D,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC;gBAC/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,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;QAC9D,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAc,CAAC;QACtD,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAc,CAAC;QACtE,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,mBAAmB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;QAC7D,uCACK,eAAe,KAClB,MAAM;YACN,cAAc;YACd,QAAQ;YACR,gBAAgB;YAChB,SAAS;YACT,iBAAiB;YACjB,WAAW;YACX,mBAAmB,IACnB;IACJ,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
1
  import { EnumProcess } from '../enums/enums';
2
2
  export const HOST = 'https://coralisland.fandom.com';
3
- export const COST_PATTERN = / × /i;
3
+ export const COST_PATTERN = /×/i;
4
4
  export const PARSE_COST_PATTERN = /\b\d{1,}(?:,\d{3})*\b/;
5
5
  export const SELL_PRICES_PATTERN = /Sell prices/i;
6
6
  export const SELL_PRICES_IMPROVED_PATTERN = /Sell prices with Crop Price/i;
@@ -43,3 +43,4 @@ export const alphabet = [
43
43
  'y',
44
44
  'z',
45
45
  ];
46
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,gCAAgC,CAAC;AAErD,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;AACjC,MAAM,CAAC,MAAM,kBAAkB,GAAG,uBAAuB,CAAC;AAC1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAClD,MAAM,CAAC,MAAM,4BAA4B,GAAG,8BAA8B,CAAC;AAE3E,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;AAEvE,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,GAAG;IAChB,cAAc,EAAE,IAAI;IACpB,GAAG,EAAE,GAAG;IACR,WAAW,EAAE,GAAG;IAChB,WAAW,EAAE,KAAK;IAClB,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Crop } from '../types/types';
2
+ export declare const crops: Crop[];