This commit is contained in:
marcio 2026-01-16 09:03:11 -03:00
commit ab298253d8
8 changed files with 18 additions and 11 deletions

View file

@ -43,6 +43,7 @@ var operadores = /* @__PURE__ */ ((operadores2) => {
operadores2["<="] = "<="; operadores2["<="] = "<=";
operadores2["like"] = "like"; operadores2["like"] = "like";
operadores2["in"] = "in"; operadores2["in"] = "in";
operadores2["isNull"] = "isNull";
return operadores2; return operadores2;
})(operadores || {}); })(operadores || {});
const zOperadores = import_zod.default.enum([ const zOperadores = import_zod.default.enum([
@ -53,7 +54,8 @@ const zOperadores = import_zod.default.enum([
"<", "<",
"<=", "<=",
"like", "like",
"in" "in",
"isNull"
]); ]);
const zFiltro = import_zod.default.object({ const zFiltro = import_zod.default.object({
coluna: import_zod.default.string(), coluna: import_zod.default.string(),

View file

@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var urls_exports = {}; var urls_exports = {};
__export(urls_exports, { __export(urls_exports, {
cdn_carro_de_boi: () => cdn_carro_de_boi link_paiol: () => link_paiol
}); });
module.exports = __toCommonJS(urls_exports); module.exports = __toCommonJS(urls_exports);
const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net"; const link_paiol = "https://paiol.idz.one";
// Annotate the CommonJS export names for ESM import in node: // Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = { 0 && (module.exports = {
cdn_carro_de_boi link_paiol
}); });

View file

@ -46,7 +46,8 @@ declare enum operadores {
"<" = "<", "<" = "<",
"<=" = "<=", "<=" = "<=",
like = "like", like = "like",
in = "in" in = "in",
isNull = "isNull"
} }
type tipoFiltro = { type tipoFiltro = {
coluna: string; coluna: string;
@ -73,6 +74,7 @@ declare const zOperadores: z.ZodEnum<{
"<=": "<="; "<=": "<=";
like: "like"; like: "like";
in: "in"; in: "in";
isNull: "isNull";
}>; }>;
declare const zFiltro: z.ZodObject<{ declare const zFiltro: z.ZodObject<{
coluna: z.ZodString; coluna: z.ZodString;
@ -86,13 +88,14 @@ declare const zFiltro: z.ZodObject<{
"<=": "<="; "<=": "<=";
like: "like"; like: "like";
in: "in"; in: "in";
isNull: "isNull";
}>; }>;
ou: z.ZodOptional<z.ZodBoolean>; ou: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>; }, z.core.$strip>;
declare const dayjsbr: typeof dayjs; declare const dayjsbr: typeof dayjs;
declare const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net"; declare const link_paiol = "https://paiol.idz.one";
type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros"; type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros";
declare const extensoes: { declare const extensoes: {
@ -359,4 +362,4 @@ declare const nomeVariavel: (v: {
[key: string]: any; [key: string]: any;
}) => string; }) => string;
export { Produtos, TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, dayjsbr, defineCwd, erUuid, esperar, extensoes, type interfaceConsulta, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tiposSituacoesElicencie, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores }; export { Produtos, TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, dayjsbr, defineCwd, erUuid, esperar, extensoes, type interfaceConsulta, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tiposSituacoesElicencie, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{ {
"name": "p-comuns", "name": "p-comuns",
"version": "0.295.0", "version": "0.297.0",
"description": "", "description": "",
"main": "./dist-front/index.mjs", "main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs", "module": "./dist-front/index.mjs",
@ -45,4 +45,4 @@
"uuid": "^11.1.0", "uuid": "^11.1.0",
"zod": "4.1.4" "zod": "4.1.4"
} }
} }

Binary file not shown.

View file

@ -9,6 +9,7 @@ export enum operadores {
"<=" = "<=", "<=" = "<=",
like = "like", like = "like",
in = "in", in = "in",
isNull = "isNull",
} }
export type tipoFiltro = { export type tipoFiltro = {
@ -38,6 +39,7 @@ export const zOperadores = z.enum([
"<=", "<=",
"like", "like",
"in", "in",
"isNull",
]) ])
export const zFiltro = z.object({ export const zFiltro = z.object({

View file

@ -1 +1 @@
export const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net" export const link_paiol = "https://paiol.idz.one"