@creator.co/creatorco-prisma-client 1.0.19 → 1.0.20
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 -12
- package/index-browser.js +20 -19
- package/index.d.ts +456 -84
- package/index.js +13 -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 +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 +5 -1
- 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 -1274
package/schema.prisma
CHANGED
|
@@ -69,7 +69,8 @@ model User {
|
|
|
69
69
|
socialProfiles SocialProfile[]
|
|
70
70
|
rakutenActivity RakutenActivity[]
|
|
71
71
|
impactRadiusEvents ImpactRadiusEvent[]
|
|
72
|
-
|
|
72
|
+
|
|
73
|
+
@@index([phoneCode, phone])
|
|
73
74
|
@@map("user")
|
|
74
75
|
// @@fulltext([firstName, lastName])
|
|
75
76
|
}
|
|
@@ -696,6 +697,7 @@ model OptIn {
|
|
|
696
697
|
chat Chat?
|
|
697
698
|
campaignInvites CampaignInvite[]
|
|
698
699
|
trolleyPayments TrolleyPayment[]
|
|
700
|
+
affiliateClicks AffiliateClick[]
|
|
699
701
|
|
|
700
702
|
@@index([userId])
|
|
701
703
|
@@index([campaignId])
|
|
@@ -895,10 +897,12 @@ model AffiliateClick {
|
|
|
895
897
|
id Int @id @default(autoincrement())
|
|
896
898
|
created DateTime @default(now())
|
|
897
899
|
visitorIp String?
|
|
900
|
+
optInId Int
|
|
898
901
|
metaData Json @default("{}")
|
|
899
902
|
|
|
900
903
|
affiliateLinkId Int
|
|
901
904
|
|
|
905
|
+
optin OptIn @relation(fields: [optInId], references: [id])
|
|
902
906
|
affiliateLink AffiliateLink @relation(fields: [affiliateLinkId], references: [id])
|
|
903
907
|
affiliateEvent AffiliateEvent[]
|
|
904
908
|
}
|
package/default.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './index'
|
package/default.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = { ...require('./index.js') }
|