# --- GO BINARIES & ARTIFACTS ---
/bin/
/dist/
immich-bridge
*.exe
*.test
vendor/

# --- FRONTEND ARTIFACTS ---
node_modules/
ui/dist/
ui/.env.local
.DS_Store

# --- RUNTIME DATA (Preserve folder, ignore content) ---
# Ignore everything inside data...
data/*
# ...but keep the folder itself (by tracking this specific file)
!data/.gitkeep

# Ignore everything inside temp...
temp/*
!temp/.gitkeep

# --- UPLOADS (Preserve folder, ignore user files) ---
cmd/server/uploads/*
!cmd/server/uploads/.gitkeep

# --- SQLITE ---
*.db
*.db-journal
# Local credentials and resumable upload data
.env
.env.*
*.env
*.env.*
!.env.example
!deploy/production.env.example
uploads/
.staging/
ui/*.tsbuildinfo
tests/artifacts/
__pycache__/
*.pyc

# Editor settings and sensitive local material are never release inputs.
*.code-workspace
*.db-shm
*.db-wal
*.pem
*.key
*.pfx
