build
This commit is contained in:
parent
efd8aaf87d
commit
b83125f06b
7 changed files with 10 additions and 10 deletions
4
dist-import/pilao-de-dados/Pilao/index.d.ts
vendored
4
dist-import/pilao-de-dados/Pilao/index.d.ts
vendored
|
|
@ -5,7 +5,7 @@ import type { zp_enviar_registros } from "../_enviar_registros";
|
||||||
import { type zp_deletar_registros } from "../variaveis";
|
import { type zp_deletar_registros } from "../variaveis";
|
||||||
import type { visoes } from "../visoes";
|
import type { visoes } from "../visoes";
|
||||||
import type { tipo_pilao_api } from "./pilao-api.ts";
|
import type { tipo_pilao_api } from "./pilao-api.ts";
|
||||||
import type { tipoConstrutorPilao, tipoRetornoSerirconsulta } from "./tipagem";
|
import type { tipoConstrutorPilao, tipoRetornoSerieconsulta } from "./tipagem";
|
||||||
declare class ClassPilao {
|
declare class ClassPilao {
|
||||||
#private;
|
#private;
|
||||||
constructor({ conta, produto, emDesenvolvimento, ver_log, }: tipoConstrutorPilao & {
|
constructor({ conta, produto, emDesenvolvimento, ver_log, }: tipoConstrutorPilao & {
|
||||||
|
|
@ -41,7 +41,7 @@ declare class ClassPilao {
|
||||||
private processarRegistros;
|
private processarRegistros;
|
||||||
salvarRegistros(): Promise<tipoResposta<true>>;
|
salvarRegistros(): Promise<tipoResposta<true>>;
|
||||||
serieConsultar<T extends keyof typeof visoes>(tipoVisao: T, parametros: z.infer<(typeof visoes)[T]>): {
|
serieConsultar<T extends keyof typeof visoes>(tipoVisao: T, parametros: z.infer<(typeof visoes)[T]>): {
|
||||||
dados: () => Promise<tipoResposta<tipoRetornoSerirconsulta<T>>>;
|
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
|
||||||
url: () => string;
|
url: () => string;
|
||||||
};
|
};
|
||||||
urlLaboratorio(): {
|
urlLaboratorio(): {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ export type tipoConstrutorPilao = {
|
||||||
produto: string;
|
produto: string;
|
||||||
conta: string;
|
conta: string;
|
||||||
};
|
};
|
||||||
export type tipoRetornoSerirconsulta<T extends keyof typeof visoes> = {
|
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes> = {
|
||||||
registros: any[];
|
registros: any[];
|
||||||
legenda: string;
|
legenda: string;
|
||||||
serie: z.infer<(typeof visoes)[T]>;
|
serie: z.infer<(typeof visoes)[T]>;
|
||||||
|
|
|
||||||
4
dist-require/pilao-de-dados/Pilao/index.d.ts
vendored
4
dist-require/pilao-de-dados/Pilao/index.d.ts
vendored
|
|
@ -5,7 +5,7 @@ import type { zp_enviar_registros } from "../_enviar_registros";
|
||||||
import { type zp_deletar_registros } from "../variaveis";
|
import { type zp_deletar_registros } from "../variaveis";
|
||||||
import type { visoes } from "../visoes";
|
import type { visoes } from "../visoes";
|
||||||
import type { tipo_pilao_api } from "./pilao-api.ts";
|
import type { tipo_pilao_api } from "./pilao-api.ts";
|
||||||
import type { tipoConstrutorPilao, tipoRetornoSerirconsulta } from "./tipagem";
|
import type { tipoConstrutorPilao, tipoRetornoSerieconsulta } from "./tipagem";
|
||||||
declare class ClassPilao {
|
declare class ClassPilao {
|
||||||
#private;
|
#private;
|
||||||
constructor({ conta, produto, emDesenvolvimento, ver_log, }: tipoConstrutorPilao & {
|
constructor({ conta, produto, emDesenvolvimento, ver_log, }: tipoConstrutorPilao & {
|
||||||
|
|
@ -41,7 +41,7 @@ declare class ClassPilao {
|
||||||
private processarRegistros;
|
private processarRegistros;
|
||||||
salvarRegistros(): Promise<tipoResposta<true>>;
|
salvarRegistros(): Promise<tipoResposta<true>>;
|
||||||
serieConsultar<T extends keyof typeof visoes>(tipoVisao: T, parametros: z.infer<(typeof visoes)[T]>): {
|
serieConsultar<T extends keyof typeof visoes>(tipoVisao: T, parametros: z.infer<(typeof visoes)[T]>): {
|
||||||
dados: () => Promise<tipoResposta<tipoRetornoSerirconsulta<T>>>;
|
dados: () => Promise<tipoResposta<tipoRetornoSerieconsulta<T>>>;
|
||||||
url: () => string;
|
url: () => string;
|
||||||
};
|
};
|
||||||
urlLaboratorio(): {
|
urlLaboratorio(): {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ export type tipoConstrutorPilao = {
|
||||||
produto: string;
|
produto: string;
|
||||||
conta: string;
|
conta: string;
|
||||||
};
|
};
|
||||||
export type tipoRetornoSerirconsulta<T extends keyof typeof visoes> = {
|
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes> = {
|
||||||
registros: any[];
|
registros: any[];
|
||||||
legenda: string;
|
legenda: string;
|
||||||
serie: z.infer<(typeof visoes)[T]>;
|
serie: z.infer<(typeof visoes)[T]>;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.161.0",
|
"version": "0.162.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import type { zp_enviar_registros } from "../_enviar_registros"
|
||||||
import { PREFIXO_PILAO, type zp_deletar_registros } from "../variaveis"
|
import { PREFIXO_PILAO, type zp_deletar_registros } from "../variaveis"
|
||||||
import type { visoes } from "../visoes"
|
import type { visoes } from "../visoes"
|
||||||
import type { tipo_pilao_api } from "./pilao-api.ts"
|
import type { tipo_pilao_api } from "./pilao-api.ts"
|
||||||
import type { tipoConstrutorPilao, tipoRetornoSerirconsulta } from "./tipagem"
|
import type { tipoConstrutorPilao, tipoRetornoSerieconsulta } from "./tipagem"
|
||||||
|
|
||||||
class ClassPilao {
|
class ClassPilao {
|
||||||
#produto: string
|
#produto: string
|
||||||
|
|
@ -206,7 +206,7 @@ class ClassPilao {
|
||||||
parametros: z.infer<(typeof visoes)[T]>,
|
parametros: z.infer<(typeof visoes)[T]>,
|
||||||
) {
|
) {
|
||||||
const dados = async (): Promise<
|
const dados = async (): Promise<
|
||||||
tipoResposta<tipoRetornoSerirconsulta<T>>
|
tipoResposta<tipoRetornoSerieconsulta<T>>
|
||||||
> => {
|
> => {
|
||||||
const url = this.rotaConsultarSerie(tipoVisao).url
|
const url = this.rotaConsultarSerie(tipoVisao).url
|
||||||
const resp = await crossFetch(url.toString(), {
|
const resp = await crossFetch(url.toString(), {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import type { visoes } from "../visoes"
|
||||||
|
|
||||||
export type tipoConstrutorPilao = { produto: string; conta: string }
|
export type tipoConstrutorPilao = { produto: string; conta: string }
|
||||||
|
|
||||||
export type tipoRetornoSerirconsulta<T extends keyof typeof visoes> = {
|
export type tipoRetornoSerieconsulta<T extends keyof typeof visoes> = {
|
||||||
registros: any[]
|
registros: any[]
|
||||||
legenda: string
|
legenda: string
|
||||||
serie: z.infer<(typeof visoes)[T]>
|
serie: z.infer<(typeof visoes)[T]>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue