528 lines
24 KiB
TypeScript
528 lines
24 KiB
TypeScript
export { PREFIXO_PILAO, urlPilao } from "./variaveis";
|
|
import { zp_enviar_registros } from "./_enviar_registros";
|
|
import { zp_deletar_registros, zp_produto_conta } from "./variaveis";
|
|
import { visoes } from "./visoes";
|
|
export declare const pPilao: {
|
|
extruturas_de_campos: {
|
|
z_contagem_em_barra_vertical: {
|
|
visao: "z_contagem_em_barra_vertical";
|
|
rotulo: string;
|
|
tabela: (_: {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento?: string[] | undefined;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}) => string;
|
|
descricao: (_: {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento?: string[] | undefined;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}) => string;
|
|
campos: {
|
|
tabela: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
colanuEixoX: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
colunaAgrupamento: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
filtros: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
descricao_pelo_usuario: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
};
|
|
};
|
|
z_contagem_em_pizza: {
|
|
visao: "z_contagem_em_pizza";
|
|
rotulo: string;
|
|
tabela: (_: {
|
|
tabela: string;
|
|
classes: string;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}) => string;
|
|
descricao: (_: {
|
|
tabela: string;
|
|
classes: string;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}) => string;
|
|
campos: {
|
|
tabela: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
classes: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
filtros: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
descricao_pelo_usuario: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
};
|
|
};
|
|
z_tabela: {
|
|
visao: "z_tabela";
|
|
rotulo: string;
|
|
tabela: (_: {
|
|
tabela: string;
|
|
colunas: string[];
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
coluna_ordem?: string | undefined;
|
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
|
}) => string;
|
|
descricao: (_: {
|
|
tabela: string;
|
|
colunas: string[];
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
coluna_ordem?: string | undefined;
|
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
|
}) => string;
|
|
campos: {
|
|
tabela: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
colunas: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
filtros: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
descricao_pelo_usuario: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
coluna_ordem: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
direcao_ordem: {
|
|
rotulo: string;
|
|
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
|
order: number;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
z_contagem_em_barra_vertical: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
colanuEixoX: import("zod").ZodString;
|
|
colunaAgrupamento: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>, "many">>;
|
|
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento?: string[] | undefined;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}, {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento?: string[] | undefined;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}>;
|
|
z_contagem_em_pizza: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
classes: import("zod").ZodString;
|
|
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>, "many">>;
|
|
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
classes: string;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}, {
|
|
tabela: string;
|
|
classes: string;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}>;
|
|
z_tabela: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
colunas: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
coluna_ordem: import("zod").ZodOptional<import("zod").ZodString>;
|
|
direcao_ordem: import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc", "1", "-1"]>>;
|
|
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>, "many">>;
|
|
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
colunas: string[];
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
coluna_ordem?: string | undefined;
|
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
|
}, {
|
|
tabela: string;
|
|
colunas: string[];
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
coluna_ordem?: string | undefined;
|
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
|
}>;
|
|
zp_deletar_registros: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
codigos: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
codigos: string[];
|
|
}, {
|
|
tabela: string;
|
|
codigos: string[];
|
|
}>;
|
|
zp_registrar_base_dados: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
colunas: import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
tipo: import("zod").ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero", "lista_mes", "lista_data", "mes", "data"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
|
}, {
|
|
coluna: string;
|
|
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
|
}>, "many">;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
colunas: {
|
|
coluna: string;
|
|
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
|
}[];
|
|
}, {
|
|
tabela: string;
|
|
colunas: {
|
|
coluna: string;
|
|
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
|
}[];
|
|
}>;
|
|
PilaoEnviar: (_: import("zod").TypeOf<typeof zp_produto_conta>) => {
|
|
__conta: string | undefined;
|
|
__produto: string | undefined;
|
|
__emDesenvolvimento: boolean | undefined;
|
|
__ver_log: boolean | undefined;
|
|
__tabela: string | undefined;
|
|
__registrosParaEnvio: import("zod").TypeOf<typeof zp_enviar_registros>["registros"];
|
|
__codigosParaDeletar: string[];
|
|
tabela(tabela: string): any;
|
|
adicionarRegistroParaEnviar(...registro: import("zod").TypeOf<typeof zp_enviar_registros>["registros"]): any;
|
|
adicionarCodigoParaDeletar(...codigos: import("zod").TypeOf<typeof zp_deletar_registros>["codigos"]): any;
|
|
__salvar_enviar_registros(): Promise<import("p-respostas").tipoResposta<true>>;
|
|
__salvar_deletar_registros(): Promise<import("p-respostas").tipoRespostaErro | import("p-respostas").tipoRespostaSucesso<boolean>>;
|
|
salvar(): Promise<import("p-respostas").tipoRespostaErro | import("p-respostas").tipoRespostaSucesso<boolean>>;
|
|
};
|
|
zp_enviar_registros: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
registros: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
valor: import("zod").ZodAny;
|
|
tipo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero", "lista_mes", "lista_data", "mes", "data"]>>>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
valor?: any;
|
|
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
|
}, {
|
|
valor?: any;
|
|
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
|
}>>, "many">;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
registros: Record<string, {
|
|
valor?: any;
|
|
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
|
}>[];
|
|
}, {
|
|
tabela: string;
|
|
registros: Record<string, {
|
|
valor?: any;
|
|
tipo?: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data" | null | undefined;
|
|
}>[];
|
|
}>;
|
|
serie_consultar: (cliente: import("zod").TypeOf<typeof zp_produto_conta>) => <T extends keyof typeof visoes>(tipoVisao: T, parametros: import("zod").TypeOf<(typeof visoes)[T]>) => {
|
|
dados: () => Promise<import("p-respostas").tipoResposta<{
|
|
registros: any[];
|
|
legenda: string;
|
|
serie: import("zod").TypeOf<(typeof visoes)[T]>;
|
|
}>>;
|
|
url: () => string;
|
|
};
|
|
zp_produto_conta: import("zod").ZodObject<{
|
|
produto: import("zod").ZodString;
|
|
conta: import("zod").ZodString;
|
|
emDesenvolvimento: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
ver_log: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
conta: string;
|
|
produto: string;
|
|
emDesenvolvimento?: boolean | undefined;
|
|
ver_log?: boolean | undefined;
|
|
}, {
|
|
conta: string;
|
|
produto: string;
|
|
emDesenvolvimento?: boolean | undefined;
|
|
ver_log?: boolean | undefined;
|
|
}>;
|
|
validarZ: <T>(zodType: import("zod").ZodType<T, any>, objeto: any, mensagem: string) => import("p-respostas").tipoRespostaErro | import("p-respostas").tipoRespostaSucesso<T>;
|
|
operadores_pilao: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
operadores_permitidos_por_tipo: {
|
|
texto: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
numero: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
confirmacao: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
lista_texto: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
lista_numero: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
lista_mes: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
lista_data: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
mes: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
data: ("=" | "!=" | ">" | "<" | ">=" | "<=" | "∩")[];
|
|
};
|
|
z_filtro: import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>;
|
|
visoes: {
|
|
z_contagem_em_barra_vertical: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
colanuEixoX: import("zod").ZodString;
|
|
colunaAgrupamento: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>, "many">>;
|
|
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento?: string[] | undefined;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}, {
|
|
tabela: string;
|
|
colanuEixoX: string;
|
|
colunaAgrupamento?: string[] | undefined;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}>;
|
|
z_contagem_em_pizza: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
classes: import("zod").ZodString;
|
|
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>, "many">>;
|
|
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
classes: string;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}, {
|
|
tabela: string;
|
|
classes: string;
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
}>;
|
|
z_tabela: import("zod").ZodObject<{
|
|
tabela: import("zod").ZodString;
|
|
colunas: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
coluna_ordem: import("zod").ZodOptional<import("zod").ZodString>;
|
|
direcao_ordem: import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc", "1", "-1"]>>;
|
|
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
coluna: import("zod").ZodString;
|
|
valor: import("zod").ZodAny;
|
|
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}, {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}>, "many">>;
|
|
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
|
|
}, "strip", import("zod").ZodTypeAny, {
|
|
tabela: string;
|
|
colunas: string[];
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
coluna_ordem?: string | undefined;
|
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
|
}, {
|
|
tabela: string;
|
|
colunas: string[];
|
|
filtros?: {
|
|
coluna: string;
|
|
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
|
|
valor?: any;
|
|
}[] | undefined;
|
|
descricao_pelo_usuario?: string | undefined;
|
|
coluna_ordem?: string | undefined;
|
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
|
}>;
|
|
};
|
|
};
|