fix: resolve Zod build error and run formatter

This commit is contained in:
ashu130698 committed 2026-03-06 13:22:32 +05:30
1 parent 4d7de2d3a1
commit a40a76fb3c
2 files changed
+2 -3

No files matched your search

-1
View File
@@ -14637,7 +14637,6 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
"peer": true,
"engines": {
"node": ">=12"
},
@@ -82,6 +82,6 @@ export const bulkEditNotificationBodyValidation = z.object({
monitorIds: z.array(z.string()).min(1, "At least one monitor ID is required"),
notificationIds: z.array(z.string()),
action: z.enum(["add", "remove", "set"], {
errorMap: () => ({message: "Action must be 'add', 'remove', or 'set'"})
message: "Action must be 'add', 'remove', or 'set'",
}),
});
});