hey all,
i'm a founder of a developer focused knowledge base and I'm currently researching whether prisma can be embedded into our application.
so far, its checking all the boxes - just one holdout i'm hoping folks here can help me with.
can a custom prisma client be exported as a npm package so that it can be used as a public facing sdk?
our use case: we offer a plain text based knowledge base for developers and the metadata will be stored in sqlite.
we have multiple clients (eg. CLI, VSCode, vim) that need to access the metadata - ideally, we can define the prisma model in one place and then export it to all the packages that need it.
Basically do something like the following and consume this in a separate package
ts
import { PrismaClient } from '@prisma/client'
export { PrismaClient as DendronClient }