This commit is contained in:
Luiz Silva 2025-01-06 19:20:44 -03:00
parent 925eae3a79
commit 3b6a243ee4
6 changed files with 6 additions and 6 deletions

View file

@ -331,7 +331,7 @@ declare class ClassPilao {
adicionarRegistroParaEnviar(tabela: string, ...registros: z.infer<typeof zp_enviar_registros>["registros"]): this;
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
private processarRegistros;
salvarRegistros(): Promise<tipoResposta<true>>;
enviarRegistros(): Promise<tipoResposta<true>>;
serieConsultar<T extends nomesVisoes>(tipoVisao: T, parametros_: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>, padroes?: Pick<z.infer<typeof z_padroes>, "descricao_pelo_usuario">): {
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
url: () => string;

File diff suppressed because one or more lines are too long

View file

@ -331,7 +331,7 @@ declare class ClassPilao {
adicionarRegistroParaEnviar(tabela: string, ...registros: z.infer<typeof zp_enviar_registros>["registros"]): this;
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
private processarRegistros;
salvarRegistros(): Promise<tipoResposta<true>>;
enviarRegistros(): Promise<tipoResposta<true>>;
serieConsultar<T extends nomesVisoes>(tipoVisao: T, parametros_: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>, padroes?: Pick<z.infer<typeof z_padroes>, "descricao_pelo_usuario">): {
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
url: () => string;

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "p-drives",
"version": "0.200.0",
"version": "0.201.0",
"description": "",
"main": "src/index.ts",
"exports": {

View file

@ -214,7 +214,7 @@ class ClassPilao {
return respostaComuns.valor(true)
}
async salvarRegistros(): Promise<tipoResposta<true>> {
async enviarRegistros(): Promise<tipoResposta<true>> {
const re = await this.#salvarEnviarRegistros()
if (re.eErro) return re
const rd = await this.#salvarDeletarRegistros()