Commit 2953d4c
committed
refactor(vercel): Enhance Vercel integration handling with ResultAsync and improve error management
- Updated VercelSettingsPresenter to utilize ResultAsync for better error handling and flow control.
- Refactored API key regeneration to sync directly with Vercel, improving reliability.
- Enhanced onboarding and connection routes to handle optional parameters and errors more gracefully.
- Improved JSON parsing with safe handling using Result from neverthrow.
- Updated referral source management to use Zod for type safety.
- General code cleanup and consistency improvements across Vercel-related services and routes.1 parent 077a366 commit 2953d4c
File tree
12 files changed
+1596
-1560
lines changed- apps/webapp/app
- components/integrations
- models
- presenters/v3
- routes
- services
- v3/vercel
12 files changed
+1596
-1560
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
337 | 336 | | |
338 | 337 | | |
339 | 338 | | |
340 | | - | |
| 339 | + | |
341 | 340 | | |
342 | 341 | | |
343 | 342 | | |
| |||
990 | 989 | | |
991 | 990 | | |
992 | 991 | | |
993 | | - | |
| 992 | + | |
994 | 993 | | |
995 | 994 | | |
996 | 995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
0 commit comments