refactor: add interval limit for monitor upsert
This commit is contained in:
parent
eed6f33d7b
commit
40719094aa
@ -88,7 +88,7 @@ export const monitorRouter = router({
|
||||
name: z.string(),
|
||||
type: z.string(),
|
||||
active: z.boolean().default(true),
|
||||
interval: z.number().int().default(20),
|
||||
interval: z.number().int().min(5).max(10000).default(20),
|
||||
notificationIds: z.array(z.string()).default([]),
|
||||
payload: z.object({}).passthrough(),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user