[FEATURE] New Project Display (#1)
All checks were successful
S3 Repo Backup / s3-repo-backup (push) Successful in 45s
Deploy Edge / deploy-edge (push) Successful in 3m55s

Reviewed-on: https://forgejo.dunemask.dev///elysium/cairo/pulls/1
Co-authored-by: Dunemask <dunemask@gmail.com>
Co-committed-by: Dunemask <dunemask@gmail.com>
This commit is contained in:
Dunemask 2024-09-03 02:35:38 +00:00 committed by dunemask
parent c50c4ef647
commit a293eadbde
18 changed files with 247 additions and 45 deletions

View file

@ -31,4 +31,8 @@ export default class ProjectTableService extends TableService {
throw ProjectErrors.ConflictNonUnique;
});
}
async listChildren(parentProjectId: string) {
return this.pg.project.findMany({ where: { parentProject: parentProjectId } });
}
}