From 07c29cde18357a665121d744891ca95dd49d470f Mon Sep 17 00:00:00 2001 From: "Luiz H. R. Silva" Date: Sat, 6 Jul 2024 22:31:59 -0300 Subject: [PATCH] build --- dist-import/pilao-de-dados/index.d.ts | 20 +++++++++---------- dist-import/pilao-de-dados/visoes/index.d.ts | 12 +++++------ dist-import/pilao-de-dados/visoes/index.js | 2 +- dist-require/pilao-de-dados/index.d.ts | 20 +++++++++---------- dist-require/pilao-de-dados/visoes/index.d.ts | 12 +++++------ dist-require/pilao-de-dados/visoes/index.js | 2 +- package.json | 2 +- src/pilao-de-dados/visoes/index.ts | 2 +- 8 files changed, 36 insertions(+), 36 deletions(-) diff --git a/dist-import/pilao-de-dados/index.d.ts b/dist-import/pilao-de-dados/index.d.ts index eba47db..4136e21 100644 --- a/dist-import/pilao-de-dados/index.d.ts +++ b/dist-import/pilao-de-dados/index.d.ts @@ -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>; order: number; }; - colunas?: { + colunas: { rotulo: string; tipo_campo: import("zod").TypeOf>; order: number; - } | undefined; + }; filtros?: { rotulo: string; tipo_campo: import("zod").TypeOf>; @@ -228,7 +228,7 @@ export declare const pPilao: { }>; z_tabela: import("zod").ZodObject<{ tabela: import("zod").ZodString; - colunas: import("zod").ZodOptional>; + colunas: import("zod").ZodArray; filtros: import("zod").ZodOptional; }, "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>; + colunas: import("zod").ZodArray; filtros: import("zod").ZodOptional; }, "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: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩"; diff --git a/dist-import/pilao-de-dados/visoes/index.d.ts b/dist-import/pilao-de-dados/visoes/index.d.ts index 07b7c2a..49127f2 100644 --- a/dist-import/pilao-de-dados/visoes/index.d.ts +++ b/dist-import/pilao-de-dados/visoes/index.d.ts @@ -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>; + colunas: z.ZodArray; filtros: z.ZodOptional; }, "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>; + colunas: z.ZodArray; filtros: z.ZodOptional; }, "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: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩"; diff --git a/dist-import/pilao-de-dados/visoes/index.js b/dist-import/pilao-de-dados/visoes/index.js index 73fdaff..ea26969 100644 --- a/dist-import/pilao-de-dados/visoes/index.js +++ b/dist-import/pilao-de-dados/visoes/index.js @@ -23,7 +23,7 @@ export const z_contagem_em_pizza = z.object({ }); export const z_tabela = z.object({ tabela: z.string(), - colunas: z.string().array().optional(), + colunas: z.string().array(), filtros: z_filtro.array().optional(), descricao_pelo_usuario: z.string().optional(), }); diff --git a/dist-require/pilao-de-dados/index.d.ts b/dist-require/pilao-de-dados/index.d.ts index eba47db..4136e21 100644 --- a/dist-require/pilao-de-dados/index.d.ts +++ b/dist-require/pilao-de-dados/index.d.ts @@ -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>; order: number; }; - colunas?: { + colunas: { rotulo: string; tipo_campo: import("zod").TypeOf>; order: number; - } | undefined; + }; filtros?: { rotulo: string; tipo_campo: import("zod").TypeOf>; @@ -228,7 +228,7 @@ export declare const pPilao: { }>; z_tabela: import("zod").ZodObject<{ tabela: import("zod").ZodString; - colunas: import("zod").ZodOptional>; + colunas: import("zod").ZodArray; filtros: import("zod").ZodOptional; }, "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>; + colunas: import("zod").ZodArray; filtros: import("zod").ZodOptional; }, "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: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩"; diff --git a/dist-require/pilao-de-dados/visoes/index.d.ts b/dist-require/pilao-de-dados/visoes/index.d.ts index 07b7c2a..49127f2 100644 --- a/dist-require/pilao-de-dados/visoes/index.d.ts +++ b/dist-require/pilao-de-dados/visoes/index.d.ts @@ -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>; + colunas: z.ZodArray; filtros: z.ZodOptional; }, "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>; + colunas: z.ZodArray; filtros: z.ZodOptional; }, "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: "=" | "!=" | ">" | "<" | ">=" | "<=" | "∩"; diff --git a/dist-require/pilao-de-dados/visoes/index.js b/dist-require/pilao-de-dados/visoes/index.js index 11c7b83..4b99606 100644 --- a/dist-require/pilao-de-dados/visoes/index.js +++ b/dist-require/pilao-de-dados/visoes/index.js @@ -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(), }); diff --git a/package.json b/package.json index eeb8dad..5dff08e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-drives", - "version": "0.129.0", + "version": "0.130.0", "description": "", "main": "src/index.ts", "exports": { diff --git a/src/pilao-de-dados/visoes/index.ts b/src/pilao-de-dados/visoes/index.ts index 52dfc1c..d2fe152 100644 --- a/src/pilao-de-dados/visoes/index.ts +++ b/src/pilao-de-dados/visoes/index.ts @@ -27,7 +27,7 @@ export const z_contagem_em_pizza = z.object({ export const z_tabela = z.object({ tabela: z.string(), - colunas: z.string().array().optional(), + colunas: z.string().array(), filtros: z_filtro.array().optional(), descricao_pelo_usuario: z.string().optional(), })