fix: resolve Zod build error and run formatter
This commit is contained in:
1 parent
4d7de2d3a1
commit
a40a76fb3c
2 files changed
+1
-2
No files matched your search
Generated
-1
@@ -14637,7 +14637,6 @@
|
|||||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peer": true,
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"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"),
|
monitorIds: z.array(z.string()).min(1, "At least one monitor ID is required"),
|
||||||
notificationIds: z.array(z.string()),
|
notificationIds: z.array(z.string()),
|
||||||
action: z.enum(["add", "remove", "set"], {
|
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