refatoração
This commit is contained in:
parent
117bdbef7b
commit
8b8406e245
28 changed files with 300 additions and 51 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.validarColuna = exports.tiposSeriesAgregacoes = exports.tiposColunasBasedados = exports.zp_produto_conta = exports.validarZ = exports.PREFIXO = exports.zAmbiente = void 0;
|
||||
exports.baseUrlPilao = exports.validarColuna = exports.tiposSeriesAgregacoes = exports.tiposColunasBasedados = exports.zp_produto_conta = exports.validarZ = exports.PREFIXO = exports.zAmbiente = void 0;
|
||||
var p_respostas_1 = require("p-respostas");
|
||||
var zod_1 = require("zod");
|
||||
exports.zAmbiente = zod_1.z.enum(["desenvolvimento", "producao"]);
|
||||
|
|
@ -33,3 +33,7 @@ exports.validarColuna = {
|
|||
lista_texto: zod_1.z.array(zod_1.z.string()).nullable(),
|
||||
lista_numero: zod_1.z.array(zod_1.z.number()).nullable(),
|
||||
};
|
||||
var baseUrlPilao = function (emDesenvolvimento) {
|
||||
return emDesenvolvimento ? "http://127.0.0.1:5080" : "https://carro-de-boi.idz.one";
|
||||
};
|
||||
exports.baseUrlPilao = baseUrlPilao;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue