build
This commit is contained in:
parent
4c2d82c073
commit
75309db4ef
8 changed files with 114 additions and 29 deletions
52
dist-import/pilao-de-dados/index.d.ts
vendored
52
dist-import/pilao-de-dados/index.d.ts
vendored
|
|
@ -33,27 +33,27 @@ export declare const pPilao: {
|
|||
campos: {
|
||||
tabela: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
};
|
||||
colanuEixoX: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
};
|
||||
colunaAgrupamento?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
filtros?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
descricao_pelo_usuario?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
};
|
||||
|
|
@ -84,22 +84,22 @@ export declare const pPilao: {
|
|||
campos: {
|
||||
tabela: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
};
|
||||
classes: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
};
|
||||
filtros?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
descricao_pelo_usuario?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
};
|
||||
|
|
@ -116,6 +116,8 @@ export declare const pPilao: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}) => string;
|
||||
descricao: (_: {
|
||||
tabela: string;
|
||||
|
|
@ -126,26 +128,38 @@ export declare const pPilao: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}) => string;
|
||||
campos: {
|
||||
tabela: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
};
|
||||
colunas: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
};
|
||||
filtros?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
descricao_pelo_usuario?: {
|
||||
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", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
coluna_ordem?: {
|
||||
rotulo: string;
|
||||
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
direcao_ordem?: {
|
||||
rotulo: string;
|
||||
tipo_campo: import("zod").TypeOf<import("zod").ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>>;
|
||||
order: number;
|
||||
} | undefined;
|
||||
};
|
||||
|
|
@ -229,6 +243,8 @@ export declare const pPilao: {
|
|||
z_tabela: import("zod").ZodObject<{
|
||||
tabela: import("zod").ZodString;
|
||||
colunas: import("zod").ZodArray<import("zod").ZodString, "many">;
|
||||
coluna_ordem: import("zod").ZodOptional<import("zod").ZodString>;
|
||||
direcao_ordem: import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc", "1", "-1"]>>;
|
||||
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
||||
coluna: import("zod").ZodString;
|
||||
valor: import("zod").ZodAny;
|
||||
|
|
@ -252,6 +268,8 @@ export declare const pPilao: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: string[];
|
||||
|
|
@ -261,6 +279,8 @@ export declare const pPilao: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}>;
|
||||
zp_registrar_base_dados: import("zod").ZodObject<{
|
||||
tabela: import("zod").ZodString;
|
||||
|
|
@ -450,6 +470,8 @@ export declare const pPilao: {
|
|||
z_tabela: import("zod").ZodObject<{
|
||||
tabela: import("zod").ZodString;
|
||||
colunas: import("zod").ZodArray<import("zod").ZodString, "many">;
|
||||
coluna_ordem: import("zod").ZodOptional<import("zod").ZodString>;
|
||||
direcao_ordem: import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc", "1", "-1"]>>;
|
||||
filtros: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
||||
coluna: import("zod").ZodString;
|
||||
valor: import("zod").ZodAny;
|
||||
|
|
@ -473,6 +495,8 @@ export declare const pPilao: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: string[];
|
||||
|
|
@ -482,6 +506,8 @@ export declare const pPilao: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
14
dist-import/pilao-de-dados/visoes/index.d.ts
vendored
14
dist-import/pilao-de-dados/visoes/index.d.ts
vendored
|
|
@ -1,5 +1,5 @@
|
|||
import { z } from "zod";
|
||||
declare const z_tipos_campos: z.ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros"]>;
|
||||
declare const z_tipos_campos: z.ZodEnum<["tabela", "coluna", "texto", "lista_colunas", "lista_filtros", "ordem"]>;
|
||||
export declare const z_contagem_em_barra_vertical: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
colanuEixoX: z.ZodString;
|
||||
|
|
@ -78,6 +78,8 @@ export declare const z_contagem_em_pizza: z.ZodObject<{
|
|||
export declare const z_tabela: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
colunas: z.ZodArray<z.ZodString, "many">;
|
||||
coluna_ordem: z.ZodOptional<z.ZodString>;
|
||||
direcao_ordem: z.ZodOptional<z.ZodEnum<["asc", "desc", "1", "-1"]>>;
|
||||
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||
coluna: z.ZodString;
|
||||
valor: z.ZodAny;
|
||||
|
|
@ -101,6 +103,8 @@ export declare const z_tabela: z.ZodObject<{
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: string[];
|
||||
|
|
@ -110,6 +114,8 @@ export declare const z_tabela: z.ZodObject<{
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}>;
|
||||
export declare const visoes: {
|
||||
z_contagem_em_barra_vertical: z.ZodObject<{
|
||||
|
|
@ -190,6 +196,8 @@ export declare const visoes: {
|
|||
z_tabela: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
colunas: z.ZodArray<z.ZodString, "many">;
|
||||
coluna_ordem: z.ZodOptional<z.ZodString>;
|
||||
direcao_ordem: z.ZodOptional<z.ZodEnum<["asc", "desc", "1", "-1"]>>;
|
||||
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||
coluna: z.ZodString;
|
||||
valor: z.ZodAny;
|
||||
|
|
@ -213,6 +221,8 @@ export declare const visoes: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: string[];
|
||||
|
|
@ -222,6 +232,8 @@ export declare const visoes: {
|
|||
valor?: any;
|
||||
}[] | undefined;
|
||||
descricao_pelo_usuario?: string | undefined;
|
||||
coluna_ordem?: string | undefined;
|
||||
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||
}>;
|
||||
};
|
||||
/** Cria a estrutura de campos para insersão de dados */
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ const z_tipos_campos = z.enum([
|
|||
"texto",
|
||||
"lista_colunas",
|
||||
"lista_filtros",
|
||||
"ordem",
|
||||
]);
|
||||
export const z_contagem_em_barra_vertical = z.object({
|
||||
tabela: z.string(),
|
||||
|
|
@ -24,6 +25,8 @@ export const z_contagem_em_pizza = z.object({
|
|||
export const z_tabela = z.object({
|
||||
tabela: z.string(),
|
||||
colunas: z.string().array(),
|
||||
coluna_ordem: z.string().optional(),
|
||||
direcao_ordem: z.enum(["asc", "desc", "1", "-1"]).optional(),
|
||||
filtros: z_filtro.array().optional(),
|
||||
descricao_pelo_usuario: z.string().optional(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue