website refactor

This commit is contained in:
2026-01-17 18:28:10 +01:00
parent 6d57f8b1ce
commit 64d9e7fd16
44 changed files with 1729 additions and 415 deletions

View File

@@ -235,7 +235,7 @@ export class DataFactory {
/**
* Clean up specific entities
*/
async deleteEntities(entities: { id: any }[], entityType: string) {
async deleteEntities(entities: { id: string | number }[], entityType: string) {
const repository = this.dataSource.getRepository(entityType);
for (const entity of entities) {
await repository.delete(entity.id);