- Add utility functions for managing audit page state including parsing, serialization, and updates. - Introduce audit period resolution logic to handle various time frames. - Create API functions for finding and searching audit entries with appropriate DTOs and mappers. - Implement hooks for fetching audit entries and lists, integrating with the data source. - Add tests for utility functions, API calls, and mappers to ensure correctness. - Establish shared entities and DTOs for consistent data handling across the module. - Set up TypeScript configuration for the audit module.
30 lines
788 B
JSON
30 lines
788 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@erp/audit/*": ["./src/*"]
|
|
},
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"types": ["node"],
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["node_modules"]
|
|
}
|