@burdenoff/microfe-healthybowl 2026.608.1 → 2026.608.3

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.
@@ -2,87 +2,125 @@ import { useHealthyBowl as e } from "../context/HealthyBowlContext.js";
2
2
  import { useCreateHealthyBowlAnimalMutation as t, useCreateHealthyBowlAuditMutation as n, useCreateHealthyBowlBreedingRecordMutation as ee, useCreateHealthyBowlBudgetMutation as te, useCreateHealthyBowlCommunityPostMutation as ne, useCreateHealthyBowlCropMutation as re, useCreateHealthyBowlFarmMutation as ie, useCreateHealthyBowlFeedRecordMutation as ae, useCreateHealthyBowlFieldMutation as oe, useCreateHealthyBowlHarvestRecordMutation as se, useCreateHealthyBowlHealthRecordMutation as ce, useCreateHealthyBowlInvoiceMutation as le, useCreateHealthyBowlMarketplaceProductMutation as ue, useCreateHealthyBowlPestIssueMutation as de, useCreateHealthyBowlPlantingPlanMutation as fe, useCreateHealthyBowlProductionRecordMutation as pe, useCreateHealthyBowlRecipeMutation as me, useCreateHealthyBowlSoilTestMutation as he, useCreateHealthyBowlTraceBatchMutation as ge, useCreateHealthyBowlTransactionMutation as _e, useCreateHealthyBowlTreatmentMutation as ve, useCreateHealthyBowlVaccinationMutation as ye, useDeleteHealthyBowlAnimalMutation as be, useDeleteHealthyBowlCropMutation as xe, useDeleteHealthyBowlFieldMutation as Se, useDeleteHealthyBowlMarketplaceProductMutation as Ce, useDeleteHealthyBowlTransactionMutation as we, useGetHealthyBowlAnalyticsDataQuery as Te, useGetHealthyBowlComplianceDataQuery as Ee, useGetHealthyBowlCropsDataQuery as De, useGetHealthyBowlDashboardDataQuery as Oe, useGetHealthyBowlFinancialDataQuery as ke, useGetHealthyBowlGovernmentDataQuery as Ae, useGetHealthyBowlLivestockDataQuery as je, useGetHealthyBowlMarketplaceDataQuery as Me, useGetHealthyBowlNetworkDataQuery as Ne, useGetHealthyBowlPestDataQuery as Pe, useGetHealthyBowlProductionDataQuery as Fe, useGetHealthyBowlProductsDataQuery as Ie, useGetHealthyBowlSoilDataQuery as Le, useGetHealthyBowlTraceabilityDataQuery as Re, useGetHealthyBowlWeatherDataQuery as ze, useMarkHealthyBowlAlertReadMutation as Be, useUpdateHealthyBowlAnimalMutation as Ve, useUpdateHealthyBowlCropMutation as He, useUpdateHealthyBowlFarmMutation as Ue, useUpdateHealthyBowlFieldMutation as We, useUpdateHealthyBowlMarketplaceProductMutation as Ge, useUpdateHealthyBowlTransactionMutation as Ke } from "../../generated/wspace-operations.js";
3
3
  import { useCallback as r, useMemo as i } from "react";
4
4
  import { gql as a } from "@apollo/client";
5
- import { useMutation as o } from "@apollo/client/react";
5
+ import { useMutation as o, useQuery as qe } from "@apollo/client/react";
6
6
  //#region src/healthybowl/hooks/useHealthyBowlData.ts
7
- var qe = a`
7
+ var Je = a`
8
+ mutation UpdateHealthyBowlPestIssue($input: UpdatePestIssueInput!) {
9
+ updateHealthyBowlPestIssue(input: $input) {
10
+ id
11
+ }
12
+ }
13
+ `, Ye = a`
8
14
  mutation UpdateHealthyBowlAudit($input: UpdateAuditInput!) {
9
15
  updateHealthyBowlAudit(input: $input) {
10
16
  id
11
17
  }
12
18
  }
13
- `, Je = a`
19
+ `, Xe = a`
14
20
  mutation UpdateHealthyBowlHealthRecord($input: UpdateHealthRecordInput!) {
15
21
  updateHealthyBowlHealthRecord(input: $input) {
16
22
  id
17
23
  }
18
24
  }
19
- `, Ye = a`
25
+ `, Ze = a`
20
26
  mutation UpdateHealthyBowlFeedRecord($input: UpdateFeedRecordInput!) {
21
27
  updateHealthyBowlFeedRecord(input: $input) {
22
28
  id
23
29
  }
24
30
  }
25
- `, Xe = a`
31
+ `, Qe = a`
26
32
  mutation UpdateHealthyBowlVaccination($input: UpdateVaccinationInput!) {
27
33
  updateHealthyBowlVaccination(input: $input) {
28
34
  id
29
35
  }
30
36
  }
31
- `, Ze = a`
37
+ `, $e = a`
32
38
  mutation UpdateHealthyBowlBreedingRecord($input: UpdateBreedingRecordInput!) {
33
39
  updateHealthyBowlBreedingRecord(input: $input) {
34
40
  id
35
41
  }
36
42
  }
37
- `, Qe = a`
43
+ `, et = a`
38
44
  mutation UpdateHealthyBowlProductionRecord($input: UpdateProductionRecordInput!) {
39
45
  updateHealthyBowlProductionRecord(input: $input) {
40
46
  id
41
47
  }
42
48
  }
43
- `, $e = a`
49
+ `, tt = a`
44
50
  mutation UpdateHealthyBowlPlantingPlan($input: UpdatePlantingPlanInput!) {
45
51
  updateHealthyBowlPlantingPlan(input: $input) {
46
52
  id
47
53
  }
48
54
  }
49
- `, et = a`
55
+ `, nt = a`
50
56
  mutation DeleteHealthyBowlPlantingPlan($id: ID!, $context: ContextInput!) {
51
57
  deleteHealthyBowlPlantingPlan(id: $id, context: $context)
52
58
  }
53
- `, tt = a`
59
+ `, rt = a`
54
60
  mutation UpdateHealthyBowlHarvestRecord($input: UpdateHarvestRecordInput!) {
55
61
  updateHealthyBowlHarvestRecord(input: $input) {
56
62
  id
57
63
  }
58
64
  }
59
- `, nt = a`
65
+ `, it = a`
60
66
  mutation DeleteHealthyBowlHarvestRecord($id: ID!, $context: ContextInput!) {
61
67
  deleteHealthyBowlHarvestRecord(id: $id, context: $context)
62
68
  }
63
- `, rt = a`
69
+ `, at = a`
64
70
  mutation CreateHealthyBowlSchemeApplication($input: CreateSchemeApplicationInput!) {
65
71
  createHealthyBowlSchemeApplication(input: $input) {
66
72
  id
67
73
  }
68
74
  }
69
- `, it = a`
75
+ `, ot = a`
70
76
  mutation CreateHealthyBowlProduct($input: CreateHealthyBowlProductInput!) {
71
77
  createHealthyBowlProduct(input: $input) {
72
78
  id
73
79
  }
74
80
  }
75
- `, at = a`
81
+ `, st = a`
76
82
  mutation UpdateHealthyBowlProduct($input: UpdateHealthyBowlProductInput!) {
77
83
  updateHealthyBowlProduct(input: $input) {
78
84
  id
79
85
  }
80
86
  }
81
- `, ot = a`
87
+ `, ct = a`
82
88
  mutation DeleteHealthyBowlProduct($id: ID!, $context: ContextInput!) {
83
89
  deleteHealthyBowlProduct(id: $id, context: $context)
84
90
  }
