fix: ajuste tipagem Credenciais

This commit is contained in:
marcio 2026-01-29 08:32:48 -03:00
parent 1f712a2e75
commit 4059e87dcd
4 changed files with 5 additions and 5 deletions

View file

@ -103,13 +103,13 @@ export const objetoCredencial: { [k in keyof typeof orgaos]: z.ZodObject } = {
teste: teste,
}
export type TipoCredenciais = {
export type TipoCredenciais = Partial<{
SINIR: z.infer<typeof zCredenciaisSinir>
IEMA: z.infer<typeof zCredenciais>
INEA: z.infer<typeof zCredenciais>
SIGOR: z.infer<typeof zCredenciais>
teste: z.infer<typeof teste>
}
}>
export type TipoCredenciaisLista = {
[K in keyof TipoCredenciais]: {