restauração

This commit is contained in:
Luiz Silva 2024-05-07 10:50:06 -03:00
parent c7c8e377c3
commit 4d5c641223
357 changed files with 23543 additions and 591 deletions

26
dist/consulta.d.ts vendored Normal file
View file

@ -0,0 +1,26 @@
export declare enum operadores {
"=" = "=",
"!=" = "!=",
">" = ">",
">=" = ">=",
"<" = "<",
"<=" = "<=",
like = "like",
in = "in"
}
export type tipoFiltro = {
coluna: string;
valor: any;
operador: keyof typeof operadores | operadores;
ou?: boolean;
};
export type interfaceConsulta = {
offset?: number;
limit?: number;
filtros?: tipoFiltro[];
ordem?: string;
ordemTipo?: "asc" | "desc";
colunas?: string[];
apenasConsulta?: boolean;
apenasContagem?: boolean;
};