Merge branch 'develop' of https://github.com/MR-medreport/MRB2B into MED-103
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
const RouteMatchingEnd = z
|
||||
.union([z.boolean(), z.function().args(z.string()).returns(z.boolean())])
|
||||
.union([
|
||||
z.boolean(),
|
||||
z.function({ input: [z.string()], output: z.boolean() }),
|
||||
])
|
||||
.default(false)
|
||||
.optional();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user