@prisma/client-generator-ts 6.16.0-integration-feat-orm-1375-web-client-ts.2 → 6.16.0-integration-feat-orm-1074-package-dev-export.1

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.
@@ -1 +1 @@
1
- export declare const nullTypes = "\nexport const NullTypes = {\n DbNull: runtime.objectEnumValues.classes.DbNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull),\n JsonNull: runtime.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull),\n AnyNull: runtime.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.AnyNull),\n}\n\n/**\n * Helper for filtering JSON entries that have `null` on the database (empty on the db)\n *\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field\n */\nexport const DbNull = runtime.objectEnumValues.instances.DbNull\n\n/**\n * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)\n *\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field\n */\nexport const JsonNull = runtime.objectEnumValues.instances.JsonNull\n\n/**\n * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`\n *\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field\n */\nexport const AnyNull = runtime.objectEnumValues.instances.AnyNull\n";
1
+ export declare const nullTypes = "\nexport const NullTypes = {\n DbNull: utilities.objectEnumValues.classes.DbNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.DbNull),\n JsonNull: utilities.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.JsonNull),\n AnyNull: utilities.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.AnyNull),\n}\n\n/**\n * Helper for filtering JSON entries that have `null` on the database (empty on the db)\n *\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field\n */\nexport const DbNull = utilities.objectEnumValues.instances.DbNull\n\n/**\n * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)\n *\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field\n */\nexport const JsonNull = utilities.objectEnumValues.instances.JsonNull\n\n/**\n * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`\n *\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field\n */\nexport const AnyNull = utilities.objectEnumValues.instances.AnyNull\n";
package/dist/index.js CHANGED
@@ -5160,9 +5160,9 @@ var ts16 = __toESM(require("@prisma/ts-builders"));
5160
5160
  // src/TSClient/NullTypes.ts
5161
5161
  var nullTypes = `
5162
5162
  export const NullTypes = {
5163
- DbNull: runtime.objectEnumValues.classes.DbNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull),
5164
- JsonNull: runtime.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull),
5165
- AnyNull: runtime.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.AnyNull),
5163
+ DbNull: utilities.objectEnumValues.classes.DbNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.DbNull),
5164
+ JsonNull: utilities.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.JsonNull),
5165
+ AnyNull: utilities.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.AnyNull),
5166
5166
  }
5167
5167
 
5168
5168
  /**
@@ -5170,21 +5170,21 @@ export const NullTypes = {
5170
5170
  *
5171
5171
  * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
5172
5172
  */
5173
- export const DbNull = runtime.objectEnumValues.instances.DbNull
5173
+ export const DbNull = utilities.objectEnumValues.instances.DbNull
5174
5174
 
5175
5175
  /**
5176
5176
  * Helper for filtering JSON entries that have JSON \`null\` values (not empty on the db)
5177
5177
  *
5178
5178
  * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
5179
5179
  */
5180
- export const JsonNull = runtime.objectEnumValues.instances.JsonNull
5180
+ export const JsonNull = utilities.objectEnumValues.instances.JsonNull
5181
5181
 
5182
5182
  /**
5183
5183
  * Helper for filtering JSON entries that are \`Prisma.DbNull\` or \`Prisma.JsonNull\`
5184
5184
  *
5185
5185
  * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
5186
5186
  */
5187
- export const AnyNull = runtime.objectEnumValues.instances.AnyNull
5187
+ export const AnyNull = utilities.objectEnumValues.instances.AnyNull
5188
5188
  `;
5189
5189
 
5190
5190
  // src/TSClient/file-generators/PrismaNamespaceBrowserFile.ts
@@ -5204,6 +5204,7 @@ function createPrismaNamespaceBrowserFile(context) {
5204
5204
  const prismaEnums = context.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toTS());
5205
5205
  return `${jsDocHeader7}
5206
5206
  ${ts16.stringify(ts16.moduleImport(`${context.runtimeBase}/index-browser`).asNamespace("runtime"))}
5207
+ ${ts16.stringify(ts16.moduleImport(`${context.runtimeBase}/utilities`).asNamespace("utilities"))}
5207
5208
 
5208
5209
  export type * from '${context.importFileName(`../models`)}'
5209
5210
  export type * from '${context.importFileName(`./prismaNamespace`)}'
@@ -5769,6 +5770,7 @@ var jsDocHeader8 = `/*
5769
5770
  function createPrismaNamespaceFile(context, options) {
5770
5771
  const imports = [
5771
5772
  ts19.moduleImport(context.runtimeImport).asNamespace("runtime"),
5773
+ ts19.moduleImport(`${context.runtimeBase}/utilities`).asNamespace("utilities"),
5772
5774
  ts19.moduleImport(context.importFileName(`../models`)).asNamespace("Prisma").typeOnly(),
5773
5775
  ts19.moduleImport(context.importFileName(`./class`)).named(ts19.namedImport("PrismaClient").typeOnly())
5774
5776
  ].map((i) => ts19.stringify(i));
@@ -6636,7 +6638,7 @@ var import_get_tsconfig = require("get-tsconfig");
6636
6638
  var import_ts_pattern2 = require("ts-pattern");
6637
6639
 
6638
6640
  // package.json
6639
- var version = "6.16.0-integration-feat-orm-1375-web-client-ts.2";
6641
+ var version = "6.16.0-integration-feat-orm-1074-package-dev-export.1";
6640
6642
 
6641
6643
  // src/module-format.ts
6642
6644
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -5159,9 +5159,9 @@ import * as ts16 from "@prisma/ts-builders";
5159
5159
  // src/TSClient/NullTypes.ts
5160
5160
  var nullTypes = `
5161
5161
  export const NullTypes = {
5162
- DbNull: runtime.objectEnumValues.classes.DbNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull),
5163
- JsonNull: runtime.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull),
5164
- AnyNull: runtime.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.AnyNull),
5162
+ DbNull: utilities.objectEnumValues.classes.DbNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.DbNull),
5163
+ JsonNull: utilities.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.JsonNull),
5164
+ AnyNull: utilities.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof utilities.objectEnumValues.instances.AnyNull),
5165
5165
  }
5166
5166
 
5167
5167
  /**
@@ -5169,21 +5169,21 @@ export const NullTypes = {
5169
5169
  *
5170
5170
  * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
5171
5171
  */
