#!/bin/bash
# Run all type checks locally

echo "Running full type check suite..."

echo "1. TypeScript type check..."
pnpm nx run-many -t typecheck --all

echo "2. ESLint type-aware rules..."
pnpm nx run-many -t lint --all

echo "3. Python mypy checks..."
cd apps/slide-system/bots/screenshare-bot
source .venv/bin/activate
mypy .
cd - > /dev/null

cd apps/slide-system/bots/tavus-tool-forwarder
source .venv/bin/activate
mypy .
cd - > /dev/null

echo "✅ All type checks complete!"