85
- `, st = a`
91
+ `, lt = a`
92
+ mutation CreateHealthyBowlConsultation($input: CreateConsultationInput!) {
93
+ createHealthyBowlConsultation(input: $input) {
94
+ id
95
+ consultantType
96
+ consultantId
97
+ consultantName
98
+ topic
99
+ requestedDate
100
+ mode
101
+ notes
102
+ fee
103
+ status
104
+ createdAt
105
+ }
106
+ }
107
+ `, ut = a`
108
+ query GetHealthyBowlConsultations($context: ContextInput!) {
109
+ getHealthyBowlConsultations(context: $context) {
110
+ id
111
+ consultantType
112
+ consultantId
113
+ consultantName
114
+ topic
115
+ requestedDate
116
+ mode
117
+ notes
118
+ fee
119
+ status
120
+ createdAt
121
+ }
122
+ }
123
+ `, dt = a`
86
124
  mutation UpdateHealthyBowlBudget($input: UpdateBudgetInput!) {
87
125
  updateHealthyBowlBudget(input: $input) {
88
126
  id
@@ -95,7 +133,7 @@ var qe = a`
95
133
  status
96
134
  }
97
135
  }
98
- `, ct = a`
136
+ `, ft = a`
99
137
  mutation UpdateHealthyBowlInvoice($input: UpdateInvoiceInput!) {
100
138
  updateHealthyBowlInvoice(input: $input) {
101
139
  id
@@ -107,7 +145,7 @@ var qe = a`
107
145
  total
108
146
  }
109
147
  }
