@zyacreatives/shared 1.8.3 → 1.8.4

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.
@@ -168,12 +168,6 @@ exports.CreateProjectInputSchema = zod_openapi_1.z
168
168
  message: "Start date cannot be in the future",
169
169
  });
170
170
  if (endDate) {
171
- if (endDate > today)
172
- ctx.addIssue({
173
- path: ["endDate"],
174
- code: "custom",
175
- message: "End date cannot be in the future",
176
- });
177
171
  if (startDate > endDate)
178
172
  ctx.addIssue({
179
173
  path: ["startDate"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -176,12 +176,6 @@ export const CreateProjectInputSchema = z
176
176
  message: "Start date cannot be in the future",
177
177
  });
178
178
  if (endDate) {
179
- if (endDate > today)
180
- ctx.addIssue({
181
- path: ["endDate"],
182
- code: "custom",
183
- message: "End date cannot be in the future",
184
- });
185
179
  if (startDate > endDate)
186
180
  ctx.addIssue({
187
181
  path: ["startDate"],