@prisma/client-generator-ts 6.15.0-dev.25 → 6.15.0-dev.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3846,7 +3846,7 @@ get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(", ")}>;`;
3846
3846
  };
3847
3847
 
3848
3848
  // src/TSClient/file-generators/ClassFile.ts
3849
- var jsDocHeader = `/**
3849
+ var jsDocHeader = `/*
3850
3850
  * WARNING: This is an internal file that is subject to change!
3851
3851
  *
3852
3852
  * \u{1F6D1} Under no circumstances should you import this file directly! \u{1F6D1}
@@ -3967,7 +3967,7 @@ path.join(process.cwd(), ${JSON.stringify((0, import_internals4.pathToPosix)(rel
3967
3967
  }
3968
3968
 
3969
3969
  // src/TSClient/file-generators/ClientFile.ts
3970
- var jsDocHeader2 = `/**
3970
+ var jsDocHeader2 = `/*
3971
3971
  * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
3972
3972
  *
3973
3973
  * \u{1F7E2} You can import this file directly.
@@ -4054,7 +4054,7 @@ globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
4054
4054
 
4055
4055
  // src/TSClient/file-generators/CommonInputTypesFile.ts
4056
4056
  var ts7 = __toESM(require("@prisma/ts-builders"));
4057
- var jsDocHeader3 = `/**
4057
+ var jsDocHeader3 = `/*
4058
4058
  * This file exports various common sort, input & filter types that are not directly linked to a particular model.
4059
4059
  *
4060
4060
  * \u{1F7E2} You can import this file directly.
@@ -4078,11 +4078,12 @@ ${context.dmmf.inputObjectTypes.model?.map((inputType) => new InputType(inputTyp
4078
4078
 
4079
4079
  // src/TSClient/file-generators/EnumsFile.ts
4080
4080
  var import_dmmf = require("@prisma/dmmf");
4081
- var jsDocHeader4 = `/**
4081
+ var jsDocHeader4 = `/*
4082
4082
  * This file exports all enum related types from the schema.
4083
4083
  *
4084
4084
  * \u{1F7E2} You can import this file directly.
4085
4085
  */
4086
+
4086
4087
  `;
4087
4088
  function createEnumsFile(context) {
4088
4089
  const modelEnums = [];
@@ -5102,7 +5103,7 @@ function fluentWrapperName(modelName) {
5102
5103
 
5103
5104
  // src/TSClient/file-generators/ModelFile.ts
5104
5105
  function createModelFile(context, modelName) {
5105
- const jsDocHeader7 = `/**
5106
+ const jsDocHeader7 = `/*
5106
5107
  * This file exports the \`${modelName}\` model and its related types.
5107
5108
  *
5108
5109
  * \u{1F7E2} You can import this file directly.
@@ -5119,7 +5120,7 @@ function createModelFile(context, modelName) {
5119
5120
  }
5120
5121
 
5121
5122
  // src/TSClient/file-generators/ModelsFile.ts
5122
- var jsDocHeader5 = `/**
5123
+ var jsDocHeader5 = `/*
5123
5124
  * This is a barrel export file for all models and their related types.
5124
5125
  *
5125
5126
  * \u{1F7E2} You can import this file directly.
@@ -5682,7 +5683,7 @@ function payloadToResult(modelName) {
5682
5683
  }
5683
5684
 
5684
5685
  // src/TSClient/file-generators/PrismaNamespaceFile.ts
5685
- var jsDocHeader6 = `/**
5686
+ var jsDocHeader6 = `/*
5686
5687
  * WARNING: This is an internal file that is subject to change!
5687
5688
  *
5688
5689
  * \u{1F6D1} Under no circumstances should you import this file directly! \u{1F6D1}
@@ -6557,7 +6558,7 @@ var import_get_tsconfig = require("get-tsconfig");
6557
6558
  var import_ts_pattern2 = require("ts-pattern");
6558
6559
 
6559
6560
  // package.json
6560
- var version = "6.15.0-dev.25";
6561
+ var version = "6.15.0-dev.27";
6561
6562
 
6562
6563
  // src/module-format.ts
6563
6564
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -3845,7 +3845,7 @@ get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(", ")}>;`;
3845
3845
  };
3846
3846
 
3847
3847
  // src/TSClient/file-generators/ClassFile.ts
3848
- var jsDocHeader = `/**
3848
+ var jsDocHeader = `/*
3849
3849
  * WARNING: This is an internal file that is subject to change!
3850
3850
  *
3851
3851
  * \u{1F6D1} Under no circumstances should you import this file directly! \u{1F6D1}
@@ -3966,7 +3966,7 @@ path.join(process.cwd(), ${JSON.stringify(pathToPosix2(relativeFilePath))})`;
3966
3966
  }
3967
3967
 
3968
3968
  // src/TSClient/file-generators/ClientFile.ts
3969
- var jsDocHeader2 = `/**
3969
+ var jsDocHeader2 = `/*
3970
3970
  * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
3971
3971
  *
3972
3972
  * \u{1F7E2} You can import this file directly.
@@ -4053,7 +4053,7 @@ globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
4053
4053
 
4054
4054
  // src/TSClient/file-generators/CommonInputTypesFile.ts
4055
4055
  import * as ts7 from "@prisma/ts-builders";
4056
- var jsDocHeader3 = `/**
4056
+ var jsDocHeader3 = `/*
4057
4057
  * This file exports various common sort, input & filter types that are not directly linked to a particular model.
4058
4058
  *
4059
4059
  * \u{1F7E2} You can import this file directly.
@@ -4077,11 +4077,12 @@ ${context.dmmf.inputObjectTypes.model?.map((inputType) => new InputType(inputTyp
4077
4077
 
4078
4078
  // src/TSClient/file-generators/EnumsFile.ts
4079
4079
  import { datamodelEnumToSchemaEnum } from "@prisma/dmmf";
4080
- var jsDocHeader4 = `/**
4080
+ var jsDocHeader4 = `/*
4081
4081
  * This file exports all enum related types from the schema.
4082
4082
  *
4083
4083
  * \u{1F7E2} You can import this file directly.
4084
4084
  */
