diff --git a/dist-front/index.d.mts b/dist-front/index.d.mts index 77be7e9..275e2f2 100644 --- a/dist-front/index.d.mts +++ b/dist-front/index.d.mts @@ -14,8 +14,6 @@ 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 */ diff --git a/package.json b/package.json index 889eb5e..332751b 100644 --- a/package.json +++ b/package.json @@ -1,47 +1,45 @@ { - "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" - } -} \ No newline at end of file + "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" + } +} diff --git a/pacote.tgz b/pacote.tgz index e69de29..26ba18d 100644 Binary files a/pacote.tgz and b/pacote.tgz differ diff --git a/src/auditoria.ts b/src/auditoria.ts index a6e648f..7640e61 100644 --- a/src/auditoria.ts +++ b/src/auditoria.ts @@ -1,7 +1,4 @@ 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