build
This commit is contained in:
parent
dcba11dbb8
commit
99a04ff45d
6 changed files with 9 additions and 6 deletions
|
|
@ -332,7 +332,7 @@ declare class ClassPilao {
|
||||||
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
|
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
|
||||||
private processarRegistros;
|
private processarRegistros;
|
||||||
salvarRegistros(): Promise<tipoResposta<true>>;
|
salvarRegistros(): Promise<tipoResposta<true>>;
|
||||||
serieConsultar<T extends nomesVisoes>(tipoVisao: T, parametros: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>): {
|
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>>>;
|
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
|
||||||
url: () => string;
|
url: () => string;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
2
dist-require/index.d.ts
vendored
2
dist-require/index.d.ts
vendored
|
|
@ -332,7 +332,7 @@ declare class ClassPilao {
|
||||||
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
|
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
|
||||||
private processarRegistros;
|
private processarRegistros;
|
||||||
salvarRegistros(): Promise<tipoResposta<true>>;
|
salvarRegistros(): Promise<tipoResposta<true>>;
|
||||||
serieConsultar<T extends nomesVisoes>(tipoVisao: T, parametros: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>): {
|
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>>>;
|
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
|
||||||
url: () => string;
|
url: () => string;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.195.0",
|
"version": "0.197.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -224,8 +224,11 @@ class ClassPilao {
|
||||||
|
|
||||||
serieConsultar<T extends nomesVisoes>(
|
serieConsultar<T extends nomesVisoes>(
|
||||||
tipoVisao: T,
|
tipoVisao: T,
|
||||||
parametros: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>,
|
parametros_: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>,
|
||||||
|
padroes?: Pick<z.infer<typeof z_padroes>, "descricao_pelo_usuario">,
|
||||||
) {
|
) {
|
||||||
|
const parametros = { ...parametros_, ...(padroes || {}) }
|
||||||
|
|
||||||
const dados = async (): Promise<
|
const dados = async (): Promise<
|
||||||
tipoResposta<tipoRetornoSerieconsulta<T>>
|
tipoResposta<tipoRetornoSerieconsulta<T>>
|
||||||
> => {
|
> => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue