.
This commit is contained in:
parent
d8a5a12387
commit
b799294b0e
24 changed files with 90 additions and 70 deletions
|
|
@ -1,7 +1,11 @@
|
|||
import type { tipoResposta } from "p-respostas"
|
||||
import { respostaComuns } from "p-respostas"
|
||||
import { z } from "zod"
|
||||
import { PREFIXO, type zp_produto_conta } from "./_variaveis"
|
||||
import {
|
||||
PREFIXO,
|
||||
tiposSeriesAgregacoes,
|
||||
type zp_produto_conta,
|
||||
} from "./_variaveis"
|
||||
import type { zp_registrar_serie } from "./registrar_serie"
|
||||
|
||||
//consultar compilação
|
||||
|
|
@ -33,7 +37,9 @@ export const consultar_serie = ({
|
|||
emDesenvolvimento
|
||||
? "http://127.0.0.1:5080"
|
||||
: "https://carro-de-boi.idz.one"
|
||||
}${`${PREFIXO}/consultar-serie/${produto}/${conta}`}`,
|
||||
}${`${PREFIXO}/${
|
||||
tiposSeriesAgregacoes.enum.contagem
|
||||
}/${produto}/${conta}`}`,
|
||||
)
|
||||
|
||||
const resp = await fetch(url.toString(), {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue