Document the public CRM-shaped API matrix, emit audit rows for resolve, bulk-resolve, and purge (including dry run), apply a dedicated per-IP rate limit on mutation routes, and return 403 when a valid session lacks RBAC for the action. Add Vitest coverage for authorizeMutation. Paperclip-Agent: Tiago Neves (urlKey tiago-neves; id 5d084b36-f38f-42a5-a92a-520005afda4f) Paperclip-Issue: BIT-731 Paperclip-Run: 7d0edfac-5676-41fa-85c2-86d01a808894 Made-with: Cursor
9 lines
156 B
TypeScript
9 lines
156 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
include: ['src/**/*.test.ts'],
|
|
},
|
|
});
|