mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 01:35:39 -04:00
fix: remove @sofa/core and @sofa/api deps from public-api to fix Vercel runtime compatibility
- Drop `@sofa/core` and `@sofa/api` from `apps/public-api` — importing workspace packages with DB/Node dependencies broke the Vercel edge runtime - `fetchUserData` on Trakt and Simkl importers now returns raw `unknown` API responses; parsing is deferred to the self-hosted server - Add `source` + `rawPayload` fields to `ParsePayloadInput`; `parsePayload` procedure now dispatches to `parseTraktPayload`/`parseSimklPayload` and returns full warnings + diagnostics - Export `ProviderEnum` from `apps/public-api/src/importers/index.ts` instead of defining it inline in `app.ts`
This commit is contained in:
@@ -22,6 +22,16 @@ const config = {
|
||||
destination: "https://github.com/jakejarvis/sofa/discussions",
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: "/ios",
|
||||
destination: "https://apps.apple.com/us/app/sofa-tv-movie-tracker/id6760432427",
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: "/testflight",
|
||||
destination: "https://testflight.apple.com/join/tjSddcaZ",
|
||||
permanent: false,
|
||||
}
|
||||
];
|
||||
},
|
||||
async rewrites() {
|
||||
|
||||
Reference in New Issue
Block a user