@deepintel-ltd/farmpro-contracts 1.34.1 → 1.34.2

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.
@@ -12,14 +12,18 @@ export declare const cropCareRouter: {
12
12
  plantingDate: z.ZodOptional<z.ZodString>;
13
13
  transplantedAt: z.ZodOptional<z.ZodString>;
14
14
  cropStage: z.ZodOptional<z.ZodString>;
15
+ /** Client calendar date, so the stage matches the farmer's day rather than the server's. */
16
+ today: z.ZodOptional<z.ZodString>;
15
17
  }, "strip", z.ZodTypeAny, {
16
18
  plantingDate?: string | undefined;
17
19
  transplantedAt?: string | undefined;
18
20
  cropStage?: string | undefined;
21
+ today?: string | undefined;
19
22
  }, {
20
23
  plantingDate?: string | undefined;
21
24
  transplantedAt?: string | undefined;
22
25
  cropStage?: string | undefined;
26
+ today?: string | undefined;
23
27
  }>;
24
28
  summary: "Resolve the stored care plan for a crop and planting clock";
25
29
  method: "GET";
@@ -866,6 +870,7 @@ export declare const cropCareRouter: {
866
870
  checks: z.ZodArray<z.ZodString, "many">;
867
871
  }, z.ZodTypeAny, "passthrough">>;
868
872
  needsDate: z.ZodBoolean;
873
+ assumedTransplant: z.ZodOptional<z.ZodBoolean>;
869
874
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
870
875
  origin: z.ZodEnum<["file", "database", "generic"]>;
871
876
  plan: z.ZodObject<{
@@ -1707,6 +1712,7 @@ export declare const cropCareRouter: {
1707
1712
  checks: z.ZodArray<z.ZodString, "many">;
1708
1713
  }, z.ZodTypeAny, "passthrough">>;
1709
1714
  needsDate: z.ZodBoolean;
1715
+ assumedTransplant: z.ZodOptional<z.ZodBoolean>;
1710
1716
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1711
1717
  origin: z.ZodEnum<["file", "database", "generic"]>;
1712
1718
  plan: z.ZodObject<{
@@ -2548,6 +2554,7 @@ export declare const cropCareRouter: {
2548
2554
  checks: z.ZodArray<z.ZodString, "many">;
2549
2555
  }, z.ZodTypeAny, "passthrough">>;
2550
2556
  needsDate: z.ZodBoolean;
2557
+ assumedTransplant: z.ZodOptional<z.ZodBoolean>;
2551
2558
  }, z.ZodTypeAny, "passthrough">>;
2552
2559
  };
2553
2560
  };
@@ -1 +1 @@
1
- {"version":3,"file":"crop-care.routes.d.ts","sourceRoot":"","sources":["../../src/routes/crop-care.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhG,CAAC"}
@@ -2,6 +2,7 @@ import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
3
  import { resolvedCareSchema } from '../schemas/crop-care.schemas';
4
4
  const c = initContract();
5
+ const ymd = z.string().regex(/^\d{4}-\d{2}-\d{2}/);
5
6
  export const cropCareRouter = c.router({
6
7
  /**
7
8
  * File bank, then the database, then the generic card.
@@ -11,12 +12,14 @@ export const cropCareRouter = c.router({
11
12
  method: 'GET',
12
13
  path: '/crop-care/plans/:cropId',
13
14
  pathParams: z.object({
14
- cropId: z.string().min(1),
15
+ cropId: z.string().min(1).max(120),
15
16
  }),
16
17
  query: z.object({
17
- plantingDate: z.string().optional(),
18
- transplantedAt: z.string().optional(),
19
- cropStage: z.string().optional(),
18
+ plantingDate: ymd.optional(),
19
+ transplantedAt: ymd.optional(),
20
+ cropStage: z.string().max(40).optional(),
21
+ /** Client calendar date, so the stage matches the farmer's day rather than the server's. */
22
+ today: ymd.optional(),
20
23
  }),
21
24
  responses: {
22
25
  200: resolvedCareSchema,
@@ -1770,6 +1770,7 @@ export declare const resolvedCareSchema: z.ZodObject<{
1770
1770
  checks: z.ZodArray<z.ZodString, "many">;
1771
1771
  }, z.ZodTypeAny, "passthrough">>;
1772
1772
  needsDate: z.ZodBoolean;
1773
+ assumedTransplant: z.ZodOptional<z.ZodBoolean>;
1773
1774
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1774
1775
  origin: z.ZodEnum<["file", "database", "generic"]>;
1775
1776
  plan: z.ZodObject<{
@@ -2611,6 +2612,7 @@ export declare const resolvedCareSchema: z.ZodObject<{
2611
2612
  checks: z.ZodArray<z.ZodString, "many">;
2612
2613
  }, z.ZodTypeAny, "passthrough">>;
2613
2614
  needsDate: z.ZodBoolean;
2615
+ assumedTransplant: z.ZodOptional<z.ZodBoolean>;
2614
2616
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2615
2617
  origin: z.ZodEnum<["file", "database", "generic"]>;
2616
2618
  plan: z.ZodObject<{
@@ -3452,6 +3454,7 @@ export declare const resolvedCareSchema: z.ZodObject<{
3452
3454
  checks: z.ZodArray<z.ZodString, "many">;
3453
3455
  }, z.ZodTypeAny, "passthrough">>;
3454
3456
  needsDate: z.ZodBoolean;
3457
+ assumedTransplant: z.ZodOptional<z.ZodBoolean>;
3455
3458
  }, z.ZodTypeAny, "passthrough">>;
3456
3459
  export type ResolvedCareContract = z.infer<typeof resolvedCareSchema>;
3457
3460
  //# sourceMappingURL=crop-care.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"crop-care.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/crop-care.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAWZ,CAAC;AAEjB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAMZ,CAAC;AAEjB,eAAO,MAAM,cAAc;;;;;;;;;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,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -59,5 +59,6 @@ export const resolvedCareSchema = z
59
59
  day: z.number().nullable(),
60
60
  stage: careStageSchema,
61
61
  needsDate: z.boolean(),
62
+ assumedTransplant: z.boolean().optional(),
62
63
  })
63
64
  .passthrough();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",