ITADN

Feat: Add pre defined voyage projects (part 1)

#250Pull RequestAjen07 创建于 2025-03-22已合并
review
A
Ajen07commented
# Description - New schema for Default Voyage Projects - Added `hasSelectedDefaultProject` boolean field in `voyageTeam` schema - Added new seed data for default projects for voyage `53`, `54`, `55` and `56` - Added new voyage 54, 55 and 56 - Added new app role `voyageProjectTeam` - Updated `/teams/:teamId` route to include `hasSelectedDefaultProject` field ## Issue link [Fixes # (issue)](https://app.clickup.com/t/86b3hwcbv) ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Feature updates / changes - [ ] Tests - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update # How Has This Been Tested? - ` yarn migrate` and `yarn seed` - for applying new schema and seeding new default projects and voyages - Tested in swagger - For checking the `/teams/:teamId` route - Tested with `yarn test:docker` - Passes all e2e and unit tests # Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing tests pass locally with my changes - [x] Any dependent changes have been merged and published in downstream modules
合并状态:已合并 合并于 2025-04-27 关闭于 2025-04-27 2 条评论