feat(client): add customUpCodes to Monitor type and validation schema

This commit is contained in:
harsh-aghara committed 2026-06-18 21:37:14 +05:30
1 parent 158d976ccb
commit 603bd1d814
2 files changed
+5

No files matched your search

+4
View File
@@ -64,6 +64,10 @@ const httpSchema = baseSchema.extend({
.register(monitorStepRegistry, { step: 2 }),
expectedValue: z.string().optional().register(monitorStepRegistry, { step: 2 }),
jsonPath: z.string().optional().register(monitorStepRegistry, { step: 2 }),
customUpCodes: z
.array(z.number().min(100).max(599))
.optional()
.register(monitorStepRegistry, { step: 2 }),
...geoCheckFields,
});