Refatorado estrutura de visões de gráficos
This commit is contained in:
parent
33a89ac1f3
commit
fea1b3d96c
52 changed files with 1489 additions and 1777 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import type { z } from "zod";
|
||||
import type { visoes } from "../visoes";
|
||||
import type { visoes_pilao } from "../visoes/listaDeVisoes";
|
||||
export type tipoConstrutorPilao = {
|
||||
produto: string;
|
||||
conta: string;
|
||||
};
|
||||
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes> = {
|
||||
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes_pilao> = {
|
||||
registros: any[];
|
||||
legenda: string;
|
||||
serie: z.infer<(typeof visoes)[T]>;
|
||||
serie: z.infer<(typeof visoes_pilao)[T]>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue