melhoria em agrupamento
This commit is contained in:
parent
90973670ca
commit
1d5d3a48b4
8 changed files with 20 additions and 20 deletions
10
dist-import/pilao-de-dados/index.d.ts
vendored
10
dist-import/pilao-de-dados/index.d.ts
vendored
|
|
@ -68,18 +68,18 @@ export declare const pPilao: {
|
||||||
zp_serie_registrar: import("zod").ZodObject<{
|
zp_serie_registrar: import("zod").ZodObject<{
|
||||||
tabela: import("zod").ZodString;
|
tabela: import("zod").ZodString;
|
||||||
colanuEixoX: import("zod").ZodString;
|
colanuEixoX: import("zod").ZodString;
|
||||||
colunaAgrupamento: import("zod").ZodString;
|
colunaAgrupamento: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
||||||
agregacao: import("zod").ZodEnum<["contagem", "somatoria"]>;
|
agregacao: import("zod").ZodEnum<["contagem", "somatoria"]>;
|
||||||
}, "strip", import("zod").ZodTypeAny, {
|
}, "strip", import("zod").ZodTypeAny, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}>;
|
}>;
|
||||||
serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
||||||
emDesenvolvimento?: boolean | null | undefined;
|
emDesenvolvimento?: boolean | null | undefined;
|
||||||
|
|
@ -90,8 +90,8 @@ export declare const pPilao: {
|
||||||
parametros: {
|
parametros: {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
};
|
};
|
||||||
}) => {
|
}) => {
|
||||||
dados: () => Promise<import("p-respostas").tipoResposta<{
|
dados: () => Promise<import("p-respostas").tipoResposta<{
|
||||||
|
|
@ -100,8 +100,8 @@ export declare const pPilao: {
|
||||||
serie: {
|
serie: {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
};
|
};
|
||||||
}>>;
|
}>>;
|
||||||
url: () => string;
|
url: () => string;
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,18 @@ import { type zp_produto_conta } from "./_variaveis";
|
||||||
export declare const zp_serie_registrar: z.ZodObject<{
|
export declare const zp_serie_registrar: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colanuEixoX: z.ZodString;
|
colanuEixoX: z.ZodString;
|
||||||
colunaAgrupamento: z.ZodString;
|
colunaAgrupamento: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||||
agregacao: z.ZodEnum<["contagem", "somatoria"]>;
|
agregacao: z.ZodEnum<["contagem", "somatoria"]>;
|
||||||
}, "strip", z.ZodTypeAny, {
|
}, "strip", z.ZodTypeAny, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}>;
|
}>;
|
||||||
export declare const serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
export declare const serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
||||||
emDesenvolvimento?: boolean | undefined | null;
|
emDesenvolvimento?: boolean | undefined | null;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import { PREFIXO, baseUrlPilao, tiposSeriesAgregacoes, } from "./_variaveis";
|
||||||
export const zp_serie_registrar = z.object({
|
export const zp_serie_registrar = z.object({
|
||||||
tabela: z.string(),
|
tabela: z.string(),
|
||||||
colanuEixoX: z.string(),
|
colanuEixoX: z.string(),
|
||||||
colunaAgrupamento: z.string(),
|
colunaAgrupamento: z.string().array().optional(),
|
||||||
agregacao: tiposSeriesAgregacoes,
|
agregacao: tiposSeriesAgregacoes,
|
||||||
});
|
});
|
||||||
export const serie_consultar = ({ emDesenvolvimento, cliente, parametros, }) => {
|
export const serie_consultar = ({ emDesenvolvimento, cliente, parametros, }) => {
|
||||||
|
|
|
||||||
10
dist-require/pilao-de-dados/index.d.ts
vendored
10
dist-require/pilao-de-dados/index.d.ts
vendored
|
|
@ -68,18 +68,18 @@ export declare const pPilao: {
|
||||||
zp_serie_registrar: import("zod").ZodObject<{
|
zp_serie_registrar: import("zod").ZodObject<{
|
||||||
tabela: import("zod").ZodString;
|
tabela: import("zod").ZodString;
|
||||||
colanuEixoX: import("zod").ZodString;
|
colanuEixoX: import("zod").ZodString;
|
||||||
colunaAgrupamento: import("zod").ZodString;
|
colunaAgrupamento: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
||||||
agregacao: import("zod").ZodEnum<["contagem", "somatoria"]>;
|
agregacao: import("zod").ZodEnum<["contagem", "somatoria"]>;
|
||||||
}, "strip", import("zod").ZodTypeAny, {
|
}, "strip", import("zod").ZodTypeAny, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}>;
|
}>;
|
||||||
serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
||||||
emDesenvolvimento?: boolean | null | undefined;
|
emDesenvolvimento?: boolean | null | undefined;
|
||||||
|
|
@ -90,8 +90,8 @@ export declare const pPilao: {
|
||||||
parametros: {
|
parametros: {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
};
|
};
|
||||||
}) => {
|
}) => {
|
||||||
dados: () => Promise<import("p-respostas").tipoResposta<{
|
dados: () => Promise<import("p-respostas").tipoResposta<{
|
||||||
|
|
@ -100,8 +100,8 @@ export declare const pPilao: {
|
||||||
serie: {
|
serie: {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
};
|
};
|
||||||
}>>;
|
}>>;
|
||||||
url: () => string;
|
url: () => string;
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,18 @@ import { type zp_produto_conta } from "./_variaveis";
|
||||||
export declare const zp_serie_registrar: z.ZodObject<{
|
export declare const zp_serie_registrar: z.ZodObject<{
|
||||||
tabela: z.ZodString;
|
tabela: z.ZodString;
|
||||||
colanuEixoX: z.ZodString;
|
colanuEixoX: z.ZodString;
|
||||||
colunaAgrupamento: z.ZodString;
|
colunaAgrupamento: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||||
agregacao: z.ZodEnum<["contagem", "somatoria"]>;
|
agregacao: z.ZodEnum<["contagem", "somatoria"]>;
|
||||||
}, "strip", z.ZodTypeAny, {
|
}, "strip", z.ZodTypeAny, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}, {
|
}, {
|
||||||
tabela: string;
|
tabela: string;
|
||||||
colanuEixoX: string;
|
colanuEixoX: string;
|
||||||
colunaAgrupamento: string;
|
|
||||||
agregacao: "contagem" | "somatoria";
|
agregacao: "contagem" | "somatoria";
|
||||||
|
colunaAgrupamento?: string[] | undefined;
|
||||||
}>;
|
}>;
|
||||||
export declare const serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
export declare const serie_consultar: ({ emDesenvolvimento, cliente, parametros, }: {
|
||||||
emDesenvolvimento?: boolean | undefined | null;
|
emDesenvolvimento?: boolean | undefined | null;
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ var _variaveis_1 = require("./_variaveis");
|
||||||
exports.zp_serie_registrar = zod_1.z.object({
|
exports.zp_serie_registrar = zod_1.z.object({
|
||||||
tabela: zod_1.z.string(),
|
tabela: zod_1.z.string(),
|
||||||
colanuEixoX: zod_1.z.string(),
|
colanuEixoX: zod_1.z.string(),
|
||||||
colunaAgrupamento: zod_1.z.string(),
|
colunaAgrupamento: zod_1.z.string().array().optional(),
|
||||||
agregacao: _variaveis_1.tiposSeriesAgregacoes,
|
agregacao: _variaveis_1.tiposSeriesAgregacoes,
|
||||||
});
|
});
|
||||||
var serie_consultar = function (_a) {
|
var serie_consultar = function (_a) {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.82.0",
|
"version": "0.83.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import {
|
||||||
export const zp_serie_registrar = z.object({
|
export const zp_serie_registrar = z.object({
|
||||||
tabela: z.string(),
|
tabela: z.string(),
|
||||||
colanuEixoX: z.string(),
|
colanuEixoX: z.string(),
|
||||||
colunaAgrupamento: z.string(),
|
colunaAgrupamento: z.string().array().optional(),
|
||||||
agregacao: tiposSeriesAgregacoes,
|
agregacao: tiposSeriesAgregacoes,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue