@bash-app/bash-common 29.33.0 → 29.35.0
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/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -816,6 +816,42 @@ enum SponsorType {
|
|
|
816
816
|
CompetitionPrizeProvider
|
|
817
817
|
}
|
|
818
818
|
|
|
819
|
+
model SocialMediaProfile {
|
|
820
|
+
id String @id @default(uuid())
|
|
821
|
+
platform SocialMediaPlatform // Enum type for platform
|
|
822
|
+
url String // URL to the social media profile
|
|
823
|
+
user User @relation(fields: [userId], references: [id])
|
|
824
|
+
userId String
|
|
825
|
+
|
|
826
|
+
@@unique([userId, platform]) // Ensure each user has only one profile per platform
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
enum SocialMediaPlatform {
|
|
830
|
+
Facebook
|
|
831
|
+
Instagram
|
|
832
|
+
LinkedIn
|
|
833
|
+
TikTok
|
|
834
|
+
X
|
|
835
|
+
YouTube
|
|
836
|
+
Snapchat
|
|
837
|
+
Pinterest
|
|
838
|
+
Reddit
|
|
839
|
+
WhatsApp
|
|
840
|
+
Messenger
|
|
841
|
+
Telegram
|
|
842
|
+
Discord
|
|
843
|
+
Clubhouse
|
|
844
|
+
Twitch
|
|
845
|
+
Medium
|
|
846
|
+
BeReal
|
|
847
|
+
Mastodon
|
|
848
|
+
Tumblr
|
|
849
|
+
Threads
|
|
850
|
+
WeChat
|
|
851
|
+
Vk
|
|
852
|
+
Line
|
|
853
|
+
}
|
|
854
|
+
|
|
819
855
|
model User {
|
|
820
856
|
id String @id @default(cuid())
|
|
821
857
|
email String @unique
|
|
@@ -863,6 +899,7 @@ model User {
|
|
|
863
899
|
zipCode String?
|
|
864
900
|
country String? @default("US")
|
|
865
901
|
phone String?
|
|
902
|
+
socialMediaProfiles SocialMediaProfile[]
|
|
866
903
|
documentIDId String? @unique
|
|
867
904
|
documentID DocumentID?
|
|
868
905
|
comment BashComment[]
|
|
@@ -1168,7 +1205,7 @@ model Venue {
|
|
|
1168
1205
|
vibe String?
|
|
1169
1206
|
dress String?
|
|
1170
1207
|
|
|
1171
|
-
pricingPlan VenuePricingPlan?
|
|
1208
|
+
pricingPlan VenuePricingPlan?
|
|
1172
1209
|
subscriptionStatus SubscriptionStatus?
|
|
1173
1210
|
subscriptionStartDate DateTime?
|
|
1174
1211
|
|
|
@@ -14,7 +14,7 @@ export type VenuePricingPlanMap = {
|
|
|
14
14
|
|
|
15
15
|
export const VenuePricingPlanData: VenuePricingPlanMap = {
|
|
16
16
|
[VenuePricingPlanOption.Percentage]: {
|
|
17
|
-
name: "Pay per booking
|
|
17
|
+
name: "Pay per booking",
|
|
18
18
|
description: "15% of each booking goes to Bash.",
|
|
19
19
|
percentageFee: 0.15,
|
|
20
20
|
monthlyFee: 0.0,
|