Type object
File match prisma.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/prisma-yml/latest.json
Source https://www.schemastore.org/prisma.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

datamodel string | array required

Type definitions for database models, relations, enums and other types https://v1.prisma.io/docs/1.34/prisma-cli-and-configuration/prisma-yml-5cy7/#reference

Examples: "types.prisma", "enums.prisma"
uniqueItems=true
secret string
disableAuth boolean
seed object
2 nested properties
import string

Commands to run while seeding a service for the current API endpoint

run string

Instructions to run while seeding a service for the current API endpoint

custom object

Fields to use in variable interpolations via ${self:custom.field} https://v1.prisma.io/docs/1.34/prisma-cli-and-configuration/prisma-yml-5cy7/#reference

endpoint string
databaseType string
Values: "relational" "document"

Definitions

subscription object

A piece of code that you should run.

query string required
webhook string | object required