Feature: Dynamic Team Management Engine (Frontend Logic)
🚀 Feature: Dynamic Team Management Engine (Frontend Logic)
Description
Implement a pure frontend logic module for managing intern teams dynamically. This module will be consumed by the UI layer and must not include any API integration or backend dependency. Intern data will be supplied by another module.
Scope & Constraints
- Work ONLY inside:
src/modules/teams/src/store/teamStore/
- DO NOT fetch from APIs
- DO NOT implement verification/validation logic
- DO NOT add UI or styling
- Use mock intern IDs where needed
Functions to Implement
createTeam(name: string)renameTeam(teamId: string, newName: string)deleteTeam(teamId: string)addInternToTeam(teamId: string, internId: string)removeInternFromTeam(teamId: string, internId: string)
Expected Files
src/modules/teams/teamManager.tssrc/store/teamStore.ts
Technical Requirements
- Pure logic module
- Functional and modular coding style
- In-memory or simple store-based state
- Importable by UI layer
- Include sample/mock data
Acceptance Criteria
- All required functions implemented
- Team state updates correctly
- No API calls or backend dependency
- Ready for immediate UI integration
Edited by Kushal Lagichetty