@nyig/models 0.2.39 → 0.2.40

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/index.js CHANGED
@@ -165,8 +165,8 @@ function addAutoProps(original) {
165
165
  return original.extend({
166
166
  _id: import_zod4.z.string(),
167
167
  editedBy: import_zod4.z.string().optional(),
168
- createdAt: import_zod4.z.coerce.date().optional(),
169
- updatedAt: import_zod4.z.coerce.date().optional()
168
+ createdAt: import_zod4.z.string().optional(),
169
+ updatedAt: import_zod4.z.string().optional()
170
170
  });
171
171
  }
172
172
 
package/index.mjs CHANGED
@@ -75,8 +75,8 @@ function addAutoProps(original) {
75
75
  return original.extend({
76
76
  _id: z4.string(),
77
77
  editedBy: z4.string().optional(),
78
- createdAt: z4.coerce.date().optional(),
79
- updatedAt: z4.coerce.date().optional()
78
+ createdAt: z4.string().optional(),
79
+ updatedAt: z4.string().optional()
80
80
  });
81
81
  }
82
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.2.39",
3
+ "version": "0.2.40",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",