4085
+
4085
4086
  `;
4086
4087
  function createEnumsFile(context) {
4087
4088
  const modelEnums = [];
@@ -5101,7 +5102,7 @@ function fluentWrapperName(modelName) {
5101
5102
 
5102
5103
  // src/TSClient/file-generators/ModelFile.ts
5103
5104
  function createModelFile(context, modelName) {
5104
- const jsDocHeader7 = `/**
5105
+ const jsDocHeader7 = `/*
5105
5106
  * This file exports the \`${modelName}\` model and its related types.
5106
5107
  *
5107
5108
  * \u{1F7E2} You can import this file directly.
@@ -5118,7 +5119,7 @@ function createModelFile(context, modelName) {
5118
5119
  }
5119
5120
 
5120
5121
  // src/TSClient/file-generators/ModelsFile.ts
5121
- var jsDocHeader5 = `/**
5122
+ var jsDocHeader5 = `/*
5122
5123
  * This is a barrel export file for all models and their related types.
5123
5124
  *
5124
5125
  * \u{1F7E2} You can import this file directly.
@@ -5681,7 +5682,7 @@ function payloadToResult(modelName) {
5681
5682
  }
5682
5683
 
5683
5684
  // src/TSClient/file-generators/PrismaNamespaceFile.ts
5684
- var jsDocHeader6 = `/**
5685
+ var jsDocHeader6 = `/*
5685
5686
  * WARNING: This is an internal file that is subject to change!
5686
5687
  *
5687
5688
  * \u{1F6D1} Under no circumstances should you import this file directly! \u{1F6D1}
@@ -6556,7 +6557,7 @@ import { getTsconfig } from "get-tsconfig";
6556
6557
  import { match as match2 } from "ts-pattern";
6557
6558
 
6558
6559
  // package.json
6559
- var version = "6.15.0-dev.25";
6560
+ var version = "6.15.0-dev.27";
6560
6561
 
6561
6562
  // src/module-format.ts
6562
6563
  function parseModuleFormat(format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "6.15.0-dev.25",
3
+ "version": "6.15.0-dev.27",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,14 +34,14 @@
34
34
  "pkg-up": "3.1.0",
35
35
  "pluralize": "8.0.0",
36
36
  "ts-pattern": "5.6.2",
37
- "@prisma/client-common": "6.15.0-dev.25",
38
- "@prisma/dmmf": "6.15.0-dev.25",
39
- "@prisma/debug": "6.15.0-dev.25",
40
- "@prisma/fetch-engine": "6.15.0-dev.25",
41
- "@prisma/generator": "6.15.0-dev.25",
42
- "@prisma/get-platform": "6.15.0-dev.25",
43
- "@prisma/internals": "6.15.0-dev.25",
44
- "@prisma/ts-builders": "6.15.0-dev.25"
37
+ "@prisma/client-common": "6.15.0-dev.27",
38
+ "@prisma/debug": "6.15.0-dev.27",
39
+ "@prisma/dmmf": "6.15.0-dev.27",
40
+ "@prisma/fetch-engine": "6.15.0-dev.27",
41
+ "@prisma/generator": "6.15.0-dev.27",
42
+ "@prisma/get-platform": "6.15.0-dev.27",
43
+ "@prisma/internals": "6.15.0-dev.27",
44
+ "@prisma/ts-builders": "6.15.0-dev.27"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/pluralize": "0.0.33",