chore: run prettier

This commit is contained in:
Dragory 2024-01-27 14:23:13 +02:00
parent 77ab2718e7
commit 873bf7eb99
No known key found for this signature in database
54 changed files with 462 additions and 416 deletions

View file

@ -4,9 +4,10 @@ import { zBoundedCharacters, zBoundedRecord } from "../../utils";
const zRoleMap = z.record(
zBoundedCharacters(1, 100),
z.array(zBoundedCharacters(1, 2000))
z
.array(zBoundedCharacters(1, 2000))
.max(100)
.transform((parsed) => parsed.map(v => v.toLowerCase())),
.transform((parsed) => parsed.map((v) => v.toLowerCase())),
);
const zSelfGrantableRoleEntry = z.strictObject({