Compare commits

..

2 commits

Author SHA1 Message Date
8bc2127e6c merge 2026-04-14 13:57:56 -03:00
52dcec90ef fix: ajuste tipagem para auditoria 2026-04-14 13:57:21 -03:00
4 changed files with 51 additions and 44 deletions

View file

@ -14,6 +14,8 @@ import { v4 } from 'uuid';
declare const aleatorio: (tamanho?: number) => string;
type TipoPayloadAuditoria = {
/** UUID do registro de auditoria */
codigo: string;
/** UUID do usuario da acao (pode ser null se for processo do sistema que não registrou) */
usuario_criacao: string | null;
/** Timestamp ou data de criacao / execucao */

View file

@ -1,45 +1,47 @@
{
"name": "p-comuns",
"version": "0.328.0",
"description": "",
"main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs",
"types": "./dist-front/index.d.mts",
"exports": {
".": {
"types": "./dist-front/index.d.mts",
"import": "./dist-front/index.mjs",
"require": "./dist-back/index.js"
}
},
"scripts": {
"biome": "pnpm exec biome check --write",
"check": "pnpm run biome && npx tsc --noEmit",
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.ts && pnpm run pacote",
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
},
"author": {
"name": "AZTECA SOFTWARE LTDA",
"email": "ti@e-licencie.com.br",
"url": "https://e-licencie.com.br"
},
"license": "ISC",
"dependencies": {},
"devDependencies": {
"uuid": "^11.1.0",
"zod": "4.3.6",
"dayjs": "^1.11.18",
"@biomejs/biome": "2.4.0",
"@types/node": "^22",
"tsup": "8.5.1",
"typescript": "^6",
"unbuild": "^3.6.1",
"vitest": "^3.2.4"
},
"peerDependencies": {
"dayjs": "^1.11.18",
"uuid": "^11.1.0",
"zod": "4.3.6"
}
}
"name": "p-comuns",
"version": "0.318.0",
"description": "",
"main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs",
"types": "./dist-front/index.d.mts",
"exports": {
".": {
"types": "./dist-front/index.d.mts",
"import": "./dist-front/index.mjs",
"require": "./dist-back/index.js"
}
},
"scripts": {
"biome": "pnpm exec biome check --write",
"check": "pnpm run biome && npx tsc --noEmit",
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.ts && pnpm run pacote",
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
},
"author": {
"name": "AZTECA SOFTWARE LTDA",
"email": "ti@e-licencie.com.br",
"url": "https://e-licencie.com.br"
},
"license": "ISC",
"dependencies": {},
"devDependencies": {
"cross-fetch": "4.1.0",
"uuid": "^11.1.0",
"zod": "4.1.4",
"dayjs": "^1.11.18",
"@biomejs/biome": "2.4.0",
"@types/node": "^20.19.22",
"tsup": "8.5.0",
"typescript": "~5.9.3",
"unbuild": "^3.6.1",
"vitest": "^3.2.4"
},
"peerDependencies": {
"cross-fetch": "4.1.0",
"dayjs": "^1.11.18",
"uuid": "^11.1.0",
"zod": "4.1.4"
}
}

Binary file not shown.

View file

@ -1,4 +1,7 @@
export type TipoPayloadAuditoria = {
/** UUID do registro de auditoria */
codigo: string
/** UUID do usuario da acao (pode ser null se for processo do sistema que não registrou) */
usuario_criacao: string | null