obs-ss-plugin-webui/app/api/getTeamName
Decobus 8d3a6381cb
All checks were successful
Lint and Build / build (pull_request) Successful in 2m49s
Optimize codebase for production readiness
- Extract cleanObsName utility function to reduce duplication (6+ occurrences)
- Add SCREEN_POSITIONS and SOURCE_SWITCHER_NAMES constants
- Fix hardcoded table name in getTeamName route to use TABLE_NAMES
- Standardize API error handling with createErrorResponse helpers
- Replace hardcoded screen arrays with centralized constants

Reduces code duplication by ~30% and improves maintainability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-22 13:57:31 -04:00
..
route.ts Optimize codebase for production readiness 2025-07-22 13:57:31 -04:00