refactor: removing the workspace type entirely

This commit is contained in:
2026-07-04 11:47:36 +03:30
parent 8d962ea6ee
commit e57dd84ebc
13 changed files with 22 additions and 229 deletions
@@ -12,14 +12,14 @@ export class WorkspaceRepository {
findAll() {
return this.repository.find({
relations: ["workspaceType", "projects", "users"],
relations: ["projects", "users"],
});
}
findOneById(id: string) {
return this.repository.findOne({
where: { id },
relations: ["workspaceType", "projects", "users"],
relations: ["projects", "users"],
});
}