add consultaUsuariosexterno
This commit is contained in:
parent
07a656a2b4
commit
9491278d6c
62 changed files with 489 additions and 200 deletions
13
dist-require/autenticacao/_validarToken.d.ts
vendored
Normal file
13
dist-require/autenticacao/_validarToken.d.ts
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { tipoResposta } from "p-respostas";
|
||||
type tipoPostValidarTokem = {
|
||||
token: string;
|
||||
};
|
||||
/** faz a validação do token */
|
||||
export declare const validarToken: ({ ambiente, post, buscar, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
post: tipoPostValidarTokem;
|
||||
/** função que conecta com a API */
|
||||
buscar: (url: string, post: tipoPostValidarTokem) => Promise<tipoResposta<any>>;
|
||||
}) => Promise<"valido" | "erro">;
|
||||
export {};
|
||||
//# sourceMappingURL=_validarToken.d.ts.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue