@creator.co/creatorco-prisma-client 1.0.74 → 1.0.75
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 -1
- package/edge.d.ts +1 -1
- package/edge.js +16 -11
- package/index-browser.js +9 -5
- package/index.d.ts +5799 -7610
- package/index.js +16 -11
- 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-1.1.x.so.node +0 -0
- package/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/package.json +14 -1
- package/query_engine-windows.dll.node +0 -0
- package/runtime/edge-esm.js +21 -18
- package/runtime/edge.js +21 -18
- package/runtime/index-browser.js +1 -1
- package/runtime/library.d.ts +296 -87
- package/runtime/library.js +65 -62
- package/runtime/react-native.js +31 -28
- package/runtime/wasm.js +22 -19
- package/schema.prisma +15 -12
- package/wasm.d.ts +1 -1
- package/wasm.js +9 -5
package/schema.prisma
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
generator erd {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
// generator erd {
|
|
2
|
+
// provider = "prisma-erd-generator"
|
|
3
|
+
// includeRelationFromFields = true
|
|
4
|
+
// output = "../../docs/creatorco_erd.md"
|
|
5
|
+
// }
|
|
6
6
|
|
|
7
7
|
generator kysely {
|
|
8
8
|
provider = "prisma-kysely"
|
|
@@ -785,13 +785,16 @@ model OptIn {
|
|
|
785
785
|
favoritedDate DateTime?
|
|
786
786
|
rating Json?
|
|
787
787
|
|
|
788
|
-
userId
|
|
789
|
-
campaignId
|
|
790
|
-
currentStepId
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
788
|
+
userId Int
|
|
789
|
+
campaignId Int
|
|
790
|
+
currentStepId Int?
|
|
791
|
+
previousOptInId Int? @unique @map("previous_opt_in_id") // for re-opt-ins, this is the original/previous opt-in
|
|
792
|
+
|
|
793
|
+
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
794
|
+
campaign Campaign @relation(fields: [campaignId], references: [id], onDelete: Cascade)
|
|
795
|
+
currentStep CampaignStep? @relation(fields: [currentStepId], references: [id])
|
|
796
|
+
previousOptIn OptIn? @relation("PreviousOptIn", fields: [previousOptInId], references: [id])
|
|
797
|
+
reOptIn OptIn? @relation("PreviousOptIn")
|
|
795
798
|
|
|
796
799
|
variables OptInVariable[]
|
|
797
800
|
optInSteps OptInStep[]
|
package/wasm.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./index"
|
package/wasm.js
CHANGED
|
@@ -7,6 +7,7 @@ const {
|
|
|
7
7
|
makeStrictEnum,
|
|
8
8
|
Public,
|
|
9
9
|
getRuntime,
|
|
10
|
+
skip
|
|
10
11
|
} = require('./runtime/index-browser.js')
|
|
11
12
|
|
|
12
13
|
|
|
@@ -16,12 +17,12 @@ exports.Prisma = Prisma
|
|
|
16
17
|
exports.$Enums = {}
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* Prisma Client JS version: 5.
|
|
20
|
-
* Query Engine version:
|
|
20
|
+
* Prisma Client JS version: 5.22.0
|
|
21
|
+
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
|
|
21
22
|
*/
|
|
22
23
|
Prisma.prismaVersion = {
|
|
23
|
-
client: "5.
|
|
24
|
-
engine: "
|
|
24
|
+
client: "5.22.0",
|
|
25
|
+
engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
@@ -108,6 +109,8 @@ Prisma.NullTypes = {
|
|
|
108
109
|
AnyNull: objectEnumValues.classes.AnyNull
|
|
109
110
|
}
|
|
110
111
|
|
|
112
|
+
|
|
113
|
+
|
|
111
114
|
/**
|
|
112
115
|
* Enums
|
|
113
116
|
*/
|
|
@@ -567,7 +570,8 @@ exports.Prisma.OptInScalarFieldEnum = {
|
|
|
567
570
|
rating: 'rating',
|
|
568
571
|
userId: 'userId',
|
|
569
572
|
campaignId: 'campaignId',
|
|
570
|
-
currentStepId: 'currentStepId'
|
|
573
|
+
currentStepId: 'currentStepId',
|
|
574
|
+
previousOptInId: 'previousOptInId'
|
|
571
575
|
};
|
|
572
576
|
|
|
573
577
|
exports.Prisma.TrolleyPaymentScalarFieldEnum = {
|