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