Simplify zod schema

This commit is contained in:
Rūdolfs Ošiņš
2026-03-26 17:48:48 -06:00
parent afb0f903ee
commit 21dc8a6262
+1 -1
View File
@@ -20,7 +20,7 @@ const defaultSeedingPolicySchema = z.union([
}),
z.object({
default: z.literal("allow"),
scope: z.union([scopeSchema, z.null()]).optional(),
scope: scopeSchema.optional(),
}),
]);