| 535 | }) |
| 536 | |
| 537 | function buildNullClass(name: string) { |
| 538 | const source = `/** |
| 539 | * Type of \`Prisma.${name}\`. |
| 540 | * |
| 541 | * You cannot use other instances of this class. Please use the \`Prisma.${name}\` value. |
| 542 | * |
| 543 | * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field |
| 544 | */ |
| 545 | class ${name} { |
| 546 | private ${name}: never |
| 547 | private constructor() |
| 548 | }` |
| 549 | return indent(source, TAB_SIZE) |
| 550 | } |
| 551 | |
| 552 | function buildPrismaSkipTs(previewFeatures: string[]) { |
| 553 | if (previewFeatures.includes('strictUndefinedChecks')) { |