.
This commit is contained in:
parent
2fb80e6683
commit
645b3b551e
6 changed files with 28 additions and 32 deletions
6
dist-import/autenticacao.d.ts
vendored
6
dist-import/autenticacao.d.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import type { tipoResposta } from "~comuns";
|
||||
import { type tipoResposta } from "~comuns";
|
||||
type tipoPostValidarTokem = {
|
||||
token: string;
|
||||
};
|
||||
|
|
@ -14,11 +14,11 @@ export declare const pAutenticacao: {
|
|||
buscar: (url: string, post: tipoPostValidarTokem) => Promise<tipoResposta<any>>;
|
||||
}) => Promise<"valido" | "erro">;
|
||||
urlAutenticacao: (ambiente: "desenvolvimento" | "producao") => string;
|
||||
codigoPrefeituraSite: ({ ambiente, post, buscar, }: {
|
||||
codigoContaSite: ({ ambiente, post, buscar, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
post: tipoPostCodigoContaSite;
|
||||
/** função que conecta com a API */
|
||||
buscar: (url: string, post: tipoPostCodigoContaSite) => Promise<tipoResposta<string>>;
|
||||
}) => Promise<"valido" | "erro">;
|
||||
}) => Promise<tipoResposta<string>>;
|
||||
};
|
||||
export {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue