@zyacreatives/shared 2.2.15 → 2.2.16

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.
@@ -210,8 +210,8 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
210
210
  currentTraction: z.ZodOptional<z.ZodString>;
211
211
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
212
212
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
213
- createdAt: z.ZodOptional<z.ZodDate>;
214
- updatedAt: z.ZodOptional<z.ZodDate>;
213
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
214
+ updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
215
215
  version: z.ZodInt;
216
216
  }, z.core.$strip>;
217
217
  export declare const CreateProjectOutputSchema: z.ZodObject<{
@@ -162,8 +162,8 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
162
162
  currentTraction: zod_openapi_1.z.string().max(600).optional(),
163
163
  startDate: zod_openapi_1.z.coerce.date().optional(),
164
164
  endDate: zod_openapi_1.z.coerce.date().optional(),
165
- createdAt: zod_openapi_1.z.date().optional(),
166
- updatedAt: zod_openapi_1.z.date().optional(),
165
+ createdAt: zod_openapi_1.z.coerce.date().optional(),
166
+ updatedAt: zod_openapi_1.z.coerce.date().optional(),
167
167
  version: zod_openapi_1.z.int(),
168
168
  })
169
169
  .superRefine(({ startDate, endDate }, ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.15",
3
+ "version": "2.2.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -173,8 +173,8 @@ export const UpdateProjectInputSchema = z
173
173
  currentTraction: z.string().max(600).optional(),
174
174
  startDate: z.coerce.date().optional(),
175
175
  endDate: z.coerce.date().optional(),
176
- createdAt: z.date().optional(),
177
- updatedAt: z.date().optional(),
176
+ createdAt: z.coerce.date().optional(),
177
+ updatedAt: z.coerce.date().optional(),
178
178
  version: z.int(),
179
179
  })
180
180
  .superRefine(({ startDate, endDate }, ctx) => {