ajustes
This commit is contained in:
parent
b8fc3ab8b6
commit
a2553130f4
8 changed files with 58 additions and 82 deletions
|
|
@ -20,10 +20,9 @@ export const zp_registrar_base_dados = z.object({
|
|||
//enviar registros para base de dados
|
||||
export const zp_enviar_registros = z.object({
|
||||
tabela: z.string(),
|
||||
registros: z.array(z.array(z.object({
|
||||
coluna: z.string(),
|
||||
registros: z.array(z.record(z.string(), z.object({
|
||||
valor: z.any(),
|
||||
tipo: z_tipo_coluna_base_dados,
|
||||
tipo: z_tipo_coluna_base_dados.optional().nullable(),
|
||||
}))),
|
||||
});
|
||||
export const enviar_registros = ({ emDesenvolvimento, cliente: { conta, produto }, parametros: { registros, tabela }, }) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue