@bash-app/bash-common 30.34.0 → 30.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 +1 -1
- package/prisma/schema.prisma +14 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1071,6 +1071,20 @@ model User {
|
|
|
1071
1071
|
blocksReceived BlockedUser[] @relation("UserBlocksReceived")
|
|
1072
1072
|
unblocksCreated UnblockedUserHistory[] @relation("UserUnblocksMade")
|
|
1073
1073
|
unblocksReceived UnblockedUserHistory[] @relation("UserUnblocksReceived")
|
|
1074
|
+
|
|
1075
|
+
preferences UserPreference?
|
|
1076
|
+
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
model UserPreference {
|
|
1080
|
+
id String @id @default(cuid())
|
|
1081
|
+
userId String @unique
|
|
1082
|
+
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
1083
|
+
privacySettings Json? // Stores privacy settings like hiddenBashIds and hideActivitySection
|
|
1084
|
+
theme String? // For future use - can store theme preferences
|
|
1085
|
+
notifications Json? // For future use - can store notification preferences
|
|
1086
|
+
createdAt DateTime @default(now())
|
|
1087
|
+
updatedAt DateTime @updatedAt
|
|
1074
1088
|
}
|
|
1075
1089
|
|
|
1076
1090
|
model Contact {
|