implementado drive pilão de dados
This commit is contained in:
parent
a1e543cfb8
commit
daae40f4b2
54 changed files with 1476 additions and 19 deletions
4
dist-import/autenticacao/_validarToken.d.ts
vendored
4
dist-import/autenticacao/_validarToken.d.ts
vendored
|
|
@ -2,9 +2,11 @@ import type { tipoResposta } from "p-respostas";
|
|||
type tipoPostValidarTokem = {
|
||||
token: string;
|
||||
};
|
||||
import type { z } from "zod";
|
||||
import type { zAmbiente } from "../ts/ambiente";
|
||||
/** faz a validação do token */
|
||||
export declare const validarToken: ({ ambiente, post, buscar, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
ambiente: z.infer<typeof zAmbiente>;
|
||||
post: tipoPostValidarTokem;
|
||||
/** função que conecta com a API */
|
||||
buscar: (url: string, post: tipoPostValidarTokem) => Promise<tipoResposta<any>>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue