@bash-app/bash-common 29.19.30 → 29.19.32

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.19.30",
3
+ "version": "29.19.32",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -726,6 +726,8 @@ model Media {
726
726
  serviceReferencingMe Service[]
727
727
  volunteerService VolunteerService? @relation(fields: [volunteerServiceId], references: [id])
728
728
  volunteerServiceId String?
729
+
730
+ stripeAccount StripeAccount[]
729
731
  }
730
732
 
731
733
  enum MediaType {
@@ -1018,10 +1020,13 @@ model StripeAccount {
1018
1020
  id String @id @default(cuid())
1019
1021
 
1020
1022
  ownerId String
1021
- owner User @relation(fields: [ownerId], references: [id])
1023
+ owner User @relation(fields: [ownerId], references: [id], onDelete: Restrict)
1022
1024
 
1023
1025
  stripeAccountId String
1024
1026
 
1027
+ logoId String?
1028
+ logo Media? @relation(fields: [logoId], references: [id], onDelete: SetNull)
1029
+
1025
1030
  createdAt DateTime @default(now())
1026
1031
  updatedAt DateTime @updatedAt
1027
1032