Refactor the team integrations structure to use one-to-one relationships
for Discord and logs.tf integrations. Update the frontend to handle the
new structure and remove unused integration types. Adjust backend
endpoints and models accordingly. Add migration scripts to update the
database schema.
- Implemented endpoints for creating, retrieving, and managing events.
- Added `EventSchema` for event serialization and deserialization.
- Updated `Event` model to include relationships with `PlayerEvent` and `Team`.
- Modified `Player` and `Team` models to include relationships with `Event`.
- Added new file `events.py` to handle event-related API routes.
The team routes have been split into separate blueprints for better
modularity and maintainability. The team invite and team integration
routes are now handled by their respective blueprints.
- Add new models for team integrations
- Create IntegrationDetails component for managing integrations
- Update teams store with integration actions
- Modify IntegrationsView to display and manage integrations
- Add new endpoints for managing team integrations:
- GET /id/<team_id>/integrations
- POST /id/<team_id>/integrations/<integration_type>
- DELETE /id/<team_id>/integrations/<integration_id>
- PATCH /id/<team_id>/integrations/<integration_id>
- Introduce schemas for TeamIntegration and TeamDiscordIntegration
- Update models to include nullable webhook_url