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

@ -88,13 +88,13 @@ declare const orgaos: {
declare const objetoCredencial: {
[k in keyof typeof orgaos]: z.ZodObject;
};
type TipoCredenciais = {
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>;
};
}>;
type TipoCredenciaisLista = {
[K in keyof TipoCredenciais]: {
K: TipoCredenciais[K];