Creating an issue to track a few problems I've found with the app:
xata:init in package.json refers to a --schema=schema.template.json when it should be --schema=schema-template.json. Hyphen not period.
- The app uses
getServerSession, which requires the req param to be a NextApiRequest, but the req is a standard Request.
- References to
import { XataClient } from '~/lib/xata.codegen' should be updated to ~/shared/xata.codegen