fix: ajuste tipagem Credenciais
This commit is contained in:
parent
1f712a2e75
commit
4059e87dcd
4 changed files with 5 additions and 5 deletions
|
|
@ -88,13 +88,13 @@ declare const orgaos: {
|
||||||
declare const objetoCredencial: {
|
declare const objetoCredencial: {
|
||||||
[k in keyof typeof orgaos]: z.ZodObject;
|
[k in keyof typeof orgaos]: z.ZodObject;
|
||||||
};
|
};
|
||||||
type TipoCredenciais = {
|
type TipoCredenciais = Partial<{
|
||||||
SINIR: z.infer<typeof zCredenciaisSinir>;
|
SINIR: z.infer<typeof zCredenciaisSinir>;
|
||||||
IEMA: z.infer<typeof zCredenciais>;
|
IEMA: z.infer<typeof zCredenciais>;
|
||||||
INEA: z.infer<typeof zCredenciais>;
|
INEA: z.infer<typeof zCredenciais>;
|
||||||
SIGOR: z.infer<typeof zCredenciais>;
|
SIGOR: z.infer<typeof zCredenciais>;
|
||||||
teste: z.infer<typeof teste>;
|
teste: z.infer<typeof teste>;
|
||||||
};
|
}>;
|
||||||
type TipoCredenciaisLista = {
|
type TipoCredenciaisLista = {
|
||||||
[K in keyof TipoCredenciais]: {
|
[K in keyof TipoCredenciais]: {
|
||||||
K: TipoCredenciais[K];
|
K: TipoCredenciais[K];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.265.0",
|
"version": "0.266.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
BIN
pacote.tgz
BIN
pacote.tgz
Binary file not shown.
|
|
@ -103,13 +103,13 @@ export const objetoCredencial: { [k in keyof typeof orgaos]: z.ZodObject } = {
|
||||||
teste: teste,
|
teste: teste,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TipoCredenciais = {
|
export type TipoCredenciais = Partial<{
|
||||||
SINIR: z.infer<typeof zCredenciaisSinir>
|
SINIR: z.infer<typeof zCredenciaisSinir>
|
||||||
IEMA: z.infer<typeof zCredenciais>
|
IEMA: z.infer<typeof zCredenciais>
|
||||||
INEA: z.infer<typeof zCredenciais>
|
INEA: z.infer<typeof zCredenciais>
|
||||||
SIGOR: z.infer<typeof zCredenciais>
|
SIGOR: z.infer<typeof zCredenciais>
|
||||||
teste: z.infer<typeof teste>
|
teste: z.infer<typeof teste>
|
||||||
}
|
}>
|
||||||
|
|
||||||
export type TipoCredenciaisLista = {
|
export type TipoCredenciaisLista = {
|
||||||
[K in keyof TipoCredenciais]: {
|
[K in keyof TipoCredenciais]: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue