add priority type

This commit is contained in:
Pallavi Kumari
2025-10-06 01:37:33 +05:30
parent 043834274d
commit b6c76a2164

View File

@@ -126,7 +126,8 @@ const addTargetSchema = z
rewritePathType: z
.enum(["exact", "prefix", "regex", "stripPrefix"])
.optional()
.nullable()
.nullable(),
priority: z.number().int().min(1).max(1000)
})
.refine(
(data) => {