Fix schema validation error
This commit is contained in:
parent
76416ddd5b
commit
2659cf391c
@ -19,7 +19,7 @@ export type ParsedRealmJson = {
|
|||||||
credentials: {
|
credentials: {
|
||||||
type: string /* "password" or something else */;
|
type: string /* "password" or something else */;
|
||||||
}[];
|
}[];
|
||||||
clientRoles: Record<string, string[]>;
|
clientRoles?: Record<string, string[]>;
|
||||||
}[];
|
}[];
|
||||||
roles: {
|
roles: {
|
||||||
client: Record<
|
client: Record<
|
||||||
@ -65,7 +65,7 @@ const zParsedRealmJson = (() => {
|
|||||||
type: z.string()
|
type: z.string()
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
clientRoles: z.record(z.array(z.string()))
|
clientRoles: z.record(z.array(z.string())).optional()
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
roles: z.object({
|
roles: z.object({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user