implementado drive pilão de dados
This commit is contained in:
parent
a1e543cfb8
commit
daae40f4b2
54 changed files with 1476 additions and 19 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import type { tipoResposta } from "p-respostas"
|
||||
import { urlAutenticacao } from "./_urlAutenticacao"
|
||||
type tipoPostValidarTokem = { token: string }
|
||||
import type { z } from "zod"
|
||||
import type { zAmbiente } from "../ts/ambiente"
|
||||
|
||||
/** faz a validação do token */
|
||||
export const validarToken = async ({
|
||||
|
|
@ -8,7 +10,7 @@ export const validarToken = async ({
|
|||
post,
|
||||
buscar,
|
||||
}: {
|
||||
ambiente: "desenvolvimento" | "producao"
|
||||
ambiente: z.infer<typeof zAmbiente>
|
||||
post: tipoPostValidarTokem
|
||||
/** função que conecta com a API */
|
||||
buscar: (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue