@creator.co/creatorco-prisma-client 1.0.21 → 1.0.22-alpha-c4b16cb
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 +56 -12
- package/index-browser.js +63 -20
- package/index.d.ts +5616 -412
- package/index.js +57 -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 +49 -2
- package/wasm.d.ts +1 -0
- package/wasm.js +1318 -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,32 @@ 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
|
+
imageUrl: 'imageUrl',
|
|
855
|
+
metaData: 'metaData',
|
|
856
|
+
lastSynced: 'lastSynced',
|
|
857
|
+
shopifyStoreId: 'shopifyStoreId'
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
exports.Prisma.CampaignToShopifyProductScalarFieldEnum = {
|
|
861
|
+
campaignId: 'campaignId',
|
|
862
|
+
shopifyProductId: 'shopifyProductId'
|
|
863
|
+
};
|
|
864
|
+
|
|
839
865
|
exports.Prisma.SortOrder = {
|
|
840
866
|
asc: 'asc',
|
|
841
867
|
desc: 'desc'
|
|
@@ -1162,6 +1188,20 @@ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
|
|
|
1162
1188
|
exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
|
|
1163
1189
|
msgHash: 'msgHash'
|
|
1164
1190
|
};
|
|
1191
|
+
|
|
1192
|
+
exports.Prisma.ShopifyStoreOrderByRelevanceFieldEnum = {
|
|
1193
|
+
shopifyId: 'shopifyId',
|
|
1194
|
+
name: 'name',
|
|
1195
|
+
url: 'url',
|
|
1196
|
+
accessToken: 'accessToken'
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
exports.Prisma.ShopifyProductOrderByRelevanceFieldEnum = {
|
|
1200
|
+
shopifyId: 'shopifyId',
|
|
1201
|
+
title: 'title',
|
|
1202
|
+
handle: 'handle',
|
|
1203
|
+
imageUrl: 'imageUrl'
|
|
1204
|
+
};
|
|
1165
1205
|
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1166
1206
|
optIn: 'optIn',
|
|
1167
1207
|
tip: 'tip',
|
|
@@ -1236,7 +1276,10 @@ exports.Prisma.ModelName = {
|
|
|
1236
1276
|
SequenceStep: 'SequenceStep',
|
|
1237
1277
|
SequenceOutboundEmail: 'SequenceOutboundEmail',
|
|
1238
1278
|
SequenceInboundEmail: 'SequenceInboundEmail',
|
|
1239
|
-
SequenceImapCheckpoint: 'SequenceImapCheckpoint'
|
|
1279
|
+
SequenceImapCheckpoint: 'SequenceImapCheckpoint',
|
|
1280
|
+
ShopifyStore: 'ShopifyStore',
|
|
1281
|
+
ShopifyProduct: 'ShopifyProduct',
|
|
1282
|
+
CampaignToShopifyProduct: 'CampaignToShopifyProduct'
|
|
1240
1283
|
};
|
|
1241
1284
|
|
|
1242
1285
|
/**
|
|
@@ -1251,7 +1294,7 @@ class PrismaClient {
|
|
|
1251
1294
|
'workerd': 'Cloudflare Workers',
|
|
1252
1295
|
'deno': 'Deno and Deno Deploy',
|
|
1253
1296
|
'netlify': 'Netlify Edge Functions',
|
|
1254
|
-
'edge-light': 'Vercel Edge Functions',
|
|
1297
|
+
'edge-light': 'Vercel Edge Functions or Edge Middleware',
|
|
1255
1298
|
}[runtime]
|
|
1256
1299
|
|
|
1257
1300
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1262,7 +1305,7 @@ class PrismaClient {
|
|
|
1262
1305
|
}
|
|
1263
1306
|
|
|
1264
1307
|
message += `
|
|
1265
|
-
If this is unexpected, please open an issue: https://
|
|
1308
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
1266
1309
|
|
|
1267
1310
|
throw new Error(message)
|
|
1268
1311
|
}
|