@creator.co/creatorco-prisma-client 1.0.18 → 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 -25
- package/index-browser.js +20 -32
- package/index.d.ts +710 -1857
- package/index.js +13 -26
- 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 +8 -18
- 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 -1287
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
|
/**
|
|
@@ -569,13 +569,6 @@ exports.Prisma.SocialPostScalarFieldEnum = {
|
|
|
569
569
|
campaignId: 'campaignId'
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
-
exports.Prisma.SocialPostTagScalarFieldEnum = {
|
|
573
|
-
id: 'id',
|
|
574
|
-
title: 'title',
|
|
575
|
-
type: 'type',
|
|
576
|
-
socialPostId: 'socialPostId'
|
|
577
|
-
};
|
|
578
|
-
|
|
579
572
|
exports.Prisma.ImageScalarFieldEnum = {
|
|
580
573
|
id: 'id',
|
|
581
574
|
url: 'url',
|
|
@@ -640,6 +633,7 @@ exports.Prisma.AffiliateClickScalarFieldEnum = {
|
|
|
640
633
|
id: 'id',
|
|
641
634
|
created: 'created',
|
|
642
635
|
visitorIp: 'visitorIp',
|
|
636
|
+
optInId: 'optInId',
|
|
643
637
|
metaData: 'metaData',
|
|
644
638
|
affiliateLinkId: 'affiliateLinkId'
|
|
645
639
|
};
|
|
@@ -1060,11 +1054,6 @@ exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
|
|
|
1060
1054
|
visibility: 'visibility'
|
|
1061
1055
|
};
|
|
1062
1056
|
|
|
1063
|
-
exports.Prisma.SocialPostTagOrderByRelevanceFieldEnum = {
|
|
1064
|
-
title: 'title',
|
|
1065
|
-
type: 'type'
|
|
1066
|
-
};
|
|
1067
|
-
|
|
1068
1057
|
exports.Prisma.ImageOrderByRelevanceFieldEnum = {
|
|
1069
1058
|
url: 'url',
|
|
1070
1059
|
size: 'size'
|
|
@@ -1221,7 +1210,6 @@ exports.Prisma.ModelName = {
|
|
|
1221
1210
|
TrolleyPayment: 'TrolleyPayment',
|
|
1222
1211
|
OptInVariable: 'OptInVariable',
|
|
1223
1212
|
SocialPost: 'SocialPost',
|
|
1224
|
-
SocialPostTag: 'SocialPostTag',
|
|
1225
1213
|
Image: 'Image',
|
|
1226
1214
|
BrandImage: 'BrandImage',
|
|
1227
1215
|
Country: 'Country',
|
|
@@ -1263,7 +1251,7 @@ class PrismaClient {
|
|
|
1263
1251
|
'workerd': 'Cloudflare Workers',
|
|
1264
1252
|
'deno': 'Deno and Deno Deploy',
|
|
1265
1253
|
'netlify': 'Netlify Edge Functions',
|
|
1266
|
-
'edge-light': 'Vercel Edge Functions
|
|
1254
|
+
'edge-light': 'Vercel Edge Functions',
|
|
1267
1255
|
}[runtime]
|
|
1268
1256
|
|
|
1269
1257
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1274,7 +1262,7 @@ class PrismaClient {
|
|
|
1274
1262
|
}
|
|
1275
1263
|
|
|
1276
1264
|
message += `
|
|
1277
|
-
If this is unexpected, please open an issue: https://
|
|
1265
|
+
If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`
|
|
1278
1266
|
|
|
1279
1267
|
throw new Error(message)
|
|
1280
1268
|
}
|