@burdenoff/microfe-healthybowl 2026.604.1 → 2026.605.1
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/healthybowl/hooks/useHealthyBowlData.js +290 -235
- package/dist/healthybowl/hooks/useHealthyBowlData.js.map +1 -1
- package/dist/healthybowl/pages/HomePage.js +15 -38
- package/dist/healthybowl/pages/HomePage.js.map +1 -1
- package/dist/healthybowl/pages/products/InventoryPage.js +183 -155
- package/dist/healthybowl/pages/products/InventoryPage.js.map +1 -1
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js +244 -215
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -54,7 +54,23 @@ var qe = r`
|
|
|
54
54
|
mutation DeleteHealthyBowlHarvestRecord($id: ID!, $context: ContextInput!) {
|
|
55
55
|
deleteHealthyBowlHarvestRecord(id: $id, context: $context)
|
|
56
56
|
}
|
|
57
|
-
`, nt =
|
|
57
|
+
`, nt = r`
|
|
58
|
+
mutation CreateHealthyBowlProduct($input: CreateHealthyBowlProductInput!) {
|
|
59
|
+
createHealthyBowlProduct(input: $input) {
|
|
60
|
+
id
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
`, rt = r`
|
|
64
|
+
mutation UpdateHealthyBowlProduct($input: UpdateHealthyBowlProductInput!) {
|
|
65
|
+
updateHealthyBowlProduct(input: $input) {
|
|
66
|
+
id
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
`, it = r`
|
|
70
|
+
mutation DeleteHealthyBowlProduct($id: ID!, $context: ContextInput!) {
|
|
71
|
+
deleteHealthyBowlProduct(id: $id, context: $context)
|
|
72
|
+
}
|
|
73
|
+
`, at = {
|
|
58
74
|
totalRevenue: 0,
|
|
59
75
|
totalExpenses: 0,
|
|
60
76
|
netProfit: 0,
|
|
@@ -65,7 +81,7 @@ var qe = r`
|
|
|
65
81
|
pendingOrders: 0,
|
|
66
82
|
weatherAlerts: 0,
|
|
67
83
|
organicScore: 0
|
|
68
|
-
},
|
|
84
|
+
}, ot = {
|
|
69
85
|
id: "",
|
|
70
86
|
name: "",
|
|
71
87
|
location: "",
|
|
@@ -73,7 +89,7 @@ var qe = r`
|
|
|
73
89
|
areaUnit: "acres",
|
|
74
90
|
organicCertified: !1,
|
|
75
91
|
owner: ""
|
|
76
|
-
},
|
|
92
|
+
}, st = {
|
|
77
93
|
location: "",
|
|
78
94
|
current: {
|
|
79
95
|
temperature: 0,
|
|
@@ -97,85 +113,85 @@ function o(e, t) {
|
|
|
97
113
|
return e ?? t;
|
|
98
114
|
}
|
|
99
115
|
function s() {
|
|
100
|
-
let { workspaceId: r } = e(), s = r || "00000000-0000-0000-0000-000000000001", { data:
|
|
116
|
+
let { workspaceId: r } = e(), s = r || "00000000-0000-0000-0000-000000000001", { data: ct, loading: lt, error: ut, refetch: dt } = Ae({
|
|
101
117
|
variables: { context: { workspaceId: s } },
|
|
102
118
|
fetchPolicy: "cache-and-network"
|
|
103
|
-
}), { data:
|
|
119
|
+
}), { data: ft, loading: pt, error: mt, refetch: ht } = Te({
|
|
104
120
|
variables: { context: { workspaceId: s } },
|
|
105
121
|
fetchPolicy: "cache-and-network"
|
|
106
|
-
}), { data:
|
|
122
|
+
}), { data: gt, loading: _t, error: vt, refetch: yt } = ze({
|
|
107
123
|
variables: { context: { workspaceId: s } },
|
|
108
124
|
fetchPolicy: "cache-and-network"
|
|
109
|
-
}), { data:
|
|
125
|
+
}), { data: bt, loading: xt, error: St, refetch: c } = Ne({
|
|
110
126
|
variables: { context: { workspaceId: s } },
|
|
111
127
|
fetchPolicy: "cache-and-network"
|
|
112
|
-
}), { data:
|
|
128
|
+
}), { data: Ct, loading: wt, error: Tt, refetch: l } = Le({
|
|
113
129
|
variables: { context: { workspaceId: s } },
|
|
114
130
|
fetchPolicy: "cache-and-network"
|
|
115
|
-
}), { data:
|
|
131
|
+
}), { data: Et, loading: Dt, error: Ot, refetch: kt } = Oe({
|
|
116
132
|
variables: { context: { workspaceId: s } },
|
|
117
133
|
fetchPolicy: "cache-and-network"
|
|
118
|
-
}), { data:
|
|
134
|
+
}), { data: At, loading: jt, error: Mt, refetch: u } = De({
|
|
119
135
|
variables: { context: { workspaceId: s } },
|
|
120
136
|
fetchPolicy: "cache-and-network"
|
|
121
|
-
}), { data:
|
|
137
|
+
}), { data: Nt, loading: Pt, error: Ft, refetch: d } = je({
|
|
122
138
|
variables: { context: { workspaceId: s } },
|
|
123
139
|
fetchPolicy: "cache-and-network"
|
|
124
|
-
}), { data:
|
|
140
|
+
}), { data: It, loading: Lt, error: Rt, refetch: f } = ke({
|
|
125
141
|
variables: { context: { workspaceId: s } },
|
|
126
142
|
fetchPolicy: "cache-and-network"
|
|
127
|
-
}), { data:
|
|
143
|
+
}), { data: zt, loading: Bt, error: Vt, refetch: p } = Me({
|
|
128
144
|
variables: { context: { workspaceId: s } },
|
|
129
145
|
fetchPolicy: "cache-and-network"
|
|
130
|
-
}), { data:
|
|
146
|
+
}), { data: Ht, loading: Ut, error: Wt, refetch: m } = Fe({
|
|
131
147
|
variables: { context: { workspaceId: s } },
|
|
132
148
|
fetchPolicy: "cache-and-network"
|
|
133
|
-
}), { data:
|
|
149
|
+
}), { data: Gt, loading: Kt, error: qt, refetch: h } = Ie({
|
|
134
150
|
variables: { context: { workspaceId: s } },
|
|
135
151
|
fetchPolicy: "cache-and-network"
|
|
136
|
-
}), { data:
|
|
152
|
+
}), { data: Jt, loading: Yt, error: Xt, refetch: g } = Re({
|
|
137
153
|
variables: { context: { workspaceId: s } },
|
|
138
154
|
fetchPolicy: "cache-and-network"
|
|
139
|
-
}), { data:
|
|
155
|
+
}), { data: Zt, loading: Qt, error: $t, refetch: _ } = Ee({
|
|
140
156
|
variables: { context: { workspaceId: s } },
|
|
141
157
|
fetchPolicy: "cache-and-network"
|
|
142
|
-
}), { data:
|
|
158
|
+
}), { data: en, loading: tn, error: nn, refetch: v } = Pe({
|
|
143
159
|
variables: { context: { workspaceId: s } },
|
|
144
160
|
fetchPolicy: "cache-and-network"
|
|
145
|
-
}), [
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
161
|
+
}), [rn] = Be(), [an] = ie(), [on] = He(), [sn] = xe(), [cn] = t(), [ln] = Ve(), [un] = be(), [dn] = oe(), [fn] = Ue(), [pn] = Se(), [mn] = ue(), [hn] = We(), [y] = Ce(), [b] = _e(), [x] = Ge(), [S] = we(), [C] = fe(), [w] = se(), [T] = ce(), [E] = ae(), [D] = ye(), [O] = te(), [k] = pe(), [A] = i(qe), [j] = i(Je), [M] = i(Ye), [N] = i(Xe), [P] = i(Ze), [F] = i(Qe), [I] = i($e), [gn] = i(et), [_n] = i(tt), [vn] = i(nt), [yn] = i(rt), [bn] = i(it), [xn] = he(), [Sn] = de(), [Cn] = ve(), [wn] = me(), [Tn] = ne(), [En] = le(), [Dn] = ee(), [On] = ge(), [kn] = re(), L = n(() => Promise.all([
|
|
162
|
+
dt(),
|
|
163
|
+
yt(),
|
|
164
|
+
ht(),
|
|
149
165
|
c(),
|
|
150
166
|
l(),
|
|
151
|
-
|
|
167
|
+
kt(),
|
|
152
168
|
u(),
|
|
153
169
|
d(),
|
|
154
170
|
f(),
|
|
155
171
|
p(),
|
|
156
172
|
m(),
|
|
157
|
-
Gt(),
|
|
158
173
|
h(),
|
|
159
174
|
g(),
|
|
160
|
-
_()
|
|
175
|
+
_(),
|
|
176
|
+
v()
|
|
161
177
|
]), [
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
178
|
+
dt,
|
|
179
|
+
yt,
|
|
180
|
+
ht,
|
|
165
181
|
c,
|
|
166
182
|
l,
|
|
167
|
-
|
|
183
|
+
kt,
|
|
168
184
|
u,
|
|
169
185
|
d,
|
|
170
186
|
f,
|
|
171
187
|
p,
|
|
172
188
|
m,
|
|
173
|
-
Gt,
|
|
174
189
|
h,
|
|
175
190
|
g,
|
|
176
|
-
_
|
|
177
|
-
|
|
178
|
-
|
|
191
|
+
_,
|
|
192
|
+
v
|
|
193
|
+
]), An = n(async (e, t = !0) => {
|
|
194
|
+
let ee = await rn({ variables: { input: {
|
|
179
195
|
alertId: e,
|
|
180
196
|
read: t,
|
|
181
197
|
context: { workspaceId: s }
|
|
@@ -183,126 +199,126 @@ function s() {
|
|
|
183
199
|
return await L(), !!ee.data?.markHealthyBowlAlertRead?.success;
|
|
184
200
|
}, [
|
|
185
201
|
s,
|
|
186
|
-
|
|
202
|
+
rn,
|
|
187
203
|
L
|
|
188
|
-
]), R = Ke(() => ({ workspaceId: s }), [s]),
|
|
189
|
-
let t = await
|
|
204
|
+
]), R = Ke(() => ({ workspaceId: s }), [s]), jn = n(async (e) => {
|
|
205
|
+
let t = await an({ variables: { input: {
|
|
190
206
|
...e,
|
|
191
207
|
context: R
|
|
192
208
|
} } });
|
|
193
209
|
if (t.error) throw t.error;
|
|
194
210
|
return await u(), t.data?.createHealthyBowlCrop;
|
|
195
211
|
}, [
|
|
196
|
-
|
|
212
|
+
an,
|
|
197
213
|
R,
|
|
198
214
|
u
|
|
199
|
-
]),
|
|
200
|
-
let t = await
|
|
215
|
+
]), Mn = n(async (e) => {
|
|
216
|
+
let t = await on({ variables: { input: {
|
|
201
217
|
...e,
|
|
202
218
|
context: R
|
|
203
219
|
} } });
|
|
204
220
|
return await u(), t.data?.updateHealthyBowlCrop;
|
|
205
221
|
}, [
|
|
206
|
-
|
|
222
|
+
on,
|
|
207
223
|
R,
|
|
208
224
|
u
|
|
209
|
-
]),
|
|
210
|
-
let t = await
|
|
225
|
+
]), Nn = n(async (e) => {
|
|
226
|
+
let t = await sn({ variables: {
|
|
211
227
|
context: R,
|
|
212
228
|
id: e
|
|
213
229
|
} });
|
|
214
230
|
if (t.error) throw t.error;
|
|
215
231
|
return await u(), !0;
|
|
216
232
|
}, [
|
|
217
|
-
|
|
233
|
+
sn,
|
|
218
234
|
R,
|
|
219
235
|
u
|
|
220
|
-
]),
|
|
221
|
-
let t = await
|
|
236
|
+
]), Pn = n(async (e) => {
|
|
237
|
+
let t = await cn({ variables: { input: {
|
|
222
238
|
...e,
|
|
223
239
|
context: R
|
|
224
240
|
} } });
|
|
225
241
|
if (t.error) throw t.error;
|
|
226
242
|
return await d(), t.data?.createHealthyBowlAnimal;
|
|
227
243
|
}, [
|
|
228
|
-
|
|
244
|
+
cn,
|
|
229
245
|
R,
|
|
230
246
|
d
|
|
231
|
-
]),
|
|
232
|
-
let t = await
|
|
247
|
+
]), Fn = n(async (e) => {
|
|
248
|
+
let t = await ln({ variables: { input: {
|
|
233
249
|
...e,
|
|
234
250
|
context: R
|
|
235
251
|
} } });
|
|
236
252
|
return await d(), t.data?.updateHealthyBowlAnimal;
|
|
237
253
|
}, [
|
|
238
|
-
|
|
254
|
+
ln,
|
|
239
255
|
R,
|
|
240
256
|
d
|
|
241
|
-
]),
|
|
242
|
-
let t = await
|
|
257
|
+
]), In = n(async (e) => {
|
|
258
|
+
let t = await un({ variables: {
|
|
243
259
|
context: R,
|
|
244
260
|
id: e
|
|
245
261
|
} });
|
|
246
262
|
if (t.error) throw t.error;
|
|
247
263
|
return await d(), !0;
|
|
248
264
|
}, [
|
|
249
|
-
|
|
265
|
+
un,
|
|
250
266
|
R,
|
|
251
267
|
d
|
|
252
|
-
]),
|
|
253
|
-
let t = await
|
|
268
|
+
]), Ln = n(async (e) => {
|
|
269
|
+
let t = await dn({ variables: { input: {
|
|
254
270
|
...e,
|
|
255
271
|
context: R
|
|
256
272
|
} } });
|
|
257
273
|
if (t.error) throw t.error;
|
|
258
274
|
return await u(), t.data?.createHealthyBowlField;
|
|
259
275
|
}, [
|
|
260
|
-
|
|
276
|
+
dn,
|
|
261
277
|
R,
|
|
262
278
|
u
|
|
263
|
-
]),
|
|
264
|
-
let t = await
|
|
279
|
+
]), Rn = n(async (e) => {
|
|
280
|
+
let t = await fn({ variables: { input: {
|
|
265
281
|
...e,
|
|
266
282
|
context: R
|
|
267
283
|
} } });
|
|
268
284
|
return await u(), t.data?.updateHealthyBowlField;
|
|
269
285
|
}, [
|
|
270
|
-
|
|
286
|
+
fn,
|
|
271
287
|
R,
|
|
272
288
|
u
|
|
273
|
-
]),
|
|
274
|
-
let t = await
|
|
289
|
+
]), zn = n(async (e) => {
|
|
290
|
+
let t = await pn({ variables: {
|
|
275
291
|
context: R,
|
|
276
292
|
id: e
|
|
277
293
|
} });
|
|
278
294
|
if (t.error) throw t.error;
|
|
279
295
|
return await u(), !0;
|
|
280
296
|
}, [
|
|
281
|
-
|
|
297
|
+
pn,
|
|
282
298
|
R,
|
|
283
299
|
u
|
|
284
|
-
]),
|
|
285
|
-
let t = await
|
|
300
|
+
]), Bn = n(async (e) => {
|
|
301
|
+
let t = await mn({ variables: { input: {
|
|
286
302
|
...e,
|
|
287
303
|
context: R
|
|
288
304
|
} } });
|
|
289
305
|
if (t.error) throw t.error;
|
|
290
306
|
return await p(), t.data?.createHealthyBowlMarketplaceProduct;
|
|
291
307
|
}, [
|
|
292
|
-
|
|
308
|
+
mn,
|
|
293
309
|
R,
|
|
294
310
|
p
|
|
295
|
-
]),
|
|
296
|
-
let t = await
|
|
311
|
+
]), Vn = n(async (e) => {
|
|
312
|
+
let t = await hn({ variables: { input: {
|
|
297
313
|
...e,
|
|
298
314
|
context: R
|
|
299
315
|
} } });
|
|
300
316
|
return await p(), t.data?.updateHealthyBowlMarketplaceProduct;
|
|
301
317
|
}, [
|
|
302
|
-
|
|
318
|
+
hn,
|
|
303
319
|
R,
|
|
304
320
|
p
|
|
305
|
-
]),
|
|
321
|
+
]), Hn = n(async (e) => {
|
|
306
322
|
let t = await y({ variables: {
|
|
307
323
|
context: R,
|
|
308
324
|
id: e
|
|
@@ -313,7 +329,7 @@ function s() {
|
|
|
313
329
|
y,
|
|
314
330
|
R,
|
|
315
331
|
p
|
|
316
|
-
]),
|
|
332
|
+
]), Un = n(async (e) => {
|
|
317
333
|
let t = await b({ variables: { input: {
|
|
318
334
|
...e,
|
|
319
335
|
context: R
|
|
@@ -324,7 +340,7 @@ function s() {
|
|
|
324
340
|
b,
|
|
325
341
|
R,
|
|
326
342
|
f
|
|
327
|
-
]),
|
|
343
|
+
]), Wn = n(async (e) => {
|
|
328
344
|
let t = await x({ variables: { input: {
|
|
329
345
|
...e,
|
|
330
346
|
context: R
|
|
@@ -334,7 +350,7 @@ function s() {
|
|
|
334
350
|
x,
|
|
335
351
|
R,
|
|
336
352
|
f
|
|
337
|
-
]),
|
|
353
|
+
]), Gn = n(async (e) => {
|
|
338
354
|
let t = await S({ variables: {
|
|
339
355
|
context: R,
|
|
340
356
|
id: e
|
|
@@ -345,7 +361,7 @@ function s() {
|
|
|
345
361
|
S,
|
|
346
362
|
R,
|
|
347
363
|
f
|
|
348
|
-
]),
|
|
364
|
+
]), Kn = n(async (e) => {
|
|
349
365
|
let t = await C({ variables: { input: {
|
|
350
366
|
...e,
|
|
351
367
|
context: R
|
|
@@ -356,7 +372,7 @@ function s() {
|
|
|
356
372
|
C,
|
|
357
373
|
R,
|
|
358
374
|
u
|
|
359
|
-
]),
|
|
375
|
+
]), qn = n(async (e) => {
|
|
360
376
|
let t = await w({ variables: { input: {
|
|
361
377
|
...e,
|
|
362
378
|
context: R
|
|
@@ -367,7 +383,7 @@ function s() {
|
|
|
367
383
|
w,
|
|
368
384
|
R,
|
|
369
385
|
u
|
|
370
|
-
]),
|
|
386
|
+
]), Jn = n(async (e) => {
|
|
371
387
|
let t = await T({ variables: { input: {
|
|
372
388
|
...e,
|
|
373
389
|
context: R
|
|
@@ -378,7 +394,7 @@ function s() {
|
|
|
378
394
|
T,
|
|
379
395
|
R,
|
|
380
396
|
d
|
|
381
|
-
]),
|
|
397
|
+
]), Yn = n(async (e) => {
|
|
382
398
|
let t = await E({ variables: { input: {
|
|
383
399
|
...e,
|
|
384
400
|
context: R
|
|
@@ -389,7 +405,7 @@ function s() {
|
|
|
389
405
|
E,
|
|
390
406
|
R,
|
|
391
407
|
d
|
|
392
|
-
]),
|
|
408
|
+
]), Xn = n(async (e) => {
|
|
393
409
|
let t = await D({ variables: { input: {
|
|
394
410
|
...e,
|
|
395
411
|
context: R
|
|
@@ -400,7 +416,7 @@ function s() {
|
|
|
400
416
|
D,
|
|
401
417
|
R,
|
|
402
418
|
d
|
|
403
|
-
]),
|
|
419
|
+
]), Zn = n(async (e) => {
|
|
404
420
|
let t = await O({ variables: { input: {
|
|
405
421
|
...e,
|
|
406
422
|
context: R
|
|
@@ -411,7 +427,7 @@ function s() {
|
|
|
411
427
|
O,
|
|
412
428
|
R,
|
|
413
429
|
d
|
|
414
|
-
]),
|
|
430
|
+
]), Qn = n(async (e) => {
|
|
415
431
|
let t = await k({ variables: { input: {
|
|
416
432
|
...e,
|
|
417
433
|
context: R
|
|
@@ -422,7 +438,7 @@ function s() {
|
|
|
422
438
|
k,
|
|
423
439
|
R,
|
|
424
440
|
d
|
|
425
|
-
]),
|
|
441
|
+
]), $n = n(async (e) => {
|
|
426
442
|
let t = await A({ variables: { input: {
|
|
427
443
|
...e,
|
|
428
444
|
context: R
|
|
@@ -432,7 +448,7 @@ function s() {
|
|
|
432
448
|
A,
|
|
433
449
|
R,
|
|
434
450
|
d
|
|
435
|
-
]),
|
|
451
|
+
]), er = n(async (e) => {
|
|
436
452
|
let t = await j({ variables: { input: {
|
|
437
453
|
...e,
|
|
438
454
|
context: R
|
|
@@ -442,7 +458,7 @@ function s() {
|
|
|
442
458
|
j,
|
|
443
459
|
R,
|
|
444
460
|
d
|
|
445
|
-
]),
|
|
461
|
+
]), tr = n(async (e) => {
|
|
446
462
|
let t = await M({ variables: { input: {
|
|
447
463
|
...e,
|
|
448
464
|
context: R
|
|
@@ -452,7 +468,7 @@ function s() {
|
|
|
452
468
|
M,
|
|
453
469
|
R,
|
|
454
470
|
d
|
|
455
|
-
]),
|
|
471
|
+
]), nr = n(async (e) => {
|
|
456
472
|
let t = await N({ variables: { input: {
|
|
457
473
|
...e,
|
|
458
474
|
context: R
|
|
@@ -462,7 +478,7 @@ function s() {
|
|
|
462
478
|
N,
|
|
463
479
|
R,
|
|
464
480
|
d
|
|
465
|
-
]),
|
|
481
|
+
]), rr = n(async (e) => {
|
|
466
482
|
let t = await P({ variables: { input: {
|
|
467
483
|
...e,
|
|
468
484
|
context: R
|
|
@@ -472,7 +488,7 @@ function s() {
|
|
|
472
488
|
P,
|
|
473
489
|
R,
|
|
474
490
|
d
|
|
475
|
-
]),
|
|
491
|
+
]), ir = n(async (e) => {
|
|
476
492
|
let t = await F({ variables: { input: {
|
|
477
493
|
...e,
|
|
478
494
|
context: R
|
|
@@ -482,7 +498,7 @@ function s() {
|
|
|
482
498
|
F,
|
|
483
499
|
R,
|
|
484
500
|
u
|
|
485
|
-
]),
|
|
501
|
+
]), ar = n(async (e) => {
|
|
486
502
|
let t = await I({ variables: {
|
|
487
503
|
id: e,
|
|
488
504
|
context: R
|
|
@@ -492,226 +508,263 @@ function s() {
|
|
|
492
508
|
I,
|
|
493
509
|
R,
|
|
494
510
|
u
|
|
495
|
-
]),
|
|
496
|
-
let t = await
|
|
511
|
+
]), or = n(async (e) => {
|
|
512
|
+
let t = await gn({ variables: { input: {
|
|
497
513
|
...e,
|
|
498
514
|
context: R
|
|
499
515
|
} } });
|
|
500
516
|
return await u(), t.data?.updateHealthyBowlHarvestRecord;
|
|
501
517
|
}, [
|
|
502
|
-
|
|
518
|
+
gn,
|
|
503
519
|
R,
|
|
504
520
|
u
|
|
505
|
-
]),
|
|
506
|
-
let t = await
|
|
521
|
+
]), sr = n(async (e) => {
|
|
522
|
+
let t = await _n({ variables: {
|
|
507
523
|
id: e,
|
|
508
524
|
context: R
|
|
509
525
|
} });
|
|
510
526
|
return await u(), t.data?.deleteHealthyBowlHarvestRecord ?? !1;
|
|
511
527
|
}, [
|
|
512
|
-
|
|
528
|
+
_n,
|
|
513
529
|
R,
|
|
514
530
|
u
|
|
515
|
-
]),
|
|
516
|
-
let t = await
|
|
531
|
+
]), cr = n(async (e) => {
|
|
532
|
+
let t = await vn({ variables: { input: {
|
|
533
|
+
...e,
|
|
534
|
+
context: R
|
|
535
|
+
} } });
|
|
536
|
+
if (t.error) throw t.error;
|
|
537
|
+
return await h(), t.data?.createHealthyBowlProduct;
|
|
538
|
+
}, [
|
|
539
|
+
vn,
|
|
540
|
+
R,
|
|
541
|
+
h
|
|
542
|
+
]), lr = n(async (e) => {
|
|
543
|
+
let t = await yn({ variables: { input: {
|
|
544
|
+
...e,
|
|
545
|
+
context: R
|
|
546
|
+
} } });
|
|
547
|
+
if (t.error) throw t.error;
|
|
548
|
+
return await h(), t.data?.updateHealthyBowlProduct;
|
|
549
|
+
}, [
|
|
550
|
+
yn,
|
|
551
|
+
R,
|
|
552
|
+
h
|
|
553
|
+
]), ur = n(async (e) => {
|
|
554
|
+
let t = await bn({ variables: {
|
|
555
|
+
id: e,
|
|
556
|
+
context: R
|
|
557
|
+
} });
|
|
558
|
+
if (t.error) throw t.error;
|
|
559
|
+
return await h(), t.data?.deleteHealthyBowlProduct ?? !1;
|
|
560
|
+
}, [
|
|
561
|
+
bn,
|
|
562
|
+
R,
|
|
563
|
+
h
|
|
564
|
+
]), dr = n(async (e) => {
|
|
565
|
+
let t = await xn({ variables: { input: {
|
|
517
566
|
...e,
|
|
518
567
|
context: R
|
|
519
568
|
} } });
|
|
520
569
|
if (t.error) throw t.error;
|
|
521
570
|
return await l(), t.data?.createHealthyBowlSoilTest;
|
|
522
571
|
}, [
|
|
523
|
-
|
|
572
|
+
xn,
|
|
524
573
|
R,
|
|
525
574
|
l
|
|
526
|
-
]),
|
|
527
|
-
let t = await
|
|
575
|
+
]), fr = n(async (e) => {
|
|
576
|
+
let t = await Sn({ variables: { input: {
|
|
528
577
|
...e,
|
|
529
578
|
context: R
|
|
530
579
|
} } });
|
|
531
580
|
if (t.error) throw t.error;
|
|
532
|
-
return await
|
|
581
|
+
return await v(), t.data?.createHealthyBowlPestIssue;
|
|
533
582
|
}, [
|
|
534
|
-
|
|
583
|
+
Sn,
|
|
535
584
|
R,
|
|
536
|
-
|
|
537
|
-
]),
|
|
538
|
-
let t = await
|
|
585
|
+
v
|
|
586
|
+
]), pr = n(async (e) => {
|
|
587
|
+
let t = await Cn({ variables: { input: {
|
|
539
588
|
...e,
|
|
540
589
|
context: R
|
|
541
590
|
} } });
|
|
542
591
|
if (t.error) throw t.error;
|
|
543
|
-
return await
|
|
592
|
+
return await v(), t.data?.createHealthyBowlTreatment;
|
|
544
593
|
}, [
|
|
545
|
-
|
|
594
|
+
Cn,
|
|
546
595
|
R,
|
|
547
|
-
|
|
548
|
-
]),
|
|
549
|
-
let t = await
|
|
596
|
+
v
|
|
597
|
+
]), mr = n(async (e) => {
|
|
598
|
+
let t = await wn({ variables: { input: {
|
|
550
599
|
...e,
|
|
551
600
|
context: R
|
|
552
601
|
} } });
|
|
553
602
|
if (t.error) throw t.error;
|
|
554
603
|
return await m(), t.data?.createHealthyBowlRecipe;
|
|
555
604
|
}, [
|
|
556
|
-
|
|
605
|
+
wn,
|
|
557
606
|
R,
|
|
558
607
|
m
|
|
559
|
-
]),
|
|
560
|
-
let t = await
|
|
608
|
+
]), hr = n(async (e) => {
|
|
609
|
+
let t = await Tn({ variables: { input: {
|
|
561
610
|
...e,
|
|
562
611
|
context: R
|
|
563
612
|
} } });
|
|
564
613
|
if (t.error) throw t.error;
|
|
565
614
|
return await f(), t.data?.createHealthyBowlBudget;
|
|
566
615
|
}, [
|
|
567
|
-
|
|
616
|
+
Tn,
|
|
568
617
|
R,
|
|
569
618
|
f
|
|
570
|
-
]),
|
|
571
|
-
let t = await
|
|
619
|
+
]), gr = n(async (e) => {
|
|
620
|
+
let t = await En({ variables: { input: {
|
|
572
621
|
...e,
|
|
573
622
|
context: R
|
|
574
623
|
} } });
|
|
575
624
|
if (t.error) throw t.error;
|
|
576
625
|
return await f(), t.data?.createHealthyBowlInvoice;
|
|
577
626
|
}, [
|
|
578
|
-
|
|
627
|
+
En,
|
|
579
628
|
R,
|
|
580
629
|
f
|
|
581
|
-
]),
|
|
582
|
-
let t = await
|
|
630
|
+
]), _r = n(async (e) => {
|
|
631
|
+
let t = await Dn({ variables: { input: {
|
|
583
632
|
...e,
|
|
584
633
|
context: R
|
|
585
634
|
} } });
|
|
586
635
|
if (t.error) throw t.error;
|
|
587
|
-
return await
|
|
636
|
+
return await _(), t.data?.createHealthyBowlAudit;
|
|
588
637
|
}, [
|
|
589
|
-
|
|
638
|
+
Dn,
|
|
590
639
|
R,
|
|
591
|
-
|
|
592
|
-
]),
|
|
593
|
-
let t = await
|
|
640
|
+
_
|
|
641
|
+
]), vr = n(async (e) => {
|
|
642
|
+
let t = await On({ variables: { input: {
|
|
594
643
|
...e,
|
|
595
644
|
context: R
|
|
596
645
|
} } });
|
|
597
646
|
if (t.error) throw t.error;
|
|
598
|
-
return await
|
|
647
|
+
return await g(), t.data?.createHealthyBowlTraceBatch;
|
|
599
648
|
}, [
|
|
600
|
-
|
|
649
|
+
On,
|
|
601
650
|
R,
|
|
602
|
-
|
|
603
|
-
]),
|
|
604
|
-
let t = await
|
|
651
|
+
g
|
|
652
|
+
]), yr = n(async (e) => {
|
|
653
|
+
let t = await kn({ variables: { input: {
|
|
605
654
|
...e,
|
|
606
655
|
context: R
|
|
607
656
|
} } });
|
|
608
657
|
if (t.error) throw t.error;
|
|
609
658
|
return await c(), t.data?.createHealthyBowlCommunityPost;
|
|
610
659
|
}, [
|
|
611
|
-
|
|
660
|
+
kn,
|
|
612
661
|
R,
|
|
613
662
|
c
|
|
614
|
-
]),
|
|
663
|
+
]), z = ct?.getHealthyBowlGovernmentData, B = ft?.getHealthyBowlAnalyticsData, V = gt?.getHealthyBowlWeatherData, H = bt?.getHealthyBowlNetworkData, U = Ct?.getHealthyBowlSoilData, W = Et?.getHealthyBowlDashboardData, G = At?.getHealthyBowlCropsData, K = Nt?.getHealthyBowlLivestockData, q = It?.getHealthyBowlFinancialData, J = zt?.getHealthyBowlMarketplaceData, Y = Ht?.getHealthyBowlProductionData, X = Gt?.getHealthyBowlProductsData, br = Jt?.getHealthyBowlTraceabilityData, Z = Zt?.getHealthyBowlComplianceData, Q = en?.getHealthyBowlPestData, xr = lt || _t || pt || xt || wt || Dt || jt || Pt || Lt || Bt || Ut || Kt || Yt || Qt || tn, $ = ut ?? vt ?? mt ?? St ?? Tt ?? Ot ?? Mt ?? Ft ?? Rt ?? Vt ?? Wt ?? qt ?? Xt ?? $t ?? nn;
|
|
615
664
|
return Ke(() => ({
|
|
616
|
-
alerts: a(
|
|
617
|
-
analyticsKPIs: a(
|
|
618
|
-
crops: a(
|
|
619
|
-
dashboardStats: o(
|
|
620
|
-
dailyHistory: a(
|
|
621
|
-
fields: a(
|
|
622
|
-
farm: o(
|
|
623
|
-
governmentSchemes: a(
|
|
624
|
-
harvests: a(
|
|
625
|
-
invoices: a(
|
|
626
|
-
marketplaceProducts: a(
|
|
627
|
-
messages: a(
|
|
628
|
-
monthlySummaries: a(
|
|
629
|
-
notifications: a(
|
|
630
|
-
orders: a(
|
|
631
|
-
plantingPlans: a(
|
|
632
|
-
productionBatches: a(
|
|
633
|
-
products: a(
|
|
634
|
-
revenueChartData: a(
|
|
635
|
-
recipes: a(
|
|
636
|
-
benefitsChart: a(
|
|
637
|
-
activity: a(
|
|
638
|
-
announcements: a(
|
|
639
|
-
animals: a(
|
|
640
|
-
breedingRecords: a(
|
|
641
|
-
feedRecords: a(
|
|
642
|
-
healthRecords: a(
|
|
643
|
-
productionRecords: a(
|
|
644
|
-
schemeApplications: a(
|
|
645
|
-
sensorReadings: a(
|
|
646
|
-
soilTests: a(
|
|
647
|
-
traceBatches: a(
|
|
648
|
-
trainingPrograms: a(
|
|
649
|
-
transactions: a(
|
|
650
|
-
vaccinations: a(
|
|
651
|
-
weatherData: o(
|
|
652
|
-
budgets: a(
|
|
653
|
-
analyticsReports: a(
|
|
654
|
-
cropDistributionData: a(
|
|
655
|
-
yieldTrendData: a(
|
|
656
|
-
insights: a(
|
|
665
|
+
alerts: a(W?.alerts, []),
|
|
666
|
+
analyticsKPIs: a(B?.kpis, []),
|
|
667
|
+
crops: a(G?.crops, []),
|
|
668
|
+
dashboardStats: o(W?.dashboardStats, at),
|
|
669
|
+
dailyHistory: a(V?.dailyHistory, []),
|
|
670
|
+
fields: a(G?.fields, []),
|
|
671
|
+
farm: o(W?.farm, ot),
|
|
672
|
+
governmentSchemes: a(z?.schemes, []),
|
|
673
|
+
harvests: a(G?.harvests, []),
|
|
674
|
+
invoices: a(q?.invoices, []),
|
|
675
|
+
marketplaceProducts: a(J?.marketplaceProducts, []),
|
|
676
|
+
messages: a(z?.messages, []),
|
|
677
|
+
monthlySummaries: a(V?.monthlySummaries, []),
|
|
678
|
+
notifications: a(z?.notifications, []),
|
|
679
|
+
orders: a(J?.orders, []),
|
|
680
|
+
plantingPlans: a(G?.plantingPlans, []),
|
|
681
|
+
productionBatches: a(Y?.productionBatches, []),
|
|
682
|
+
products: a(X?.products, []),
|
|
683
|
+
revenueChartData: a(B?.revenueChart, []),
|
|
684
|
+
recipes: a(Y?.recipes, []),
|
|
685
|
+
benefitsChart: a(z?.benefitsChart, []),
|
|
686
|
+
activity: a(z?.activity, []),
|
|
687
|
+
announcements: a(z?.announcements, []),
|
|
688
|
+
animals: a(K?.animals, []),
|
|
689
|
+
breedingRecords: a(K?.breedingRecords, []),
|
|
690
|
+
feedRecords: a(K?.feedRecords, []),
|
|
691
|
+
healthRecords: a(K?.healthRecords, []),
|
|
692
|
+
productionRecords: a(K?.productionRecords, []),
|
|
693
|
+
schemeApplications: a(z?.applications, []),
|
|
694
|
+
sensorReadings: a(U?.sensorReadings, []),
|
|
695
|
+
soilTests: a(U?.soilTests, []),
|
|
696
|
+
traceBatches: a(br?.traceBatches, []),
|
|
697
|
+
trainingPrograms: a(z?.trainingPrograms, []),
|
|
698
|
+
transactions: a(q?.transactions, []),
|
|
699
|
+
vaccinations: a(K?.vaccinations, []),
|
|
700
|
+
weatherData: o(V?.weather, st),
|
|
701
|
+
budgets: a(q?.budgets, []),
|
|
702
|
+
analyticsReports: a(B?.reports, []),
|
|
703
|
+
cropDistributionData: a(B?.cropDistribution, []),
|
|
704
|
+
yieldTrendData: a(B?.yieldTrend, []),
|
|
705
|
+
insights: a(B?.insights, []),
|
|
657
706
|
audits: a(Z?.audits, []),
|
|
658
707
|
certifications: a(Z?.certifications, []),
|
|
659
708
|
complianceDocuments: a(Z?.complianceDocuments, []),
|
|
660
|
-
communityPosts: a(
|
|
661
|
-
events: a(
|
|
662
|
-
experts: a(
|
|
663
|
-
mentors: a(
|
|
664
|
-
agenda: a(
|
|
709
|
+
communityPosts: a(H?.communityPosts, []),
|
|
710
|
+
events: a(H?.events, []),
|
|
711
|
+
experts: a(H?.experts, []),
|
|
712
|
+
mentors: a(H?.mentors, []),
|
|
713
|
+
agenda: a(H?.agenda, []),
|
|
665
714
|
pestIssues: a(Q?.pestIssues, []),
|
|
666
715
|
treatments: a(Q?.treatments, []),
|
|
667
|
-
loading:
|
|
716
|
+
loading: xr,
|
|
668
717
|
error: $ ? Error($.message) : null,
|
|
669
718
|
refetch: L,
|
|
670
|
-
markAlertRead:
|
|
671
|
-
createCrop:
|
|
672
|
-
updateCrop:
|
|
673
|
-
deleteCrop:
|
|
674
|
-
createAnimal:
|
|
675
|
-
updateAnimal:
|
|
676
|
-
deleteAnimal:
|
|
677
|
-
createField:
|
|
678
|
-
updateField:
|
|
679
|
-
deleteField:
|
|
680
|
-
createMarketplaceProduct:
|
|
681
|
-
updateMarketplaceProduct:
|
|
682
|
-
deleteMarketplaceProduct:
|
|
683
|
-
createTransaction:
|
|
684
|
-
updateTransaction:
|
|
685
|
-
deleteTransaction:
|
|
686
|
-
createPlantingPlan:
|
|
687
|
-
createHarvestRecord:
|
|
688
|
-
createHealthRecord:
|
|
689
|
-
createFeedRecord:
|
|
690
|
-
createVaccination:
|
|
691
|
-
createBreedingRecord:
|
|
692
|
-
createProductionRecord:
|
|
693
|
-
createSoilTest:
|
|
694
|
-
createPestIssue:
|
|
695
|
-
createTreatment:
|
|
696
|
-
createRecipe:
|
|
697
|
-
createBudget:
|
|
698
|
-
createInvoice:
|
|
699
|
-
createAudit:
|
|
700
|
-
createTraceBatch:
|
|
701
|
-
createCommunityPost:
|
|
702
|
-
updateHealthRecord:
|
|
703
|
-
updateFeedRecord:
|
|
704
|
-
updateVaccination:
|
|
705
|
-
updateBreedingRecord:
|
|
706
|
-
updateProductionRecord:
|
|
707
|
-
updatePlantingPlan:
|
|
708
|
-
deletePlantingPlan:
|
|
709
|
-
updateHarvestRecord:
|
|
710
|
-
deleteHarvestRecord:
|
|
719
|
+
markAlertRead: An,
|
|
720
|
+
createCrop: jn,
|
|
721
|
+
updateCrop: Mn,
|
|
722
|
+
deleteCrop: Nn,
|
|
723
|
+
createAnimal: Pn,
|
|
724
|
+
updateAnimal: Fn,
|
|
725
|
+
deleteAnimal: In,
|
|
726
|
+
createField: Ln,
|
|
727
|
+
updateField: Rn,
|
|
728
|
+
deleteField: zn,
|
|
729
|
+
createMarketplaceProduct: Bn,
|
|
730
|
+
updateMarketplaceProduct: Vn,
|
|
731
|
+
deleteMarketplaceProduct: Hn,
|
|
732
|
+
createTransaction: Un,
|
|
733
|
+
updateTransaction: Wn,
|
|
734
|
+
deleteTransaction: Gn,
|
|
735
|
+
createPlantingPlan: Kn,
|
|
736
|
+
createHarvestRecord: qn,
|
|
737
|
+
createHealthRecord: Jn,
|
|
738
|
+
createFeedRecord: Yn,
|
|
739
|
+
createVaccination: Xn,
|
|
740
|
+
createBreedingRecord: Zn,
|
|
741
|
+
createProductionRecord: Qn,
|
|
742
|
+
createSoilTest: dr,
|
|
743
|
+
createPestIssue: fr,
|
|
744
|
+
createTreatment: pr,
|
|
745
|
+
createRecipe: mr,
|
|
746
|
+
createBudget: hr,
|
|
747
|
+
createInvoice: gr,
|
|
748
|
+
createAudit: _r,
|
|
749
|
+
createTraceBatch: vr,
|
|
750
|
+
createCommunityPost: yr,
|
|
751
|
+
updateHealthRecord: $n,
|
|
752
|
+
updateFeedRecord: er,
|
|
753
|
+
updateVaccination: tr,
|
|
754
|
+
updateBreedingRecord: nr,
|
|
755
|
+
updateProductionRecord: rr,
|
|
756
|
+
updatePlantingPlan: ir,
|
|
757
|
+
deletePlantingPlan: ar,
|
|
758
|
+
updateHarvestRecord: or,
|
|
759
|
+
deleteHarvestRecord: sr,
|
|
760
|
+
createProduct: cr,
|
|
761
|
+
updateProduct: lr,
|
|
762
|
+
deleteProduct: ur
|
|
711
763
|
}), [
|
|
764
|
+
z,
|
|
765
|
+
V,
|
|
712
766
|
B,
|
|
713
767
|
H,
|
|
714
|
-
V,
|
|
715
768
|
U,
|
|
716
769
|
W,
|
|
717
770
|
G,
|
|
@@ -720,21 +773,13 @@ function s() {
|
|
|
720
773
|
J,
|
|
721
774
|
Y,
|
|
722
775
|
X,
|
|
723
|
-
|
|
724
|
-
dr,
|
|
776
|
+
br,
|
|
725
777
|
Z,
|
|
726
778
|
Q,
|
|
727
|
-
|
|
779
|
+
xr,
|
|
728
780
|
$,
|
|
729
781
|
L,
|
|
730
|
-
wn,
|
|
731
|
-
Tn,
|
|
732
|
-
En,
|
|
733
|
-
Dn,
|
|
734
|
-
On,
|
|
735
|
-
kn,
|
|
736
782
|
An,
|
|
737
|
-
z,
|
|
738
783
|
jn,
|
|
739
784
|
Mn,
|
|
740
785
|
Nn,
|
|
@@ -750,6 +795,24 @@ function s() {
|
|
|
750
795
|
Un,
|
|
751
796
|
Wn,
|
|
752
797
|
Gn,
|
|
798
|
+
Kn,
|
|
799
|
+
qn,
|
|
800
|
+
Jn,
|
|
801
|
+
Yn,
|
|
802
|
+
Xn,
|
|
803
|
+
Zn,
|
|
804
|
+
Qn,
|
|
805
|
+
dr,
|
|
806
|
+
fr,
|
|
807
|
+
pr,
|
|
808
|
+
mr,
|
|
809
|
+
hr,
|
|
810
|
+
gr,
|
|
811
|
+
_r,
|
|
812
|
+
vr,
|
|
813
|
+
yr,
|
|
814
|
+
$n,
|
|
815
|
+
er,
|
|
753
816
|
tr,
|
|
754
817
|
nr,
|
|
755
818
|
rr,
|
|
@@ -759,15 +822,7 @@ function s() {
|
|
|
759
822
|
sr,
|
|
760
823
|
cr,
|
|
761
824
|
lr,
|
|
762
|
-
|
|
763
|
-
qn,
|
|
764
|
-
Jn,
|
|
765
|
-
Yn,
|
|
766
|
-
Xn,
|
|
767
|
-
Zn,
|
|
768
|
-
Qn,
|
|
769
|
-
$n,
|
|
770
|
-
er
|
|
825
|
+
ur
|
|
771
826
|
]);
|
|
772
827
|
}
|
|
773
828
|
//#endregion
|