- Updated tsconfig.json to include test files for better type checking. - Refined type annotations in FreebitAuthService for improved clarity and type safety. - Enhanced currency index extraction logic in WhmcsCurrencyService for better type inference. - Improved utility functions in whmcs-client.utils.ts to handle various value types more robustly. - Simplified user creation logic in WhmcsLinkWorkflowService by removing unnecessary type conversions. - Updated RequestWithCookies type in auth.controller.ts and global-auth.guard.ts to allow optional cookies. - Refactored OrderFulfillmentOrchestrator to utilize a more specific mapping result type for better type safety. - Added error logging enhancements in UsersService for improved traceability. - Updated catalog contract tests to ensure response validation aligns with new schemas. - Improved InvoiceTable component to handle payment and download actions more cleanly.
33 lines
811 B
JSON
33 lines
811 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
// NestJS specific settings
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"strictPropertyInitialization": false,
|
|
|
|
// Path mappings for clean imports
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@bff/core/*": ["src/core/*"],
|
|
"@bff/infra/*": ["src/infra/*"],
|
|
"@bff/modules/*": ["src/modules/*"],
|
|
"@bff/integrations/*": ["src/integrations/*"]
|
|
},
|
|
|
|
// Type checking
|
|
"noEmit": true,
|
|
"types": ["node"],
|
|
"typeRoots": ["./node_modules/@types"]
|
|
},
|
|
"ts-node": {
|
|
"transpileOnly": true,
|
|
"compilerOptions": {
|
|
"module": "commonjs"
|
|
}
|
|
},
|
|
"include": ["src/**/*", "scripts/**/*", "test/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|