@deepintel-ltd/farmpro-contracts 1.7.19 → 1.7.20
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/index.d.ts +16 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/routes/agents.routes.d.ts +6 -6
- package/dist/routes/cooperative.routes.d.ts +1327 -0
- package/dist/routes/cooperative.routes.d.ts.map +1 -0
- package/dist/routes/cooperative.routes.js +47 -0
- package/dist/routes/extension.routes.d.ts +2431 -0
- package/dist/routes/extension.routes.d.ts.map +1 -0
- package/dist/routes/extension.routes.js +75 -0
- package/dist/routes/farms.routes.d.ts +775 -0
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/farms.routes.js +15 -1
- package/dist/routes/field-monitoring.routes.d.ts +505 -0
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/field-monitoring.routes.js +23 -1
- package/dist/routes/fields.routes.d.ts +156 -155
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/index.d.ts +15 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +10 -0
- package/dist/routes/live-monitor.routes.d.ts +513 -0
- package/dist/routes/live-monitor.routes.d.ts.map +1 -0
- package/dist/routes/live-monitor.routes.js +81 -0
- package/dist/routes/livestock-map.routes.d.ts +4 -4
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/notifications.routes.d.ts +1350 -0
- package/dist/routes/notifications.routes.d.ts.map +1 -0
- package/dist/routes/notifications.routes.js +66 -0
- package/dist/routes/team-payments.routes.d.ts +9571 -0
- package/dist/routes/team-payments.routes.d.ts.map +1 -0
- package/dist/routes/team-payments.routes.js +262 -0
- package/dist/schemas/agents.schemas.d.ts +1 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/cooperative.schemas.d.ts +560 -0
- package/dist/schemas/cooperative.schemas.d.ts.map +1 -0
- package/dist/schemas/cooperative.schemas.js +71 -0
- package/dist/schemas/extension.schemas.d.ts +1204 -0
- package/dist/schemas/extension.schemas.d.ts.map +1 -0
- package/dist/schemas/extension.schemas.js +68 -0
- package/dist/schemas/farms.schemas.d.ts +591 -0
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +44 -0
- package/dist/schemas/field-monitoring.schemas.d.ts +276 -0
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +9 -0
- package/dist/schemas/field-observations.schemas.d.ts +1 -0
- package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.d.ts +188 -186
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +10 -2
- package/dist/schemas/live-monitor.schemas.d.ts +596 -0
- package/dist/schemas/live-monitor.schemas.d.ts.map +1 -0
- package/dist/schemas/live-monitor.schemas.js +107 -0
- package/dist/schemas/livestock-map.schemas.d.ts +10 -10
- package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
- package/dist/schemas/notifications.schemas.d.ts +464 -0
- package/dist/schemas/notifications.schemas.d.ts.map +1 -0
- package/dist/schemas/notifications.schemas.js +40 -0
- package/dist/schemas/team-payments.schemas.d.ts +2604 -0
- package/dist/schemas/team-payments.schemas.d.ts.map +1 -0
- package/dist/schemas/team-payments.schemas.js +151 -0
- package/package.json +1 -1
|
@@ -90,16 +90,16 @@ export declare const fieldsRouter: {
|
|
|
90
90
|
yieldUnit: z.ZodNullable<z.ZodString>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
id: string;
|
|
93
|
-
season: string;
|
|
94
93
|
crop: string;
|
|
94
|
+
season: string;
|
|
95
95
|
plantingDate: string;
|
|
96
96
|
harvestDate: string | null;
|
|
97
97
|
yield: number | null;
|
|
98
98
|
yieldUnit: string | null;
|
|
99
99
|
}, {
|
|
100
100
|
id: string;
|
|
101
|
-
season: string;
|
|
102
101
|
crop: string;
|
|
102
|
+
season: string;
|
|
103
103
|
plantingDate: string;
|
|
104
104
|
harvestDate: string | null;
|
|
105
105
|
yield: number | null;
|
|
@@ -114,16 +114,16 @@ export declare const fieldsRouter: {
|
|
|
114
114
|
updatedAt: string;
|
|
115
115
|
name: string;
|
|
116
116
|
crop: string | null;
|
|
117
|
-
plantingDate: string | null;
|
|
118
117
|
geometry: {
|
|
119
118
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
120
119
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
121
120
|
} | null;
|
|
121
|
+
area: string | null;
|
|
122
|
+
currentCrop: string | null;
|
|
123
|
+
plantingDate: string | null;
|
|
122
124
|
ndvi: number | null;
|
|
123
125
|
moisture: string | null;
|
|
124
|
-
area: string | null;
|
|
125
126
|
soilType: string | null;
|
|
126
|
-
currentCrop: string | null;
|
|
127
127
|
expectedHarvestDate: string | null;
|
|
128
128
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
129
129
|
historicalNdvi?: {
|
|
@@ -132,8 +132,8 @@ export declare const fieldsRouter: {
|
|
|
132
132
|
}[] | undefined;
|
|
133
133
|
cropHistory?: {
|
|
134
134
|
id: string;
|
|
135
|
-
season: string;
|
|
136
135
|
crop: string;
|
|
136
|
+
season: string;
|
|
137
137
|
plantingDate: string;
|
|
138
138
|
harvestDate: string | null;
|
|
139
139
|
yield: number | null;
|
|
@@ -145,16 +145,16 @@ export declare const fieldsRouter: {
|
|
|
145
145
|
updatedAt: string;
|
|
146
146
|
name: string;
|
|
147
147
|
crop: string | null;
|
|
148
|
-
plantingDate: string | null;
|
|
149
148
|
geometry: {
|
|
150
149
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
151
150
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
152
151
|
} | null;
|
|
152
|
+
area: string | null;
|
|
153
|
+
currentCrop: string | null;
|
|
154
|
+
plantingDate: string | null;
|
|
153
155
|
ndvi: number | null;
|
|
154
156
|
moisture: string | null;
|
|
155
|
-
area: string | null;
|
|
156
157
|
soilType: string | null;
|
|
157
|
-
currentCrop: string | null;
|
|
158
158
|
expectedHarvestDate: string | null;
|
|
159
159
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
160
160
|
historicalNdvi?: {
|
|
@@ -163,8 +163,8 @@ export declare const fieldsRouter: {
|
|
|
163
163
|
}[] | undefined;
|
|
164
164
|
cropHistory?: {
|
|
165
165
|
id: string;
|
|
166
|
-
season: string;
|
|
167
166
|
crop: string;
|
|
167
|
+
season: string;
|
|
168
168
|
plantingDate: string;
|
|
169
169
|
harvestDate: string | null;
|
|
170
170
|
yield: number | null;
|
|
@@ -183,16 +183,16 @@ export declare const fieldsRouter: {
|
|
|
183
183
|
updatedAt: string;
|
|
184
184
|
name: string;
|
|
185
185
|
crop: string | null;
|
|
186
|
-
plantingDate: string | null;
|
|
187
186
|
geometry: {
|
|
188
187
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
189
188
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
190
189
|
} | null;
|
|
190
|
+
area: string | null;
|
|
191
|
+
currentCrop: string | null;
|
|
192
|
+
plantingDate: string | null;
|
|
191
193
|
ndvi: number | null;
|
|
192
194
|
moisture: string | null;
|
|
193
|
-
area: string | null;
|
|
194
195
|
soilType: string | null;
|
|
195
|
-
currentCrop: string | null;
|
|
196
196
|
expectedHarvestDate: string | null;
|
|
197
197
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
198
198
|
historicalNdvi?: {
|
|
@@ -201,8 +201,8 @@ export declare const fieldsRouter: {
|
|
|
201
201
|
}[] | undefined;
|
|
202
202
|
cropHistory?: {
|
|
203
203
|
id: string;
|
|
204
|
-
season: string;
|
|
205
204
|
crop: string;
|
|
205
|
+
season: string;
|
|
206
206
|
plantingDate: string;
|
|
207
207
|
harvestDate: string | null;
|
|
208
208
|
yield: number | null;
|
|
@@ -221,16 +221,16 @@ export declare const fieldsRouter: {
|
|
|
221
221
|
updatedAt: string;
|
|
222
222
|
name: string;
|
|
223
223
|
crop: string | null;
|
|
224
|
-
plantingDate: string | null;
|
|
225
224
|
geometry: {
|
|
226
225
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
227
226
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
228
227
|
} | null;
|
|
228
|
+
area: string | null;
|
|
229
|
+
currentCrop: string | null;
|
|
230
|
+
plantingDate: string | null;
|
|
229
231
|
ndvi: number | null;
|
|
230
232
|
moisture: string | null;
|
|
231
|
-
area: string | null;
|
|
232
233
|
soilType: string | null;
|
|
233
|
-
currentCrop: string | null;
|
|
234
234
|
expectedHarvestDate: string | null;
|
|
235
235
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
236
236
|
historicalNdvi?: {
|
|
@@ -239,8 +239,8 @@ export declare const fieldsRouter: {
|
|
|
239
239
|
}[] | undefined;
|
|
240
240
|
cropHistory?: {
|
|
241
241
|
id: string;
|
|
242
|
-
season: string;
|
|
243
242
|
crop: string;
|
|
243
|
+
season: string;
|
|
244
244
|
plantingDate: string;
|
|
245
245
|
harvestDate: string | null;
|
|
246
246
|
yield: number | null;
|
|
@@ -285,16 +285,16 @@ export declare const fieldsRouter: {
|
|
|
285
285
|
updatedAt: string;
|
|
286
286
|
name: string;
|
|
287
287
|
crop: string | null;
|
|
288
|
-
plantingDate: string | null;
|
|
289
288
|
geometry: {
|
|
290
289
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
291
290
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
292
291
|
} | null;
|
|
292
|
+
area: string | null;
|
|
293
|
+
currentCrop: string | null;
|
|
294
|
+
plantingDate: string | null;
|
|
293
295
|
ndvi: number | null;
|
|
294
296
|
moisture: string | null;
|
|
295
|
-
area: string | null;
|
|
296
297
|
soilType: string | null;
|
|
297
|
-
currentCrop: string | null;
|
|
298
298
|
expectedHarvestDate: string | null;
|
|
299
299
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
300
300
|
historicalNdvi?: {
|
|
@@ -303,8 +303,8 @@ export declare const fieldsRouter: {
|
|
|
303
303
|
}[] | undefined;
|
|
304
304
|
cropHistory?: {
|
|
305
305
|
id: string;
|
|
306
|
-
season: string;
|
|
307
306
|
crop: string;
|
|
307
|
+
season: string;
|
|
308
308
|
plantingDate: string;
|
|
309
309
|
harvestDate: string | null;
|
|
310
310
|
yield: number | null;
|
|
@@ -335,16 +335,16 @@ export declare const fieldsRouter: {
|
|
|
335
335
|
updatedAt: string;
|
|
336
336
|
name: string;
|
|
337
337
|
crop: string | null;
|
|
338
|
-
plantingDate: string | null;
|
|
339
338
|
geometry: {
|
|
340
339
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
341
340
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
342
341
|
} | null;
|
|
342
|
+
area: string | null;
|
|
343
|
+
currentCrop: string | null;
|
|
344
|
+
plantingDate: string | null;
|
|
343
345
|
ndvi: number | null;
|
|
344
346
|
moisture: string | null;
|
|
345
|
-
area: string | null;
|
|
346
347
|
soilType: string | null;
|
|
347
|
-
currentCrop: string | null;
|
|
348
348
|
expectedHarvestDate: string | null;
|
|
349
349
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
350
350
|
historicalNdvi?: {
|
|
@@ -353,8 +353,8 @@ export declare const fieldsRouter: {
|
|
|
353
353
|
}[] | undefined;
|
|
354
354
|
cropHistory?: {
|
|
355
355
|
id: string;
|
|
356
|
-
season: string;
|
|
357
356
|
crop: string;
|
|
357
|
+
season: string;
|
|
358
358
|
plantingDate: string;
|
|
359
359
|
harvestDate: string | null;
|
|
360
360
|
yield: number | null;
|
|
@@ -685,29 +685,29 @@ export declare const fieldsRouter: {
|
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
686
|
name: string;
|
|
687
687
|
crop?: string | undefined;
|
|
688
|
-
plantingDate?: string | undefined;
|
|
689
688
|
geometry?: {
|
|
690
689
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
691
690
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
692
691
|
} | undefined;
|
|
692
|
+
currentCrop?: string | undefined;
|
|
693
|
+
plantingDate?: string | undefined;
|
|
693
694
|
ndvi?: number | undefined;
|
|
694
695
|
moisture?: string | undefined;
|
|
695
696
|
soilType?: string | undefined;
|
|
696
|
-
currentCrop?: string | undefined;
|
|
697
697
|
expectedHarvestDate?: string | undefined;
|
|
698
698
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
name: string;
|
|
701
701
|
crop?: string | undefined;
|
|
702
|
-
plantingDate?: string | undefined;
|
|
703
702
|
geometry?: {
|
|
704
703
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
705
704
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
706
705
|
} | undefined;
|
|
706
|
+
currentCrop?: string | undefined;
|
|
707
|
+
plantingDate?: string | undefined;
|
|
707
708
|
ndvi?: number | undefined;
|
|
708
709
|
moisture?: string | undefined;
|
|
709
710
|
soilType?: string | undefined;
|
|
710
|
-
currentCrop?: string | undefined;
|
|
711
711
|
expectedHarvestDate?: string | undefined;
|
|
712
712
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
713
713
|
}>;
|
|
@@ -754,15 +754,15 @@ export declare const fieldsRouter: {
|
|
|
754
754
|
attributes: {
|
|
755
755
|
name: string;
|
|
756
756
|
crop?: string | undefined;
|
|
757
|
-
plantingDate?: string | undefined;
|
|
758
757
|
geometry?: {
|
|
759
758
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
760
759
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
761
760
|
} | undefined;
|
|
761
|
+
currentCrop?: string | undefined;
|
|
762
|
+
plantingDate?: string | undefined;
|
|
762
763
|
ndvi?: number | undefined;
|
|
763
764
|
moisture?: string | undefined;
|
|
764
765
|
soilType?: string | undefined;
|
|
765
|
-
currentCrop?: string | undefined;
|
|
766
766
|
expectedHarvestDate?: string | undefined;
|
|
767
767
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
768
768
|
};
|
|
@@ -779,15 +779,15 @@ export declare const fieldsRouter: {
|
|
|
779
779
|
attributes: {
|
|
780
780
|
name: string;
|
|
781
781
|
crop?: string | undefined;
|
|
782
|
-
plantingDate?: string | undefined;
|
|
783
782
|
geometry?: {
|
|
784
783
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
785
784
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
786
785
|
} | undefined;
|
|
786
|
+
currentCrop?: string | undefined;
|
|
787
|
+
plantingDate?: string | undefined;
|
|
787
788
|
ndvi?: number | undefined;
|
|
788
789
|
moisture?: string | undefined;
|
|
789
790
|
soilType?: string | undefined;
|
|
790
|
-
currentCrop?: string | undefined;
|
|
791
791
|
expectedHarvestDate?: string | undefined;
|
|
792
792
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
793
793
|
};
|
|
@@ -806,15 +806,15 @@ export declare const fieldsRouter: {
|
|
|
806
806
|
attributes: {
|
|
807
807
|
name: string;
|
|
808
808
|
crop?: string | undefined;
|
|
809
|
-
plantingDate?: string | undefined;
|
|
810
809
|
geometry?: {
|
|
811
810
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
812
811
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
813
812
|
} | undefined;
|
|
813
|
+
currentCrop?: string | undefined;
|
|
814
|
+
plantingDate?: string | undefined;
|
|
814
815
|
ndvi?: number | undefined;
|
|
815
816
|
moisture?: string | undefined;
|
|
816
817
|
soilType?: string | undefined;
|
|
817
|
-
currentCrop?: string | undefined;
|
|
818
818
|
expectedHarvestDate?: string | undefined;
|
|
819
819
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
820
820
|
};
|
|
@@ -833,15 +833,15 @@ export declare const fieldsRouter: {
|
|
|
833
833
|
attributes: {
|
|
834
834
|
name: string;
|
|
835
835
|
crop?: string | undefined;
|
|
836
|
-
plantingDate?: string | undefined;
|
|
837
836
|
geometry?: {
|
|
838
837
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
839
838
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
840
839
|
} | undefined;
|
|
840
|
+
currentCrop?: string | undefined;
|
|
841
|
+
plantingDate?: string | undefined;
|
|
841
842
|
ndvi?: number | undefined;
|
|
842
843
|
moisture?: string | undefined;
|
|
843
844
|
soilType?: string | undefined;
|
|
844
|
-
currentCrop?: string | undefined;
|
|
845
845
|
expectedHarvestDate?: string | undefined;
|
|
846
846
|
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
847
847
|
};
|
|
@@ -903,16 +903,16 @@ export declare const fieldsRouter: {
|
|
|
903
903
|
yieldUnit: z.ZodNullable<z.ZodString>;
|
|
904
904
|
}, "strip", z.ZodTypeAny, {
|
|
905
905
|
id: string;
|
|
906
|
-
season: string;
|
|
907
906
|
crop: string;
|
|
907
|
+
season: string;
|
|
908
908
|
plantingDate: string;
|
|
909
909
|
harvestDate: string | null;
|
|
910
910
|
yield: number | null;
|
|
911
911
|
yieldUnit: string | null;
|
|
912
912
|
}, {
|
|
913
913
|
id: string;
|
|
914
|
-
season: string;
|
|
915
914
|
crop: string;
|
|
915
|
+
season: string;
|
|
916
916
|
plantingDate: string;
|
|
917
917
|
harvestDate: string | null;
|
|
918
918
|
yield: number | null;
|
|
@@ -927,16 +927,16 @@ export declare const fieldsRouter: {
|
|
|
927
927
|
updatedAt: string;
|
|
928
928
|
name: string;
|
|
929
929
|
crop: string | null;
|
|
930
|
-
plantingDate: string | null;
|
|
931
930
|
geometry: {
|
|
932
931
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
933
932
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
934
933
|
} | null;
|
|
934
|
+
area: string | null;
|
|
935
|
+
currentCrop: string | null;
|
|
936
|
+
plantingDate: string | null;
|
|
935
937
|
ndvi: number | null;
|
|
936
938
|
moisture: string | null;
|
|
937
|
-
area: string | null;
|
|
938
939
|
soilType: string | null;
|
|
939
|
-
currentCrop: string | null;
|
|
940
940
|
expectedHarvestDate: string | null;
|
|
941
941
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
942
942
|
historicalNdvi?: {
|
|
@@ -945,8 +945,8 @@ export declare const fieldsRouter: {
|
|
|
945
945
|
}[] | undefined;
|
|
946
946
|
cropHistory?: {
|
|
947
947
|
id: string;
|
|
948
|
-
season: string;
|
|
949
948
|
crop: string;
|
|
949
|
+
season: string;
|
|
950
950
|
plantingDate: string;
|
|
951
951
|
harvestDate: string | null;
|
|
952
952
|
yield: number | null;
|
|
@@ -958,16 +958,16 @@ export declare const fieldsRouter: {
|
|
|
958
958
|
updatedAt: string;
|
|
959
959
|
name: string;
|
|
960
960
|
crop: string | null;
|
|
961
|
-
plantingDate: string | null;
|
|
962
961
|
geometry: {
|
|
963
962
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
964
963
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
965
964
|
} | null;
|
|
965
|
+
area: string | null;
|
|
966
|
+
currentCrop: string | null;
|
|
967
|
+
plantingDate: string | null;
|
|
966
968
|
ndvi: number | null;
|
|
967
969
|
moisture: string | null;
|
|
968
|
-
area: string | null;
|
|
969
970
|
soilType: string | null;
|
|
970
|
-
currentCrop: string | null;
|
|
971
971
|
expectedHarvestDate: string | null;
|
|
972
972
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
973
973
|
historicalNdvi?: {
|
|
@@ -976,8 +976,8 @@ export declare const fieldsRouter: {
|
|
|
976
976
|
}[] | undefined;
|
|
977
977
|
cropHistory?: {
|
|
978
978
|
id: string;
|
|
979
|
-
season: string;
|
|
980
979
|
crop: string;
|
|
980
|
+
season: string;
|
|
981
981
|
plantingDate: string;
|
|
982
982
|
harvestDate: string | null;
|
|
983
983
|
yield: number | null;
|
|
@@ -996,16 +996,16 @@ export declare const fieldsRouter: {
|
|
|
996
996
|
updatedAt: string;
|
|
997
997
|
name: string;
|
|
998
998
|
crop: string | null;
|
|
999
|
-
plantingDate: string | null;
|
|
1000
999
|
geometry: {
|
|
1001
1000
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1002
1001
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1003
1002
|
} | null;
|
|
1003
|
+
area: string | null;
|
|
1004
|
+
currentCrop: string | null;
|
|
1005
|
+
plantingDate: string | null;
|
|
1004
1006
|
ndvi: number | null;
|
|
1005
1007
|
moisture: string | null;
|
|
1006
|
-
area: string | null;
|
|
1007
1008
|
soilType: string | null;
|
|
1008
|
-
currentCrop: string | null;
|
|
1009
1009
|
expectedHarvestDate: string | null;
|
|
1010
1010
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1011
1011
|
historicalNdvi?: {
|
|
@@ -1014,8 +1014,8 @@ export declare const fieldsRouter: {
|
|
|
1014
1014
|
}[] | undefined;
|
|
1015
1015
|
cropHistory?: {
|
|
1016
1016
|
id: string;
|
|
1017
|
-
season: string;
|
|
1018
1017
|
crop: string;
|
|
1018
|
+
season: string;
|
|
1019
1019
|
plantingDate: string;
|
|
1020
1020
|
harvestDate: string | null;
|
|
1021
1021
|
yield: number | null;
|
|
@@ -1034,16 +1034,16 @@ export declare const fieldsRouter: {
|
|
|
1034
1034
|
updatedAt: string;
|
|
1035
1035
|
name: string;
|
|
1036
1036
|
crop: string | null;
|
|
1037
|
-
plantingDate: string | null;
|
|
1038
1037
|
geometry: {
|
|
1039
1038
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1040
1039
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1041
1040
|
} | null;
|
|
1041
|
+
area: string | null;
|
|
1042
|
+
currentCrop: string | null;
|
|
1043
|
+
plantingDate: string | null;
|
|
1042
1044
|
ndvi: number | null;
|
|
1043
1045
|
moisture: string | null;
|
|
1044
|
-
area: string | null;
|
|
1045
1046
|
soilType: string | null;
|
|
1046
|
-
currentCrop: string | null;
|
|
1047
1047
|
expectedHarvestDate: string | null;
|
|
1048
1048
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1049
1049
|
historicalNdvi?: {
|
|
@@ -1052,8 +1052,8 @@ export declare const fieldsRouter: {
|
|
|
1052
1052
|
}[] | undefined;
|
|
1053
1053
|
cropHistory?: {
|
|
1054
1054
|
id: string;
|
|
1055
|
-
season: string;
|
|
1056
1055
|
crop: string;
|
|
1056
|
+
season: string;
|
|
1057
1057
|
plantingDate: string;
|
|
1058
1058
|
harvestDate: string | null;
|
|
1059
1059
|
yield: number | null;
|
|
@@ -1098,16 +1098,16 @@ export declare const fieldsRouter: {
|
|
|
1098
1098
|
updatedAt: string;
|
|
1099
1099
|
name: string;
|
|
1100
1100
|
crop: string | null;
|
|
1101
|
-
plantingDate: string | null;
|
|
1102
1101
|
geometry: {
|
|
1103
1102
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1104
1103
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1105
1104
|
} | null;
|
|
1105
|
+
area: string | null;
|
|
1106
|
+
currentCrop: string | null;
|
|
1107
|
+
plantingDate: string | null;
|
|
1106
1108
|
ndvi: number | null;
|
|
1107
1109
|
moisture: string | null;
|
|
1108
|
-
area: string | null;
|
|
1109
1110
|
soilType: string | null;
|
|
1110
|
-
currentCrop: string | null;
|
|
1111
1111
|
expectedHarvestDate: string | null;
|
|
1112
1112
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1113
1113
|
historicalNdvi?: {
|
|
@@ -1116,8 +1116,8 @@ export declare const fieldsRouter: {
|
|
|
1116
1116
|
}[] | undefined;
|
|
1117
1117
|
cropHistory?: {
|
|
1118
1118
|
id: string;
|
|
1119
|
-
season: string;
|
|
1120
1119
|
crop: string;
|
|
1120
|
+
season: string;
|
|
1121
1121
|
plantingDate: string;
|
|
1122
1122
|
harvestDate: string | null;
|
|
1123
1123
|
yield: number | null;
|
|
@@ -1148,16 +1148,16 @@ export declare const fieldsRouter: {
|
|
|
1148
1148
|
updatedAt: string;
|
|
1149
1149
|
name: string;
|
|
1150
1150
|
crop: string | null;
|
|
1151
|
-
plantingDate: string | null;
|
|
1152
1151
|
geometry: {
|
|
1153
1152
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1154
1153
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1155
1154
|
} | null;
|
|
1155
|
+
area: string | null;
|
|
1156
|
+
currentCrop: string | null;
|
|
1157
|
+
plantingDate: string | null;
|
|
1156
1158
|
ndvi: number | null;
|
|
1157
1159
|
moisture: string | null;
|
|
1158
|
-
area: string | null;
|
|
1159
1160
|
soilType: string | null;
|
|
1160
|
-
currentCrop: string | null;
|
|
1161
1161
|
expectedHarvestDate: string | null;
|
|
1162
1162
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1163
1163
|
historicalNdvi?: {
|
|
@@ -1166,8 +1166,8 @@ export declare const fieldsRouter: {
|
|
|
1166
1166
|
}[] | undefined;
|
|
1167
1167
|
cropHistory?: {
|
|
1168
1168
|
id: string;
|
|
1169
|
-
season: string;
|
|
1170
1169
|
crop: string;
|
|
1170
|
+
season: string;
|
|
1171
1171
|
plantingDate: string;
|
|
1172
1172
|
harvestDate: string | null;
|
|
1173
1173
|
yield: number | null;
|
|
@@ -1620,16 +1620,16 @@ export declare const fieldsRouter: {
|
|
|
1620
1620
|
yieldUnit: z.ZodNullable<z.ZodString>;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
1622
|
id: string;
|
|
1623
|
-
season: string;
|
|
1624
1623
|
crop: string;
|
|
1624
|
+
season: string;
|
|
1625
1625
|
plantingDate: string;
|
|
1626
1626
|
harvestDate: string | null;
|
|
1627
1627
|
yield: number | null;
|
|
1628
1628
|
yieldUnit: string | null;
|
|
1629
1629
|
}, {
|
|
1630
1630
|
id: string;
|
|
1631
|
-
season: string;
|
|
1632
1631
|
crop: string;
|
|
1632
|
+
season: string;
|
|
1633
1633
|
plantingDate: string;
|
|
1634
1634
|
harvestDate: string | null;
|
|
1635
1635
|
yield: number | null;
|
|
@@ -1644,16 +1644,16 @@ export declare const fieldsRouter: {
|
|
|
1644
1644
|
updatedAt: string;
|
|
1645
1645
|
name: string;
|
|
1646
1646
|
crop: string | null;
|
|
1647
|
-
plantingDate: string | null;
|
|
1648
1647
|
geometry: {
|
|
1649
1648
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1650
1649
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1651
1650
|
} | null;
|
|
1651
|
+
area: string | null;
|
|
1652
|
+
currentCrop: string | null;
|
|
1653
|
+
plantingDate: string | null;
|
|
1652
1654
|
ndvi: number | null;
|
|
1653
1655
|
moisture: string | null;
|
|
1654
|
-
area: string | null;
|
|
1655
1656
|
soilType: string | null;
|
|
1656
|
-
currentCrop: string | null;
|
|
1657
1657
|
expectedHarvestDate: string | null;
|
|
1658
1658
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1659
1659
|
historicalNdvi?: {
|
|
@@ -1662,8 +1662,8 @@ export declare const fieldsRouter: {
|
|
|
1662
1662
|
}[] | undefined;
|
|
1663
1663
|
cropHistory?: {
|
|
1664
1664
|
id: string;
|
|
1665
|
-
season: string;
|
|
1666
1665
|
crop: string;
|
|
1666
|
+
season: string;
|
|
1667
1667
|
plantingDate: string;
|
|
1668
1668
|
harvestDate: string | null;
|
|
1669
1669
|
yield: number | null;
|
|
@@ -1675,16 +1675,16 @@ export declare const fieldsRouter: {
|
|
|
1675
1675
|
updatedAt: string;
|
|
1676
1676
|
name: string;
|
|
1677
1677
|
crop: string | null;
|
|
1678
|
-
plantingDate: string | null;
|
|
1679
1678
|
geometry: {
|
|
1680
1679
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1681
1680
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1682
1681
|
} | null;
|
|
1682
|
+
area: string | null;
|
|
1683
|
+
currentCrop: string | null;
|
|
1684
|
+
plantingDate: string | null;
|
|
1683
1685
|
ndvi: number | null;
|
|
1684
1686
|
moisture: string | null;
|
|
1685
|
-
area: string | null;
|
|
1686
1687
|
soilType: string | null;
|
|
1687
|
-
currentCrop: string | null;
|
|
1688
1688
|
expectedHarvestDate: string | null;
|
|
1689
1689
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1690
1690
|
historicalNdvi?: {
|
|
@@ -1693,8 +1693,8 @@ export declare const fieldsRouter: {
|
|
|
1693
1693
|
}[] | undefined;
|
|
1694
1694
|
cropHistory?: {
|
|
1695
1695
|
id: string;
|
|
1696
|
-
season: string;
|
|
1697
1696
|
crop: string;
|
|
1697
|
+
season: string;
|
|
1698
1698
|
plantingDate: string;
|
|
1699
1699
|
harvestDate: string | null;
|
|
1700
1700
|
yield: number | null;
|
|
@@ -1908,16 +1908,16 @@ export declare const fieldsRouter: {
|
|
|
1908
1908
|
updatedAt: string;
|
|
1909
1909
|
name: string;
|
|
1910
1910
|
crop: string | null;
|
|
1911
|
-
plantingDate: string | null;
|
|
1912
1911
|
geometry: {
|
|
1913
1912
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1914
1913
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1915
1914
|
} | null;
|
|
1915
|
+
area: string | null;
|
|
1916
|
+
currentCrop: string | null;
|
|
1917
|
+
plantingDate: string | null;
|
|
1916
1918
|
ndvi: number | null;
|
|
1917
1919
|
moisture: string | null;
|
|
1918
|
-
area: string | null;
|
|
1919
1920
|
soilType: string | null;
|
|
1920
|
-
currentCrop: string | null;
|
|
1921
1921
|
expectedHarvestDate: string | null;
|
|
1922
1922
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1923
1923
|
historicalNdvi?: {
|
|
@@ -1926,8 +1926,8 @@ export declare const fieldsRouter: {
|
|
|
1926
1926
|
}[] | undefined;
|
|
1927
1927
|
cropHistory?: {
|
|
1928
1928
|
id: string;
|
|
1929
|
-
season: string;
|
|
1930
1929
|
crop: string;
|
|
1930
|
+
season: string;
|
|
1931
1931
|
plantingDate: string;
|
|
1932
1932
|
harvestDate: string | null;
|
|
1933
1933
|
yield: number | null;
|
|
@@ -1980,16 +1980,16 @@ export declare const fieldsRouter: {
|
|
|
1980
1980
|
updatedAt: string;
|
|
1981
1981
|
name: string;
|
|
1982
1982
|
crop: string | null;
|
|
1983
|
-
plantingDate: string | null;
|
|
1984
1983
|
geometry: {
|
|
1985
1984
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1986
1985
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1987
1986
|
} | null;
|
|
1987
|
+
area: string | null;
|
|
1988
|
+
currentCrop: string | null;
|
|
1989
|
+
plantingDate: string | null;
|
|
1988
1990
|
ndvi: number | null;
|
|
1989
1991
|
moisture: string | null;
|
|
1990
|
-
area: string | null;
|
|
1991
1992
|
soilType: string | null;
|
|
1992
|
-
currentCrop: string | null;
|
|
1993
1993
|
expectedHarvestDate: string | null;
|
|
1994
1994
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
1995
1995
|
historicalNdvi?: {
|
|
@@ -1998,8 +1998,8 @@ export declare const fieldsRouter: {
|
|
|
1998
1998
|
}[] | undefined;
|
|
1999
1999
|
cropHistory?: {
|
|
2000
2000
|
id: string;
|
|
2001
|
-
season: string;
|
|
2002
2001
|
crop: string;
|
|
2002
|
+
season: string;
|
|
2003
2003
|
plantingDate: string;
|
|
2004
2004
|
harvestDate: string | null;
|
|
2005
2005
|
yield: number | null;
|
|
@@ -2078,16 +2078,16 @@ export declare const fieldsRouter: {
|
|
|
2078
2078
|
updatedAt: string;
|
|
2079
2079
|
name: string;
|
|
2080
2080
|
crop: string | null;
|
|
2081
|
-
plantingDate: string | null;
|
|
2082
2081
|
geometry: {
|
|
2083
2082
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2084
2083
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2085
2084
|
} | null;
|
|
2085
|
+
area: string | null;
|
|
2086
|
+
currentCrop: string | null;
|
|
2087
|
+
plantingDate: string | null;
|
|
2086
2088
|
ndvi: number | null;
|
|
2087
2089
|
moisture: string | null;
|
|
2088
|
-
area: string | null;
|
|
2089
2090
|
soilType: string | null;
|
|
2090
|
-
currentCrop: string | null;
|
|
2091
2091
|
expectedHarvestDate: string | null;
|
|
2092
2092
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2093
2093
|
historicalNdvi?: {
|
|
@@ -2096,8 +2096,8 @@ export declare const fieldsRouter: {
|
|
|
2096
2096
|
}[] | undefined;
|
|
2097
2097
|
cropHistory?: {
|
|
2098
2098
|
id: string;
|
|
2099
|
-
season: string;
|
|
2100
2099
|
crop: string;
|
|
2100
|
+
season: string;
|
|
2101
2101
|
plantingDate: string;
|
|
2102
2102
|
harvestDate: string | null;
|
|
2103
2103
|
yield: number | null;
|
|
@@ -2162,16 +2162,16 @@ export declare const fieldsRouter: {
|
|
|
2162
2162
|
updatedAt: string;
|
|
2163
2163
|
name: string;
|
|
2164
2164
|
crop: string | null;
|
|
2165
|
-
plantingDate: string | null;
|
|
2166
2165
|
geometry: {
|
|
2167
2166
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2168
2167
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2169
2168
|
} | null;
|
|
2169
|
+
area: string | null;
|
|
2170
|
+
currentCrop: string | null;
|
|
2171
|
+
plantingDate: string | null;
|
|
2170
2172
|
ndvi: number | null;
|
|
2171
2173
|
moisture: string | null;
|
|
2172
|
-
area: string | null;
|
|
2173
2174
|
soilType: string | null;
|
|
2174
|
-
currentCrop: string | null;
|
|
2175
2175
|
expectedHarvestDate: string | null;
|
|
2176
2176
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2177
2177
|
historicalNdvi?: {
|
|
@@ -2180,8 +2180,8 @@ export declare const fieldsRouter: {
|
|
|
2180
2180
|
}[] | undefined;
|
|
2181
2181
|
cropHistory?: {
|
|
2182
2182
|
id: string;
|
|
2183
|
-
season: string;
|
|
2184
2183
|
crop: string;
|
|
2184
|
+
season: string;
|
|
2185
2185
|
plantingDate: string;
|
|
2186
2186
|
harvestDate: string | null;
|
|
2187
2187
|
yield: number | null;
|
|
@@ -2439,7 +2439,12 @@ export declare const fieldsRouter: {
|
|
|
2439
2439
|
id: z.ZodString;
|
|
2440
2440
|
attributes: z.ZodObject<{
|
|
2441
2441
|
name: z.ZodOptional<z.ZodString>;
|
|
2442
|
-
|
|
2442
|
+
ndvi: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2443
|
+
moisture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2444
|
+
crop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2445
|
+
soilType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2446
|
+
} & {
|
|
2447
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2443
2448
|
type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
|
|
2444
2449
|
coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
|
|
2445
2450
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2449,42 +2454,38 @@ export declare const fieldsRouter: {
|
|
|
2449
2454
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2450
2455
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2451
2456
|
}>>>;
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
currentCrop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2457
|
-
plantingDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2458
|
-
expectedHarvestDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2459
|
-
cropStage: z.ZodOptional<z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
|
|
2457
|
+
currentCrop: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2458
|
+
plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2459
|
+
expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2460
|
+
cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
|
|
2460
2461
|
}, "strip", z.ZodTypeAny, {
|
|
2461
2462
|
name?: string | undefined;
|
|
2462
2463
|
crop?: string | undefined;
|
|
2463
|
-
plantingDate?: string | undefined;
|
|
2464
2464
|
geometry?: {
|
|
2465
2465
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2466
2466
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2467
|
-
} | undefined;
|
|
2467
|
+
} | null | undefined;
|
|
2468
|
+
currentCrop?: string | null | undefined;
|
|
2469
|
+
plantingDate?: string | null | undefined;
|
|
2468
2470
|
ndvi?: number | undefined;
|
|
2469
2471
|
moisture?: string | undefined;
|
|
2470
2472
|
soilType?: string | undefined;
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
2473
|
+
expectedHarvestDate?: string | null | undefined;
|
|
2474
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2474
2475
|
}, {
|
|
2475
2476
|
name?: string | undefined;
|
|
2476
2477
|
crop?: string | undefined;
|
|
2477
|
-
plantingDate?: string | undefined;
|
|
2478
2478
|
geometry?: {
|
|
2479
2479
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2480
2480
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2481
|
-
} | undefined;
|
|
2481
|
+
} | null | undefined;
|
|
2482
|
+
currentCrop?: string | null | undefined;
|
|
2483
|
+
plantingDate?: string | null | undefined;
|
|
2482
2484
|
ndvi?: number | undefined;
|
|
2483
2485
|
moisture?: string | undefined;
|
|
2484
2486
|
soilType?: string | undefined;
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
2487
|
+
expectedHarvestDate?: string | null | undefined;
|
|
2488
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2488
2489
|
}>;
|
|
2489
2490
|
}, "strip", z.ZodTypeAny, {
|
|
2490
2491
|
type: "fields";
|
|
@@ -2492,17 +2493,17 @@ export declare const fieldsRouter: {
|
|
|
2492
2493
|
attributes: {
|
|
2493
2494
|
name?: string | undefined;
|
|
2494
2495
|
crop?: string | undefined;
|
|
2495
|
-
plantingDate?: string | undefined;
|
|
2496
2496
|
geometry?: {
|
|
2497
2497
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2498
2498
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2499
|
-
} | undefined;
|
|
2499
|
+
} | null | undefined;
|
|
2500
|
+
currentCrop?: string | null | undefined;
|
|
2501
|
+
plantingDate?: string | null | undefined;
|
|
2500
2502
|
ndvi?: number | undefined;
|
|
2501
2503
|
moisture?: string | undefined;
|
|
2502
2504
|
soilType?: string | undefined;
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
2505
|
+
expectedHarvestDate?: string | null | undefined;
|
|
2506
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2506
2507
|
};
|
|
2507
2508
|
}, {
|
|
2508
2509
|
type: "fields";
|
|
@@ -2510,17 +2511,17 @@ export declare const fieldsRouter: {
|
|
|
2510
2511
|
attributes: {
|
|
2511
2512
|
name?: string | undefined;
|
|
2512
2513
|
crop?: string | undefined;
|
|
2513
|
-
plantingDate?: string | undefined;
|
|
2514
2514
|
geometry?: {
|
|
2515
2515
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2516
2516
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2517
|
-
} | undefined;
|
|
2517
|
+
} | null | undefined;
|
|
2518
|
+
currentCrop?: string | null | undefined;
|
|
2519
|
+
plantingDate?: string | null | undefined;
|
|
2518
2520
|
ndvi?: number | undefined;
|
|
2519
2521
|
moisture?: string | undefined;
|
|
2520
2522
|
soilType?: string | undefined;
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
2523
|
+
expectedHarvestDate?: string | null | undefined;
|
|
2524
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2524
2525
|
};
|
|
2525
2526
|
}>;
|
|
2526
2527
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2530,17 +2531,17 @@ export declare const fieldsRouter: {
|
|
|
2530
2531
|
attributes: {
|
|
2531
2532
|
name?: string | undefined;
|
|
2532
2533
|
crop?: string | undefined;
|
|
2533
|
-
plantingDate?: string | undefined;
|
|
2534
2534
|
geometry?: {
|
|
2535
2535
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2536
2536
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2537
|
-
} | undefined;
|
|
2537
|
+
} | null | undefined;
|
|
2538
|
+
currentCrop?: string | null | undefined;
|
|
2539
|
+
plantingDate?: string | null | undefined;
|
|
2538
2540
|
ndvi?: number | undefined;
|
|
2539
2541
|
moisture?: string | undefined;
|
|
2540
2542
|
soilType?: string | undefined;
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
2543
|
+
expectedHarvestDate?: string | null | undefined;
|
|
2544
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2544
2545
|
};
|
|
2545
2546
|
};
|
|
2546
2547
|
}, {
|
|
@@ -2550,17 +2551,17 @@ export declare const fieldsRouter: {
|
|
|
2550
2551
|
attributes: {
|
|
2551
2552
|
name?: string | undefined;
|
|
2552
2553
|
crop?: string | undefined;
|
|
2553
|
-
plantingDate?: string | undefined;
|
|
2554
2554
|
geometry?: {
|
|
2555
2555
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2556
2556
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2557
|
-
} | undefined;
|
|
2557
|
+
} | null | undefined;
|
|
2558
|
+
currentCrop?: string | null | undefined;
|
|
2559
|
+
plantingDate?: string | null | undefined;
|
|
2558
2560
|
ndvi?: number | undefined;
|
|
2559
2561
|
moisture?: string | undefined;
|
|
2560
2562
|
soilType?: string | undefined;
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
|
|
2563
|
+
expectedHarvestDate?: string | null | undefined;
|
|
2564
|
+
cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
|
|
2564
2565
|
};
|
|
2565
2566
|
};
|
|
2566
2567
|
}>;
|
|
@@ -2612,16 +2613,16 @@ export declare const fieldsRouter: {
|
|
|
2612
2613
|
yieldUnit: z.ZodNullable<z.ZodString>;
|
|
2613
2614
|
}, "strip", z.ZodTypeAny, {
|
|
2614
2615
|
id: string;
|
|
2615
|
-
season: string;
|
|
2616
2616
|
crop: string;
|
|
2617
|
+
season: string;
|
|
2617
2618
|
plantingDate: string;
|
|
2618
2619
|
harvestDate: string | null;
|
|
2619
2620
|
yield: number | null;
|
|
2620
2621
|
yieldUnit: string | null;
|
|
2621
2622
|
}, {
|
|
2622
2623
|
id: string;
|
|
2623
|
-
season: string;
|
|
2624
2624
|
crop: string;
|
|
2625
|
+
season: string;
|
|
2625
2626
|
plantingDate: string;
|
|
2626
2627
|
harvestDate: string | null;
|
|
2627
2628
|
yield: number | null;
|
|
@@ -2636,16 +2637,16 @@ export declare const fieldsRouter: {
|
|
|
2636
2637
|
updatedAt: string;
|
|
2637
2638
|
name: string;
|
|
2638
2639
|
crop: string | null;
|
|
2639
|
-
plantingDate: string | null;
|
|
2640
2640
|
geometry: {
|
|
2641
2641
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2642
2642
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2643
2643
|
} | null;
|
|
2644
|
+
area: string | null;
|
|
2645
|
+
currentCrop: string | null;
|
|
2646
|
+
plantingDate: string | null;
|
|
2644
2647
|
ndvi: number | null;
|
|
2645
2648
|
moisture: string | null;
|
|
2646
|
-
area: string | null;
|
|
2647
2649
|
soilType: string | null;
|
|
2648
|
-
currentCrop: string | null;
|
|
2649
2650
|
expectedHarvestDate: string | null;
|
|
2650
2651
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2651
2652
|
historicalNdvi?: {
|
|
@@ -2654,8 +2655,8 @@ export declare const fieldsRouter: {
|
|
|
2654
2655
|
}[] | undefined;
|
|
2655
2656
|
cropHistory?: {
|
|
2656
2657
|
id: string;
|
|
2657
|
-
season: string;
|
|
2658
2658
|
crop: string;
|
|
2659
|
+
season: string;
|
|
2659
2660
|
plantingDate: string;
|
|
2660
2661
|
harvestDate: string | null;
|
|
2661
2662
|
yield: number | null;
|
|
@@ -2667,16 +2668,16 @@ export declare const fieldsRouter: {
|
|
|
2667
2668
|
updatedAt: string;
|
|
2668
2669
|
name: string;
|
|
2669
2670
|
crop: string | null;
|
|
2670
|
-
plantingDate: string | null;
|
|
2671
2671
|
geometry: {
|
|
2672
2672
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2673
2673
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2674
2674
|
} | null;
|
|
2675
|
+
area: string | null;
|
|
2676
|
+
currentCrop: string | null;
|
|
2677
|
+
plantingDate: string | null;
|
|
2675
2678
|
ndvi: number | null;
|
|
2676
2679
|
moisture: string | null;
|
|
2677
|
-
area: string | null;
|
|
2678
2680
|
soilType: string | null;
|
|
2679
|
-
currentCrop: string | null;
|
|
2680
2681
|
expectedHarvestDate: string | null;
|
|
2681
2682
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2682
2683
|
historicalNdvi?: {
|
|
@@ -2685,8 +2686,8 @@ export declare const fieldsRouter: {
|
|
|
2685
2686
|
}[] | undefined;
|
|
2686
2687
|
cropHistory?: {
|
|
2687
2688
|
id: string;
|
|
2688
|
-
season: string;
|
|
2689
2689
|
crop: string;
|
|
2690
|
+
season: string;
|
|
2690
2691
|
plantingDate: string;
|
|
2691
2692
|
harvestDate: string | null;
|
|
2692
2693
|
yield: number | null;
|
|
@@ -2705,16 +2706,16 @@ export declare const fieldsRouter: {
|
|
|
2705
2706
|
updatedAt: string;
|
|
2706
2707
|
name: string;
|
|
2707
2708
|
crop: string | null;
|
|
2708
|
-
plantingDate: string | null;
|
|
2709
2709
|
geometry: {
|
|
2710
2710
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2711
2711
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2712
2712
|
} | null;
|
|
2713
|
+
area: string | null;
|
|
2714
|
+
currentCrop: string | null;
|
|
2715
|
+
plantingDate: string | null;
|
|
2713
2716
|
ndvi: number | null;
|
|
2714
2717
|
moisture: string | null;
|
|
2715
|
-
area: string | null;
|
|
2716
2718
|
soilType: string | null;
|
|
2717
|
-
currentCrop: string | null;
|
|
2718
2719
|
expectedHarvestDate: string | null;
|
|
2719
2720
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2720
2721
|
historicalNdvi?: {
|
|
@@ -2723,8 +2724,8 @@ export declare const fieldsRouter: {
|
|
|
2723
2724
|
}[] | undefined;
|
|
2724
2725
|
cropHistory?: {
|
|
2725
2726
|
id: string;
|
|
2726
|
-
season: string;
|
|
2727
2727
|
crop: string;
|
|
2728
|
+
season: string;
|
|
2728
2729
|
plantingDate: string;
|
|
2729
2730
|
harvestDate: string | null;
|
|
2730
2731
|
yield: number | null;
|
|
@@ -2743,16 +2744,16 @@ export declare const fieldsRouter: {
|
|
|
2743
2744
|
updatedAt: string;
|
|
2744
2745
|
name: string;
|
|
2745
2746
|
crop: string | null;
|
|
2746
|
-
plantingDate: string | null;
|
|
2747
2747
|
geometry: {
|
|
2748
2748
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2749
2749
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2750
2750
|
} | null;
|
|
2751
|
+
area: string | null;
|
|
2752
|
+
currentCrop: string | null;
|
|
2753
|
+
plantingDate: string | null;
|
|
2751
2754
|
ndvi: number | null;
|
|
2752
2755
|
moisture: string | null;
|
|
2753
|
-
area: string | null;
|
|
2754
2756
|
soilType: string | null;
|
|
2755
|
-
currentCrop: string | null;
|
|
2756
2757
|
expectedHarvestDate: string | null;
|
|
2757
2758
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2758
2759
|
historicalNdvi?: {
|
|
@@ -2761,8 +2762,8 @@ export declare const fieldsRouter: {
|
|
|
2761
2762
|
}[] | undefined;
|
|
2762
2763
|
cropHistory?: {
|
|
2763
2764
|
id: string;
|
|
2764
|
-
season: string;
|
|
2765
2765
|
crop: string;
|
|
2766
|
+
season: string;
|
|
2766
2767
|
plantingDate: string;
|
|
2767
2768
|
harvestDate: string | null;
|
|
2768
2769
|
yield: number | null;
|
|
@@ -2807,16 +2808,16 @@ export declare const fieldsRouter: {
|
|
|
2807
2808
|
updatedAt: string;
|
|
2808
2809
|
name: string;
|
|
2809
2810
|
crop: string | null;
|
|
2810
|
-
plantingDate: string | null;
|
|
2811
2811
|
geometry: {
|
|
2812
2812
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2813
2813
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2814
2814
|
} | null;
|
|
2815
|
+
area: string | null;
|
|
2816
|
+
currentCrop: string | null;
|
|
2817
|
+
plantingDate: string | null;
|
|
2815
2818
|
ndvi: number | null;
|
|
2816
2819
|
moisture: string | null;
|
|
2817
|
-
area: string | null;
|
|
2818
2820
|
soilType: string | null;
|
|
2819
|
-
currentCrop: string | null;
|
|
2820
2821
|
expectedHarvestDate: string | null;
|
|
2821
2822
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2822
2823
|
historicalNdvi?: {
|
|
@@ -2825,8 +2826,8 @@ export declare const fieldsRouter: {
|
|
|
2825
2826
|
}[] | undefined;
|
|
2826
2827
|
cropHistory?: {
|
|
2827
2828
|
id: string;
|
|
2828
|
-
season: string;
|
|
2829
2829
|
crop: string;
|
|
2830
|
+
season: string;
|
|
2830
2831
|
plantingDate: string;
|
|
2831
2832
|
harvestDate: string | null;
|
|
2832
2833
|
yield: number | null;
|
|
@@ -2857,16 +2858,16 @@ export declare const fieldsRouter: {
|
|
|
2857
2858
|
updatedAt: string;
|
|
2858
2859
|
name: string;
|
|
2859
2860
|
crop: string | null;
|
|
2860
|
-
plantingDate: string | null;
|
|
2861
2861
|
geometry: {
|
|
2862
2862
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2863
2863
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2864
2864
|
} | null;
|
|
2865
|
+
area: string | null;
|
|
2866
|
+
currentCrop: string | null;
|
|
2867
|
+
plantingDate: string | null;
|
|
2865
2868
|
ndvi: number | null;
|
|
2866
2869
|
moisture: string | null;
|
|
2867
|
-
area: string | null;
|
|
2868
2870
|
soilType: string | null;
|
|
2869
|
-
currentCrop: string | null;
|
|
2870
2871
|
expectedHarvestDate: string | null;
|
|
2871
2872
|
cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
|
|
2872
2873
|
historicalNdvi?: {
|
|
@@ -2875,8 +2876,8 @@ export declare const fieldsRouter: {
|
|
|
2875
2876
|
}[] | undefined;
|
|
2876
2877
|
cropHistory?: {
|
|
2877
2878
|
id: string;
|
|
2878
|
-
season: string;
|
|
2879
2879
|
crop: string;
|
|
2880
|
+
season: string;
|
|
2880
2881
|
plantingDate: string;
|
|
2881
2882
|
harvestDate: string | null;
|
|
2882
2883
|
yield: number | null;
|