middlewarehq / middleware

✨ Open-source DORA metrics platform for engineering teams ✨
https://middlewarehq.com
Apache License 2.0
1.05k stars 64 forks source link

handle `deployment_type` updation of team_repos in update team repos api #449

Closed adnanhashmi09 closed 3 months ago

adnanhashmi09 commented 3 months ago

Purpose

This PR handles the updation of deployment_type field of TeamRepos. Frontend now sends deployment_type field in the request body.

Proposed changes (including videos or screenshots)

The RawOrgRepo dataclass has been extended to include deployment_type and the repo functions and service layer functions have been updated accordingly.