@creator.co/creatorco-prisma-client 1.0.20-alpha-995a7a0 → 1.0.21
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 -57
- package/index-browser.js +20 -64
- package/index.d.ts +256 -3741
- package/index.js +13 -58
- 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 +2 -40
- 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 -1319
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
|
/**
|
|
@@ -836,32 +836,6 @@ 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
|
-
createdAt: 'createdAt',
|
|
855
|
-
updatedAt: 'updatedAt',
|
|
856
|
-
description: 'description',
|
|
857
|
-
price: 'price',
|
|
858
|
-
tags: 'tags',
|
|
859
|
-
status: 'status',
|
|
860
|
-
metaData: 'metaData',
|
|
861
|
-
lastSynced: 'lastSynced',
|
|
862
|
-
shopifyStoreId: 'shopifyStoreId'
|
|
863
|
-
};
|
|
864
|
-
|
|
865
839
|
exports.Prisma.SortOrder = {
|
|
866
840
|
asc: 'asc',
|
|
867
841
|
desc: 'desc'
|
|
@@ -1188,22 +1162,6 @@ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
|
|
|
1188
1162
|
exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
|
|
1189
1163
|
msgHash: 'msgHash'
|
|
1190
1164
|
};
|
|
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
|
-
description: 'description',
|
|
1204
|
-
tags: 'tags',
|
|
1205
|
-
status: 'status'
|
|
1206
|
-
};
|
|
1207
1165
|
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1208
1166
|
optIn: 'optIn',
|
|
1209
1167
|
tip: 'tip',
|
|
@@ -1278,9 +1236,7 @@ exports.Prisma.ModelName = {
|
|
|
1278
1236
|
SequenceStep: 'SequenceStep',
|
|
1279
1237
|
SequenceOutboundEmail: 'SequenceOutboundEmail',
|
|
1280
1238
|
SequenceInboundEmail: 'SequenceInboundEmail',
|
|
1281
|
-
SequenceImapCheckpoint: 'SequenceImapCheckpoint'
|
|
1282
|
-
ShopifyStore: 'ShopifyStore',
|
|
1283
|
-
ShopifyProduct: 'ShopifyProduct'
|
|
1239
|
+
SequenceImapCheckpoint: 'SequenceImapCheckpoint'
|
|
1284
1240
|
};
|
|
1285
1241
|
|
|
1286
1242
|
/**
|
|
@@ -1295,7 +1251,7 @@ class PrismaClient {
|
|
|
1295
1251
|
'workerd': 'Cloudflare Workers',
|
|
1296
1252
|
'deno': 'Deno and Deno Deploy',
|
|
1297
1253
|
'netlify': 'Netlify Edge Functions',
|
|
1298
|
-
'edge-light': 'Vercel Edge Functions
|
|
1254
|
+
'edge-light': 'Vercel Edge Functions',
|
|
1299
1255
|
}[runtime]
|
|
1300
1256
|
|
|
1301
1257
|
let message = 'PrismaClient is unable to run in '
|
|
@@ -1306,7 +1262,7 @@ class PrismaClient {
|
|
|
1306
1262
|
}
|
|
1307
1263
|
|
|
1308
1264
|
message += `
|
|
1309
|
-
If this is unexpected, please open an issue: https://
|
|
1265
|
+
If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`
|
|
1310
1266
|
|
|
1311
1267
|
throw new Error(message)
|
|
1312
1268
|
}
|