drivers/dist-import/pilao-de-dados/Pilao/tipagem.d.ts

11 lines
340 B
TypeScript

import type { z } from "zod";
import type { visoes_pilao } from "../visoes/listaDeVisoes";
export type tipoConstrutorPilao = {
produto: string;
conta: string;
};
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes_pilao> = {
registros: any[];
legenda: string;
serie: z.infer<(typeof visoes_pilao)[T]>;
};