WellNuo/setup-creds.exp
Sergei ec63a2c1e2 Add admin panel, optimized API, OTP auth, migrations
Admin Panel (Next.js):
- Dashboard with stats
- Users list with relationships (watches/watched_by)
- User detail pages
- Deployments list and detail pages
- Devices, Orders, Subscriptions pages
- OTP-based admin authentication

Backend Optimizations:
- Fixed N+1 query problem in admin APIs
- Added pagination support
- Added .range() and count support to Supabase wrapper
- Optimized batch queries with lookup maps

Database:
- Added migrations for schema evolution
- New tables: push_tokens, notification_settings
- Updated access model

iOS Build Scripts:
- build-ios.sh, clear-apple-cache.sh
- EAS configuration updates

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-20 11:05:39 -08:00

72 lines
1.6 KiB
Plaintext
Executable File

#!/usr/bin/expect -f
set timeout 300
cd /Users/sergei/Desktop/WellNuo
spawn eas credentials --platform ios
expect {
"Which build profile" {
send "\r"
exp_continue
}
"What do you want to do?" {
send "\r"
exp_continue
}
"All: Set up all" {
send "\r"
exp_continue
}
"Do you want to log in to your Apple account?" {
send "y\r"
exp_continue
}
"Apple ID:" {
send "kosyakorel1@gmail.com\r"
exp_continue
}
"Password" {
exp_continue
}
"How do you want to validate" {
send "\r"
exp_continue
}
"Please enter the 6 digit code" {
puts "\n\n=========================================="
puts "NEED 2FA CODE - Enter it manually:"
puts "==========================================\n"
expect_user -re "(.*)\n"
send "$expect_out(1,string)\r"
exp_continue
}
"Select a Provider" {
send "Robert\r"
exp_continue
}
"Robert Zmrzli" {
send "\r"
exp_continue
}
"Reuse this distribution certificate" {
send "n\r"
exp_continue
}
"Generate a new" {
send "\r"
exp_continue
}
"not available to team" {
puts "\n\n=========================================="
puts "ERROR: Bundle ID not available to this team"
puts "==========================================\n"
}
"Press any key" {
send "\r"
exp_continue
}
eof {
puts "\n=== FINISHED ===\n"
}
}