@prisma/client-generator-ts 6.16.0-dev.31 → 6.16.0-dev.33
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 +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -5863,7 +5863,7 @@ function buildClientOptions(context, options) {
|
|
|
5863
5863
|
timeout ?= 5000
|
|
5864
5864
|
`)
|
|
5865
5865
|
);
|
|
5866
|
-
if (["library", "client", "wasm-compiler-edge", "wasm-engine-edge"].includes(options.runtimeName)
|
|
5866
|
+
if (["library", "client", "wasm-compiler-edge", "wasm-engine-edge"].includes(options.runtimeName)) {
|
|
5867
5867
|
clientOptions.add(
|
|
5868
5868
|
ts17.property("adapter", ts17.unionType([ts17.namedType("runtime.SqlDriverAdapterFactory"), ts17.namedType("null")])).optional().setDocComment(
|
|
5869
5869
|
ts17.docComment("Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`")
|
|
@@ -6327,9 +6327,6 @@ async function generateClient(options) {
|
|
|
6327
6327
|
tsNoCheckPreamble: tsNoCheckPreamble2
|
|
6328
6328
|
} = options;
|
|
6329
6329
|
const clientEngineType = (0, import_internals9.getClientEngineType)(generator);
|
|
6330
|
-
if (clientEngineType === import_internals9.ClientEngineType.Client && !generator.previewFeatures.includes("queryCompiler")) {
|
|
6331
|
-
throw new Error('`engineType = "client"` requires enabling the `queryCompiler` preview feature');
|
|
6332
|
-
}
|
|
6333
6330
|
const { runtimeBase, outputDir } = await getGenerationDirs(options);
|
|
6334
6331
|
const { prismaClientDmmf, fileMap } = buildClient({
|
|
6335
6332
|
datamodel,
|
|
@@ -6559,7 +6556,7 @@ var import_get_tsconfig = require("get-tsconfig");
|
|
|
6559
6556
|
var import_ts_pattern2 = require("ts-pattern");
|
|
6560
6557
|
|
|
6561
6558
|
// package.json
|
|
6562
|
-
var version = "6.16.0-dev.
|
|
6559
|
+
var version = "6.16.0-dev.33";
|
|
6563
6560
|
|
|
6564
6561
|
// src/module-format.ts
|
|
6565
6562
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -5862,7 +5862,7 @@ function buildClientOptions(context, options) {
|
|
|
5862
5862
|
timeout ?= 5000
|
|
5863
5863
|
`)
|
|
5864
5864
|
);
|
|
5865
|
-
if (["library", "client", "wasm-compiler-edge", "wasm-engine-edge"].includes(options.runtimeName)
|
|
5865
|
+
if (["library", "client", "wasm-compiler-edge", "wasm-engine-edge"].includes(options.runtimeName)) {
|
|
5866
5866
|
clientOptions.add(
|
|
5867
5867
|
ts17.property("adapter", ts17.unionType([ts17.namedType("runtime.SqlDriverAdapterFactory"), ts17.namedType("null")])).optional().setDocComment(
|
|
5868
5868
|
ts17.docComment("Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`")
|
|
@@ -6326,9 +6326,6 @@ async function generateClient(options) {
|
|
|
6326
6326
|
tsNoCheckPreamble: tsNoCheckPreamble2
|
|
6327
6327
|
} = options;
|
|
6328
6328
|
const clientEngineType = getClientEngineType3(generator);
|
|
6329
|
-
if (clientEngineType === ClientEngineType3.Client && !generator.previewFeatures.includes("queryCompiler")) {
|
|
6330
|
-
throw new Error('`engineType = "client"` requires enabling the `queryCompiler` preview feature');
|
|
6331
|
-
}
|
|
6332
6329
|
const { runtimeBase, outputDir } = await getGenerationDirs(options);
|
|
6333
6330
|
const { prismaClientDmmf, fileMap } = buildClient({
|
|
6334
6331
|
datamodel,
|
|
@@ -6558,7 +6555,7 @@ import { getTsconfig } from "get-tsconfig";
|
|
|
6558
6555
|
import { match as match2 } from "ts-pattern";
|
|
6559
6556
|
|
|
6560
6557
|
// package.json
|
|
6561
|
-
var version = "6.16.0-dev.
|
|
6558
|
+
var version = "6.16.0-dev.33";
|
|
6562
6559
|
|
|
6563
6560
|
// src/module-format.ts
|
|
6564
6561
|
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-dev.
|
|
3
|
+
"version": "6.16.0-dev.33",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "6.16.0-
|
|
28
|
+
"@prisma/engines-version": "6.16.0-7.1c57fdcd7e44b29b9313256c76699e91c3ac3c43",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"fast-glob": "3.3.3",
|
|
31
31
|
"get-tsconfig": "4.10.0",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"package-up": "5.0.0",
|
|
35
35
|
"pluralize": "8.0.0",
|
|
36
36
|
"ts-pattern": "5.6.2",
|
|
37
|
-
"@prisma/client-common": "6.16.0-dev.
|
|
38
|
-
"@prisma/debug": "6.16.0-dev.
|
|
39
|
-
"@prisma/dmmf": "6.16.0-dev.
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
44
|
-
"@prisma/
|
|
37
|
+
"@prisma/client-common": "6.16.0-dev.33",
|
|
38
|
+
"@prisma/debug": "6.16.0-dev.33",
|
|
39
|
+
"@prisma/dmmf": "6.16.0-dev.33",
|
|
40
|
+
"@prisma/generator": "6.16.0-dev.33",
|
|
41
|
+
"@prisma/get-platform": "6.16.0-dev.33",
|
|
42
|
+
"@prisma/internals": "6.16.0-dev.33",
|
|
43
|
+
"@prisma/ts-builders": "6.16.0-dev.33",
|
|
44
|
+
"@prisma/fetch-engine": "6.16.0-dev.33"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|