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

@ -109,7 +109,7 @@ export declare const pPilao: {
rotulo: string;
tabela: (_: {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -119,7 +119,7 @@ export declare const pPilao: {
}) => string;
descricao: (_: {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -133,11 +133,11 @@ export declare const pPilao: {
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros"]>>;
order: number;
};
colunas?: {
colunas: {
rotulo: string;
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros"]>>;
order: number;
} | undefined;
};
filtros?: {
rotulo: string;
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros"]>>;
@ -228,7 +228,7 @@ export declare const pPilao: {
}>;
z_tabela: import("zod").ZodObject<{
tabela: import("zod").ZodString;
colunas: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
colunas: 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;
@ -245,7 +245,7 @@ export declare const pPilao: {
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -254,7 +254,7 @@ export declare const pPilao: {
descricao_pelo_usuario?: string | undefined;
}, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -447,7 +447,7 @@ export declare const pPilao: {
}>;
z_tabela: import("zod").ZodObject<{
tabela: import("zod").ZodString;
colunas: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
colunas: 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;
@ -464,7 +464,7 @@ export declare const pPilao: {
descricao_pelo_usuario: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";
@ -473,7 +473,7 @@ export declare const pPilao: {
descricao_pelo_usuario?: string | undefined;
}, {
tabela: string;
colunas?: string[] | undefined;
colunas: string[];
filtros?: {
coluna: string;
operador: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩";

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(),
});