This commit is contained in:
Luiz H. R. Silva 2024-06-18 14:35:58 -03:00
parent f6f39d2d86
commit b8fc3ab8b6
8 changed files with 30 additions and 28 deletions

View file

@ -22,11 +22,13 @@ export const zp_registrar_base_dados = z.object({
export const zp_enviar_registros = z.object({
tabela: z.string(),
registros: z.array(
z.object({
coluna: z.string(),
valor: z.any(),
tipo: z_tipo_coluna_base_dados,
}),
z.array(
z.object({
coluna: z.string(),
valor: z.any(),
tipo: z_tipo_coluna_base_dados,
}),
),
),
})