JSON schema of prisma.yml files
You can use the following URL for the current JSON schema file:
https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json
const schema = require('prisma-json-schema/dist/schema.json')
Add the following to your settings:
{
"yaml.schemas": {
"https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json":
"prisma.yml"
}
}
yarn add prisma-json-schema
import { PrismaDefinition } from 'prisma-json-schema'