@creator.co/creatorco-prisma-client 1.0.21 → 1.0.22-alpha-6b3aed6
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 +54 -12
- package/index-browser.js +61 -20
- package/index.d.ts +5577 -412
- package/index.js +55 -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 +48 -2
- package/wasm.d.ts +1 -0
- package/wasm.js +1316 -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
|
/**
|
|
@@ -836,6 +836,31 @@ exports.Prisma.SequenceImapCheckpointScalarFieldEnum = {
|
|
|
836
836
|
updatedAt: 'updatedAt'
|
|
837
837
|
};
|
|
838
838
|
|
|
839
|
+
exports.Prisma.ShopifyStoreScalarFieldEnum = {
|
|
840
|
+
id: 'id',
|
|
841
|
+
shopifyId: 'shopifyId',
|
|
842
|
+
name: 'name',
|
|
843
|
+
url: 'url',
|
|
844
|
+
accessToken: 'accessToken',
|
|
845
|
+
metaData: 'metaData',
|
|
846
|
+
brandId: 'brandId'
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
exports.Prisma.ShopifyProductScalarFieldEnum = {
|
|
850
|
+
id: 'id',
|
|
851
|
+
shopifyId: 'shopifyId',
|
|
852
|
+
title: 'title',
|
|
853
|
+
handle: 'handle',
|
|
854
|
+
metaData: 'metaData',
|
|
855
|
+
lastSynced: 'lastSynced',
|
|
856
|
+
shopifyStoreId: 'shopifyStoreId'
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
exports.Prisma.CampaignToShopifyProductScalarFieldEnum = {
|
|
860
|
+
campaignId: 'campaignId',
|
|
861
|
+
shopifyProductId: 'shopifyProductId'
|
|
862
|
+
};
|
|
863
|
+
|
|
839
864
|
exports.Prisma.SortOrder = {
|
|
840
865
|
asc: 'asc',
|
|
841
866
|
desc: 'desc'
|
|
@@ -1162,6 +1187,19 @@ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
|
|
|
1162
1187
|
exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
|
|
1163
1188
|
msgHash: 'msgHash'
|
|
1164
1189
|
};
|
|
1190
|
+
|
|
1191
|
+
exports.Prisma.ShopifyStoreOrderByRelevanceFieldEnum = {
|
|
1192
|
+
shopifyId: 'shopifyId',
|
|
1193
|
+
name: 'name',
|
|
1194
|
+
url: 'url',
|
|
1195
|
+
accessToken: 'accessToken'
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
exports.Prisma.ShopifyProductOrderByRelevanceFieldEnum = {
|
|
1199
|
+
shopifyId: 'shopifyId',
|
|
1200
|
+
title: 'title',
|
|
1201
|
+
handle: 'handle'
|
|
1202
|
+
};
|
|
1165
1203
|
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1166
1204
|
optIn: 'optIn',
|
|
1167
1205
|
tip: 'tip',
|
|
@@ -1236,7 +1274,10 @@ exports.Prisma.ModelName = {
|
|
|
1236
1274
|
SequenceStep: 'SequenceStep',
|
|
1237
1275
|
SequenceOutboundEmail: 'SequenceOutboundEmail',
|
|
1238
1276
|
SequenceInboundEmail: 'SequenceInboundEmail',
|
|
1239
|
-
SequenceImapCheckpoint: 'SequenceImapCheckpoint'
|
|
1277
|
+
SequenceImapCheckpoint: 'SequenceImapCheckpoint',
|
|
1278
|
+
ShopifyStore: 'ShopifyStore',
|
|
1279
|
+
ShopifyProduct: 'ShopifyProduct',
|
|
1280
|
+
CampaignToShopifyProduct: 'CampaignToShopifyProduct'
|
|
1240
1281
|
};
|
|
1241
1282
|
|
|
1242
1283
|
/**
|
|
@@ -1251,7 +1292,7 @@ class PrismaClient {
|
|
|
1251
1292
|
'workerd': 'Cloudflare Workers',
|
|
1252
1293
|
'deno': 'Deno and Deno Deploy',
|
|
1253
1294
|
'netlify': 'Netlify Edge Functions',
|
|
1254
|
-
'edge-light': 'Vercel Edge Functions',
|
|
1295
|
+
'edge-light': 'Vercel Edge Functions or Edge Middleware',
|
|
1255
1296
|
}[runtime]
|
|
1256
1297
|
|
|
1257
1298
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1262,7 +1303,7 @@ class PrismaClient {
|
|
|
1262
1303
|
}
|
|
1263
1304
|
|
|
1264
1305
|
message += `
|
|
1265
|
-
If this is unexpected, please open an issue: https://
|
|
1306
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
1266
1307
|
|
|
1267
1308
|
throw new Error(message)
|
|
1268
1309
|
}
|