fix: resolve Zod build error and run formatter
This commit is contained in:
1 parent
4d7de2d3a1
commit
a40a76fb3c
2 files changed
+2
-3
No files matched your search
Generated
-1
@@ -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'",
|
||||
}),
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user