build
This commit is contained in:
parent
f2562a37d1
commit
7032eb1329
39 changed files with 442 additions and 790 deletions
|
|
@ -3,16 +3,24 @@ import type { tipoResposta } from "p-respostas"
|
|||
import { respostaComuns } from "p-respostas"
|
||||
import { z } from "zod"
|
||||
import {
|
||||
operadores_pilao,
|
||||
tiposSeriesAgregacoes,
|
||||
urlPilao,
|
||||
type zp_produto_conta,
|
||||
} from "./variaveis"
|
||||
|
||||
const filtro = z.object({
|
||||
coluna: z.string(),
|
||||
valor: z.string(),
|
||||
operador: operadores_pilao,
|
||||
})
|
||||
|
||||
export const zp_serie_registrar = z.object({
|
||||
tabela: z.string(),
|
||||
colanuEixoX: z.string(),
|
||||
colunaAgrupamento: z.string().array().optional(),
|
||||
agregacao: tiposSeriesAgregacoes,
|
||||
filtro: filtro.array().optional(),
|
||||
})
|
||||
|
||||
export const serie_consultar =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue