z_validar_colunna_base_dados

This commit is contained in:
Luiz H. R. Silva 2024-06-18 14:23:18 -03:00
parent 4d5de45443
commit f6f39d2d86
21 changed files with 221 additions and 300 deletions

View file

@ -1,20 +1,6 @@
import { tiposSeriesAgregacoes } from "./_variaveis";
export { tiposSeriesAgregacoes };
export declare const pPilao: {
registrar_base_dados: ({ emDesenvolvimento, cliente: { conta, produto }, parametros: { colunas, tabela }, }: {
emDesenvolvimento?: boolean | null | undefined;
cliente: {
produto: string;
conta: string;
};
parametros: {
tabela: string;
colunas: {
coluna: string;
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
}[];
};
}) => Promise<import("p-respostas").tipoResposta<true>>;
zp_registrar_base_dados: import("zod").ZodObject<{
tabela: import("zod").ZodString;
colunas: import("zod").ZodArray<import("zod").ZodObject<{
@ -48,18 +34,42 @@ export declare const pPilao: {
};
parametros: {
tabela: string;
registros: any[];
registros: {
coluna: string;
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
valor?: any;
}[];
};
}) => Promise<import("p-respostas").tipoResposta<true>>;
zp_enviar_registros: import("zod").ZodObject<{
tabela: import("zod").ZodString;
registros: import("zod").ZodArray<import("zod").ZodAny, "many">;
registros: import("zod").ZodArray<import("zod").ZodObject<{
coluna: import("zod").ZodString;
valor: import("zod").ZodAny;
tipo: import("zod").ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero"]>;
}, "strip", import("zod").ZodTypeAny, {
coluna: string;
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
valor?: any;
}, {
coluna: string;
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
valor?: any;
}>, "many">;
}, "strip", import("zod").ZodTypeAny, {
tabela: string;
registros: any[];
registros: {
coluna: string;
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
valor?: any;
}[];
}, {
tabela: string;
registros: any[];
registros: {
coluna: string;
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
valor?: any;
}[];
}>;
serie_registrar: ({ emDesenvolvimento, cliente: { conta, produto }, parametros: { agregacao, colanuEixoX, colunaAgrupamento, identificador, tabela, }, }: {
emDesenvolvimento?: boolean | null | undefined;