This commit is contained in:
Luiz H. R. Silva 2024-07-06 22:31:59 -03:00
parent d54a31dbc9
commit 07c29cde18
8 changed files with 36 additions and 36 deletions

View file

@ -77,7 +77,7 @@ export declare const z_contagem_em_pizza: z.ZodObject<{
}>;
export declare const z_tabela: z.ZodObject<{
tabela: z.ZodString;
colunas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
colunas: z.ZodArray<z.ZodString, "many">;
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
coluna: z.ZodString;
valor: z.ZodAny;
@ -94,7 +94,7 @@ export declare const z_tabela: z.ZodObject<{
descricao_pelo_usuario: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -103,7 +103,7 @@ export declare const z_tabela: z.ZodObject<{
descricao_pelo_usuario?: string | undefined;
}, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -189,7 +189,7 @@ export declare const visoes: {
}>;
z_tabela: z.ZodObject<{
tabela: z.ZodString;
colunas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
colunas: z.ZodArray<z.ZodString, "many">;
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
coluna: z.ZodString;
valor: z.ZodAny;
@ -206,7 +206,7 @@ export declare const visoes: {
descricao_pelo_usuario: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -215,7 +215,7 @@ export declare const visoes: {
descricao_pelo_usuario?: string | undefined;
}, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";

View file

@ -26,7 +26,7 @@ exports.z_contagem_em_pizza = zod_1.z.object({
});
exports.z_tabela = zod_1.z.object({
tabela: zod_1.z.string(),
colunas: zod_1.z.string().array().optional(),
colunas: zod_1.z.string().array(),
filtros: _serie_consultar_1.z_filtro.array().optional(),
descricao_pelo_usuario: zod_1.z.string().optional(),
});