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: {
|
campos: {
|
||||||
tabela: {
|
tabela: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
colanuEixoX: {
|
colanuEixoX: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
colunaAgrupamento?: {
|
colunaAgrupamento?: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | 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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
descricao_pelo_usuario?: {
|
descricao_pelo_usuario?: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
};
|
};
|
||||||
|
|
@ -84,22 +84,22 @@ export declare const pPilao: {
|
||||||
campos: {
|
campos: {
|
||||||
tabela: {
|
tabela: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
classes: {
|
classes: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
descricao_pelo_usuario?: {
|
descricao_pelo_usuario?: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
};
|
};
|
||||||
|
|
@ -116,6 +116,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}) => string;
|
}) => string;
|
||||||
descricao: (_: {
|
descricao: (_: {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
|
|
@ -126,26 +128,38 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}) => string;
|
}) => string;
|
||||||
campos: {
|
campos: {
|
||||||
tabela: {
|
tabela: {
|
||||||
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", "ordem"]>>;
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
descricao_pelo_usuario?: {
|
descricao_pelo_usuario?: {
|
||||||
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", "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;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
};
|
};
|
||||||
|
|
@ -229,6 +243,8 @@ 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").ZodArray<import("zod").ZodString, "many">;
|
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<{
|
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;
|
||||||
|
|
@ -252,6 +268,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -261,6 +279,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}>;
|
}>;
|
||||||
zp_registrar_base_dados: import("zod").ZodObject<{
|
zp_registrar_base_dados: import("zod").ZodObject<{
|
||||||
tabela: import("zod").ZodString;
|
tabela: import("zod").ZodString;
|
||||||
|
|
@ -450,6 +470,8 @@ 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").ZodArray<import("zod").ZodString, "many">;
|
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<{
|
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;
|
||||||
|
|
@ -473,6 +495,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -482,6 +506,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | 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";
|
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<{
|
export declare const z_contagem_em_barra_vertical: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colanuEixoX: 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<{
|
export declare const z_tabela: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colunas: z.ZodArray<z.ZodString, "many">;
|
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<{
|
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||||
coluna: z.ZodString;
|
coluna: z.ZodString;
|
||||||
valor: z.ZodAny;
|
valor: z.ZodAny;
|
||||||
|
|
@ -101,6 +103,8 @@ export declare const z_tabela: z.ZodObject<{
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -110,6 +114,8 @@ export declare const z_tabela: z.ZodObject<{
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}>;
|
}>;
|
||||||
export declare const visoes: {
|
export declare const visoes: {
|
||||||
z_contagem_em_barra_vertical: z.ZodObject<{
|
z_contagem_em_barra_vertical: z.ZodObject<{
|
||||||
|
|
@ -190,6 +196,8 @@ export declare const visoes: {
|
||||||
z_tabela: z.ZodObject<{
|
z_tabela: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colunas: z.ZodArray<z.ZodString, "many">;
|
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<{
|
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||||
coluna: z.ZodString;
|
coluna: z.ZodString;
|
||||||
valor: z.ZodAny;
|
valor: z.ZodAny;
|
||||||
|
|
@ -213,6 +221,8 @@ export declare const visoes: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -222,6 +232,8 @@ export declare const visoes: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | 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 */
|
/** Cria a estrutura de campos para insersão de dados */
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ const z_tipos_campos = z.enum([
|
||||||
"texto",
|
"texto",
|
||||||
"lista_colunas",
|
"lista_colunas",
|
||||||
"lista_filtros",
|
"lista_filtros",
|
||||||
|
"ordem",
|
||||||
]);
|
]);
|
||||||
export const z_contagem_em_barra_vertical = z.object({
|
export const z_contagem_em_barra_vertical = z.object({
|
||||||
tabela: z.string(),
|
tabela: z.string(),
|
||||||
|
|
@ -24,6 +25,8 @@ 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(),
|
colunas: z.string().array(),
|
||||||
|
coluna_ordem: z.string().optional(),
|
||||||
|
direcao_ordem: z.enum(["asc", "desc", "1", "-1"]).optional(),
|
||||||
filtros: z_filtro.array().optional(),
|
filtros: z_filtro.array().optional(),
|
||||||
descricao_pelo_usuario: z.string().optional(),
|
descricao_pelo_usuario: z.string().optional(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
52
dist-require/pilao-de-dados/index.d.ts
vendored
52
dist-require/pilao-de-dados/index.d.ts
vendored
|
|
@ -33,27 +33,27 @@ export declare const pPilao: {
|
||||||
campos: {
|
campos: {
|
||||||
tabela: {
|
tabela: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
colanuEixoX: {
|
colanuEixoX: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
colunaAgrupamento?: {
|
colunaAgrupamento?: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | 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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
descricao_pelo_usuario?: {
|
descricao_pelo_usuario?: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
};
|
};
|
||||||
|
|
@ -84,22 +84,22 @@ export declare const pPilao: {
|
||||||
campos: {
|
campos: {
|
||||||
tabela: {
|
tabela: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
classes: {
|
classes: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
descricao_pelo_usuario?: {
|
descricao_pelo_usuario?: {
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
};
|
};
|
||||||
|
|
@ -116,6 +116,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}) => string;
|
}) => string;
|
||||||
descricao: (_: {
|
descricao: (_: {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
|
|
@ -126,26 +128,38 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}) => string;
|
}) => string;
|
||||||
campos: {
|
campos: {
|
||||||
tabela: {
|
tabela: {
|
||||||
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", "ordem"]>>;
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
};
|
};
|
||||||
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", "ordem"]>>;
|
||||||
order: number;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
descricao_pelo_usuario?: {
|
descricao_pelo_usuario?: {
|
||||||
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", "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;
|
order: number;
|
||||||
} | undefined;
|
} | undefined;
|
||||||
};
|
};
|
||||||
|
|
@ -229,6 +243,8 @@ 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").ZodArray<import("zod").ZodString, "many">;
|
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<{
|
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;
|
||||||
|
|
@ -252,6 +268,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -261,6 +279,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}>;
|
}>;
|
||||||
zp_registrar_base_dados: import("zod").ZodObject<{
|
zp_registrar_base_dados: import("zod").ZodObject<{
|
||||||
tabela: import("zod").ZodString;
|
tabela: import("zod").ZodString;
|
||||||
|
|
@ -450,6 +470,8 @@ 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").ZodArray<import("zod").ZodString, "many">;
|
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<{
|
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;
|
||||||
|
|
@ -473,6 +495,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -482,6 +506,8 @@ export declare const pPilao: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
14
dist-require/pilao-de-dados/visoes/index.d.ts
vendored
14
dist-require/pilao-de-dados/visoes/index.d.ts
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
import { z } from "zod";
|
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<{
|
export declare const z_contagem_em_barra_vertical: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colanuEixoX: 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<{
|
export declare const z_tabela: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colunas: z.ZodArray<z.ZodString, "many">;
|
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<{
|
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||||
coluna: z.ZodString;
|
coluna: z.ZodString;
|
||||||
valor: z.ZodAny;
|
valor: z.ZodAny;
|
||||||
|
|
@ -101,6 +103,8 @@ export declare const z_tabela: z.ZodObject<{
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -110,6 +114,8 @@ export declare const z_tabela: z.ZodObject<{
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}>;
|
}>;
|
||||||
export declare const visoes: {
|
export declare const visoes: {
|
||||||
z_contagem_em_barra_vertical: z.ZodObject<{
|
z_contagem_em_barra_vertical: z.ZodObject<{
|
||||||
|
|
@ -190,6 +196,8 @@ export declare const visoes: {
|
||||||
z_tabela: z.ZodObject<{
|
z_tabela: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colunas: z.ZodArray<z.ZodString, "many">;
|
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<{
|
filtros: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||||
coluna: z.ZodString;
|
coluna: z.ZodString;
|
||||||
valor: z.ZodAny;
|
valor: z.ZodAny;
|
||||||
|
|
@ -213,6 +221,8 @@ export declare const visoes: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | undefined;
|
descricao_pelo_usuario?: string | undefined;
|
||||||
|
coluna_ordem?: string | undefined;
|
||||||
|
direcao_ordem?: "1" | "asc" | "desc" | "-1" | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colunas: string[];
|
colunas: string[];
|
||||||
|
|
@ -222,6 +232,8 @@ export declare const visoes: {
|
||||||
valor?: any;
|
valor?: any;
|
||||||
}[] | undefined;
|
}[] | undefined;
|
||||||
descricao_pelo_usuario?: string | 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 */
|
/** Cria a estrutura de campos para insersão de dados */
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ const z_tipos_campos = zod_1.z.enum([
|
||||||
"texto",
|
"texto",
|
||||||
"lista_colunas",
|
"lista_colunas",
|
||||||
"lista_filtros",
|
"lista_filtros",
|
||||||
|
"ordem",
|
||||||
]);
|
]);
|
||||||
exports.z_contagem_em_barra_vertical = zod_1.z.object({
|
exports.z_contagem_em_barra_vertical = zod_1.z.object({
|
||||||
tabela: zod_1.z.string(),
|
tabela: zod_1.z.string(),
|
||||||
|
|
@ -27,6 +28,8 @@ 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(),
|
colunas: zod_1.z.string().array(),
|
||||||
|
coluna_ordem: zod_1.z.string().optional(),
|
||||||
|
direcao_ordem: zod_1.z.enum(["asc", "desc", "1", "-1"]).optional(),
|
||||||
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(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.135.0",
|
"version": "0.137.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ const z_tipos_campos = z.enum([
|
||||||
"texto",
|
"texto",
|
||||||
"lista_colunas",
|
"lista_colunas",
|
||||||
"lista_filtros",
|
"lista_filtros",
|
||||||
|
"ordem",
|
||||||
])
|
])
|
||||||
|
|
||||||
export const z_contagem_em_barra_vertical = z.object({
|
export const z_contagem_em_barra_vertical = z.object({
|
||||||
|
|
@ -28,6 +29,8 @@ 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(),
|
colunas: z.string().array(),
|
||||||
|
coluna_ordem: z.string().optional(),
|
||||||
|
direcao_ordem: z.enum(["asc", "desc", "1", "-1"]).optional(),
|
||||||
filtros: z_filtro.array().optional(),
|
filtros: z_filtro.array().optional(),
|
||||||
descricao_pelo_usuario: z.string().optional(),
|
descricao_pelo_usuario: z.string().optional(),
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue