refactor: simplify dtos and improve type saftey in json returns

This commit is contained in:
Nicolas Meienberger
2025-10-29 18:28:00 +01:00
parent d1c1adaba7
commit b188a84af3
26 changed files with 667 additions and 751 deletions

View File

@@ -65,7 +65,7 @@ const createRepository = async (name: string, config: RepositoryConfig, compress
.update(repositoriesTable)
.set({
status: "healthy",
lastChecked: new Date(),
lastChecked: Date.now(),
lastError: null,
})
.where(eq(repositoriesTable.id, id));