- Updated the DataService to conditionally delete orphan records only when in EDIT mode, controlled by the deleteOrphans flag. - Enhanced the SelectedItemsDetailInputComponent to determine the mode (EDIT or CREATE) based on the presence of existing database IDs, ensuring that orphan records are only deleted when necessary. - Improved data integrity by preventing unintended deletions during the CREATE process. |
||
|---|---|---|
| .. | ||
| config | ||
| controllers | ||
| database | ||
| interfaces | ||
| middleware | ||
| routes | ||
| services | ||
| test | ||
| tests | ||
| types | ||
| utils | ||
| app.ts | ||