@deepintel-ltd/farmpro-contracts 1.7.0 → 1.7.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.
|
@@ -20,6 +20,9 @@ export declare const tasksRouter: {
|
|
|
20
20
|
'filter[status]': z.ZodOptional<z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>>;
|
|
21
21
|
'filter[fieldId]': z.ZodOptional<z.ZodString>;
|
|
22
22
|
'filter[assignedTo]': z.ZodOptional<z.ZodString>;
|
|
23
|
+
'filter[dateFrom]': z.ZodOptional<z.ZodString>;
|
|
24
|
+
'filter[dateTo]': z.ZodOptional<z.ZodString>;
|
|
25
|
+
'filter[month]': z.ZodOptional<z.ZodString>;
|
|
23
26
|
}, "strip", z.ZodTypeAny, {
|
|
24
27
|
sort?: string | undefined;
|
|
25
28
|
'page[number]'?: number | undefined;
|
|
@@ -31,6 +34,9 @@ export declare const tasksRouter: {
|
|
|
31
34
|
include?: string | undefined;
|
|
32
35
|
'filter[fieldId]'?: string | undefined;
|
|
33
36
|
'filter[assignedTo]'?: string | undefined;
|
|
37
|
+
'filter[dateFrom]'?: string | undefined;
|
|
38
|
+
'filter[dateTo]'?: string | undefined;
|
|
39
|
+
'filter[month]'?: string | undefined;
|
|
34
40
|
}, {
|
|
35
41
|
sort?: string | undefined;
|
|
36
42
|
'page[number]'?: number | undefined;
|
|
@@ -42,6 +48,9 @@ export declare const tasksRouter: {
|
|
|
42
48
|
include?: string | undefined;
|
|
43
49
|
'filter[fieldId]'?: string | undefined;
|
|
44
50
|
'filter[assignedTo]'?: string | undefined;
|
|
51
|
+
'filter[dateFrom]'?: string | undefined;
|
|
52
|
+
'filter[dateTo]'?: string | undefined;
|
|
53
|
+
'filter[month]'?: string | undefined;
|
|
45
54
|
}>;
|
|
46
55
|
summary: "List tasks for a farm";
|
|
47
56
|
description: "Get all tasks for a specific farm with optional filtering";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ItB,CAAC"}
|
|
@@ -17,6 +17,9 @@ export const tasksRouter = c.router({
|
|
|
17
17
|
'filter[status]': z.enum(['pending', 'in-progress', 'completed', 'cancelled']).optional(),
|
|
18
18
|
'filter[fieldId]': z.string().uuid().optional(),
|
|
19
19
|
'filter[assignedTo]': z.string().uuid().optional(),
|
|
20
|
+
'filter[dateFrom]': z.string().datetime().optional(),
|
|
21
|
+
'filter[dateTo]': z.string().datetime().optional(),
|
|
22
|
+
'filter[month]': z.string().regex(/^\d{4}-\d{2}$/).optional(),
|
|
20
23
|
})),
|
|
21
24
|
responses: {
|
|
22
25
|
200: taskListResponseSchema,
|