ajustes
This commit is contained in:
parent
f6f39d2d86
commit
b8fc3ab8b6
8 changed files with 30 additions and 28 deletions
|
|
@ -28,7 +28,7 @@ export declare const zp_registrar_base_dados: z.ZodObject<{
|
|||
}>;
|
||||
export declare const zp_enviar_registros: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
registros: z.ZodArray<z.ZodObject<{
|
||||
registros: z.ZodArray<z.ZodArray<z.ZodObject<{
|
||||
coluna: z.ZodString;
|
||||
valor: z.ZodAny;
|
||||
tipo: z.ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero"]>;
|
||||
|
|
@ -40,21 +40,21 @@ export declare const zp_enviar_registros: z.ZodObject<{
|
|||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
|
||||
valor?: any;
|
||||
}>, "many">;
|
||||
}>, "many">, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
tabela: string;
|
||||
registros: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
|
||||
valor?: any;
|
||||
}[];
|
||||
}[][];
|
||||
}, {
|
||||
tabela: string;
|
||||
registros: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
|
||||
valor?: any;
|
||||
}[];
|
||||
}[][];
|
||||
}>;
|
||||
export declare const enviar_registros: ({ emDesenvolvimento, cliente: { conta, produto }, parametros: { registros, tabela }, }: {
|
||||
emDesenvolvimento?: boolean | undefined | null;
|
||||
|
|
|
|||
|
|
@ -50,11 +50,11 @@ exports.zp_registrar_base_dados = zod_1.z.object({
|
|||
//enviar registros para base de dados
|
||||
exports.zp_enviar_registros = zod_1.z.object({
|
||||
tabela: zod_1.z.string(),
|
||||
registros: zod_1.z.array(zod_1.z.object({
|
||||
registros: zod_1.z.array(zod_1.z.array(zod_1.z.object({
|
||||
coluna: zod_1.z.string(),
|
||||
valor: zod_1.z.any(),
|
||||
tipo: _variaveis_1.z_tipo_coluna_base_dados,
|
||||
})),
|
||||
}))),
|
||||
});
|
||||
var enviar_registros = function (_a) {
|
||||
var emDesenvolvimento = _a.emDesenvolvimento, _b = _a.cliente, conta = _b.conta, produto = _b.produto, _c = _a.parametros, registros = _c.registros, tabela = _c.tabela;
|
||||
|
|
|
|||
10
dist-require/pilao-de-dados/index.d.ts
vendored
10
dist-require/pilao-de-dados/index.d.ts
vendored
|
|
@ -38,12 +38,12 @@ export declare const pPilao: {
|
|||
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").ZodObject<{
|
||||
registros: import("zod").ZodArray<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"]>;
|
||||
|
|
@ -55,21 +55,21 @@ export declare const pPilao: {
|
|||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
|
||||
valor?: any;
|
||||
}>, "many">;
|
||||
}>, "many">, "many">;
|
||||
}, "strip", import("zod").ZodTypeAny, {
|
||||
tabela: string;
|
||||
registros: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero";
|
||||
valor?: any;
|
||||
}[];
|
||||
}[][];
|
||||
}, {
|
||||
tabela: string;
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue