This commit is contained in:
Luiz H. R. Silva 2024-07-01 13:17:11 -03:00
parent 78773e8943
commit 2747b6d509
8 changed files with 24 additions and 24 deletions

View file

@ -8,16 +8,16 @@ export declare const zp_serie_registrar: z.ZodObject<{
agregacao: z.ZodEnum<["contagem", "somatoria"]>;
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
coluna: z.ZodString;
valor: z.ZodString;
valor: z.ZodAny;
operador: z.ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
}, "strip", z.ZodTypeAny, {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}, {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
tabela: string;
@ -25,9 +25,9 @@ export declare const zp_serie_registrar: z.ZodObject<{
agregacao: "contagem" | "somatoria";
colunaAgrupamento?: string[] | undefined;
filtros?: {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}[] | undefined;
}, {
tabela: string;
@ -35,9 +35,9 @@ export declare const zp_serie_registrar: z.ZodObject<{
agregacao: "contagem" | "somatoria";
colunaAgrupamento?: string[] | undefined;
filtros?: {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}[] | undefined;
}>;
export declare const serie_consultar: (cliente: z.infer<typeof zp_produto_conta>) => (parametros: z.infer<typeof zp_serie_registrar>) => {

View file

@ -10,7 +10,7 @@ const zod_1 = require("zod");
const variaveis_1 = require("./variaveis");
const filtro = zod_1.z.object({
coluna: zod_1.z.string(),
valor: zod_1.z.string(),
valor: zod_1.z.any(),
operador: variaveis_1.operadores_pilao,
});
exports.zp_serie_registrar = zod_1.z.object({

View file

@ -63,16 +63,16 @@ export declare const pPilao: {
agregacao: import("zod").ZodEnum<["contagem", "somatoria"]>;
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
coluna: import("zod").ZodString;
valor: import("zod").ZodString;
valor: import("zod").ZodAny;
operador: import("zod").ZodEnum<["=", "!=", ">", "<", ">=", "<=", "∩"]>;
}, "strip", import("zod").ZodTypeAny, {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}, {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}>, "many">>;
}, "strip", import("zod").ZodTypeAny, {
tabela: string;
@ -80,9 +80,9 @@ export declare const pPilao: {
agregacao: "contagem" | "somatoria";
colunaAgrupamento?: string[] | undefined;
filtros?: {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}[] | undefined;
}, {
tabela: string;
@ -90,9 +90,9 @@ export declare const pPilao: {
agregacao: "contagem" | "somatoria";
colunaAgrupamento?: string[] | undefined;
filtros?: {
valor: string;
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
valor?: any;
}[] | undefined;
}>;
serie_consultar: (cliente: import("zod").TypeOf<typeof zp_produto_conta>) => (parametros: import("zod").TypeOf<typeof zp_serie_registrar>) => {