Add IT0 App as the third application in the mobile-upgrade frontend, connecting to IT0's new version-service backend. Changes: - api-client.ts: added 'it0' to AppType union, APP_CONFIGS entry pointing to NEXT_PUBLIC_IT0_API_URL (default: it0api.szaiai.com), exported it0ApiClient instance - version-repository-impl.ts: added it0VersionRepository instance, updated constructor client selection for it0, updated getVersionRepository() factory with switch/case - page.tsx: added IT0 App to APP_LABELS, added emerald green toggle button in app selector - upload-modal.tsx: fixed existing bug where parsePackage() was hardcoded to use mobile repository regardless of selected app; now uses getVersionRepository(appType) dynamically Backend: IT0 version-service at it0api.szaiai.com/api/v1/versions Env var: NEXT_PUBLIC_IT0_API_URL Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| docs | ||
| nginx | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .env.production | ||
| .gitignore | ||
| Dockerfile | ||
| deploy.sh | ||
| docker-compose.yml | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||