5172
- export const DbNull = runtime.objectEnumValues.instances.DbNull
5172
+ export const DbNull = utilities.objectEnumValues.instances.DbNull
5173
5173
 
5174
5174
  /**
5175
5175
  * Helper for filtering JSON entries that have JSON \`null\` values (not empty on the db)
5176
5176
  *
5177
5177
  * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
5178
5178
  */
5179
- export const JsonNull = runtime.objectEnumValues.instances.JsonNull
5179
+ export const JsonNull = utilities.objectEnumValues.instances.JsonNull
5180
5180
 
5181
5181
  /**
5182
5182
  * Helper for filtering JSON entries that are \`Prisma.DbNull\` or \`Prisma.JsonNull\`
5183
5183
  *
5184
5184
  * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
5185
5185
  */
5186
- export const AnyNull = runtime.objectEnumValues.instances.AnyNull
5186
+ export const AnyNull = utilities.objectEnumValues.instances.AnyNull
5187
5187
  `;
5188
5188
 
5189
5189
  // src/TSClient/file-generators/PrismaNamespaceBrowserFile.ts
@@ -5203,6 +5203,7 @@ function createPrismaNamespaceBrowserFile(context) {
5203
5203
  const prismaEnums = context.dmmf.schema.enumTypes.prisma?.map((type) => new Enum(type, true).toTS());
5204
5204
  return `${jsDocHeader7}
5205
5205
  ${ts16.stringify(ts16.moduleImport(`${context.runtimeBase}/index-browser`).asNamespace("runtime"))}
5206
+ ${ts16.stringify(ts16.moduleImport(`${context.runtimeBase}/utilities`).asNamespace("utilities"))}
5206
5207
 
5207
5208
  export type * from '${context.importFileName(`../models`)}'
5208
5209
  export type * from '${context.importFileName(`./prismaNamespace`)}'
@@ -5768,6 +5769,7 @@ var jsDocHeader8 = `/*
5768
5769
  function createPrismaNamespaceFile(context, options) {
5769
5770
  const imports = [
5770
5771
  ts19.moduleImport(context.runtimeImport).asNamespace("runtime"),
5772
+ ts19.moduleImport(`${context.runtimeBase}/utilities`).asNamespace("utilities"),
5771
5773
  ts19.moduleImport(context.importFileName(`../models`)).asNamespace("Prisma").typeOnly(),
5772
5774
  ts19.moduleImport(context.importFileName(`./class`)).named(ts19.namedImport("PrismaClient").typeOnly())
5773
5775
  ].map((i) => ts19.stringify(i));
@@ -6635,7 +6637,7 @@ import { getTsconfig } from "get-tsconfig";
6635
6637
  import { match as match2 } from "ts-pattern";
6636
6638
 
6637
6639
  // package.json
6638
- var version = "6.16.0-integration-feat-orm-1375-web-client-ts.2";
6640
+ var version = "6.16.0-integration-feat-orm-1074-package-dev-export.1";
6639
6641
 
6640
6642
  // src/module-format.ts
6641
6643
  function parseModuleFormat(format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
3
+ "version": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
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/dmmf": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
38
- "@prisma/get-platform": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
39
- "@prisma/debug": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
40
- "@prisma/generator": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
41
- "@prisma/client-common": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
42
- "@prisma/internals": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
43
- "@prisma/ts-builders": "6.16.0-integration-feat-orm-1375-web-client-ts.2",
44
- "@prisma/fetch-engine": "6.16.0-integration-feat-orm-1375-web-client-ts.2"
37
+ "@prisma/client-common": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
38
+ "@prisma/dmmf": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
39
+ "@prisma/debug": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
40
+ "@prisma/fetch-engine": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
41
+ "@prisma/generator": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
42
+ "@prisma/get-platform": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
43
+ "@prisma/internals": "6.16.0-integration-feat-orm-1074-package-dev-export.1",
44
+ "@prisma/ts-builders": "6.16.0-integration-feat-orm-1074-package-dev-export.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/pluralize": "0.0.33",