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

View file

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

View file

@ -23,7 +23,7 @@ export const z_contagem_em_pizza = z.object({
}); });
export const z_tabela = z.object({ export const z_tabela = z.object({
tabela: z.string(), tabela: z.string(),
colunas: z.string().array().optional(), colunas: z.string().array(),
filtros: z_filtro.array().optional(), filtros: z_filtro.array().optional(),
descricao_pelo_usuario: z.string().optional(), descricao_pelo_usuario: z.string().optional(),
}); });

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "p-drives", "name": "p-drives",
"version": "0.129.0", "version": "0.130.0",
"description": "", "description": "",
"main": "src/index.ts", "main": "src/index.ts",
"exports": { "exports": {

View file

@ -27,7 +27,7 @@ export const z_contagem_em_pizza = z.object({
export const z_tabela = z.object({ export const z_tabela = z.object({
tabela: z.string(), tabela: z.string(),
colunas: z.string().array().optional(), colunas: z.string().array(),
filtros: z_filtro.array().optional(), filtros: z_filtro.array().optional(),
descricao_pelo_usuario: z.string().optional(), descricao_pelo_usuario: z.string().optional(),
}) })