@prisma/client-generator-js 7.6.0-dev.3 → 7.6.0-dev.5

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.
@@ -6,7 +6,7 @@ type PrismaClientJsGeneratorOptions = {
6
6
  };
7
7
  export declare class PrismaClientJsGenerator implements Generator {
8
8
  #private;
9
- readonly name = "prisma-client-js";
9
+ readonly name: "prisma-client-js";
10
10
  constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions);
11
11
  getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
12
12
  generate(options: GeneratorOptions): Promise<void>;
package/dist/index.d.mts CHANGED
@@ -48,7 +48,7 @@ export declare function getDMMF(options: GetDMMFOptions): Promise<DMMF.Document>
48
48
 
49
49
  export declare class PrismaClientJsGenerator implements Generator_2 {
50
50
  #private;
51
- readonly name = "prisma-client-js";
51
+ readonly name: "prisma-client-js";
52
52
  constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions);
53
53
  getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
54
54
  generate(options: GeneratorOptions): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -48,7 +48,7 @@ export declare function getDMMF(options: GetDMMFOptions): Promise<DMMF.Document>
48
48
 
49
49
  export declare class PrismaClientJsGenerator implements Generator_2 {
50
50
  #private;
51
- readonly name = "prisma-client-js";
51
+ readonly name: "prisma-client-js";
52
52
  constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions);
53
53
  getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
54
54
  generate(options: GeneratorOptions): Promise<void>;
package/dist/index.js CHANGED
@@ -6833,7 +6833,7 @@ var import_engines_version = require("@prisma/engines-version");
6833
6833
  var import_internals9 = require("@prisma/internals");
6834
6834
 
6835
6835
  // package.json
6836
- var version = "7.6.0-dev.3";
6836
+ var version = "7.6.0-dev.5";
6837
6837
 
6838
6838
  // src/resolvePrismaClient.ts
6839
6839
  var import_promises2 = __toESM(require("node:fs/promises"));
@@ -6875,7 +6875,7 @@ async function getPackageCmd(cwd, cmd, ...args) {
6875
6875
 
6876
6876
  // src/generator.ts
6877
6877
  var PrismaClientJsGenerator = class {
6878
- name = "prisma-client-js";
6878
+ name = import_internals9.BuiltInProvider.PrismaClientJs;
6879
6879
  #shouldResolvePrismaClient;
6880
6880
  #runtimePath;
6881
6881
  #cachedPrismaClientPath;
@@ -6940,6 +6940,7 @@ function parseCompilerBuildFromUnknown(value) {
6940
6940
 
6941
6941
  // src/utils/types/dmmfToTypes.ts
6942
6942
  var import_node_path3 = __toESM(require("node:path"));
6943
+ var import_internals10 = require("@prisma/internals");
6943
6944
  function dmmfToTypes(dmmf) {
6944
6945
  return new TSClient({
6945
6946
  dmmf,
@@ -6956,9 +6957,9 @@ function dmmfToTypes(dmmf) {
6956
6957
  generator: {
6957
6958
  binaryTargets: [],
6958
6959
  config: {},
6959
- name: "prisma-client-js",
6960
+ name: import_internals10.BuiltInProvider.PrismaClientJs,
6960
6961
  output: null,
6961
- provider: { value: "prisma-client-js", fromEnvVar: null },
6962
+ provider: { value: import_internals10.BuiltInProvider.PrismaClientJs, fromEnvVar: null },
6962
6963
  previewFeatures: [],
6963
6964
  isCustomOutput: false,
6964
6965
  sourceFilePath: "schema.prisma"
package/dist/index.mjs CHANGED
@@ -6822,10 +6822,10 @@ var GENERATED_PACKAGE_NAME_PREFIX = "prisma-client-";
6822
6822
  // src/generator.ts
6823
6823
  import path3 from "node:path";
6824
6824
  import { enginesVersion } from "@prisma/engines-version";
6825
- import { parseEnvValue } from "@prisma/internals";
6825
+ import { BuiltInProvider, parseEnvValue } from "@prisma/internals";
6826
6826
 
6827
6827
  // package.json
6828
- var version = "7.6.0-dev.3";
6828
+ var version = "7.6.0-dev.5";
6829
6829
 
6830
6830
  // src/resolvePrismaClient.ts
6831
6831
  import fs2 from "node:fs/promises";
@@ -6867,7 +6867,7 @@ async function getPackageCmd(cwd, cmd, ...args) {
6867
6867
 
6868
6868
  // src/generator.ts
6869
6869
  var PrismaClientJsGenerator = class {
6870
- name = "prisma-client-js";
6870
+ name = BuiltInProvider.PrismaClientJs;
6871
6871
  #shouldResolvePrismaClient;
6872
6872
  #runtimePath;
6873
6873
  #cachedPrismaClientPath;
@@ -6932,6 +6932,7 @@ function parseCompilerBuildFromUnknown(value) {
6932
6932
 
6933
6933
  // src/utils/types/dmmfToTypes.ts
6934
6934
  import path4 from "node:path";
6935
+ import { BuiltInProvider as BuiltInProvider2 } from "@prisma/internals";
6935
6936
  function dmmfToTypes(dmmf) {
6936
6937
  return new TSClient({
6937
6938
  dmmf,
@@ -6948,9 +6949,9 @@ function dmmfToTypes(dmmf) {
6948
6949
  generator: {
6949
6950
  binaryTargets: [],
6950
6951
  config: {},
6951
- name: "prisma-client-js",
6952
+ name: BuiltInProvider2.PrismaClientJs,
6952
6953
  output: null,
6953
- provider: { value: "prisma-client-js", fromEnvVar: null },
6954
+ provider: { value: BuiltInProvider2.PrismaClientJs, fromEnvVar: null },
6954
6955
  previewFeatures: [],
6955
6956
  isCustomOutput: false,
6956
6957
  sourceFilePath: "schema.prisma"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-js",
3
- "version": "7.6.0-dev.3",
3
+ "version": "7.6.0-dev.5",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,15 +32,15 @@
32
32
  "package-up": "5.0.0",
33
33
  "pluralize": "8.0.0",
34
34
  "ts-pattern": "5.6.2",
35
- "@prisma/client-common": "7.6.0-dev.3",
36
- "@prisma/fetch-engine": "7.6.0-dev.3",
37
- "@prisma/get-platform": "7.6.0-dev.3",
38
- "@prisma/debug": "7.6.0-dev.3",
39
- "@prisma/generator": "7.6.0-dev.3",
40
- "@prisma/dmmf": "7.6.0-dev.3",
41
- "@prisma/param-graph-builder": "7.6.0-dev.3",
42
- "@prisma/internals": "7.6.0-dev.3",
43
- "@prisma/ts-builders": "7.6.0-dev.3"
35
+ "@prisma/client-common": "7.6.0-dev.5",
36
+ "@prisma/fetch-engine": "7.6.0-dev.5",
37
+ "@prisma/dmmf": "7.6.0-dev.5",
38
+ "@prisma/generator": "7.6.0-dev.5",
39
+ "@prisma/get-platform": "7.6.0-dev.5",
40
+ "@prisma/internals": "7.6.0-dev.5",
41
+ "@prisma/ts-builders": "7.6.0-dev.5",
42
+ "@prisma/debug": "7.6.0-dev.5",
43
+ "@prisma/param-graph-builder": "7.6.0-dev.5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/pluralize": "0.0.33"