@creator.co/creatorco-prisma-client 1.0.15 → 1.0.17
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 +40 -12
- package/index-browser.js +47 -20
- package/index.d.ts +2029 -337
- package/index.js +41 -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 +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 +72 -12
- package/wasm.d.ts +1 -0
- package/wasm.js +1288 -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',
|
|
@@ -530,7 +540,6 @@ exports.Prisma.SocialPostScalarFieldEnum = {
|
|
|
530
540
|
data: 'data',
|
|
531
541
|
lastFetched: 'lastFetched',
|
|
532
542
|
lastWebhook: 'lastWebhook',
|
|
533
|
-
isStale: 'isStale',
|
|
534
543
|
posted: 'posted',
|
|
535
544
|
title: 'title',
|
|
536
545
|
description: 'description',
|
|
@@ -1035,6 +1044,10 @@ exports.Prisma.OptInOrderByRelevanceFieldEnum = {
|
|
|
1035
1044
|
paymentStatus: 'paymentStatus'
|
|
1036
1045
|
};
|
|
1037
1046
|
|
|
1047
|
+
exports.Prisma.TrolleyPaymentOrderByRelevanceFieldEnum = {
|
|
1048
|
+
paymentId: 'paymentId'
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1038
1051
|
exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
|
|
1039
1052
|
phylloId: 'phylloId',
|
|
1040
1053
|
title: 'title',
|
|
@@ -1160,7 +1173,20 @@ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
|
|
|
1160
1173
|
exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
|
|
1161
1174
|
msgHash: 'msgHash'
|
|
1162
1175
|
};
|
|
1176
|
+
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1177
|
+
optIn: 'optIn',
|
|
1178
|
+
tip: 'tip',
|
|
1179
|
+
affiliate: 'affiliate'
|
|
1180
|
+
};
|
|
1163
1181
|
|
|
1182
|
+
exports.trolleyPaymentStatus = exports.$Enums.trolleyPaymentStatus = {
|
|
1183
|
+
created: 'created',
|
|
1184
|
+
updated: 'updated',
|
|
1185
|
+
deleted: 'deleted',
|
|
1186
|
+
processed: 'processed',
|
|
1187
|
+
failed: 'failed',
|
|
1188
|
+
returned: 'returned'
|
|
1189
|
+
};
|
|
1164
1190
|
|
|
1165
1191
|
exports.Prisma.ModelName = {
|
|
1166
1192
|
User: 'User',
|
|
@@ -1193,6 +1219,7 @@ exports.Prisma.ModelName = {
|
|
|
1193
1219
|
OptInStep: 'OptInStep',
|
|
1194
1220
|
Category: 'Category',
|
|
1195
1221
|
OptIn: 'OptIn',
|
|
1222
|
+
TrolleyPayment: 'TrolleyPayment',
|
|
1196
1223
|
OptInVariable: 'OptInVariable',
|
|
1197
1224
|
SocialPost: 'SocialPost',
|
|
1198
1225
|
SocialPostTag: 'SocialPostTag',
|
|
@@ -1237,7 +1264,7 @@ class PrismaClient {
|
|
|
1237
1264
|
'workerd': 'Cloudflare Workers',
|
|
1238
1265
|
'deno': 'Deno and Deno Deploy',
|
|
1239
1266
|
'netlify': 'Netlify Edge Functions',
|
|
1240
|
-
'edge-light': 'Vercel Edge Functions',
|
|
1267
|
+
'edge-light': 'Vercel Edge Functions or Edge Middleware',
|
|
1241
1268
|
}[runtime]
|
|
1242
1269
|
|
|
1243
1270
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1248,7 +1275,7 @@ class PrismaClient {
|
|
|
1248
1275
|
}
|
|
1249
1276
|
|
|
1250
1277
|
message += `
|
|
1251
|
-
If this is unexpected, please open an issue: https://
|
|
1278
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
1252
1279
|
|
|
1253
1280
|
throw new Error(message)
|
|
1254
1281
|
}
|