Refatorado estrutura de visões de gráficos

This commit is contained in:
Luiz Silva 2024-10-03 12:04:01 -03:00
parent 33a89ac1f3
commit fea1b3d96c
52 changed files with 1489 additions and 1777 deletions

View file

@ -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]>;
};