@creator.co/creatorco-prisma-client 1.0.16 → 1.0.18
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/default.d.ts +1 -0
- package/default.js +1 -0
- package/edge.d.ts +1 -1
- package/edge.js +39 -11
- package/index-browser.js +46 -19
- package/index.d.ts +2028 -289
- package/index.js +40 -12
- 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 +67 -2
- package/query_engine-windows.dll.node +0 -0
- package/runtime/edge-esm.js +27 -74
- package/runtime/edge.js +27 -74
- package/runtime/index-browser.js +1 -1
- package/runtime/library.d.ts +207 -152
- package/runtime/library.js +59 -57
- package/runtime/wasm.js +94 -0
- package/schema.prisma +52 -2
- package/wasm.d.ts +1 -0
- package/wasm.js +1287 -0
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.js')
|
|
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.9.1
|
|
20
|
+
* Query Engine version: 23fdc5965b1e05fc54e5f26ed3de66776b93de64
|
|
21
21
|
*/
|
|
22
22
|
Prisma.prismaVersion = {
|
|
23
|
-
client: "5.
|
|
24
|
-
engine: "
|
|
23
|
+
client: "5.9.1",
|
|
24
|
+
engine: "23fdc5965b1e05fc54e5f26ed3de66776b93de64"
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
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://pris.ly/prisma-prisma-bug-report`,
|
|
84
84
|
)}
|
|
85
85
|
|
|
86
86
|
/**
|
|
@@ -516,6 +516,16 @@ exports.Prisma.OptInScalarFieldEnum = {
|
|
|
516
516
|
currentStepId: 'currentStepId'
|
|
517
517
|
};
|
|
518
518
|
|
|
519
|
+
exports.Prisma.TrolleyPaymentScalarFieldEnum = {
|
|
520
|
+
id: 'id',
|
|
521
|
+
paymentId: 'paymentId',
|
|
522
|
+
type: 'type',
|
|
523
|
+
status: 'status',
|
|
524
|
+
optInId: 'optInId',
|
|
525
|
+
paymentAmount: 'paymentAmount',
|
|
526
|
+
metaData: 'metaData'
|
|
527
|
+
};
|
|
528
|
+
|
|
519
529
|
exports.Prisma.OptInVariableScalarFieldEnum = {
|
|
520
530
|
id: 'id',
|
|
521
531
|
optInId: 'optInId',
|
|
@@ -1034,6 +1044,10 @@ exports.Prisma.OptInOrderByRelevanceFieldEnum = {
|
|
|
1034
1044
|
paymentStatus: 'paymentStatus'
|
|
1035
1045
|
};
|
|
1036
1046
|
|
|
1047
|
+
exports.Prisma.TrolleyPaymentOrderByRelevanceFieldEnum = {
|
|
1048
|
+
paymentId: 'paymentId'
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1037
1051
|
exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
|
|
1038
1052
|
phylloId: 'phylloId',
|
|
1039
1053
|
title: 'title',
|
|
@@ -1159,7 +1173,19 @@ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
|
|
|
1159
1173
|
exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
|
|
1160
1174
|
msgHash: 'msgHash'
|
|
1161
1175
|
};
|
|
1176
|
+
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1177
|
+
optIn: 'optIn',
|
|
1178
|
+
tip: 'tip',
|
|
1179
|
+
affiliate: 'affiliate'
|
|
1180
|
+
};
|
|
1162
1181
|
|
|
1182
|
+
exports.trolleyPaymentStatus = exports.$Enums.trolleyPaymentStatus = {
|
|
1183
|
+
pending: 'pending',
|
|
1184
|
+
processing: 'processing',
|
|
1185
|
+
processed: 'processed',
|
|
1186
|
+
failed: 'failed',
|
|
1187
|
+
returned: 'returned'
|
|
1188
|
+
};
|
|
1163
1189
|
|
|
1164
1190
|
exports.Prisma.ModelName = {
|
|
1165
1191
|
User: 'User',
|
|
@@ -1192,6 +1218,7 @@ exports.Prisma.ModelName = {
|
|
|
1192
1218
|
OptInStep: 'OptInStep',
|
|
1193
1219
|
Category: 'Category',
|
|
1194
1220
|
OptIn: 'OptIn',
|
|
1221
|
+
TrolleyPayment: 'TrolleyPayment',
|
|
1195
1222
|
OptInVariable: 'OptInVariable',
|
|
1196
1223
|
SocialPost: 'SocialPost',
|
|
1197
1224
|
SocialPostTag: 'SocialPostTag',
|
|
@@ -1236,7 +1263,7 @@ class PrismaClient {
|
|
|
1236
1263
|
'workerd': 'Cloudflare Workers',
|
|
1237
1264
|
'deno': 'Deno and Deno Deploy',
|
|
1238
1265
|
'netlify': 'Netlify Edge Functions',
|
|
1239
|
-
'edge-light': 'Vercel Edge Functions',
|
|
1266
|
+
'edge-light': 'Vercel Edge Functions or Edge Middleware',
|
|
1240
1267
|
}[runtime]
|
|
1241
1268
|
|
|
1242
1269
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1247,7 +1274,7 @@ class PrismaClient {
|
|
|
1247
1274
|
}
|
|
1248
1275
|
|
|
1249
1276
|
message += `
|
|
1250
|
-
If this is unexpected, please open an issue: https://
|
|
1277
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
1251
1278
|
|
|
1252
1279
|
throw new Error(message)
|
|
1253
1280
|
}
|