build
This commit is contained in:
parent
c1e41f4121
commit
9e9cee855c
4 changed files with 25 additions and 6 deletions
|
|
@ -3,8 +3,15 @@ import type { visoes_pilao, z_padroes } from "../visoes/listaDeVisoes"
|
|||
|
||||
export type tipoConstrutorPilao = { produto: string; conta: string }
|
||||
|
||||
export type z_tipagem_registros = {
|
||||
z_contagem_em_barra_vertical: any[]
|
||||
z_contagem_em_pizza: any[]
|
||||
z_tabela: any[]
|
||||
z_soma_em_barra_vertical: any[]
|
||||
}
|
||||
|
||||
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes_pilao> = {
|
||||
registros: any[]
|
||||
registros: z_tipagem_registros[T]
|
||||
legenda: string
|
||||
serie: z.infer<(typeof visoes_pilao)[T]> & z.infer<typeof z_padroes>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue