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];

View file

@ -1,6 +1,6 @@
{
"name": "p-drives",
"version": "0.265.0",
"version": "0.266.0",
"description": "",
"main": "./src/index.ts",
"exports": {

Binary file not shown.

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]: {