110
- `, lt = {
148
+ `, pt = {
111
149
  totalRevenue: 0,
112
150
  totalExpenses: 0,
113
151
  netProfit: 0,
@@ -118,7 +156,7 @@ var qe = a`
118
156
  pendingOrders: 0,
119
157
  weatherAlerts: 0,
120
158
  organicScore: 0
121
- }, ut = {
159
+ }, mt = {
122
160
  id: "",
123
161
  name: "",
124
162
  location: "",
@@ -126,7 +164,7 @@ var qe = a`
126
164
  areaUnit: "acres",
127
165
  organicCertified: !1,
128
166
  owner: ""
129
- }, dt = {
167
+ }, ht = {
130
168
  location: "",
131
169
  current: {
132
170
  temperature: 0,
@@ -150,58 +188,60 @@ function c(e, t) {
150
188
  return e ?? t;
151
189
  }
152
190
  function l() {
153
- let { workspaceId: a } = e(), l = a || "00000000-0000-0000-0000-000000000001", { data: ft, loading: pt, error: mt, refetch: u } = Ae({
191
+ let { workspaceId: a } = e(), l = a || "00000000-0000-0000-0000-000000000001", { data: gt, loading: _t, error: vt, refetch: u } = Ae({
154
192
  variables: { context: { workspaceId: l } },
155
193
  fetchPolicy: "cache-and-network"
156
- }), { data: ht, loading: gt, error: _t, refetch: d } = Te({
194
+ }), { data: yt, loading: bt, error: xt, refetch: d } = Te({
157
195
  variables: { context: { workspaceId: l } },
158
196
  fetchPolicy: "cache-and-network"
159
- }), { data: vt, loading: yt, error: bt, refetch: f } = ze({
197
+ }), { data: St, loading: Ct, error: wt, refetch: f } = ze({
160
198
  variables: { context: { workspaceId: l } },
161
199
  fetchPolicy: "cache-and-network"
162
- }), { data: xt, loading: St, error: Ct, refetch: p } = Ne({
200
+ }), { data: Tt, loading: Et, error: Dt, refetch: p } = Ne({
163
201
  variables: { context: { workspaceId: l } },
164
202
  fetchPolicy: "cache-and-network"
165
- }), { data: wt, loading: Tt, error: Et, refetch: m } = Le({
203
+ }), { data: m, refetch: h } = qe(ut, {
204
+ variables: { context: { workspaceId: l } },
205
+ fetchPolicy: "cache-and-network",
206
+ errorPolicy: "all"
207
+ }), { data: Ot, loading: kt, error: At, refetch: g } = Le({
166
208
  variables: { context: { workspaceId: l } },
167
209
  fetchPolicy: "cache-and-network"
168
- }), { data: Dt, loading: Ot, error: kt, refetch: h } = Oe({
210
+ }), { data: jt, loading: Mt, error: Nt, refetch: _ } = Oe({
169
211
  variables: { context: { workspaceId: l } },
170
212
  fetchPolicy: "cache-and-network"
171
- }), { data: At, loading: jt, error: Mt, refetch: g } = De({
213
+ }), { data: Pt, loading: Ft, error: It, refetch: v } = De({
172
214
  variables: { context: { workspaceId: l } },
173
215
  fetchPolicy: "cache-and-network"
174
- }), { data: Nt, loading: Pt, error: Ft, refetch: _ } = je({
216
+ }), { data: Lt, loading: Rt, error: zt, refetch: y } = je({
175
217
  variables: { context: { workspaceId: l } },
176
218
  fetchPolicy: "cache-and-network"
177
- }), { data: It, loading: Lt, error: Rt, refetch: v } = ke({
219
+ }), { data: Bt, loading: Vt, error: Ht, refetch: b } = ke({
178
220
  variables: { context: { workspaceId: l } },
179
221
  fetchPolicy: "cache-and-network"
180
- }), { data: zt, loading: Bt, error: Vt, refetch: y } = Me({
222
+ }), { data: Ut, loading: Wt, error: Gt, refetch: x } = Me({
181
223
  variables: { context: { workspaceId: l } },
182
224
  fetchPolicy: "cache-and-network"
183
- }), { data: Ht, loading: Ut, error: Wt, refetch: b } = Fe({
225
+ }), { data: Kt, loading: qt, error: Jt, refetch: S } = Fe({
184
226
  variables: { context: { workspaceId: l } },
185
227
  fetchPolicy: "cache-and-network"
186
- }), { data: Gt, loading: Kt, error: qt, refetch: x } = Ie({
228
+ }), { data: Yt, loading: Xt, error: Zt, refetch: C } = Ie({
187
229
  variables: { context: { workspaceId: l } },
188
230
  fetchPolicy: "cache-and-network"
189
- }), { data: Jt, loading: Yt, error: Xt, refetch: S } = Re({
231
+ }), { data: Qt, loading: $t, error: en, refetch: w } = Re({
190
232
  variables: { context: { workspaceId: l } },
191
233
  fetchPolicy: "cache-and-network"
192
- }), { data: Zt, loading: Qt, error: $t, refetch: C } = Ee({
234
+ }), { data: tn, loading: nn, error: rn, refetch: T } = Ee({
193
235
  variables: { context: { workspaceId: l } },
194
236
  fetchPolicy: "cache-and-network"
195
- }), { data: en, loading: tn, error: nn, refetch: w } = Pe({
237
+ }), { data: an, loading: on, error: sn, refetch: E } = Pe({
196
238
  variables: { context: { workspaceId: l } },
197
239
  fetchPolicy: "cache-and-network"
198
- }), [T] = Be(), [E] = re(), [D] = He(), [O] = xe(), [k] = t(), [A] = Ve(), [j] = be(), [M] = ie(), [N] = Ue(), [P] = oe(), [F] = We(), [I] = Se(), [L] = ue(), [rn] = Ge(), [an] = Ce(), [on] = _e(), [sn] = Ke(), [cn] = we(), [ln] = fe(), [un] = se(), [dn] = ce(), [fn] = ae(), [pn] = ye(), [mn] = ee(), [hn] = pe(), [gn] = o(qe), [_n] = o(Je), [vn] = o(Ye), [yn] = o(Xe), [bn] = o(Ze), [xn] = o(Qe), [Sn] = o($e), [Cn] = o(et), [wn] = o(tt), [Tn] = o(nt), [En] = o(rt), [Dn] = o(it), [On] = o(at), [kn] = o(ot), [An] = he(), [jn] = de(), [Mn] = ve(), [Nn] = me(), [Pn] = te(), [Fn] = le(), [In] = o(st), [Ln] = o(ct), [Rn] = n(), [zn] = ge(), [Bn] = ne(), R = r(() => Promise.all([
240
+ }), [D] = Be(), [O] = re(), [k] = He(), [A] = xe(), [j] = t(), [M] = Ve(), [N] = be(), [P] = ie(), [F] = Ue(), [I] = oe(), [cn] = We(), [ln] = Se(), [un] = ue(), [dn] = Ge(), [fn] = Ce(), [pn] = _e(), [mn] = Ke(), [hn] = we(), [gn] = fe(), [_n] = se(), [vn] = ce(), [yn] = ae(), [bn] = ye(), [xn] = ee(), [Sn] = pe(), [Cn] = o(Je), [wn] = o(Ye), [Tn] = o(Xe), [En] = o(Ze), [Dn] = o(Qe), [On] = o($e), [kn] = o(et), [An] = o(tt), [jn] = o(nt), [Mn] = o(rt), [Nn] = o(it), [Pn] = o(at), [Fn] = o(ot), [In] = o(st), [Ln] = o(ct), [Rn] = o(lt), [zn] = he(), [Bn] = de(), [Vn] = ve(), [Hn] = me(), [Un] = te(), [Wn] = le(), [Gn] = o(dt), [Kn] = o(ft), [qn] = n(), [Jn] = ge(), [Yn] = ne(), L = r(() => Promise.all([
199
241
  u(),
200
242
  f(),
201
243
  d(),
202
244
  p(),
203
- m(),
204
- h(),
205
245
  g(),
206
246
  _(),
207
247
  v(),
@@ -210,14 +250,15 @@ function l() {
210
250
  x(),
211
251
  S(),
212
252
  C(),
213
- w()
253
+ w(),
254
+ T(),
255
+ E(),
256
+ h()
214
257
  ]), [
215
258
  u,
216
259
  f,
217
260
  d,
218
261
  p,
219
- m,
220
- h,
221
262
  g,
222
263
  _,
223
264
  v,
@@ -226,667 +267,696 @@ function l() {
226
267
  x,
227
268
  S,
228
269
  C,
229
- w
230
- ]), Vn = r(async (e, t = !0) => {
231
- let n = await T({ variables: { input: {
270
+ w,
271
+ T,
272
+ E,
273
+ h
274
+ ]), Xn = r(async (e, t = !0) => {
275
+ let n = await D({ variables: { input: {
232
276
  alertId: e,
233
277
  read: t,
234
278
  context: { workspaceId: l }
235
279
  } } });
236
- return await R(), !!n.data?.markHealthyBowlAlertRead?.success;
280
+ return await L(), !!n.data?.markHealthyBowlAlertRead?.success;
237
281
  }, [
238
282
  l,
239
- T,
240
- R
241
- ]), z = i(() => ({ workspaceId: l }), [l]), Hn = r(async (e) => {
242
- let t = await E({ variables: { input: {
243
- ...e,
244
- context: z
245
- } } });
246
- if (t.error) throw t.error;
247
- return await g(), t.data?.createHealthyBowlCrop;
248
- }, [
249
- E,
250
- z,
251
- g
252
- ]), Un = r(async (e) => {
253
- let t = await D({ variables: { input: {
283
+ D,
284
+ L
285
+ ]), R = i(() => ({ workspaceId: l }), [l]), Zn = r(async (e) => {
286
+ let t = await O({ variables: { input: {
254
287
  ...e,
255
- context: z
288
+ context: R
256
289
  } } });
257
290
  if (t.error) throw t.error;
258
- return await g(), t.data?.updateHealthyBowlCrop;
259
- }, [
260
- D,
261
- z,
262
- g
263
- ]), Wn = r(async (e) => {
264
- let t = await O({ variables: {
265
- context: z,
266
- id: e
267
- } });
268
- if (t.error) throw t.error;
269
- return await g(), !0;
291
+ return await v(), t.data?.createHealthyBowlCrop;
270
292
  }, [
271
293
  O,
272
- z,
273
- g
274
- ]), Gn = r(async (e) => {
294
+ R,
295
+ v
296
+ ]), Qn = r(async (e) => {
275
297
  let t = await k({ variables: { input: {
276
298
  ...e,
277
- context: z
299
+ context: R
278
300
  } } });
279
301
  if (t.error) throw t.error;
280
- return await _(), t.data?.createHealthyBowlAnimal;
302
+ return await v(), t.data?.updateHealthyBowlCrop;
281
303
  }, [
282
304
  k,
283
- z,
284
- _
285
- ]), Kn = r(async (e) => {
286
- let t = await A({ variables: { input: {
287
- ...e,
288
- context: z
289
- } } });
305
+ R,
306
+ v
307
+ ]), $n = r(async (e) => {
308
+ let t = await A({ variables: {
309
+ context: R,
310
+ id: e
311
+ } });
290
312
  if (t.error) throw t.error;
291
- return await _(), t.data?.updateHealthyBowlAnimal;
313
+ return await v(), !0;
292
314
  }, [
293
315
  A,
294
- z,
295
- _
296
- ]), qn = r(async (e) => {
297
- let t = await j({ variables: {
298
- context: z,
299
- id: e
300
- } });
316
+ R,
317
+ v
318
+ ]), er = r(async (e) => {
319
+ let t = await j({ variables: { input: {
320
+ ...e,
321
+ context: R
322
+ } } });
301
323
  if (t.error) throw t.error;
302
- return await _(), !0;
324
+ return await y(), t.data?.createHealthyBowlAnimal;
303
325
  }, [
304
326
  j,
305
- z,
306
- _
307
- ]), Jn = r(async (e) => {
327
+ R,
328
+ y
329
+ ]), tr = r(async (e) => {
308
330
  let t = await M({ variables: { input: {
309
331
  ...e,
310
- context: z
332
+ context: R
311
333
  } } });
312
334
  if (t.error) throw t.error;
313
- return await h(), t.data?.createHealthyBowlFarm;
335
+ return await y(), t.data?.updateHealthyBowlAnimal;
314
336
  }, [
315
337
  M,
316
- z,
317
- h
318
- ]), Yn = r(async (e) => {
319
- let t = await N({ variables: { input: {
320
- ...e,
321
- context: z
322
- } } });
338
+ R,
339
+ y
340
+ ]), nr = r(async (e) => {
341
+ let t = await N({ variables: {
342
+ context: R,
343
+ id: e
344
+ } });
323
345
  if (t.error) throw t.error;
324
- return await h(), t.data?.updateHealthyBowlFarm;
346
+ return await y(), !0;
325
347
  }, [
326
348
  N,
327
- z,
328
- h
329
- ]), Xn = r(async (e) => {
349
+ R,
350
+ y
351
+ ]), rr = r(async (e) => {
330
352
  let t = await P({ variables: { input: {
331
353
  ...e,
332
- context: z
354
+ context: R
333
355
  } } });
334
356
  if (t.error) throw t.error;
335
- return await g(), t.data?.createHealthyBowlField;
357
+ return await _(), t.data?.createHealthyBowlFarm;
336
358
  }, [
337
359
  P,
338
- z,
339
- g
340
- ]), Zn = r(async (e) => {
360
+ R,
361
+ _
362
+ ]), ir = r(async (e) => {
341
363
  let t = await F({ variables: { input: {
342
364
  ...e,
343
- context: z
365
+ context: R
344
366
  } } });
345
367
  if (t.error) throw t.error;
346
- return await g(), t.data?.updateHealthyBowlField;
368
+ return await _(), t.data?.updateHealthyBowlFarm;
347
369
  }, [
348
370
  F,
349
- z,
350
- g
351
- ]), Qn = r(async (e) => {
352
- let t = await I({ variables: {
353
- context: z,
354
- id: e
355
- } });
356
- if (t.error) throw t.error;
357
- return await g(), !0;
358
- }, [
359
- I,
360
- z,
361
- g
362
- ]), $n = r(async (e) => {
363
- let t = await L({ variables: { input: {
364
- ...e,
365
- context: z
366
- } } });
367
- if (t.error) throw t.error;
368
- return await y(), t.data?.createHealthyBowlMarketplaceProduct;
369
- }, [
370
- L,
371
- z,
372
- y
373
- ]), er = r(async (e) => {
374
- let t = await rn({ variables: { input: {
375
- ...e,
376
- context: z
377
- } } });
378
- if (t.error) throw t.error;
379
- return await y(), t.data?.updateHealthyBowlMarketplaceProduct;
380
- }, [
381
- rn,
382
- z,
383
- y
384
- ]), tr = r(async (e) => {
385
- let t = await an({ variables: {
386
- context: z,
387
- id: e
388
- } });
389
- if (t.error) throw t.error;
390
- return await y(), !0;
391
- }, [
392
- an,
393
- z,
394
- y
395
- ]), nr = r(async (e) => {
396
- let t = await on({ variables: { input: {
371
+ R,
372
+ _
373
+ ]), ar = r(async (e) => {
374
+ let t = await I({ variables: { input: {
397
375
  ...e,
398
- context: z
376
+ context: R
399
377
  } } });
400
378
  if (t.error) throw t.error;
401
- return await v(), t.data?.createHealthyBowlTransaction;
379
+ return await v(), t.data?.createHealthyBowlField;
402
380
  }, [
403
- on,
404
- z,
381
+ I,
382
+ R,
405
383
  v
406
- ]), rr = r(async (e) => {
407
- let t = await sn({ variables: { input: {
384
+ ]), or = r(async (e) => {
385
+ let t = await cn({ variables: { input: {
408
386
  ...e,
409
- context: z
387
+ context: R
410
388
  } } });
411
389
  if (t.error) throw t.error;
412
- return await v(), t.data?.updateHealthyBowlTransaction;
390
+ return await v(), t.data?.updateHealthyBowlField;
413
391
  }, [
414
- sn,
415
- z,
392
+ cn,
393
+ R,
416
394
  v
417
- ]), ir = r(async (e) => {
418
- let t = await cn({ variables: {
419
- context: z,
395
+ ]), sr = r(async (e) => {
396
+ let t = await ln({ variables: {
397
+ context: R,
420
398
  id: e
421
399
  } });
422
400
  if (t.error) throw t.error;
423
401
  return await v(), !0;
424
- }, [
425
- cn,
426
- z,
427
- v
428
- ]), ar = r(async (e) => {
429
- let t = await ln({ variables: { input: {
430
- ...e,
431
- context: z
432
- } } });
433
- if (t.error) throw t.error;
434
- return await g(), t.data?.createHealthyBowlPlantingPlan;
435
402
  }, [
436
403
  ln,
437
- z,
438
- g
439
- ]), or = r(async (e) => {
404
+ R,
405
+ v
406
+ ]), cr = r(async (e) => {
440
407
  let t = await un({ variables: { input: {
441
408
  ...e,
442
- context: z
409
+ context: R
443
410
  } } });
444
411
  if (t.error) throw t.error;
445
- return await g(), t.data?.createHealthyBowlHarvestRecord;
412
+ return await x(), t.data?.createHealthyBowlMarketplaceProduct;
446
413
  }, [
447
414
  un,
448
- z,
449
- g
450
- ]), sr = r(async (e) => {
415
+ R,
416
+ x
417
+ ]), lr = r(async (e) => {
451
418
  let t = await dn({ variables: { input: {
452
419
  ...e,
453
- context: z
420
+ context: R
454
421
  } } });
455
422
  if (t.error) throw t.error;
456
- return await _(), t.data?.createHealthyBowlHealthRecord;
423
+ return await x(), t.data?.updateHealthyBowlMarketplaceProduct;
457
424
  }, [
458
425
  dn,
459
- z,
460
- _
461
- ]), cr = r(async (e) => {
462
- let t = await fn({ variables: { input: {
463
- ...e,
464
- context: z
465
- } } });
426
+ R,
427
+ x
428
+ ]), ur = r(async (e) => {
429
+ let t = await fn({ variables: {
430
+ context: R,
431
+ id: e
432
+ } });
466
433
  if (t.error) throw t.error;
467
- return await _(), t.data?.createHealthyBowlFeedRecord;
434
+ return await x(), !0;
468
435
  }, [
469
436
  fn,
470
- z,
471
- _
472
- ]), lr = r(async (e) => {
437
+ R,
438
+ x
439
+ ]), dr = r(async (e) => {
473
440
  let t = await pn({ variables: { input: {
474
441
  ...e,
475
- context: z
442
+ context: R
476
443
  } } });
477
444
  if (t.error) throw t.error;
478
- return await _(), t.data?.createHealthyBowlVaccination;
445
+ return await b(), t.data?.createHealthyBowlTransaction;
479
446
  }, [
480
447
  pn,
481
- z,
482
- _
483
- ]), ur = r(async (e) => {
448
+ R,
449
+ b
450
+ ]), fr = r(async (e) => {
484
451
  let t = await mn({ variables: { input: {
485
452
  ...e,
486
- context: z
453
+ context: R
487
454
  } } });
488
455
  if (t.error) throw t.error;
489
- return await _(), t.data?.createHealthyBowlBreedingRecord;
456
+ return await b(), t.data?.updateHealthyBowlTransaction;
490
457
  }, [
491
458
  mn,
492
- z,
493
- _
494
- ]), dr = r(async (e) => {
495
- let t = await hn({ variables: { input: {
459
+ R,
460
+ b
461
+ ]), pr = r(async (e) => {
462
+ let t = await hn({ variables: {
463
+ context: R,
464
+ id: e
465
+ } });
466
+ if (t.error) throw t.error;
467
+ return await b(), !0;
468
+ }, [
469
+ hn,
470
+ R,
471
+ b
472
+ ]), mr = r(async (e) => {
473
+ let t = await gn({ variables: { input: {
496
474
  ...e,
497
- context: z
475
+ context: R
498
476
  } } });
499
477
  if (t.error) throw t.error;
500
- return await _(), t.data?.createHealthyBowlProductionRecord;
478
+ return await v(), t.data?.createHealthyBowlPlantingPlan;
501
479
  }, [
502
- hn,
503
- z,
504
- _
505
- ]), fr = r(async (e) => {
480
+ gn,
481
+ R,
482
+ v
483
+ ]), hr = r(async (e) => {
506
484
  let t = await _n({ variables: { input: {
507
485
  ...e,
508
- context: z
486
+ context: R
509
487
  } } });
510
488
  if (t.error) throw t.error;
511
- return await _(), t.data?.updateHealthyBowlHealthRecord;
489
+ return await v(), t.data?.createHealthyBowlHarvestRecord;
512
490
  }, [
513
491
  _n,
514
- z,
515
- _
516
- ]), pr = r(async (e) => {
492
+ R,
493
+ v
494
+ ]), gr = r(async (e) => {
517
495
  let t = await vn({ variables: { input: {
518
496
  ...e,
519
- context: z
497
+ context: R
520
498
  } } });
521
499
  if (t.error) throw t.error;
522
- return await _(), t.data?.updateHealthyBowlFeedRecord;
500
+ return await y(), t.data?.createHealthyBowlHealthRecord;
523
501
  }, [
524
502
  vn,
525
- z,
526
- _
527
- ]), mr = r(async (e) => {
503
+ R,
504
+ y
505
+ ]), _r = r(async (e) => {
528
506
  let t = await yn({ variables: { input: {
529
507
  ...e,
530
- context: z
508
+ context: R
531
509
  } } });
532
510
  if (t.error) throw t.error;
533
- return await _(), t.data?.updateHealthyBowlVaccination;
511
+ return await y(), t.data?.createHealthyBowlFeedRecord;
534
512
  }, [
535
513
  yn,
536
- z,
537
- _
538
- ]), hr = r(async (e) => {
514
+ R,
515
+ y
516
+ ]), vr = r(async (e) => {
539
517
  let t = await bn({ variables: { input: {
540
518
  ...e,
541
- context: z
519
+ context: R
542
520
  } } });
543
521
  if (t.error) throw t.error;
544
- return await _(), t.data?.updateHealthyBowlBreedingRecord;
522
+ return await y(), t.data?.createHealthyBowlVaccination;
545
523
  }, [
546
524
  bn,
547
- z,
548
- _
549
- ]), gr = r(async (e) => {
525
+ R,
526
+ y
527
+ ]), yr = r(async (e) => {
550
528
  let t = await xn({ variables: { input: {
551
529
  ...e,
552
- context: z
530
+ context: R
553
531
  } } });
554
532
  if (t.error) throw t.error;
555
- return await _(), t.data?.updateHealthyBowlProductionRecord;
533
+ return await y(), t.data?.createHealthyBowlBreedingRecord;
556
534
  }, [
557
535
  xn,
558
- z,
559
- _
560
- ]), _r = r(async (e) => {
536
+ R,
537
+ y
538
+ ]), br = r(async (e) => {
561
539
  let t = await Sn({ variables: { input: {
562
540
  ...e,
563
- context: z
541
+ context: R
564
542
  } } });
565
543
  if (t.error) throw t.error;
566
- return await g(), t.data?.updateHealthyBowlPlantingPlan;
544
+ return await y(), t.data?.createHealthyBowlProductionRecord;
567
545
  }, [
568
546
  Sn,
569
- z,
570
- g
571
- ]), vr = r(async (e) => {
572
- let t = await Cn({ variables: {
573
- id: e,
574
- context: z
575
- } });
576
- if (t.error) throw t.error;
577
- return await g(), t.data?.deleteHealthyBowlPlantingPlan ?? !1;
578
- }, [
579
- Cn,
580
- z,
581
- g
582
- ]), yr = r(async (e) => {
583
- let t = await wn({ variables: { input: {
547
+ R,
548
+ y
549
+ ]), xr = r(async (e) => {
550
+ let t = await Tn({ variables: { input: {
584
551
  ...e,
585
- context: z
552
+ context: R
586
553
  } } });
587
554
  if (t.error) throw t.error;
588
- return await g(), t.data?.updateHealthyBowlHarvestRecord;
589
- }, [
590
- wn,
591
- z,
592
- g
593
- ]), br = r(async (e) => {
594
- let t = await Tn({ variables: {
595
- id: e,
596
- context: z
597
- } });
598
- if (t.error) throw t.error;
599
- return await g(), t.data?.deleteHealthyBowlHarvestRecord ?? !1;
555
+ return await y(), t.data?.updateHealthyBowlHealthRecord;
600
556
  }, [
601
557
  Tn,
602
- z,
603
- g
604
- ]), xr = r(async (e) => {
558
+ R,
559
+ y
560
+ ]), Sr = r(async (e) => {
605
561
  let t = await En({ variables: { input: {
606
562
  ...e,
607
- context: z
563
+ context: R
608
564
  } } });
609
565
  if (t.error) throw t.error;
610
- return await u(), t.data?.createHealthyBowlSchemeApplication;
566
+ return await y(), t.data?.updateHealthyBowlFeedRecord;
611
567
  }, [
612
568
  En,
613
- z,
614
- u
615
- ]), Sr = r(async (e) => {
569
+ R,
570
+ y
571
+ ]), Cr = r(async (e) => {
616
572
  let t = await Dn({ variables: { input: {
617
573
  ...e,
618
- context: z
574
+ context: R
619
575
  } } });
620
576
  if (t.error) throw t.error;
621
- return await x(), t.data?.createHealthyBowlProduct;
577
+ return await y(), t.data?.updateHealthyBowlVaccination;
622
578
  }, [
623
579
  Dn,
624
- z,
625
- x
626
- ]), Cr = r(async (e) => {
580
+ R,
581
+ y
582
+ ]), wr = r(async (e) => {
627
583
  let t = await On({ variables: { input: {
628
584
  ...e,
629
- context: z
585
+ context: R
630
586
  } } });
631
587
  if (t.error) throw t.error;
632
- return await x(), t.data?.updateHealthyBowlProduct;
588
+ return await y(), t.data?.updateHealthyBowlBreedingRecord;
633
589
  }, [
634
590
  On,
635
- z,
636
- x
637
- ]), wr = r(async (e) => {
638
- let t = await kn({ variables: {
639
- id: e,
640
- context: z
641
- } });
591
+ R,
592
+ y
593
+ ]), Tr = r(async (e) => {
594
+ let t = await kn({ variables: { input: {
595
+ ...e,
596
+ context: R
597
+ } } });
642
598
  if (t.error) throw t.error;
643
- return await x(), t.data?.deleteHealthyBowlProduct ?? !1;
599
+ return await y(), t.data?.updateHealthyBowlProductionRecord;
644
600
  }, [
645
601
  kn,
646
- z,
647
- x
648
- ]), Tr = r(async (e) => {
602
+ R,
603
+ y
604
+ ]), Er = r(async (e) => {
649
605
  let t = await An({ variables: { input: {
650
606
  ...e,
651
- context: z
607
+ context: R
652
608
  } } });
653
609
  if (t.error) throw t.error;
654
- return await m(), t.data?.createHealthyBowlSoilTest;
610
+ return await v(), t.data?.updateHealthyBowlPlantingPlan;
655
611
  }, [
656
612
  An,
657
- z,
658
- m
659
- ]), Er = r(async (e) => {
660
- let t = await jn({ variables: { input: {
661
- ...e,
662
- context: z
663
- } } });
613
+ R,
614
+ v
615
+ ]), Dr = r(async (e) => {
616
+ let t = await jn({ variables: {
617
+ id: e,
618
+ context: R
619
+ } });
664
620
  if (t.error) throw t.error;
665
- return await w(), t.data?.createHealthyBowlPestIssue;
621
+ return await v(), t.data?.deleteHealthyBowlPlantingPlan ?? !1;
666
622
  }, [
667
623
  jn,
668
- z,
669
- w
670
- ]), Dr = r(async (e) => {
624
+ R,
625
+ v
626
+ ]), Or = r(async (e) => {
671
627
  let t = await Mn({ variables: { input: {
672
628
  ...e,
673
- context: z
629
+ context: R
674
630
  } } });
675
631
  if (t.error) throw t.error;
676
- return await w(), t.data?.createHealthyBowlTreatment;
632
+ return await v(), t.data?.updateHealthyBowlHarvestRecord;
677
633
  }, [
678
634
  Mn,
679
- z,
680
- w
681
- ]), Or = r(async (e) => {
682
- let t = await Nn({ variables: { input: {
683
- ...e,
684
- context: z
685
- } } });
635
+ R,
636
+ v
637
+ ]), kr = r(async (e) => {
638
+ let t = await Nn({ variables: {
639
+ id: e,
640
+ context: R
641
+ } });
686
642
  if (t.error) throw t.error;
687
- return await b(), t.data?.createHealthyBowlRecipe;
643
+ return await v(), t.data?.deleteHealthyBowlHarvestRecord ?? !1;
688
644
  }, [
689
645
  Nn,
690
- z,
691
- b
692
- ]), kr = r(async (e) => {
646
+ R,
647
+ v
648
+ ]), Ar = r(async (e) => {
693
649
  let t = await Pn({ variables: { input: {
694
650
  ...e,
695
- context: z
651
+ context: R
696
652
  } } });
697
653
  if (t.error) throw t.error;
698
- return await v(), t.data?.createHealthyBowlBudget;
654
+ return await u(), t.data?.createHealthyBowlSchemeApplication;
699
655
  }, [
700
656
  Pn,
701
- z,
702
- v
703
- ]), Ar = r(async (e) => {
657
+ R,
658
+ u
659
+ ]), jr = r(async (e) => {
704
660
  let t = await Fn({ variables: { input: {
705
661
  ...e,
706
- context: z
662
+ context: R
707
663
  } } });
708
664
  if (t.error) throw t.error;
709
- return await v(), t.data?.createHealthyBowlInvoice;
665
+ return await C(), t.data?.createHealthyBowlProduct;
710
666
  }, [
711
667
  Fn,
712
- z,
713
- v
714
- ]), jr = r(async (e) => {
668
+ R,
669
+ C
670
+ ]), Mr = r(async (e) => {
715
671
  let t = await In({ variables: { input: {
716
672
  ...e,
717
- context: z
673
+ context: R
718
674
  } } });
719
675
  if (t.error) throw t.error;
720
- return await v(), t.data?.updateHealthyBowlBudget;
676
+ return await C(), t.data?.updateHealthyBowlProduct;
721
677
  }, [
722
678
  In,
723
- z,
724
- v
725
- ]), Mr = r(async (e) => {
726
- let t = await Ln({ variables: { input: {
679
+ R,
680
+ C
681
+ ]), Nr = r(async (e) => {
682
+ let t = await Ln({ variables: {
683
+ id: e,
684
+ context: R
685
+ } });
686
+ if (t.error) throw t.error;
687
+ return await C(), t.data?.deleteHealthyBowlProduct ?? !1;
688
+ }, [
689
+ Ln,
690
+ R,
691
+ C
692
+ ]), Pr = r(async (e) => {
693
+ let t = await zn({ variables: { input: {
727
694
  ...e,
728
- context: z
695
+ context: R
729
696
  } } });
730
697
  if (t.error) throw t.error;
731
- return await v(), t.data?.updateHealthyBowlInvoice;
698
+ return await g(), t.data?.createHealthyBowlSoilTest;
732
699
  }, [
733
- Ln,
734
- z,
735
- v
736
- ]), Nr = r(async (e) => {
737
- let t = await Rn({ variables: { input: {
700
+ zn,
701
+ R,
702
+ g
703
+ ]), Fr = r(async (e) => {
704
+ let t = await Bn({ variables: { input: {
738
705
  ...e,
739
- context: z
706
+ context: R
740
707
  } } });
741
708
  if (t.error) throw t.error;
742
- return await C(), t.data?.createHealthyBowlAudit;
709
+ return await E(), t.data?.createHealthyBowlPestIssue;
743
710
  }, [
744
- Rn,
745
- z,
746
- C
747
- ]), Pr = r(async (e) => {
748
- let t = await gn({ variables: { input: {
711
+ Bn,
712
+ R,
713
+ E
714
+ ]), Ir = r(async (e) => {
715
+ let t = await Cn({ variables: { input: {
749
716
  ...e,
750
- context: z
717
+ context: R
751
718
  } } });
752
719
  if (t.error) throw t.error;
753
- return await C(), t.data?.updateHealthyBowlAudit;
720
+ return await E(), t.data?.updateHealthyBowlPestIssue;
754
721
  }, [
755
- gn,
756
- z,
757
- C
758
- ]), Fr = r(async (e) => {
759
- let t = await zn({ variables: { input: {
722
+ Cn,
723
+ R,
724
+ E
725
+ ]), Lr = r(async (e) => {
726
+ let t = await Vn({ variables: { input: {
760
727
  ...e,
761
- context: z
728
+ context: R
762
729
  } } });
763
730
  if (t.error) throw t.error;
764
- return await S(), t.data?.createHealthyBowlTraceBatch;
731
+ return await E(), t.data?.createHealthyBowlTreatment;
765
732
  }, [
766
- zn,
767
- z,
733
+ Vn,
734
+ R,
735
+ E
736
+ ]), Rr = r(async (e) => {
737
+ let t = await Hn({ variables: { input: {
738
+ ...e,
739
+ context: R
740
+ } } });
741
+ if (t.error) throw t.error;
742
+ return await S(), t.data?.createHealthyBowlRecipe;
743
+ }, [
744
+ Hn,
745
+ R,
768
746
  S
769
- ]), Ir = r(async (e) => {
770
- let t = await Bn({ variables: { input: {
747
+ ]), zr = r(async (e) => {
748
+ let t = await Un({ variables: { input: {
749
+ ...e,
750
+ context: R
751
+ } } });
752
+ if (t.error) throw t.error;
753
+ return await b(), t.data?.createHealthyBowlBudget;
754
+ }, [
755
+ Un,
756
+ R,
757
+ b
758
+ ]), Br = r(async (e) => {
759
+ let t = await Wn({ variables: { input: {
760
+ ...e,
761
+ context: R
762
+ } } });
763
+ if (t.error) throw t.error;
764
+ return await b(), t.data?.createHealthyBowlInvoice;
765
+ }, [
766
+ Wn,
767
+ R,
768
+ b
769
+ ]), Vr = r(async (e) => {
770
+ let t = await Gn({ variables: { input: {
771
+ ...e,
772
+ context: R
773
+ } } });
774
+ if (t.error) throw t.error;
775
+ return await b(), t.data?.updateHealthyBowlBudget;
776
+ }, [
777
+ Gn,
778
+ R,
779
+ b
780
+ ]), Hr = r(async (e) => {
781
+ let t = await Kn({ variables: { input: {
782
+ ...e,
783
+ context: R
784
+ } } });
785
+ if (t.error) throw t.error;
786
+ return await b(), t.data?.updateHealthyBowlInvoice;
787
+ }, [
788
+ Kn,
789
+ R,
790
+ b
791
+ ]), Ur = r(async (e) => {
792
+ let t = await qn({ variables: { input: {
793
+ ...e,
794
+ context: R
795
+ } } });
796
+ if (t.error) throw t.error;
797
+ return await T(), t.data?.createHealthyBowlAudit;
798
+ }, [
799
+ qn,
800
+ R,
801
+ T
802
+ ]), Wr = r(async (e) => {
803
+ let t = await wn({ variables: { input: {
804
+ ...e,
805
+ context: R
806
+ } } });
807
+ if (t.error) throw t.error;
808
+ return await T(), t.data?.updateHealthyBowlAudit;
809
+ }, [
810
+ wn,
811
+ R,
812
+ T
813
+ ]), Gr = r(async (e) => {
814
+ let t = await Jn({ variables: { input: {
771
815
  ...e,
772
- context: z
816
+ context: R
817
+ } } });
818
+ if (t.error) throw t.error;
819
+ return await w(), t.data?.createHealthyBowlTraceBatch;
820
+ }, [
821
+ Jn,
822
+ R,
823
+ w
824
+ ]), Kr = r(async (e) => {
825
+ let t = await Yn({ variables: { input: {
826
+ ...e,
827
+ context: R
773
828
  } } });
774
829
  if (t.error) throw t.error;
775
830
  return await p(), t.data?.createHealthyBowlCommunityPost;
776
831
  }, [
777
- Bn,
778
- z,
832
+ Yn,
833
+ R,
779
834
  p
780
- ]), B = ft?.getHealthyBowlGovernmentData, V = ht?.getHealthyBowlAnalyticsData, H = vt?.getHealthyBowlWeatherData, U = xt?.getHealthyBowlNetworkData, W = wt?.getHealthyBowlSoilData, G = Dt?.getHealthyBowlDashboardData, K = At?.getHealthyBowlCropsData, q = Nt?.getHealthyBowlLivestockData, J = It?.getHealthyBowlFinancialData, Y = zt?.getHealthyBowlMarketplaceData, X = Ht?.getHealthyBowlProductionData, Lr = Gt?.getHealthyBowlProductsData, Rr = Jt?.getHealthyBowlTraceabilityData, Z = Zt?.getHealthyBowlComplianceData, Q = en?.getHealthyBowlPestData, zr = pt || yt || gt || St || Tt || Ot || jt || Pt || Lt || Bt || Ut || Kt || Yt || Qt || tn, $ = mt ?? bt ?? _t ?? Ct ?? Et ?? kt ?? Mt ?? Ft ?? Rt ?? Vt ?? Wt ?? qt ?? Xt ?? $t ?? nn;
835
+ ]), qr = r(async (e) => {
836
+ let t = await Rn({ variables: { input: {
837
+ ...e,
838
+ context: R
839
+ } } });
840
+ if (t.error) throw t.error;
841
+ return await h(), t.data?.createHealthyBowlConsultation;
842
+ }, [
843
+ Rn,
844
+ R,
845
+ h
846
+ ]), z = gt?.getHealthyBowlGovernmentData, B = yt?.getHealthyBowlAnalyticsData, V = St?.getHealthyBowlWeatherData, H = Tt?.getHealthyBowlNetworkData, U = Ot?.getHealthyBowlSoilData, W = jt?.getHealthyBowlDashboardData, G = Pt?.getHealthyBowlCropsData, K = Lt?.getHealthyBowlLivestockData, q = Bt?.getHealthyBowlFinancialData, J = Ut?.getHealthyBowlMarketplaceData, Y = Kt?.getHealthyBowlProductionData, Jr = Yt?.getHealthyBowlProductsData, Yr = Qt?.getHealthyBowlTraceabilityData, X = tn?.getHealthyBowlComplianceData, Z = an?.getHealthyBowlPestData, Q = _t || Ct || bt || Et || kt || Mt || Ft || Rt || Vt || Wt || qt || Xt || $t || nn || on, $ = vt ?? wt ?? xt ?? Dt ?? At ?? Nt ?? It ?? zt ?? Ht ?? Gt ?? Jt ?? Zt ?? en ?? rn ?? sn;
781
847
  return i(() => ({
782
- alerts: s(G?.alerts, []),
783
- analyticsKPIs: s(V?.kpis, []),
784
- crops: s(K?.crops, []),
785
- dashboardStats: c(G?.dashboardStats, lt),
786
- dailyHistory: s(H?.dailyHistory, []),
787
- fields: s(K?.fields, []),
788
- farm: c(G?.farm, ut),
789
- governmentSchemes: s(B?.schemes, []),
790
- harvests: s(K?.harvests, []),
791
- invoices: s(J?.invoices, []),
792
- marketplaceProducts: s(Y?.marketplaceProducts, []),
793
- messages: s(B?.messages, []),
794
- monthlySummaries: s(H?.monthlySummaries, []),
795
- notifications: s(B?.notifications, []),
796
- orders: s(Y?.orders, []),
797
- plantingPlans: s(K?.plantingPlans, []),
798
- productionBatches: s(X?.productionBatches, []),
799
- products: s(Lr?.products, []),
800
- revenueChartData: s(V?.revenueChart, []),
801
- recipes: s(X?.recipes, []),
802
- benefitsChart: s(B?.benefitsChart, []),
803
- activity: s(B?.activity, []),
804
- announcements: s(B?.announcements, []),
805
- animals: s(q?.animals, []),
806
- breedingRecords: s(q?.breedingRecords, []),
807
- feedRecords: s(q?.feedRecords, []),
808
- healthRecords: s(q?.healthRecords, []),
809
- productionRecords: s(q?.productionRecords, []),
810
- schemeApplications: s(B?.applications, []),
811
- sensorReadings: s(W?.sensorReadings, []),
812
- soilTests: s(W?.soilTests, []),
813
- traceBatches: s(Rr?.traceBatches, []),
814
- trainingPrograms: s(B?.trainingPrograms, []),
815
- transactions: s(J?.transactions, []),
816
- vaccinations: s(q?.vaccinations, []),
817
- weatherData: c(H?.weather, dt),
818
- budgets: s(J?.budgets, []),
819
- analyticsReports: s(V?.reports, []),
820
- cropDistributionData: s(V?.cropDistribution, []),
821
- yieldTrendData: s(V?.yieldTrend, []),
822
- insights: s(V?.insights, []),
823
- audits: s(Z?.audits, []),
824
- certifications: s(Z?.certifications, []),
825
- complianceDocuments: s(Z?.complianceDocuments, []),
826
- communityPosts: s(U?.communityPosts, []),
827
- events: s(U?.events, []),
828
- experts: s(U?.experts, []),
829
- mentors: s(U?.mentors, []),
830
- agenda: s(U?.agenda, []),
831
- pestIssues: s(Q?.pestIssues, []),
832
- treatments: s(Q?.treatments, []),
833
- loading: zr,
848
+ alerts: s(W?.alerts, []),
849
+ analyticsKPIs: s(B?.kpis, []),
850
+ crops: s(G?.crops, []),
851
+ dashboardStats: c(W?.dashboardStats, pt),
852
+ dailyHistory: s(V?.dailyHistory, []),
853
+ fields: s(G?.fields, []),
854
+ farm: c(W?.farm, mt),
855
+ governmentSchemes: s(z?.schemes, []),
856
+ harvests: s(G?.harvests, []),
857
+ invoices: s(q?.invoices, []),
858
+ marketplaceProducts: s(J?.marketplaceProducts, []),
859
+ messages: s(z?.messages, []),
860
+ monthlySummaries: s(V?.monthlySummaries, []),
861
+ notifications: s(z?.notifications, []),
862
+ orders: s(J?.orders, []),
863
+ plantingPlans: s(G?.plantingPlans, []),
864
+ productionBatches: s(Y?.productionBatches, []),
865
+ products: s(Jr?.products, []),
866
+ revenueChartData: s(B?.revenueChart, []),
867
+ recipes: s(Y?.recipes, []),
868
+ benefitsChart: s(z?.benefitsChart, []),
869
+ activity: s(z?.activity, []),
870
+ announcements: s(z?.announcements, []),
871
+ animals: s(K?.animals, []),
872
+ breedingRecords: s(K?.breedingRecords, []),
873
+ feedRecords: s(K?.feedRecords, []),
874
+ healthRecords: s(K?.healthRecords, []),
875
+ productionRecords: s(K?.productionRecords, []),
876
+ schemeApplications: s(z?.applications, []),
877
+ sensorReadings: s(U?.sensorReadings, []),
878
+ soilTests: s(U?.soilTests, []),
879
+ traceBatches: s(Yr?.traceBatches, []),
880
+ trainingPrograms: s(z?.trainingPrograms, []),
881
+ transactions: s(q?.transactions, []),
882
+ vaccinations: s(K?.vaccinations, []),
883
+ weatherData: c(V?.weather, ht),
884
+ budgets: s(q?.budgets, []),
885
+ analyticsReports: s(B?.reports, []),
886
+ cropDistributionData: s(B?.cropDistribution, []),
887
+ yieldTrendData: s(B?.yieldTrend, []),
888
+ insights: s(B?.insights, []),
889
+ audits: s(X?.audits, []),
890
+ certifications: s(X?.certifications, []),
891
+ complianceDocuments: s(X?.complianceDocuments, []),
892
+ communityPosts: s(H?.communityPosts, []),
893
+ events: s(H?.events, []),
894
+ experts: s(H?.experts, []),
895
+ mentors: s(H?.mentors, []),
896
+ agenda: s(H?.agenda, []),
897
+ consultations: s(m?.getHealthyBowlConsultations, []),
898
+ pestIssues: s(Z?.pestIssues, []),
899
+ treatments: s(Z?.treatments, []),
900
+ loading: Q,
834
901
  error: $ ? Error($.message) : null,
835
- refetch: R,
836
- markAlertRead: Vn,
837
- createCrop: Hn,
838
- updateCrop: Un,
839
- deleteCrop: Wn,
840
- createAnimal: Gn,
841
- updateAnimal: Kn,
842
- deleteAnimal: qn,
843
- createFarm: Jn,
844
- updateFarm: Yn,
845
- createField: Xn,
846
- updateField: Zn,
847
- deleteField: Qn,
848
- createMarketplaceProduct: $n,
849
- updateMarketplaceProduct: er,
850
- deleteMarketplaceProduct: tr,
851
- createTransaction: nr,
852
- updateTransaction: rr,
853
- deleteTransaction: ir,
854
- createPlantingPlan: ar,
855
- createHarvestRecord: or,
856
- createHealthRecord: sr,
857
- createFeedRecord: cr,
858
- createVaccination: lr,
859
- createBreedingRecord: ur,
860
- createProductionRecord: dr,
861
- createSoilTest: Tr,
862
- createPestIssue: Er,
863
- createTreatment: Dr,
864
- createRecipe: Or,
865
- createBudget: kr,
866
- createInvoice: Ar,
867
- updateBudget: jr,
868
- updateInvoice: Mr,
869
- createAudit: Nr,
870
- updateAudit: Pr,
871
- createTraceBatch: Fr,
872
- createCommunityPost: Ir,
873
- updateHealthRecord: fr,
874
- updateFeedRecord: pr,
875
- updateVaccination: mr,
876
- updateBreedingRecord: hr,
877
- updateProductionRecord: gr,
878
- updatePlantingPlan: _r,
879
- deletePlantingPlan: vr,
880
- updateHarvestRecord: yr,
881
- deleteHarvestRecord: br,
882
- createSchemeApplication: xr,
883
- createProduct: Sr,
884
- updateProduct: Cr,
885
- deleteProduct: wr
902
+ refetch: L,
903
+ markAlertRead: Xn,
904
+ createCrop: Zn,
905
+ updateCrop: Qn,
906
+ deleteCrop: $n,
907
+ createAnimal: er,
908
+ updateAnimal: tr,
909
+ deleteAnimal: nr,
910
+ createFarm: rr,
911
+ updateFarm: ir,
912
+ createField: ar,
913
+ updateField: or,
914
+ deleteField: sr,
915
+ createMarketplaceProduct: cr,
916
+ updateMarketplaceProduct: lr,
917
+ deleteMarketplaceProduct: ur,
918
+ createTransaction: dr,
919
+ updateTransaction: fr,
920
+ deleteTransaction: pr,
921
+ createPlantingPlan: mr,
922
+ createHarvestRecord: hr,
923
+ createHealthRecord: gr,
924
+ createFeedRecord: _r,
925
+ createVaccination: vr,
926
+ createBreedingRecord: yr,
927
+ createProductionRecord: br,
928
+ createSoilTest: Pr,
929
+ createPestIssue: Fr,
930
+ updatePestIssue: Ir,
931
+ createTreatment: Lr,
932
+ createRecipe: Rr,
933
+ createBudget: zr,
934
+ createInvoice: Br,
935
+ updateBudget: Vr,
936
+ updateInvoice: Hr,
937
+ createAudit: Ur,
938
+ updateAudit: Wr,
939
+ createTraceBatch: Gr,
940
+ createCommunityPost: Kr,
941
+ updateHealthRecord: xr,
942
+ updateFeedRecord: Sr,
943
+ updateVaccination: Cr,
944
+ updateBreedingRecord: wr,
945
+ updateProductionRecord: Tr,
946
+ updatePlantingPlan: Er,
947
+ deletePlantingPlan: Dr,
948
+ updateHarvestRecord: Or,
949
+ deleteHarvestRecord: kr,
950
+ createSchemeApplication: Ar,
951
+ createProduct: jr,
952
+ updateProduct: Mr,
953
+ deleteProduct: Nr,
954
+ createConsultation: qr
886
955
  }), [
956
+ z,
957
+ V,
887
958
  B,
888
959
  H,
889
- V,
890
960
  U,
891
961
  W,
892
962
  G,
@@ -894,23 +964,13 @@ function l() {
894
964
  q,
895
965
  J,
896
966
  Y,
967
+ Jr,
968
+ Yr,
897
969
  X,
898
- Lr,
899
- Rr,
900
970
  Z,
901
971
  Q,
902
- zr,
903
972
  $,
904
- R,
905
- Vn,
906
- Hn,
907
- Un,
908
- Wn,
909
- Gn,
910
- Kn,
911
- qn,
912
- Jn,
913
- Yn,
973
+ L,
914
974
  Xn,
915
975
  Zn,
916
976
  Qn,
@@ -927,18 +987,6 @@ function l() {
927
987
  lr,
928
988
  ur,
929
989
  dr,
930
- Tr,
931
- Er,
932
- Dr,
933
- Or,
934
- kr,
935
- Ar,
936
- jr,
937
- Mr,
938
- Nr,
939
- Pr,
940
- Fr,
941
- Ir,
942
990
  fr,
943
991
  pr,
944
992
  mr,
@@ -948,10 +996,34 @@ function l() {
948
996
  vr,
949
997
  yr,
950
998
  br,
999
+ Pr,
1000
+ Fr,
1001
+ Ir,
1002
+ Lr,
1003
+ Rr,
1004
+ zr,
1005
+ Br,
1006
+ Vr,
1007
+ Hr,
1008
+ Ur,
1009
+ Wr,
1010
+ Gr,
1011
+ Kr,
951
1012
  xr,
952
1013
  Sr,
953
1014
  Cr,
954
- wr
1015
+ wr,
1016
+ Tr,
1017
+ Er,
1018
+ Dr,
1019
+ Or,
1020
+ kr,
1021
+ Ar,
1022
+ jr,
1023
+ Mr,
1024
+ Nr,
1025
+ m,
1026
+ qr
955
1027
  ]);
956
1028
  }
957
1029
  //#endregion