@bash-app/bash-common 29.34.0 → 29.35.1
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 +1 -1
- package/prisma/schema.prisma +38 -0
- package/src/definitions.ts +0 -8
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -816,6 +816,43 @@ enum SponsorType {
|
|
|
816
816
|
CompetitionPrizeProvider
|
|
817
817
|
}
|
|
818
818
|
|
|
819
|
+
model SocialMediaProfile {
|
|
820
|
+
id String @id @default(uuid())
|
|
821
|
+
platform SocialMediaPlatform
|
|
822
|
+
url String
|
|
823
|
+
visibility VisibilityPreference @default(Private)
|
|
824
|
+
user User @relation(fields: [userId], references: [id])
|
|
825
|
+
userId String
|
|
826
|
+
|
|
827
|
+
@@unique([userId, platform])
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
enum SocialMediaPlatform {
|
|
831
|
+
Facebook
|
|
832
|
+
Instagram
|
|
833
|
+
LinkedIn
|
|
834
|
+
TikTok
|
|
835
|
+
X
|
|
836
|
+
YouTube
|
|
837
|
+
Snapchat
|
|
838
|
+
Pinterest
|
|
839
|
+
Reddit
|
|
840
|
+
WhatsApp
|
|
841
|
+
Messenger
|
|
842
|
+
Telegram
|
|
843
|
+
Discord
|
|
844
|
+
Clubhouse
|
|
845
|
+
Twitch
|
|
846
|
+
Medium
|
|
847
|
+
BeReal
|
|
848
|
+
Mastodon
|
|
849
|
+
Tumblr
|
|
850
|
+
Threads
|
|
851
|
+
WeChat
|
|
852
|
+
Vk
|
|
853
|
+
Line
|
|
854
|
+
}
|
|
855
|
+
|
|
819
856
|
model User {
|
|
820
857
|
id String @id @default(cuid())
|
|
821
858
|
email String @unique
|
|
@@ -863,6 +900,7 @@ model User {
|
|
|
863
900
|
zipCode String?
|
|
864
901
|
country String? @default("US")
|
|
865
902
|
phone String?
|
|
903
|
+
socialMediaProfiles SocialMediaProfile[]
|
|
866
904
|
documentIDId String? @unique
|
|
867
905
|
documentID DocumentID?
|
|
868
906
|
comment BashComment[]
|
package/src/definitions.ts
CHANGED
|
@@ -283,14 +283,6 @@ export interface StripeCreateBashEventDonationCheckoutSessionArgs {
|
|
|
283
283
|
donationAmount: number;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
export interface StripeCreateServiceSubscriptionCheckoutSessionArgs {
|
|
287
|
-
serviceId: string;
|
|
288
|
-
currency: string;
|
|
289
|
-
paymentMethodType: string;
|
|
290
|
-
promoCode?: string;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
|
|
294
286
|
export type StripeSessionRedirect = {
|
|
295
287
|
stripeAccountIdDB: string;
|
|
296
288
|
redirectUrl: string;
|