@zyacreatives/shared 2.1.8 → 2.1.9

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.
@@ -151,8 +151,8 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
151
151
  }>>;
152
152
  clientName: z.ZodOptional<z.ZodString>;
153
153
  isFeatured: z.ZodOptional<z.ZodBoolean>;
154
- startDate: z.ZodOptional<z.ZodDate>;
155
- endDate: z.ZodOptional<z.ZodDate>;
154
+ startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
155
+ endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
156
156
  createdAt: z.ZodOptional<z.ZodDate>;
157
157
  updatedAt: z.ZodOptional<z.ZodDate>;
158
158
  }, z.core.$strip>;
@@ -191,8 +191,8 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
191
191
  clientType: zod_openapi_1.z.enum(constants_1.CLIENT_TYPES).optional(),
192
192
  clientName: zod_openapi_1.z.string().optional(),
193
193
  isFeatured: zod_openapi_1.z.boolean().optional(),
194
- startDate: zod_openapi_1.z.date().optional(),
195
- endDate: zod_openapi_1.z.date().optional(),
194
+ startDate: zod_openapi_1.z.coerce.date().optional(),
195
+ endDate: zod_openapi_1.z.coerce.date().optional(),
196
196
  createdAt: zod_openapi_1.z.date().optional(),
197
197
  updatedAt: zod_openapi_1.z.date().optional(),
198
198
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -199,8 +199,8 @@ export const UpdateProjectInputSchema = z
199
199
  clientType: z.enum(CLIENT_TYPES).optional(),
200
200
  clientName: z.string().optional(),
201
201
  isFeatured: z.boolean().optional(),
202
- startDate: z.date().optional(),
203
- endDate: z.date().optional(),
202
+ startDate: z.coerce.date().optional(),
203
+ endDate: z.coerce.date().optional(),
204
204
  createdAt: z.date().optional(),
205
205
  updatedAt: z.date().optional(),
206
206
  })