Add lock files for package management and update architecture documentation
- Introduced bun.lock and package-lock.json to manage dependencies for the project. - Enhanced backend API architecture documentation with additional security and documentation guidelines. - Made minor formatting adjustments across various files for consistency and clarity.
This commit is contained in:
@@ -32,7 +32,7 @@ export class DebtCategoryService {
|
||||
{name: 'Auto Loans', description: 'Car and vehicle loans', color: '#10b981'},
|
||||
{name: 'Mortgages', description: 'Home mortgages', color: '#f59e0b'},
|
||||
{name: 'Personal Loans', description: 'Personal loan debts', color: '#8b5cf6'},
|
||||
{name: 'Other', description: 'Other debt types', color: '#6b7280'},
|
||||
{name: 'Other', description: 'Other debt types', color: '#6b7280'}
|
||||
];
|
||||
|
||||
const categories: DebtCategory[] = [];
|
||||
@@ -43,8 +43,8 @@ export class DebtCategoryService {
|
||||
description: category.description,
|
||||
color: category.color,
|
||||
user: {
|
||||
connect: {id: userId},
|
||||
},
|
||||
connect: {id: userId}
|
||||
}
|
||||
});
|
||||
categories.push(created);
|
||||
}
|
||||
@@ -69,8 +69,8 @@ export class DebtCategoryService {
|
||||
description: data.description,
|
||||
color: data.color,
|
||||
user: {
|
||||
connect: {id: userId},
|
||||
},
|
||||
connect: {id: userId}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user