# CODEOWNERS - ISEM Digital Platform Marketing Content
# Documentación: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# === DEFAULT OWNERS ===
* @isem-digital/core-team

# === BACKEND ===
# Backend API (Python/FastAPI)
/apps/backend/ @isem-digital/backend-team
/apps/backend/app/api/ @isem-digital/backend-team @isem-digital/core-team
/apps/backend/app/models/ @isem-digital/backend-team @isem-digital/dba-team
/apps/backend/app/auth/ @isem-digital/backend-team @isem-digital/security-team
/apps/backend/app/cms/ @isem-digital/backend-team @isem-digital/content-team

# === FRONTEND ===
# Frontend Application (React/TypeScript)
/apps/frontend/ @isem-digital/frontend-team
/apps/frontend/src/components/ @isem-digital/frontend-team @isem-digital/ux-team
/apps/frontend/src/pages/ @isem-digital/frontend-team @isem-digital/ux-team
/apps/frontend/src/features/ @isem-digital/frontend-team @isem-digital/content-team
/apps/frontend/src/hooks/ @isem-digital/frontend-team @isem-digital/core-team
/apps/frontend/src/services/ @isem-digital/frontend-team @isem-digital/backend-team

# === DATABASE ===
/database/ @isem-digital/dba-team @isem-digital/backend-team
*.sql @isem-digital/dba-team

# === INFRASTRUCTURE ===
# Docker
/docker/ @isem-digital/devops-team
Dockerfile @isem-digital/devops-team
docker-compose*.yml @isem-digital/devops-team

# Scripts
/scripts/ @isem-digital/devops-team @isem-digital/core-team

# Nginx
/nginx/ @isem-digital/devops-team

# Jenkins
/jenkins/ @isem-digital/devops-team

# === DOCUMENTATION ===
/docs/ @isem-digital/docs-team @isem-digital/core-team
*.md @isem-digital/docs-team
README.md @isem-digital/core-team @isem-digital/docs-team
CONTRIBUTING.md @isem-digital/core-team @isem-digital/docs-team

# === ORCHESTRATION ===
/orchestration/ @isem-digital/core-team @isem-digital/automation-team

# === CONFIGURATION FILES ===
# Python configuration
*.py @isem-digital/backend-team
requirements*.txt @isem-digital/backend-team @isem-digital/devops-team
pyproject.toml @isem-digital/backend-team @isem-digital/devops-team
setup.py @isem-digital/backend-team @isem-digital/devops-team

# Environment files (critical)
.env* @isem-digital/devops-team @isem-digital/security-team

# CI/CD
.github/ @isem-digital/devops-team @isem-digital/core-team
