@baeta/plugin-prisma
Interfaces
PrismaPluginOptions
Configuration options for the Prisma plugin
Properties
Property | Type | Default value | Description |
---|---|---|---|
|
|
|
Path to the generated schema file for comparison Used to avoid unnecessary regeneration Example
|
|
|
|
Path to the Prisma schema file Example
|
|
|
|
Whether to generate the Prisma client |
|
|
|
Custom command to generate Prisma client |
Functions
prismaPlugin()
prismaPlugin(
options
):GeneratorPluginV1
<unknown
>[]
A plugin that manages Prisma client generation in your Baeta project. See https://baeta.io/docs/plugins/prisma
Parameters
Parameter | Type | Description |
---|---|---|
|
Configuration options for the pagination plugin |
Returns
GeneratorPluginV1
<unknown
>[]
A Baeta generator plugin
References
default
Renames and re-exports prismaPlugin