platform.ts and platform-api.ts both created PlatformClient instances. Merge all typed helpers (getUserSettings, updateUserSettings, listSessions, revokeSession, updateProfile) into platform.ts and delete the duplicate file. Use lazy singleton instead of eager. |
||
|---|---|---|
| .. | ||
| e2e | ||
| public | ||
| src | ||
| test-results | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||