melhorias
This commit is contained in:
parent
7a1a1a4a24
commit
dcba11dbb8
6 changed files with 16 additions and 12 deletions
|
|
@ -297,6 +297,7 @@ type tipoRetornoSerieconsulta<T extends keyof typeof visoes_pilao> = {
|
|||
|
||||
/** Drive completo do piilão de dados */
|
||||
|
||||
type nomesVisoes = keyof typeof visoes_pilao;
|
||||
declare class ClassPilao {
|
||||
#private;
|
||||
constructor({ conta, produto, emDesenvolvimento, ver_log, }: tipoConstrutorPilao & {
|
||||
|
|
@ -311,11 +312,11 @@ declare class ClassPilao {
|
|||
rota: string;
|
||||
url: string;
|
||||
};
|
||||
rotaConsultarSerie(tipoVisao: keyof typeof visoes_pilao | ":tipoVisao"): {
|
||||
rotaConsultarSerie(tipoVisao: nomesVisoes | ":tipoVisao"): {
|
||||
rota: string;
|
||||
url: string;
|
||||
};
|
||||
rotaIframeSerie(tipoVisao: keyof typeof visoes_pilao | ":tipoVisao"): {
|
||||
rotaIframeSerie(tipoVisao: nomesVisoes | ":tipoVisao"): {
|
||||
rota: string;
|
||||
url: string;
|
||||
};
|
||||
|
|
@ -331,7 +332,7 @@ declare class ClassPilao {
|
|||
adicionarCodigoParaDeletar(tabela: string, ...codigos: z.infer<typeof zp_deletar_registros>["codigos"]): this;
|
||||
private processarRegistros;
|
||||
salvarRegistros(): Promise<tipoResposta<true>>;
|
||||
serieConsultar<T extends keyof typeof visoes_pilao>(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>): {
|
||||
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
|
||||
url: () => string;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue