@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.
- package/dist/healthybowl/hooks/useHealthyBowlData.js +583 -511
- package/dist/healthybowl/hooks/useHealthyBowlData.js.map +1 -1
- package/dist/healthybowl/pages/network/ExpertsPage.js +303 -123
- package/dist/healthybowl/pages/network/ExpertsPage.js.map +1 -1
- package/dist/healthybowl/pages/network/MentorsPage.js +352 -173
- package/dist/healthybowl/pages/network/MentorsPage.js.map +1 -1
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.js +93 -34
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.js.map +1 -1
- package/dist/healthybowl/utils/helpers.js +15 -1
- package/dist/healthybowl/utils/helpers.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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
|
-
`,
|
|
19
|
+
`, Xe = a`
|
|
14
20
|
mutation UpdateHealthyBowlHealthRecord($input: UpdateHealthRecordInput!) {
|
|
15
21
|
updateHealthyBowlHealthRecord(input: $input) {
|
|
16
22
|
id
|
|
17
23
|
}
|
|
18
24
|
}
|
|
19
|
-
`,
|
|
25
|
+
`, Ze = a`
|
|
20
26
|
mutation UpdateHealthyBowlFeedRecord($input: UpdateFeedRecordInput!) {
|
|
21
27
|
updateHealthyBowlFeedRecord(input: $input) {
|
|
22
28
|
id
|
|
23
29
|
}
|
|
24
30
|
}
|
|
25
|
-
`,
|
|
31
|
+
`, Qe = a`
|
|
26
32
|
mutation UpdateHealthyBowlVaccination($input: UpdateVaccinationInput!) {
|
|
27
33
|
updateHealthyBowlVaccination(input: $input) {
|
|
28
34
|
id
|
|
29
35
|
}
|
|
30
36
|
}
|
|
31
|
-
`,
|
|
37
|
+
`, $e = a`
|
|
32
38
|
mutation UpdateHealthyBowlBreedingRecord($input: UpdateBreedingRecordInput!) {
|
|
33
39
|
updateHealthyBowlBreedingRecord(input: $input) {
|
|
34
40
|
id
|
|
35
41
|
}
|
|
36
42
|
}
|
|
37
|
-
`,
|
|
43
|
+
`, et = a`
|
|
38
44
|
mutation UpdateHealthyBowlProductionRecord($input: UpdateProductionRecordInput!) {
|
|
39
45
|
updateHealthyBowlProductionRecord(input: $input) {
|
|
40
46
|
id
|
|
41
47
|
}
|
|
42
48
|
}
|
|
43
|
-
`,
|
|
49
|
+
`, tt = a`
|
|
44
50
|
mutation UpdateHealthyBowlPlantingPlan($input: UpdatePlantingPlanInput!) {
|
|
45
51
|
updateHealthyBowlPlantingPlan(input: $input) {
|
|
46
52
|
id
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
|
-
`,
|
|
55
|
+
`, nt = a`
|
|
50
56
|
mutation DeleteHealthyBowlPlantingPlan($id: ID!, $context: ContextInput!) {
|
|
51
57
|
deleteHealthyBowlPlantingPlan(id: $id, context: $context)
|
|
52
58
|
}
|
|
53
|
-
`,
|
|
59
|
+
`, rt = a`
|
|
54
60
|
mutation UpdateHealthyBowlHarvestRecord($input: UpdateHarvestRecordInput!) {
|
|
55
61
|
updateHealthyBowlHarvestRecord(input: $input) {
|
|
56
62
|
id
|
|
57
63
|
}
|
|
58
64
|
}
|
|
59
|
-
`,
|
|
65
|
+
`, it = a`
|
|
60
66
|
mutation DeleteHealthyBowlHarvestRecord($id: ID!, $context: ContextInput!) {
|
|
61
67
|
deleteHealthyBowlHarvestRecord(id: $id, context: $context)
|
|
62
68
|
}
|
|
63
|
-
`,
|
|
69
|
+
`, at = a`
|
|
64
70
|
mutation CreateHealthyBowlSchemeApplication($input: CreateSchemeApplicationInput!) {
|
|
65
71
|
createHealthyBowlSchemeApplication(input: $input) {
|
|
66
72
|
id
|
|
67
73
|
}
|
|
68
74
|
}
|
|
69
|
-
`,
|
|
75
|
+
`, ot = a`
|
|
70
76
|
mutation CreateHealthyBowlProduct($input: CreateHealthyBowlProductInput!) {
|
|
71
77
|
createHealthyBowlProduct(input: $input) {
|
|
72
78
|
id
|
|
73
79
|
}
|
|
74
80
|
}
|
|
75
|
-
`,
|
|
81
|
+
`, st = a`
|
|
76
82
|
mutation UpdateHealthyBowlProduct($input: UpdateHealthyBowlProductInput!) {
|
|
77
83
|
updateHealthyBowlProduct(input: $input) {
|
|
78
84
|
id
|
|
79
85
|
}
|
|
80
86
|
}
|
|
81
|
-
`,
|
|
87
|
+
`, ct = a`
|
|
82
88
|
mutation DeleteHealthyBowlProduct($id: ID!, $context: ContextInput!) {
|
|
83
89
|
deleteHealthyBowlProduct(id: $id, context: $context)
|
|
84
90
|
}
|
|
85
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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:
|
|
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:
|
|
194
|
+
}), { data: yt, loading: bt, error: xt, refetch: d } = Te({
|
|
157
195
|
variables: { context: { workspaceId: l } },
|
|
158
196
|
fetchPolicy: "cache-and-network"
|
|
159
|
-
}), { data:
|
|
197
|
+
}), { data: St, loading: Ct, error: wt, refetch: f } = ze({
|
|
160
198
|
variables: { context: { workspaceId: l } },
|
|
161
199
|
fetchPolicy: "cache-and-network"
|
|
162
|
-
}), { data:
|
|
200
|
+
}), { data: Tt, loading: Et, error: Dt, refetch: p } = Ne({
|
|
163
201
|
variables: { context: { workspaceId: l } },
|
|
164
202
|
fetchPolicy: "cache-and-network"
|
|
165
|
-
}), { data:
|
|
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:
|
|
210
|
+
}), { data: jt, loading: Mt, error: Nt, refetch: _ } = Oe({
|
|
169
211
|
variables: { context: { workspaceId: l } },
|
|
170
212
|
fetchPolicy: "cache-and-network"
|
|
171
|
-
}), { data:
|
|
213
|
+
}), { data: Pt, loading: Ft, error: It, refetch: v } = De({
|
|
172
214
|
variables: { context: { workspaceId: l } },
|
|
173
215
|
fetchPolicy: "cache-and-network"
|
|
174
|
-
}), { data:
|
|
216
|
+
}), { data: Lt, loading: Rt, error: zt, refetch: y } = je({
|
|
175
217
|
variables: { context: { workspaceId: l } },
|
|
176
218
|
fetchPolicy: "cache-and-network"
|
|
177
|
-
}), { data:
|
|
219
|
+
}), { data: Bt, loading: Vt, error: Ht, refetch: b } = ke({
|
|
178
220
|
variables: { context: { workspaceId: l } },
|
|
179
221
|
fetchPolicy: "cache-and-network"
|
|
180
|
-
}), { data:
|
|
222
|
+
}), { data: Ut, loading: Wt, error: Gt, refetch: x } = Me({
|
|
181
223
|
variables: { context: { workspaceId: l } },
|
|
182
224
|
fetchPolicy: "cache-and-network"
|
|
183
|
-
}), { data:
|
|
225
|
+
}), { data: Kt, loading: qt, error: Jt, refetch: S } = Fe({
|
|
184
226
|
variables: { context: { workspaceId: l } },
|
|
185
227
|
fetchPolicy: "cache-and-network"
|
|
186
|
-
}), { data:
|
|
228
|
+
}), { data: Yt, loading: Xt, error: Zt, refetch: C } = Ie({
|
|
187
229
|
variables: { context: { workspaceId: l } },
|
|
188
230
|
fetchPolicy: "cache-and-network"
|
|
189
|
-
}), { data:
|
|
231
|
+
}), { data: Qt, loading: $t, error: en, refetch: w } = Re({
|
|
190
232
|
variables: { context: { workspaceId: l } },
|
|
191
233
|
fetchPolicy: "cache-and-network"
|
|
192
|
-
}), { data:
|
|
234
|
+
}), { data: tn, loading: nn, error: rn, refetch: T } = Ee({
|
|
193
235
|
variables: { context: { workspaceId: l } },
|
|
194
236
|
fetchPolicy: "cache-and-network"
|
|
195
|
-
}), { data:
|
|
237
|
+
}), { data: an, loading: on, error: sn, refetch: E } = Pe({
|
|
196
238
|
variables: { context: { workspaceId: l } },
|
|
197
239
|
fetchPolicy: "cache-and-network"
|
|
198
|
-
}), [
|
|
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
|
-
|
|
231
|
-
|
|
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
|
|
280
|
+
return await L(), !!n.data?.markHealthyBowlAlertRead?.success;
|
|
237
281
|
}, [
|
|
238
282
|
l,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
]),
|
|
242
|
-
let t = await
|
|
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:
|
|
288
|
+
context: R
|
|
256
289
|
} } });
|
|
257
290
|
if (t.error) throw t.error;
|
|
258
|
-
return await
|
|
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
|
-
|
|
273
|
-
|
|
274
|
-
]),
|
|
294
|
+
R,
|
|
295
|
+
v
|
|
296
|
+
]), Qn = r(async (e) => {
|
|
275
297
|
let t = await k({ variables: { input: {
|
|
276
298
|
...e,
|
|
277
|
-
context:
|
|
299
|
+
context: R
|
|
278
300
|
} } });
|
|
279
301
|
if (t.error) throw t.error;
|
|
280
|
-
return await
|
|
302
|
+
return await v(), t.data?.updateHealthyBowlCrop;
|
|
281
303
|
}, [
|
|
282
304
|
k,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
]),
|
|
286
|
-
let t = await A({ variables: {
|
|
287
|
-
|
|
288
|
-
|
|
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
|
|
313
|
+
return await v(), !0;
|
|
292
314
|
}, [
|
|
293
315
|
A,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
]),
|
|
297
|
-
let t = await j({ variables: {
|
|
298
|
-
|
|
299
|
-
|
|
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
|
|
324
|
+
return await y(), t.data?.createHealthyBowlAnimal;
|
|
303
325
|
}, [
|
|
304
326
|
j,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
]),
|
|
327
|
+
R,
|
|
328
|
+
y
|
|
329
|
+
]), tr = r(async (e) => {
|
|
308
330
|
let t = await M({ variables: { input: {
|
|
309
331
|
...e,
|
|
310
|
-
context:
|
|
332
|
+
context: R
|
|
311
333
|
} } });
|
|
312
334
|
if (t.error) throw t.error;
|
|
313
|
-
return await
|
|
335
|
+
return await y(), t.data?.updateHealthyBowlAnimal;
|
|
314
336
|
}, [
|
|
315
337
|
M,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
]),
|
|
319
|
-
let t = await N({ variables: {
|
|
320
|
-
|
|
321
|
-
|
|
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
|
|
346
|
+
return await y(), !0;
|
|
325
347
|
}, [
|
|
326
348
|
N,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
]),
|
|
349
|
+
R,
|
|
350
|
+
y
|
|
351
|
+
]), rr = r(async (e) => {
|
|
330
352
|
let t = await P({ variables: { input: {
|
|
331
353
|
...e,
|
|
332
|
-
context:
|
|
354
|
+
context: R
|
|
333
355
|
} } });
|
|
334
356
|
if (t.error) throw t.error;
|
|
335
|
-
return await
|
|
357
|
+
return await _(), t.data?.createHealthyBowlFarm;
|
|
336
358
|
}, [
|
|
337
359
|
P,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
]),
|
|
360
|
+
R,
|
|
361
|
+
_
|
|
362
|
+
]), ir = r(async (e) => {
|
|
341
363
|
let t = await F({ variables: { input: {
|
|
342
364
|
...e,
|
|
343
|
-
context:
|
|
365
|
+
context: R
|
|
344
366
|
} } });
|
|
345
367
|
if (t.error) throw t.error;
|
|
346
|
-
return await
|
|
368
|
+
return await _(), t.data?.updateHealthyBowlFarm;
|
|
347
369
|
}, [
|
|
348
370
|
F,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
]),
|
|
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:
|
|
376
|
+
context: R
|
|
399
377
|
} } });
|
|
400
378
|
if (t.error) throw t.error;
|
|
401
|
-
return await v(), t.data?.
|
|
379
|
+
return await v(), t.data?.createHealthyBowlField;
|
|
402
380
|
}, [
|
|
403
|
-
|
|
404
|
-
|
|
381
|
+
I,
|
|
382
|
+
R,
|
|
405
383
|
v
|
|
406
|
-
]),
|
|
407
|
-
let t = await
|
|
384
|
+
]), or = r(async (e) => {
|
|
385
|
+
let t = await cn({ variables: { input: {
|
|
408
386
|
...e,
|
|
409
|
-
context:
|
|
387
|
+
context: R
|
|
410
388
|
} } });
|
|
411
389
|
if (t.error) throw t.error;
|
|
412
|
-
return await v(), t.data?.
|
|
390
|
+
return await v(), t.data?.updateHealthyBowlField;
|
|
413
391
|
}, [
|
|
414
|
-
|
|
415
|
-
|
|
392
|
+
cn,
|
|
393
|
+
R,
|
|
416
394
|
v
|
|
417
|
-
]),
|
|
418
|
-
let t = await
|
|
419
|
-
context:
|
|
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
|
-
|
|
438
|
-
|
|
439
|
-
]),
|
|
404
|
+
R,
|
|
405
|
+
v
|
|
406
|
+
]), cr = r(async (e) => {
|
|
440
407
|
let t = await un({ variables: { input: {
|
|
441
408
|
...e,
|
|
442
|
-
context:
|
|
409
|
+
context: R
|
|
443
410
|
} } });
|
|
444
411
|
if (t.error) throw t.error;
|
|
445
|
-
return await
|
|
412
|
+
return await x(), t.data?.createHealthyBowlMarketplaceProduct;
|
|
446
413
|
}, [
|
|
447
414
|
un,
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
]),
|
|
415
|
+
R,
|
|
416
|
+
x
|
|
417
|
+
]), lr = r(async (e) => {
|
|
451
418
|
let t = await dn({ variables: { input: {
|
|
452
419
|
...e,
|
|
453
|
-
context:
|
|
420
|
+
context: R
|
|
454
421
|
} } });
|
|
455
422
|
if (t.error) throw t.error;
|
|
456
|
-
return await
|
|
423
|
+
return await x(), t.data?.updateHealthyBowlMarketplaceProduct;
|
|
457
424
|
}, [
|
|
458
425
|
dn,
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
]),
|
|
462
|
-
let t = await fn({ variables: {
|
|
463
|
-
|
|
464
|
-
|
|
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
|
|
434
|
+
return await x(), !0;
|
|
468
435
|
}, [
|
|
469
436
|
fn,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
]),
|
|
437
|
+
R,
|
|
438
|
+
x
|
|
439
|
+
]), dr = r(async (e) => {
|
|
473
440
|
let t = await pn({ variables: { input: {
|
|
474
441
|
...e,
|
|
475
|
-
context:
|
|
442
|
+
context: R
|
|
476
443
|
} } });
|
|
477
444
|
if (t.error) throw t.error;
|
|
478
|
-
return await
|
|
445
|
+
return await b(), t.data?.createHealthyBowlTransaction;
|
|
479
446
|
}, [
|
|
480
447
|
pn,
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
]),
|
|
448
|
+
R,
|
|
449
|
+
b
|
|
450
|
+
]), fr = r(async (e) => {
|
|
484
451
|
let t = await mn({ variables: { input: {
|
|
485
452
|
...e,
|
|
486
|
-
context:
|
|
453
|
+
context: R
|
|
487
454
|
} } });
|
|
488
455
|
if (t.error) throw t.error;
|
|
489
|
-
return await
|
|
456
|
+
return await b(), t.data?.updateHealthyBowlTransaction;
|
|
490
457
|
}, [
|
|
491
458
|
mn,
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
]),
|
|
495
|
-
let t = await hn({ variables: {
|
|
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:
|
|
475
|
+
context: R
|
|
498
476
|
} } });
|
|
499
477
|
if (t.error) throw t.error;
|
|
500
|
-
return await
|
|
478
|
+
return await v(), t.data?.createHealthyBowlPlantingPlan;
|
|
501
479
|
}, [
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
]),
|
|
480
|
+
gn,
|
|
481
|
+
R,
|
|
482
|
+
v
|
|
483
|
+
]), hr = r(async (e) => {
|
|
506
484
|
let t = await _n({ variables: { input: {
|
|
507
485
|
...e,
|
|
508
|
-
context:
|
|
486
|
+
context: R
|
|
509
487
|
} } });
|
|
510
488
|
if (t.error) throw t.error;
|
|
511
|
-
return await
|
|
489
|
+
return await v(), t.data?.createHealthyBowlHarvestRecord;
|
|
512
490
|
}, [
|
|
513
491
|
_n,
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
]),
|
|
492
|
+
R,
|
|
493
|
+
v
|
|
494
|
+
]), gr = r(async (e) => {
|
|
517
495
|
let t = await vn({ variables: { input: {
|
|
518
496
|
...e,
|
|
519
|
-
context:
|
|
497
|
+
context: R
|
|
520
498
|
} } });
|
|
521
499
|
if (t.error) throw t.error;
|
|
522
|
-
return await
|
|
500
|
+
return await y(), t.data?.createHealthyBowlHealthRecord;
|
|
523
501
|
}, [
|
|
524
502
|
vn,
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
]),
|
|
503
|
+
R,
|
|
504
|
+
y
|
|
505
|
+
]), _r = r(async (e) => {
|
|
528
506
|
let t = await yn({ variables: { input: {
|
|
529
507
|
...e,
|
|
530
|
-
context:
|
|
508
|
+
context: R
|
|
531
509
|
} } });
|
|
532
510
|
if (t.error) throw t.error;
|
|
533
|
-
return await
|
|
511
|
+
return await y(), t.data?.createHealthyBowlFeedRecord;
|
|
534
512
|
}, [
|
|
535
513
|
yn,
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
]),
|
|
514
|
+
R,
|
|
515
|
+
y
|
|
516
|
+
]), vr = r(async (e) => {
|
|
539
517
|
let t = await bn({ variables: { input: {
|
|
540
518
|
...e,
|
|
541
|
-
context:
|
|
519
|
+
context: R
|
|
542
520
|
} } });
|
|
543
521
|
if (t.error) throw t.error;
|
|
544
|
-
return await
|
|
522
|
+
return await y(), t.data?.createHealthyBowlVaccination;
|
|
545
523
|
}, [
|
|
546
524
|
bn,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
]),
|
|
525
|
+
R,
|
|
526
|
+
y
|
|
527
|
+
]), yr = r(async (e) => {
|
|
550
528
|
let t = await xn({ variables: { input: {
|
|
551
529
|
...e,
|
|
552
|
-
context:
|
|
530
|
+
context: R
|
|
553
531
|
} } });
|
|
554
532
|
if (t.error) throw t.error;
|
|
555
|
-
return await
|
|
533
|
+
return await y(), t.data?.createHealthyBowlBreedingRecord;
|
|
556
534
|
}, [
|
|
557
535
|
xn,
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
]),
|
|
536
|
+
R,
|
|
537
|
+
y
|
|
538
|
+
]), br = r(async (e) => {
|
|
561
539
|
let t = await Sn({ variables: { input: {
|
|
562
540
|
...e,
|
|
563
|
-
context:
|
|
541
|
+
context: R
|
|
564
542
|
} } });
|
|
565
543
|
if (t.error) throw t.error;
|
|
566
|
-
return await
|
|
544
|
+
return await y(), t.data?.createHealthyBowlProductionRecord;
|
|
567
545
|
}, [
|
|
568
546
|
Sn,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
]),
|
|
572
|
-
let t = await
|
|
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:
|
|
552
|
+
context: R
|
|
586
553
|
} } });
|
|
587
554
|
if (t.error) throw t.error;
|
|
588
|
-
return await
|
|
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
|
-
|
|
603
|
-
|
|
604
|
-
]),
|
|
558
|
+
R,
|
|
559
|
+
y
|
|
560
|
+
]), Sr = r(async (e) => {
|
|
605
561
|
let t = await En({ variables: { input: {
|
|
606
562
|
...e,
|
|
607
|
-
context:
|
|
563
|
+
context: R
|
|
608
564
|
} } });
|
|
609
565
|
if (t.error) throw t.error;
|
|
610
|
-
return await
|
|
566
|
+
return await y(), t.data?.updateHealthyBowlFeedRecord;
|
|
611
567
|
}, [
|
|
612
568
|
En,
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
]),
|
|
569
|
+
R,
|
|
570
|
+
y
|
|
571
|
+
]), Cr = r(async (e) => {
|
|
616
572
|
let t = await Dn({ variables: { input: {
|
|
617
573
|
...e,
|
|
618
|
-
context:
|
|
574
|
+
context: R
|
|
619
575
|
} } });
|
|
620
576
|
if (t.error) throw t.error;
|
|
621
|
-
return await
|
|
577
|
+
return await y(), t.data?.updateHealthyBowlVaccination;
|
|
622
578
|
}, [
|
|
623
579
|
Dn,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
]),
|
|
580
|
+
R,
|
|
581
|
+
y
|
|
582
|
+
]), wr = r(async (e) => {
|
|
627
583
|
let t = await On({ variables: { input: {
|
|
628
584
|
...e,
|
|
629
|
-
context:
|
|
585
|
+
context: R
|
|
630
586
|
} } });
|
|
631
587
|
if (t.error) throw t.error;
|
|
632
|
-
return await
|
|
588
|
+
return await y(), t.data?.updateHealthyBowlBreedingRecord;
|
|
633
589
|
}, [
|
|
634
590
|
On,
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
]),
|
|
638
|
-
let t = await kn({ variables: {
|
|
639
|
-
|
|
640
|
-
context:
|
|
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
|
|
599
|
+
return await y(), t.data?.updateHealthyBowlProductionRecord;
|
|
644
600
|
}, [
|
|
645
601
|
kn,
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
]),
|
|
602
|
+
R,
|
|
603
|
+
y
|
|
604
|
+
]), Er = r(async (e) => {
|
|
649
605
|
let t = await An({ variables: { input: {
|
|
650
606
|
...e,
|
|
651
|
-
context:
|
|
607
|
+
context: R
|
|
652
608
|
} } });
|
|
653
609
|
if (t.error) throw t.error;
|
|
654
|
-
return await
|
|
610
|
+
return await v(), t.data?.updateHealthyBowlPlantingPlan;
|
|
655
611
|
}, [
|
|
656
612
|
An,
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
]),
|
|
660
|
-
let t = await jn({ variables: {
|
|
661
|
-
|
|
662
|
-
context:
|
|
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
|
|
621
|
+
return await v(), t.data?.deleteHealthyBowlPlantingPlan ?? !1;
|
|
666
622
|
}, [
|
|
667
623
|
jn,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
]),
|
|
624
|
+
R,
|
|
625
|
+
v
|
|
626
|
+
]), Or = r(async (e) => {
|
|
671
627
|
let t = await Mn({ variables: { input: {
|
|
672
628
|
...e,
|
|
673
|
-
context:
|
|
629
|
+
context: R
|
|
674
630
|
} } });
|
|
675
631
|
if (t.error) throw t.error;
|
|
676
|
-
return await
|
|
632
|
+
return await v(), t.data?.updateHealthyBowlHarvestRecord;
|
|
677
633
|
}, [
|
|
678
634
|
Mn,
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
]),
|
|
682
|
-
let t = await Nn({ variables: {
|
|
683
|
-
|
|
684
|
-
context:
|
|
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
|
|
643
|
+
return await v(), t.data?.deleteHealthyBowlHarvestRecord ?? !1;
|
|
688
644
|
}, [
|
|
689
645
|
Nn,
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
]),
|
|
646
|
+
R,
|
|
647
|
+
v
|
|
648
|
+
]), Ar = r(async (e) => {
|
|
693
649
|
let t = await Pn({ variables: { input: {
|
|
694
650
|
...e,
|
|
695
|
-
context:
|
|
651
|
+
context: R
|
|
696
652
|
} } });
|
|
697
653
|
if (t.error) throw t.error;
|
|
698
|
-
return await
|
|
654
|
+
return await u(), t.data?.createHealthyBowlSchemeApplication;
|
|
699
655
|
}, [
|
|
700
656
|
Pn,
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
]),
|
|
657
|
+
R,
|
|
658
|
+
u
|
|
659
|
+
]), jr = r(async (e) => {
|
|
704
660
|
let t = await Fn({ variables: { input: {
|
|
705
661
|
...e,
|
|
706
|
-
context:
|
|
662
|
+
context: R
|
|
707
663
|
} } });
|
|
708
664
|
if (t.error) throw t.error;
|
|
709
|
-
return await
|
|
665
|
+
return await C(), t.data?.createHealthyBowlProduct;
|
|
710
666
|
}, [
|
|
711
667
|
Fn,
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
]),
|
|
668
|
+
R,
|
|
669
|
+
C
|
|
670
|
+
]), Mr = r(async (e) => {
|
|
715
671
|
let t = await In({ variables: { input: {
|
|
716
672
|
...e,
|
|
717
|
-
context:
|
|
673
|
+
context: R
|
|
718
674
|
} } });
|
|
719
675
|
if (t.error) throw t.error;
|
|
720
|
-
return await
|
|
676
|
+
return await C(), t.data?.updateHealthyBowlProduct;
|
|
721
677
|
}, [
|
|
722
678
|
In,
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
]),
|
|
726
|
-
let t = await Ln({ variables: {
|
|
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:
|
|
695
|
+
context: R
|
|
729
696
|
} } });
|
|
730
697
|
if (t.error) throw t.error;
|
|
731
|
-
return await
|
|
698
|
+
return await g(), t.data?.createHealthyBowlSoilTest;
|
|
732
699
|
}, [
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
]),
|
|
737
|
-
let t = await
|
|
700
|
+
zn,
|
|
701
|
+
R,
|
|
702
|
+
g
|
|
703
|
+
]), Fr = r(async (e) => {
|
|
704
|
+
let t = await Bn({ variables: { input: {
|
|
738
705
|
...e,
|
|
739
|
-
context:
|
|
706
|
+
context: R
|
|
740
707
|
} } });
|
|
741
708
|
if (t.error) throw t.error;
|
|
742
|
-
return await
|
|
709
|
+
return await E(), t.data?.createHealthyBowlPestIssue;
|
|
743
710
|
}, [
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
]),
|
|
748
|
-
let t = await
|
|
711
|
+
Bn,
|
|
712
|
+
R,
|
|
713
|
+
E
|
|
714
|
+
]), Ir = r(async (e) => {
|
|
715
|
+
let t = await Cn({ variables: { input: {
|
|
749
716
|
...e,
|
|
750
|
-
context:
|
|
717
|
+
context: R
|
|
751
718
|
} } });
|
|
752
719
|
if (t.error) throw t.error;
|
|
753
|
-
return await
|
|
720
|
+
return await E(), t.data?.updateHealthyBowlPestIssue;
|
|
754
721
|
}, [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
]),
|
|
759
|
-
let t = await
|
|
722
|
+
Cn,
|
|
723
|
+
R,
|
|
724
|
+
E
|
|
725
|
+
]), Lr = r(async (e) => {
|
|
726
|
+
let t = await Vn({ variables: { input: {
|
|
760
727
|
...e,
|
|
761
|
-
context:
|
|
728
|
+
context: R
|
|
762
729
|
} } });
|
|
763
730
|
if (t.error) throw t.error;
|
|
764
|
-
return await
|
|
731
|
+
return await E(), t.data?.createHealthyBowlTreatment;
|
|
765
732
|
}, [
|
|
766
|
-
|
|
767
|
-
|
|
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
|
-
]),
|
|
770
|
-
let t = await
|
|
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:
|
|
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
|
-
|
|
778
|
-
|
|
832
|
+
Yn,
|
|
833
|
+
R,
|
|
779
834
|
p
|
|
780
|
-
]),
|
|
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(
|
|
783
|
-
analyticsKPIs: s(
|
|
784
|
-
crops: s(
|
|
785
|
-
dashboardStats: c(
|
|
786
|
-
dailyHistory: s(
|
|
787
|
-
fields: s(
|
|
788
|
-
farm: c(
|
|
789
|
-
governmentSchemes: s(
|
|
790
|
-
harvests: s(
|
|
791
|
-
invoices: s(
|
|
792
|
-
marketplaceProducts: s(
|
|
793
|
-
messages: s(
|
|
794
|
-
monthlySummaries: s(
|
|
795
|
-
notifications: s(
|
|
796
|
-
orders: s(
|
|
797
|
-
plantingPlans: s(
|
|
798
|
-
productionBatches: s(
|
|
799
|
-
products: s(
|
|
800
|
-
revenueChartData: s(
|
|
801
|
-
recipes: s(
|
|
802
|
-
benefitsChart: s(
|
|
803
|
-
activity: s(
|
|
804
|
-
announcements: s(
|
|
805
|
-
animals: s(
|
|
806
|
-
breedingRecords: s(
|
|
807
|
-
feedRecords: s(
|
|
808
|
-
healthRecords: s(
|
|
809
|
-
productionRecords: s(
|
|
810
|
-
schemeApplications: s(
|
|
811
|
-
sensorReadings: s(
|
|
812
|
-
soilTests: s(
|
|
813
|
-
traceBatches: s(
|
|
814
|
-
trainingPrograms: s(
|
|
815
|
-
transactions: s(
|
|
816
|
-
vaccinations: s(
|
|
817
|
-
weatherData: c(
|
|
818
|
-
budgets: s(
|
|
819
|
-
analyticsReports: s(
|
|
820
|
-
cropDistributionData: s(
|
|
821
|
-
yieldTrendData: s(
|
|
822
|
-
insights: s(
|
|
823
|
-
audits: s(
|
|
824
|
-
certifications: s(
|
|
825
|
-
complianceDocuments: s(
|
|
826
|
-
communityPosts: s(
|
|
827
|
-
events: s(
|
|
828
|
-
experts: s(
|
|
829
|
-
mentors: s(
|
|
830
|
-
agenda: s(
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
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:
|
|
836
|
-
markAlertRead:
|
|
837
|
-
createCrop:
|
|
838
|
-
updateCrop:
|
|
839
|
-
deleteCrop:
|
|
840
|
-
createAnimal:
|
|
841
|
-
updateAnimal:
|
|
842
|
-
deleteAnimal:
|
|
843
|
-
createFarm:
|
|
844
|
-
updateFarm:
|
|
845
|
-
createField:
|
|
846
|
-
updateField:
|
|
847
|
-
deleteField:
|
|
848
|
-
createMarketplaceProduct:
|
|
849
|
-
updateMarketplaceProduct:
|
|
850
|
-
deleteMarketplaceProduct:
|
|
851
|
-
createTransaction:
|
|
852
|
-
updateTransaction:
|
|
853
|
-
deleteTransaction:
|
|
854
|
-
createPlantingPlan:
|
|
855
|
-
createHarvestRecord:
|
|
856
|
-
createHealthRecord:
|
|
857
|
-
createFeedRecord:
|
|
858
|
-
createVaccination:
|
|
859
|
-
createBreedingRecord:
|
|
860
|
-
createProductionRecord:
|
|
861
|
-
createSoilTest:
|
|
862
|
-
createPestIssue:
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
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
|
-
|
|
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
|