mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
add priority type
This commit is contained in:
@@ -126,7 +126,8 @@ const addTargetSchema = z
|
|||||||
rewritePathType: z
|
rewritePathType: z
|
||||||
.enum(["exact", "prefix", "regex", "stripPrefix"])
|
.enum(["exact", "prefix", "regex", "stripPrefix"])
|
||||||
.optional()
|
.optional()
|
||||||
.nullable()
|
.nullable(),
|
||||||
|
priority: z.number().int().min(1).max(1000)
|
||||||
})
|
})
|
||||||
.refine(
|
.refine(
|
||||||
(data) => {
|
(data) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user