@creator.co/creatorco-prisma-client 1.0.19 → 1.0.20
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/edge.d.ts +1 -1
- package/edge.js +12 -12
- package/index-browser.js +20 -19
- package/index.d.ts +456 -84
- package/index.js +13 -13
- package/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/libquery_engine-darwin.dylib.node +0 -0
- package/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/libquery_engine-linux-arm64-openssl-1.0.x.so.node +0 -0
- package/libquery_engine-linux-arm64-openssl-3.0.x.so.node +0 -0
- package/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/package.json +2 -67
- package/query_engine-windows.dll.node +0 -0
- package/runtime/edge-esm.js +74 -27
- package/runtime/edge.js +74 -27
- package/runtime/index-browser.js +1 -1
- package/runtime/library.d.ts +152 -207
- package/runtime/library.js +57 -59
- package/schema.prisma +5 -1
- package/default.d.ts +0 -1
- package/default.js +0 -1
- package/runtime/wasm.js +0 -94
- package/wasm.d.ts +0 -1
- package/wasm.js +0 -1274
package/index-browser.js
CHANGED
|
@@ -7,7 +7,7 @@ const {
|
|
|
7
7
|
makeStrictEnum,
|
|
8
8
|
Public,
|
|
9
9
|
detectRuntime,
|
|
10
|
-
} = require('./runtime/index-browser
|
|
10
|
+
} = require('./runtime/index-browser')
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
const Prisma = {}
|
|
@@ -16,37 +16,37 @@ exports.Prisma = Prisma
|
|
|
16
16
|
exports.$Enums = {}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Prisma Client JS version: 5.
|
|
20
|
-
* Query Engine version:
|
|
19
|
+
* Prisma Client JS version: 5.6.0
|
|
20
|
+
* Query Engine version: e95e739751f42d8ca026f6b910f5a2dc5adeaeee
|
|
21
21
|
*/
|
|
22
22
|
Prisma.prismaVersion = {
|
|
23
|
-
client: "5.
|
|
24
|
-
engine: "
|
|
23
|
+
client: "5.6.0",
|
|
24
|
+
engine: "e95e739751f42d8ca026f6b910f5a2dc5adeaeee"
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
28
28
|
throw new Error(`PrismaClientKnownRequestError is unable to be run ${runtimeDescription}.
|
|
29
|
-
In case this error is unexpected for you, please report it in https://
|
|
29
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
30
30
|
)};
|
|
31
31
|
Prisma.PrismaClientUnknownRequestError = () => {
|
|
32
32
|
throw new Error(`PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}.
|
|
33
|
-
In case this error is unexpected for you, please report it in https://
|
|
33
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
34
34
|
)}
|
|
35
35
|
Prisma.PrismaClientRustPanicError = () => {
|
|
36
36
|
throw new Error(`PrismaClientRustPanicError is unable to be run ${runtimeDescription}.
|
|
37
|
-
In case this error is unexpected for you, please report it in https://
|
|
37
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
38
38
|
)}
|
|
39
39
|
Prisma.PrismaClientInitializationError = () => {
|
|
40
40
|
throw new Error(`PrismaClientInitializationError is unable to be run ${runtimeDescription}.
|
|
41
|
-
In case this error is unexpected for you, please report it in https://
|
|
41
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
42
42
|
)}
|
|
43
43
|
Prisma.PrismaClientValidationError = () => {
|
|
44
44
|
throw new Error(`PrismaClientValidationError is unable to be run ${runtimeDescription}.
|
|
45
|
-
In case this error is unexpected for you, please report it in https://
|
|
45
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
46
46
|
)}
|
|
47
47
|
Prisma.NotFoundError = () => {
|
|
48
48
|
throw new Error(`NotFoundError is unable to be run ${runtimeDescription}.
|
|
49
|
-
In case this error is unexpected for you, please report it in https://
|
|
49
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
50
50
|
)}
|
|
51
51
|
Prisma.Decimal = Decimal
|
|
52
52
|
|
|
@@ -55,19 +55,19 @@ Prisma.Decimal = Decimal
|
|
|
55
55
|
*/
|
|
56
56
|
Prisma.sql = () => {
|
|
57
57
|
throw new Error(`sqltag is unable to be run ${runtimeDescription}.
|
|
58
|
-
In case this error is unexpected for you, please report it in https://
|
|
58
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
59
59
|
)}
|
|
60
60
|
Prisma.empty = () => {
|
|
61
61
|
throw new Error(`empty is unable to be run ${runtimeDescription}.
|
|
62
|
-
In case this error is unexpected for you, please report it in https://
|
|
62
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
63
63
|
)}
|
|
64
64
|
Prisma.join = () => {
|
|
65
65
|
throw new Error(`join is unable to be run ${runtimeDescription}.
|
|
66
|
-
In case this error is unexpected for you, please report it in https://
|
|
66
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
67
67
|
)}
|
|
68
68
|
Prisma.raw = () => {
|
|
69
69
|
throw new Error(`raw is unable to be run ${runtimeDescription}.
|
|
70
|
-
In case this error is unexpected for you, please report it in https://
|
|
70
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
71
71
|
)}
|
|
72
72
|
Prisma.validator = Public.validator
|
|
73
73
|
|
|
@@ -76,11 +76,11 @@ Prisma.validator = Public.validator
|
|
|
76
76
|
*/
|
|
77
77
|
Prisma.getExtensionContext = () => {
|
|
78
78
|
throw new Error(`Extensions.getExtensionContext is unable to be run ${runtimeDescription}.
|
|
79
|
-
In case this error is unexpected for you, please report it in https://
|
|
79
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
80
80
|
)}
|
|
81
81
|
Prisma.defineExtension = () => {
|
|
82
82
|
throw new Error(`Extensions.defineExtension is unable to be run ${runtimeDescription}.
|
|
83
|
-
In case this error is unexpected for you, please report it in https://
|
|
83
|
+
In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
|
|
84
84
|
)}
|
|
85
85
|
|
|
86
86
|
/**
|
|
@@ -633,6 +633,7 @@ exports.Prisma.AffiliateClickScalarFieldEnum = {
|
|
|
633
633
|
id: 'id',
|
|
634
634
|
created: 'created',
|
|
635
635
|
visitorIp: 'visitorIp',
|
|
636
|
+
optInId: 'optInId',
|
|
636
637
|
metaData: 'metaData',
|
|
637
638
|
affiliateLinkId: 'affiliateLinkId'
|
|
638
639
|
};
|
|
@@ -1250,7 +1251,7 @@ class PrismaClient {
|
|
|
1250
1251
|
'workerd': 'Cloudflare Workers',
|
|
1251
1252
|
'deno': 'Deno and Deno Deploy',
|
|
1252
1253
|
'netlify': 'Netlify Edge Functions',
|
|
1253
|
-
'edge-light': 'Vercel Edge Functions
|
|
1254
|
+
'edge-light': 'Vercel Edge Functions',
|
|
1254
1255
|
}[runtime]
|
|
1255
1256
|
|
|
1256
1257
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1261,7 +1262,7 @@ class PrismaClient {
|
|
|
1261
1262
|
}
|
|
1262
1263
|
|
|
1263
1264
|
message += `
|
|
1264
|
-
If this is unexpected, please open an issue: https://
|
|
1265
|
+
If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`
|
|
1265
1266
|
|
|
1266
1267
|
throw new Error(message)
|
|
1267
1268
|
}
|