Checklists should be able to be created for a specific team as well as for a team type
You will need to update the create and edit checklist endpoints to account for this
Acceptance criteria
Checklist now has an optional teamId field in its schema (You will need to create a migration after adding this)
When creating a checklist, it can only be assigned to either a team or a team type, not both
should throw an error otherwise
if no team type or team are provided, it creates a cheacklist with null for both of those fields (this will be the general checklist)
Throw if there is already a general checklist because we cannot have multiple
Update checklist endpoint is also updated with the above conditions
Unit tests should be updated to ensure it all works
Desired Changes
Checklists should be able to be created for a specific team as well as for a team type You will need to update the create and edit checklist endpoints to account for this
Acceptance criteria
Screenshots (as needed)
No response