@deepintel-ltd/farmpro-contracts 1.27.2 → 1.27.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/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/agents.routes.d.ts +3 -0
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +1 -0
- package/dist/routes/farm-updates.routes.d.ts +3 -0
- package/dist/routes/farm-updates.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.d.ts +1 -1
- package/dist/routes/fields.routes.js +1 -1
- package/dist/routes/index.d.ts +3 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/monitoring-visualization.routes.d.ts +219 -4
- package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.js +15 -1
- package/dist/routes/session.routes.d.ts +1030 -0
- package/dist/routes/session.routes.d.ts.map +1 -0
- package/dist/routes/session.routes.js +93 -0
- package/dist/routes/tasks.routes.d.ts +42 -0
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/schemas/farm-updates.schemas.d.ts +3 -0
- package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-updates.schemas.js +1 -0
- package/dist/schemas/monitoring-visualization.schemas.d.ts +193 -4
- package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.js +6 -0
- package/dist/schemas/session.schemas.d.ts +711 -0
- package/dist/schemas/session.schemas.d.ts.map +1 -0
- package/dist/schemas/session.schemas.js +55 -0
- package/dist/schemas/tasks.schemas.d.ts +34 -0
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** One section of a bundle: success keeps the rest of the payload 200. */
|
|
3
|
+
export const bundleSectionSchema = z.object({
|
|
4
|
+
ok: z.boolean(),
|
|
5
|
+
data: z.unknown().optional(),
|
|
6
|
+
error: z.string().optional(),
|
|
7
|
+
});
|
|
8
|
+
export const bootstrapQuerySchema = z.object({
|
|
9
|
+
farmId: z.string().uuid().optional(),
|
|
10
|
+
});
|
|
11
|
+
export const bootstrapResponseSchema = z.object({
|
|
12
|
+
profile: bundleSectionSchema,
|
|
13
|
+
organizations: bundleSectionSchema,
|
|
14
|
+
farms: bundleSectionSchema,
|
|
15
|
+
enterprises: bundleSectionSchema,
|
|
16
|
+
workspaces: bundleSectionSchema,
|
|
17
|
+
subscription: bundleSectionSchema,
|
|
18
|
+
tradeStatus: bundleSectionSchema,
|
|
19
|
+
unreadCount: bundleSectionSchema,
|
|
20
|
+
});
|
|
21
|
+
export const farmTodayResponseSchema = z.object({
|
|
22
|
+
etag: z.string(),
|
|
23
|
+
farmStatus: bundleSectionSchema,
|
|
24
|
+
financeSummary: bundleSectionSchema,
|
|
25
|
+
alerts: bundleSectionSchema,
|
|
26
|
+
updates: bundleSectionSchema,
|
|
27
|
+
tasks: bundleSectionSchema,
|
|
28
|
+
satellite: bundleSectionSchema,
|
|
29
|
+
});
|
|
30
|
+
export const farmMoneyOverviewResponseSchema = z.object({
|
|
31
|
+
summary: bundleSectionSchema,
|
|
32
|
+
approvals: bundleSectionSchema,
|
|
33
|
+
spendLimit: bundleSectionSchema,
|
|
34
|
+
fields: bundleSectionSchema,
|
|
35
|
+
activity: bundleSectionSchema,
|
|
36
|
+
});
|
|
37
|
+
export const fieldOverviewResponseSchema = z.object({
|
|
38
|
+
field: bundleSectionSchema,
|
|
39
|
+
tasks: bundleSectionSchema,
|
|
40
|
+
alerts: bundleSectionSchema,
|
|
41
|
+
soil: bundleSectionSchema,
|
|
42
|
+
harvests: bundleSectionSchema,
|
|
43
|
+
});
|
|
44
|
+
export const fieldMonitoringBundleResponseSchema = z.object({
|
|
45
|
+
status: bundleSectionSchema,
|
|
46
|
+
availableDates: bundleSectionSchema,
|
|
47
|
+
soil: bundleSectionSchema,
|
|
48
|
+
alerts: bundleSectionSchema,
|
|
49
|
+
});
|
|
50
|
+
export const farmAlertsQuerySchema = z.object({
|
|
51
|
+
kinds: z.string().optional(),
|
|
52
|
+
});
|
|
53
|
+
export const farmAlertsResponseSchema = z.object({
|
|
54
|
+
data: z.array(z.unknown()),
|
|
55
|
+
});
|
|
@@ -118,6 +118,7 @@ export declare const taskAttributesSchema: z.ZodObject<{
|
|
|
118
118
|
fileExtension?: string | null | undefined;
|
|
119
119
|
}[] | undefined;
|
|
120
120
|
}>, "many">>;
|
|
121
|
+
noteCount: z.ZodOptional<z.ZodNumber>;
|
|
121
122
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
122
123
|
type: z.ZodString;
|
|
123
124
|
id: z.ZodString;
|
|
@@ -176,6 +177,7 @@ export declare const taskAttributesSchema: z.ZodObject<{
|
|
|
176
177
|
fieldName?: string | undefined;
|
|
177
178
|
inventoryItemName?: string | null | undefined;
|
|
178
179
|
assignedToName?: string | null | undefined;
|
|
180
|
+
noteCount?: number | undefined;
|
|
179
181
|
contributingSources?: {
|
|
180
182
|
type: string;
|
|
181
183
|
id: string;
|
|
@@ -215,6 +217,7 @@ export declare const taskAttributesSchema: z.ZodObject<{
|
|
|
215
217
|
fieldName?: string | undefined;
|
|
216
218
|
inventoryItemName?: string | null | undefined;
|
|
217
219
|
assignedToName?: string | null | undefined;
|
|
220
|
+
noteCount?: number | undefined;
|
|
218
221
|
contributingSources?: {
|
|
219
222
|
type: string;
|
|
220
223
|
id: string;
|
|
@@ -558,6 +561,7 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
558
561
|
fileExtension?: string | null | undefined;
|
|
559
562
|
}[] | undefined;
|
|
560
563
|
}>, "many">>;
|
|
564
|
+
noteCount: z.ZodOptional<z.ZodNumber>;
|
|
561
565
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
562
566
|
type: z.ZodString;
|
|
563
567
|
id: z.ZodString;
|
|
@@ -616,6 +620,7 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
616
620
|
fieldName?: string | undefined;
|
|
617
621
|
inventoryItemName?: string | null | undefined;
|
|
618
622
|
assignedToName?: string | null | undefined;
|
|
623
|
+
noteCount?: number | undefined;
|
|
619
624
|
contributingSources?: {
|
|
620
625
|
type: string;
|
|
621
626
|
id: string;
|
|
@@ -655,6 +660,7 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
655
660
|
fieldName?: string | undefined;
|
|
656
661
|
inventoryItemName?: string | null | undefined;
|
|
657
662
|
assignedToName?: string | null | undefined;
|
|
663
|
+
noteCount?: number | undefined;
|
|
658
664
|
contributingSources?: {
|
|
659
665
|
type: string;
|
|
660
666
|
id: string;
|
|
@@ -701,6 +707,7 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
701
707
|
fieldName?: string | undefined;
|
|
702
708
|
inventoryItemName?: string | null | undefined;
|
|
703
709
|
assignedToName?: string | null | undefined;
|
|
710
|
+
noteCount?: number | undefined;
|
|
704
711
|
contributingSources?: {
|
|
705
712
|
type: string;
|
|
706
713
|
id: string;
|
|
@@ -747,6 +754,7 @@ export declare const taskResourceSchema: z.ZodObject<{
|
|
|
747
754
|
fieldName?: string | undefined;
|
|
748
755
|
inventoryItemName?: string | null | undefined;
|
|
749
756
|
assignedToName?: string | null | undefined;
|
|
757
|
+
noteCount?: number | undefined;
|
|
750
758
|
contributingSources?: {
|
|
751
759
|
type: string;
|
|
752
760
|
id: string;
|
|
@@ -824,6 +832,7 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
824
832
|
fileExtension?: string | null | undefined;
|
|
825
833
|
}[] | undefined;
|
|
826
834
|
}>, "many">>;
|
|
835
|
+
noteCount: z.ZodOptional<z.ZodNumber>;
|
|
827
836
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
828
837
|
type: z.ZodString;
|
|
829
838
|
id: z.ZodString;
|
|
@@ -882,6 +891,7 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
882
891
|
fieldName?: string | undefined;
|
|
883
892
|
inventoryItemName?: string | null | undefined;
|
|
884
893
|
assignedToName?: string | null | undefined;
|
|
894
|
+
noteCount?: number | undefined;
|
|
885
895
|
contributingSources?: {
|
|
886
896
|
type: string;
|
|
887
897
|
id: string;
|
|
@@ -921,6 +931,7 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
921
931
|
fieldName?: string | undefined;
|
|
922
932
|
inventoryItemName?: string | null | undefined;
|
|
923
933
|
assignedToName?: string | null | undefined;
|
|
934
|
+
noteCount?: number | undefined;
|
|
924
935
|
contributingSources?: {
|
|
925
936
|
type: string;
|
|
926
937
|
id: string;
|
|
@@ -1052,6 +1063,7 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
1052
1063
|
fieldName?: string | undefined;
|
|
1053
1064
|
inventoryItemName?: string | null | undefined;
|
|
1054
1065
|
assignedToName?: string | null | undefined;
|
|
1066
|
+
noteCount?: number | undefined;
|
|
1055
1067
|
contributingSources?: {
|
|
1056
1068
|
type: string;
|
|
1057
1069
|
id: string;
|
|
@@ -1114,6 +1126,7 @@ export declare const taskDetailResourceSchema: z.ZodObject<{
|
|
|
1114
1126
|
fieldName?: string | undefined;
|
|
1115
1127
|
inventoryItemName?: string | null | undefined;
|
|
1116
1128
|
assignedToName?: string | null | undefined;
|
|
1129
|
+
noteCount?: number | undefined;
|
|
1117
1130
|
contributingSources?: {
|
|
1118
1131
|
type: string;
|
|
1119
1132
|
id: string;
|
|
@@ -1208,6 +1221,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1208
1221
|
fileExtension?: string | null | undefined;
|
|
1209
1222
|
}[] | undefined;
|
|
1210
1223
|
}>, "many">>;
|
|
1224
|
+
noteCount: z.ZodOptional<z.ZodNumber>;
|
|
1211
1225
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1212
1226
|
type: z.ZodString;
|
|
1213
1227
|
id: z.ZodString;
|
|
@@ -1266,6 +1280,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1266
1280
|
fieldName?: string | undefined;
|
|
1267
1281
|
inventoryItemName?: string | null | undefined;
|
|
1268
1282
|
assignedToName?: string | null | undefined;
|
|
1283
|
+
noteCount?: number | undefined;
|
|
1269
1284
|
contributingSources?: {
|
|
1270
1285
|
type: string;
|
|
1271
1286
|
id: string;
|
|
@@ -1305,6 +1320,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1305
1320
|
fieldName?: string | undefined;
|
|
1306
1321
|
inventoryItemName?: string | null | undefined;
|
|
1307
1322
|
assignedToName?: string | null | undefined;
|
|
1323
|
+
noteCount?: number | undefined;
|
|
1308
1324
|
contributingSources?: {
|
|
1309
1325
|
type: string;
|
|
1310
1326
|
id: string;
|
|
@@ -1351,6 +1367,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1351
1367
|
fieldName?: string | undefined;
|
|
1352
1368
|
inventoryItemName?: string | null | undefined;
|
|
1353
1369
|
assignedToName?: string | null | undefined;
|
|
1370
|
+
noteCount?: number | undefined;
|
|
1354
1371
|
contributingSources?: {
|
|
1355
1372
|
type: string;
|
|
1356
1373
|
id: string;
|
|
@@ -1397,6 +1414,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1397
1414
|
fieldName?: string | undefined;
|
|
1398
1415
|
inventoryItemName?: string | null | undefined;
|
|
1399
1416
|
assignedToName?: string | null | undefined;
|
|
1417
|
+
noteCount?: number | undefined;
|
|
1400
1418
|
contributingSources?: {
|
|
1401
1419
|
type: string;
|
|
1402
1420
|
id: string;
|
|
@@ -1469,6 +1487,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1469
1487
|
fieldName?: string | undefined;
|
|
1470
1488
|
inventoryItemName?: string | null | undefined;
|
|
1471
1489
|
assignedToName?: string | null | undefined;
|
|
1490
|
+
noteCount?: number | undefined;
|
|
1472
1491
|
contributingSources?: {
|
|
1473
1492
|
type: string;
|
|
1474
1493
|
id: string;
|
|
@@ -1527,6 +1546,7 @@ export declare const taskResponseSchema: z.ZodObject<{
|
|
|
1527
1546
|
fieldName?: string | undefined;
|
|
1528
1547
|
inventoryItemName?: string | null | undefined;
|
|
1529
1548
|
assignedToName?: string | null | undefined;
|
|
1549
|
+
noteCount?: number | undefined;
|
|
1530
1550
|
contributingSources?: {
|
|
1531
1551
|
type: string;
|
|
1532
1552
|
id: string;
|
|
@@ -1616,6 +1636,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1616
1636
|
fileExtension?: string | null | undefined;
|
|
1617
1637
|
}[] | undefined;
|
|
1618
1638
|
}>, "many">>;
|
|
1639
|
+
noteCount: z.ZodOptional<z.ZodNumber>;
|
|
1619
1640
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1620
1641
|
type: z.ZodString;
|
|
1621
1642
|
id: z.ZodString;
|
|
@@ -1674,6 +1695,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1674
1695
|
fieldName?: string | undefined;
|
|
1675
1696
|
inventoryItemName?: string | null | undefined;
|
|
1676
1697
|
assignedToName?: string | null | undefined;
|
|
1698
|
+
noteCount?: number | undefined;
|
|
1677
1699
|
contributingSources?: {
|
|
1678
1700
|
type: string;
|
|
1679
1701
|
id: string;
|
|
@@ -1713,6 +1735,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1713
1735
|
fieldName?: string | undefined;
|
|
1714
1736
|
inventoryItemName?: string | null | undefined;
|
|
1715
1737
|
assignedToName?: string | null | undefined;
|
|
1738
|
+
noteCount?: number | undefined;
|
|
1716
1739
|
contributingSources?: {
|
|
1717
1740
|
type: string;
|
|
1718
1741
|
id: string;
|
|
@@ -1844,6 +1867,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1844
1867
|
fieldName?: string | undefined;
|
|
1845
1868
|
inventoryItemName?: string | null | undefined;
|
|
1846
1869
|
assignedToName?: string | null | undefined;
|
|
1870
|
+
noteCount?: number | undefined;
|
|
1847
1871
|
contributingSources?: {
|
|
1848
1872
|
type: string;
|
|
1849
1873
|
id: string;
|
|
@@ -1906,6 +1930,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1906
1930
|
fieldName?: string | undefined;
|
|
1907
1931
|
inventoryItemName?: string | null | undefined;
|
|
1908
1932
|
assignedToName?: string | null | undefined;
|
|
1933
|
+
noteCount?: number | undefined;
|
|
1909
1934
|
contributingSources?: {
|
|
1910
1935
|
type: string;
|
|
1911
1936
|
id: string;
|
|
@@ -1994,6 +2019,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
1994
2019
|
fieldName?: string | undefined;
|
|
1995
2020
|
inventoryItemName?: string | null | undefined;
|
|
1996
2021
|
assignedToName?: string | null | undefined;
|
|
2022
|
+
noteCount?: number | undefined;
|
|
1997
2023
|
contributingSources?: {
|
|
1998
2024
|
type: string;
|
|
1999
2025
|
id: string;
|
|
@@ -2068,6 +2094,7 @@ export declare const taskDetailResponseSchema: z.ZodObject<{
|
|
|
2068
2094
|
fieldName?: string | undefined;
|
|
2069
2095
|
inventoryItemName?: string | null | undefined;
|
|
2070
2096
|
assignedToName?: string | null | undefined;
|
|
2097
|
+
noteCount?: number | undefined;
|
|
2071
2098
|
contributingSources?: {
|
|
2072
2099
|
type: string;
|
|
2073
2100
|
id: string;
|
|
@@ -2173,6 +2200,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2173
2200
|
fileExtension?: string | null | undefined;
|
|
2174
2201
|
}[] | undefined;
|
|
2175
2202
|
}>, "many">>;
|
|
2203
|
+
noteCount: z.ZodOptional<z.ZodNumber>;
|
|
2176
2204
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2177
2205
|
type: z.ZodString;
|
|
2178
2206
|
id: z.ZodString;
|
|
@@ -2231,6 +2259,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2231
2259
|
fieldName?: string | undefined;
|
|
2232
2260
|
inventoryItemName?: string | null | undefined;
|
|
2233
2261
|
assignedToName?: string | null | undefined;
|
|
2262
|
+
noteCount?: number | undefined;
|
|
2234
2263
|
contributingSources?: {
|
|
2235
2264
|
type: string;
|
|
2236
2265
|
id: string;
|
|
@@ -2270,6 +2299,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2270
2299
|
fieldName?: string | undefined;
|
|
2271
2300
|
inventoryItemName?: string | null | undefined;
|
|
2272
2301
|
assignedToName?: string | null | undefined;
|
|
2302
|
+
noteCount?: number | undefined;
|
|
2273
2303
|
contributingSources?: {
|
|
2274
2304
|
type: string;
|
|
2275
2305
|
id: string;
|
|
@@ -2316,6 +2346,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2316
2346
|
fieldName?: string | undefined;
|
|
2317
2347
|
inventoryItemName?: string | null | undefined;
|
|
2318
2348
|
assignedToName?: string | null | undefined;
|
|
2349
|
+
noteCount?: number | undefined;
|
|
2319
2350
|
contributingSources?: {
|
|
2320
2351
|
type: string;
|
|
2321
2352
|
id: string;
|
|
@@ -2362,6 +2393,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2362
2393
|
fieldName?: string | undefined;
|
|
2363
2394
|
inventoryItemName?: string | null | undefined;
|
|
2364
2395
|
assignedToName?: string | null | undefined;
|
|
2396
|
+
noteCount?: number | undefined;
|
|
2365
2397
|
contributingSources?: {
|
|
2366
2398
|
type: string;
|
|
2367
2399
|
id: string;
|
|
@@ -2434,6 +2466,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2434
2466
|
fieldName?: string | undefined;
|
|
2435
2467
|
inventoryItemName?: string | null | undefined;
|
|
2436
2468
|
assignedToName?: string | null | undefined;
|
|
2469
|
+
noteCount?: number | undefined;
|
|
2437
2470
|
contributingSources?: {
|
|
2438
2471
|
type: string;
|
|
2439
2472
|
id: string;
|
|
@@ -2492,6 +2525,7 @@ export declare const taskListResponseSchema: z.ZodObject<{
|
|
|
2492
2525
|
fieldName?: string | undefined;
|
|
2493
2526
|
inventoryItemName?: string | null | undefined;
|
|
2494
2527
|
assignedToName?: string | null | undefined;
|
|
2528
|
+
noteCount?: number | undefined;
|
|
2495
2529
|
contributingSources?: {
|
|
2496
2530
|
type: string;
|
|
2497
2531
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/tasks.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,gBAAgB,iEAA+D,CAAC;AAG7F,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAazB,CAAC;AAGH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"tasks.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/tasks.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,gBAAgB,iEAA+D,CAAC;AAG7F,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAazB,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BP,CAAC;AAG3B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYr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AA2B,CAAC,CAAC;AAChF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC/D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -40,6 +40,7 @@ export const taskAttributesSchema = z.object({
|
|
|
40
40
|
assignedDate: z.string().datetime().nullable(),
|
|
41
41
|
// Notes
|
|
42
42
|
notes: z.array(taskNoteSchema).optional(),
|
|
43
|
+
noteCount: z.number().int().nonnegative().optional(),
|
|
43
44
|
// Autonomous Agent Source Tracking
|
|
44
45
|
source: z.object({
|
|
45
46
|
type: z.string(), // e.g., 'observation', 'satellite_monitoring', 'manual'
|