refatoração PilaoEnviar
This commit is contained in:
parent
dc1b5171d7
commit
93d3caa378
11 changed files with 179 additions and 71 deletions
|
|
@ -51,4 +51,17 @@ export declare const zp_enviar_registros: z.ZodObject<{
|
||||||
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
||||||
}>[];
|
}>[];
|
||||||
}>;
|
}>;
|
||||||
export declare const enviar_registros: ({ conta, produto, emDesenvolvimento, ver_log, }: z.infer<typeof zp_produto_conta>) => ({ registros: registros_entrada, tabela, }: z.infer<typeof zp_enviar_registros>) => Promise<tipoResposta<true>>;
|
declare class ClassPilaoEnviar {
|
||||||
|
__conta: string | undefined;
|
||||||
|
__produto: string | undefined;
|
||||||
|
__emDesenvolvimento: boolean | undefined;
|
||||||
|
__ver_log: boolean | undefined;
|
||||||
|
__tabela: string | undefined;
|
||||||
|
__registros: z.infer<typeof zp_enviar_registros>["registros"];
|
||||||
|
constructor({ conta, produto, emDesenvolvimento, ver_log, }: z.infer<typeof zp_produto_conta>);
|
||||||
|
tabela(tabela: string): this;
|
||||||
|
adicionarRegistro(...registro: z.infer<typeof zp_enviar_registros>["registros"]): this;
|
||||||
|
enviar(): Promise<tipoResposta<true>>;
|
||||||
|
}
|
||||||
|
export declare const PilaoEnviar: (_: z.infer<typeof zp_produto_conta>) => ClassPilaoEnviar;
|
||||||
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -17,27 +17,45 @@ export const zp_enviar_registros = z.object({
|
||||||
tipo: z_tipo_coluna_base_dados.optional().nullable(),
|
tipo: z_tipo_coluna_base_dados.optional().nullable(),
|
||||||
}))),
|
}))),
|
||||||
});
|
});
|
||||||
export const enviar_registros = ({ conta, produto, emDesenvolvimento, ver_log, }) => async ({ registros: registros_entrada, tabela, }) => {
|
class ClassPilaoEnviar {
|
||||||
const registros = [...registros_entrada];
|
constructor({ conta, produto, emDesenvolvimento, ver_log, }) {
|
||||||
const url = new URL(`${urlPilao(emDesenvolvimento).api}/${Object.keys({ enviar_registros })[0]}/${produto}/${conta}`);
|
this.__registros = [];
|
||||||
if (ver_log)
|
this.__conta = conta;
|
||||||
console.log(`[PILÃO]: Enviando "${registros.length}" registros na tabela "${tabela}" para "${url}".`);
|
this.__produto = produto;
|
||||||
const tamanhoBlocos = 1000;
|
this.__emDesenvolvimento = emDesenvolvimento;
|
||||||
while (registros.length > 0) {
|
this.__ver_log = ver_log;
|
||||||
const bloco = registros
|
|
||||||
.splice(0, tamanhoBlocos)
|
|
||||||
.map((r) => Object.fromEntries(Object.entries(r).map(([k, v]) => [k, v === undefined ? null : v])));
|
|
||||||
const resp = await node_fetch(url.toString(), {
|
|
||||||
method: "POST",
|
|
||||||
body: JSON.stringify({ tabela, registros: bloco }),
|
|
||||||
headers: { "Content-Type": "application/json" },
|
|
||||||
})
|
|
||||||
.then((r) => r.json())
|
|
||||||
.catch((e) => respostaComuns.erro("Erro ao enviar registros", [e.message]))
|
|
||||||
.then((r) => r);
|
|
||||||
if (resp.eErro) {
|
|
||||||
return resp;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return respostaComuns.valor(true);
|
tabela(tabela) {
|
||||||
};
|
this.__tabela = tabela;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
adicionarRegistro(...registro) {
|
||||||
|
this.__registros.push(...registro);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
async enviar() {
|
||||||
|
const registros = this.__registros;
|
||||||
|
const url = new URL(`${urlPilao(this.__emDesenvolvimento).api}/enviar_registros/${this.__produto}/${this.__conta}`);
|
||||||
|
if (this.__ver_log)
|
||||||
|
console.log(`[PILÃO]: Enviando "${registros.length}" registros na tabela "${this.__tabela}" para "${url}".`);
|
||||||
|
const tamanhoBlocos = 1000;
|
||||||
|
while (registros.length > 0) {
|
||||||
|
const bloco = registros
|
||||||
|
.splice(0, tamanhoBlocos)
|
||||||
|
.map((r) => Object.fromEntries(Object.entries(r).map(([k, v]) => [k, v === undefined ? null : v])));
|
||||||
|
const resp = await node_fetch(url.toString(), {
|
||||||
|
method: "POST",
|
||||||
|
body: JSON.stringify({ tabela: this.__tabela, registros: bloco }),
|
||||||
|
headers: { "Content-Type": "application/json" },
|
||||||
|
})
|
||||||
|
.then((r) => r.json())
|
||||||
|
.catch((e) => respostaComuns.erro("Erro ao enviar registros", [e.message]))
|
||||||
|
.then((r) => r);
|
||||||
|
if (resp.eErro) {
|
||||||
|
return resp;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return respostaComuns.valor(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export const PilaoEnviar = (_) => new ClassPilaoEnviar(_);
|
||||||
|
|
|
||||||
12
dist-import/pilao-de-dados/index.d.ts
vendored
12
dist-import/pilao-de-dados/index.d.ts
vendored
|
|
@ -307,7 +307,17 @@ export declare const pPilao: {
|
||||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||||
}[];
|
}[];
|
||||||
}>;
|
}>;
|
||||||
enviar_registros: ({ conta, produto, emDesenvolvimento, ver_log, }: import("zod").TypeOf<typeof zp_produto_conta>) => ({ registros: registros_entrada, tabela, }: import("zod").TypeOf<typeof zp_enviar_registros>) => Promise<import("p-respostas").tipoResposta<true>>;
|
PilaoEnviar: (_: import("zod").TypeOf<typeof zp_produto_conta>) => {
|
||||||
|
__conta: string | undefined;
|
||||||
|
__produto: string | undefined;
|
||||||
|
__emDesenvolvimento: boolean | undefined;
|
||||||
|
__ver_log: boolean | undefined;
|
||||||
|
__tabela: string | undefined;
|
||||||
|
__registros: import("zod").TypeOf<typeof zp_enviar_registros>["registros"];
|
||||||
|
tabela(tabela: string): any;
|
||||||
|
adicionarRegistro(...registro: import("zod").TypeOf<typeof zp_enviar_registros>["registros"]): any;
|
||||||
|
enviar(): Promise<import("p-respostas").tipoResposta<true>>;
|
||||||
|
};
|
||||||
zp_enviar_registros: import("zod").ZodObject<{
|
zp_enviar_registros: import("zod").ZodObject<{
|
||||||
tabela: import("zod").ZodString;
|
tabela: import("zod").ZodString;
|
||||||
registros: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
registros: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
import { deletar_registros, zp_deletar_registros } from "./_deletar_registros";
|
import { deletar_registros, zp_deletar_registros } from "./_deletar_registros";
|
||||||
export { PREFIXO_PILAO, urlPilao } from "./variaveis";
|
export { PREFIXO_PILAO, urlPilao } from "./variaveis";
|
||||||
import { enviar_registros, zp_enviar_registros, zp_registrar_base_dados, } from "./_enviar_registros";
|
import { PilaoEnviar, zp_enviar_registros, zp_registrar_base_dados, } from "./_enviar_registros";
|
||||||
import { operadores_permitidos_por_tipo, operadores_pilao, validarZ, zp_produto_conta, } from "./variaveis";
|
import { operadores_permitidos_por_tipo, operadores_pilao, validarZ, zp_produto_conta, } from "./variaveis";
|
||||||
import { serie_consultar, z_filtro } from "./_serie_consultar";
|
import { serie_consultar, z_filtro } from "./_serie_consultar";
|
||||||
import { extruturas_de_campos, visoes } from "./visoes";
|
import { extruturas_de_campos, visoes } from "./visoes";
|
||||||
export const pPilao = {
|
export const pPilao = {
|
||||||
zp_registrar_base_dados,
|
zp_registrar_base_dados,
|
||||||
enviar_registros,
|
PilaoEnviar,
|
||||||
zp_enviar_registros,
|
zp_enviar_registros,
|
||||||
serie_consultar,
|
serie_consultar,
|
||||||
zp_produto_conta,
|
zp_produto_conta,
|
||||||
|
|
|
||||||
|
|
@ -51,4 +51,17 @@ export declare const zp_enviar_registros: z.ZodObject<{
|
||||||
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
||||||
}>[];
|
}>[];
|
||||||
}>;
|
}>;
|
||||||
export declare const enviar_registros: ({ conta, produto, emDesenvolvimento, ver_log, }: z.infer<typeof zp_produto_conta>) => ({ registros: registros_entrada, tabela, }: z.infer<typeof zp_enviar_registros>) => Promise<tipoResposta<true>>;
|
declare class ClassPilaoEnviar {
|
||||||
|
__conta: string | undefined;
|
||||||
|
__produto: string | undefined;
|
||||||
|
__emDesenvolvimento: boolean | undefined;
|
||||||
|
__ver_log: boolean | undefined;
|
||||||
|
__tabela: string | undefined;
|
||||||
|
__registros: z.infer<typeof zp_enviar_registros>["registros"];
|
||||||
|
constructor({ conta, produto, emDesenvolvimento, ver_log, }: z.infer<typeof zp_produto_conta>);
|
||||||
|
tabela(tabela: string): this;
|
||||||
|
adicionarRegistro(...registro: z.infer<typeof zp_enviar_registros>["registros"]): this;
|
||||||
|
enviar(): Promise<tipoResposta<true>>;
|
||||||
|
}
|
||||||
|
export declare const PilaoEnviar: (_: z.infer<typeof zp_produto_conta>) => ClassPilaoEnviar;
|
||||||
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.enviar_registros = exports.zp_enviar_registros = exports.zp_registrar_base_dados = void 0;
|
exports.PilaoEnviar = exports.zp_enviar_registros = exports.zp_registrar_base_dados = void 0;
|
||||||
const cross_fetch_1 = __importDefault(require("cross-fetch"));
|
const cross_fetch_1 = __importDefault(require("cross-fetch"));
|
||||||
const p_respostas_1 = require("p-respostas");
|
const p_respostas_1 = require("p-respostas");
|
||||||
const zod_1 = require("zod");
|
const zod_1 = require("zod");
|
||||||
|
|
@ -23,28 +23,46 @@ exports.zp_enviar_registros = zod_1.z.object({
|
||||||
tipo: variaveis_1.z_tipo_coluna_base_dados.optional().nullable(),
|
tipo: variaveis_1.z_tipo_coluna_base_dados.optional().nullable(),
|
||||||
}))),
|
}))),
|
||||||
});
|
});
|
||||||
const enviar_registros = ({ conta, produto, emDesenvolvimento, ver_log, }) => async ({ registros: registros_entrada, tabela, }) => {
|
class ClassPilaoEnviar {
|
||||||
const registros = [...registros_entrada];
|
constructor({ conta, produto, emDesenvolvimento, ver_log, }) {
|
||||||
const url = new URL(`${(0, variaveis_1.urlPilao)(emDesenvolvimento).api}/${Object.keys({ enviar_registros: exports.enviar_registros })[0]}/${produto}/${conta}`);
|
this.__registros = [];
|
||||||
if (ver_log)
|
this.__conta = conta;
|
||||||
console.log(`[PILÃO]: Enviando "${registros.length}" registros na tabela "${tabela}" para "${url}".`);
|
this.__produto = produto;
|
||||||
const tamanhoBlocos = 1000;
|
this.__emDesenvolvimento = emDesenvolvimento;
|
||||||
while (registros.length > 0) {
|
this.__ver_log = ver_log;
|
||||||
const bloco = registros
|
|
||||||
.splice(0, tamanhoBlocos)
|
|
||||||
.map((r) => Object.fromEntries(Object.entries(r).map(([k, v]) => [k, v === undefined ? null : v])));
|
|
||||||
const resp = await (0, cross_fetch_1.default)(url.toString(), {
|
|
||||||
method: "POST",
|
|
||||||
body: JSON.stringify({ tabela, registros: bloco }),
|
|
||||||
headers: { "Content-Type": "application/json" },
|
|
||||||
})
|
|
||||||
.then((r) => r.json())
|
|
||||||
.catch((e) => p_respostas_1.respostaComuns.erro("Erro ao enviar registros", [e.message]))
|
|
||||||
.then((r) => r);
|
|
||||||
if (resp.eErro) {
|
|
||||||
return resp;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return p_respostas_1.respostaComuns.valor(true);
|
tabela(tabela) {
|
||||||
};
|
this.__tabela = tabela;
|
||||||
exports.enviar_registros = enviar_registros;
|
return this;
|
||||||
|
}
|
||||||
|
adicionarRegistro(...registro) {
|
||||||
|
this.__registros.push(...registro);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
async enviar() {
|
||||||
|
const registros = this.__registros;
|
||||||
|
const url = new URL(`${(0, variaveis_1.urlPilao)(this.__emDesenvolvimento).api}/enviar_registros/${this.__produto}/${this.__conta}`);
|
||||||
|
if (this.__ver_log)
|
||||||
|
console.log(`[PILÃO]: Enviando "${registros.length}" registros na tabela "${this.__tabela}" para "${url}".`);
|
||||||
|
const tamanhoBlocos = 1000;
|
||||||
|
while (registros.length > 0) {
|
||||||
|
const bloco = registros
|
||||||
|
.splice(0, tamanhoBlocos)
|
||||||
|
.map((r) => Object.fromEntries(Object.entries(r).map(([k, v]) => [k, v === undefined ? null : v])));
|
||||||
|
const resp = await (0, cross_fetch_1.default)(url.toString(), {
|
||||||
|
method: "POST",
|
||||||
|
body: JSON.stringify({ tabela: this.__tabela, registros: bloco }),
|
||||||
|
headers: { "Content-Type": "application/json" },
|
||||||
|
})
|
||||||
|
.then((r) => r.json())
|
||||||
|
.catch((e) => p_respostas_1.respostaComuns.erro("Erro ao enviar registros", [e.message]))
|
||||||
|
.then((r) => r);
|
||||||
|
if (resp.eErro) {
|
||||||
|
return resp;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return p_respostas_1.respostaComuns.valor(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const PilaoEnviar = (_) => new ClassPilaoEnviar(_);
|
||||||
|
exports.PilaoEnviar = PilaoEnviar;
|
||||||
|
|
|
||||||
12
dist-require/pilao-de-dados/index.d.ts
vendored
12
dist-require/pilao-de-dados/index.d.ts
vendored
|
|
@ -307,7 +307,17 @@ export declare const pPilao: {
|
||||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||||
}[];
|
}[];
|
||||||
}>;
|
}>;
|
||||||
enviar_registros: ({ conta, produto, emDesenvolvimento, ver_log, }: import("zod").TypeOf<typeof zp_produto_conta>) => ({ registros: registros_entrada, tabela, }: import("zod").TypeOf<typeof zp_enviar_registros>) => Promise<import("p-respostas").tipoResposta<true>>;
|
PilaoEnviar: (_: import("zod").TypeOf<typeof zp_produto_conta>) => {
|
||||||
|
__conta: string | undefined;
|
||||||
|
__produto: string | undefined;
|
||||||
|
__emDesenvolvimento: boolean | undefined;
|
||||||
|
__ver_log: boolean | undefined;
|
||||||
|
__tabela: string | undefined;
|
||||||
|
__registros: import("zod").TypeOf<typeof zp_enviar_registros>["registros"];
|
||||||
|
tabela(tabela: string): any;
|
||||||
|
adicionarRegistro(...registro: import("zod").TypeOf<typeof zp_enviar_registros>["registros"]): any;
|
||||||
|
enviar(): Promise<import("p-respostas").tipoResposta<true>>;
|
||||||
|
};
|
||||||
zp_enviar_registros: import("zod").ZodObject<{
|
zp_enviar_registros: import("zod").ZodObject<{
|
||||||
tabela: import("zod").ZodString;
|
tabela: import("zod").ZodString;
|
||||||
registros: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
registros: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ const _serie_consultar_1 = require("./_serie_consultar");
|
||||||
const visoes_1 = require("./visoes");
|
const visoes_1 = require("./visoes");
|
||||||
exports.pPilao = {
|
exports.pPilao = {
|
||||||
zp_registrar_base_dados: _enviar_registros_1.zp_registrar_base_dados,
|
zp_registrar_base_dados: _enviar_registros_1.zp_registrar_base_dados,
|
||||||
enviar_registros: _enviar_registros_1.enviar_registros,
|
PilaoEnviar: _enviar_registros_1.PilaoEnviar,
|
||||||
zp_enviar_registros: _enviar_registros_1.zp_enviar_registros,
|
zp_enviar_registros: _enviar_registros_1.zp_enviar_registros,
|
||||||
serie_consultar: _serie_consultar_1.serie_consultar,
|
serie_consultar: _serie_consultar_1.serie_consultar,
|
||||||
zp_produto_conta: variaveis_2.zp_produto_conta,
|
zp_produto_conta: variaveis_2.zp_produto_conta,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.149.0",
|
"version": "0.151.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -32,28 +32,50 @@ export const zp_enviar_registros = z.object({
|
||||||
),
|
),
|
||||||
})
|
})
|
||||||
|
|
||||||
export const enviar_registros =
|
class ClassPilaoEnviar {
|
||||||
({
|
__conta: string | undefined
|
||||||
|
__produto: string | undefined
|
||||||
|
__emDesenvolvimento: boolean | undefined
|
||||||
|
__ver_log: boolean | undefined
|
||||||
|
__tabela: string | undefined
|
||||||
|
__registros: z.infer<typeof zp_enviar_registros>["registros"] = []
|
||||||
|
|
||||||
|
constructor({
|
||||||
conta,
|
conta,
|
||||||
produto,
|
produto,
|
||||||
emDesenvolvimento,
|
emDesenvolvimento,
|
||||||
ver_log,
|
ver_log,
|
||||||
}: z.infer<typeof zp_produto_conta>) =>
|
}: z.infer<typeof zp_produto_conta>) {
|
||||||
async ({
|
this.__conta = conta
|
||||||
registros: registros_entrada,
|
this.__produto = produto
|
||||||
tabela,
|
this.__emDesenvolvimento = emDesenvolvimento
|
||||||
}: z.infer<typeof zp_enviar_registros>): Promise<tipoResposta<true>> => {
|
this.__ver_log = ver_log
|
||||||
const registros = [...registros_entrada]
|
}
|
||||||
|
|
||||||
|
tabela(tabela: string) {
|
||||||
|
this.__tabela = tabela
|
||||||
|
return this
|
||||||
|
}
|
||||||
|
|
||||||
|
adicionarRegistro(
|
||||||
|
...registro: z.infer<typeof zp_enviar_registros>["registros"]
|
||||||
|
) {
|
||||||
|
this.__registros.push(...registro)
|
||||||
|
return this
|
||||||
|
}
|
||||||
|
|
||||||
|
async enviar(): Promise<tipoResposta<true>> {
|
||||||
|
const registros = this.__registros
|
||||||
|
|
||||||
const url = new URL(
|
const url = new URL(
|
||||||
`${
|
`${
|
||||||
urlPilao(emDesenvolvimento).api
|
urlPilao(this.__emDesenvolvimento).api
|
||||||
}/${Object.keys({ enviar_registros })[0]}/${produto}/${conta}`,
|
}/enviar_registros/${this.__produto}/${this.__conta}`,
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ver_log)
|
if (this.__ver_log)
|
||||||
console.log(
|
console.log(
|
||||||
`[PILÃO]: Enviando "${registros.length}" registros na tabela "${tabela}" para "${url}".`,
|
`[PILÃO]: Enviando "${registros.length}" registros na tabela "${this.__tabela}" para "${url}".`,
|
||||||
)
|
)
|
||||||
|
|
||||||
const tamanhoBlocos = 1000
|
const tamanhoBlocos = 1000
|
||||||
|
|
@ -69,7 +91,7 @@ export const enviar_registros =
|
||||||
|
|
||||||
const resp = await node_fetch(url.toString(), {
|
const resp = await node_fetch(url.toString(), {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({ tabela, registros: bloco }),
|
body: JSON.stringify({ tabela: this.__tabela, registros: bloco }),
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
})
|
})
|
||||||
.then((r) => r.json())
|
.then((r) => r.json())
|
||||||
|
|
@ -85,3 +107,7 @@ export const enviar_registros =
|
||||||
|
|
||||||
return respostaComuns.valor(true)
|
return respostaComuns.valor(true)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export const PilaoEnviar = (_: z.infer<typeof zp_produto_conta>) =>
|
||||||
|
new ClassPilaoEnviar(_)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { deletar_registros, zp_deletar_registros } from "./_deletar_registros"
|
import { deletar_registros, zp_deletar_registros } from "./_deletar_registros"
|
||||||
export { PREFIXO_PILAO, urlPilao } from "./variaveis"
|
export { PREFIXO_PILAO, urlPilao } from "./variaveis"
|
||||||
import {
|
import {
|
||||||
enviar_registros,
|
PilaoEnviar,
|
||||||
zp_enviar_registros,
|
zp_enviar_registros,
|
||||||
zp_registrar_base_dados,
|
zp_registrar_base_dados,
|
||||||
} from "./_enviar_registros"
|
} from "./_enviar_registros"
|
||||||
|
|
@ -17,7 +17,7 @@ import { extruturas_de_campos, visoes } from "./visoes"
|
||||||
|
|
||||||
export const pPilao = {
|
export const pPilao = {
|
||||||
zp_registrar_base_dados,
|
zp_registrar_base_dados,
|
||||||
enviar_registros,
|
PilaoEnviar,
|
||||||
zp_enviar_registros,
|
zp_enviar_registros,
|
||||||
serie_consultar,
|
serie_consultar,
|
||||||
zp_produto_conta,
|
zp_produto_conta,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue