@bash-app/bash-common 30.58.0 → 30.59.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "30.58.0",
3
+ "version": "30.59.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -372,6 +372,11 @@ model BashEvent {
372
372
  venue Venue? @relation(fields: [venueId], references: [id])
373
373
  userPromoCodeRedemption UserPromoCodeRedemption[]
374
374
  averageRating Float? @default(0)
375
+ allowDonations Boolean? @default(true)
376
+ suggestedDonationAmount Int? // stored in cents like other prices
377
+ donationDetails String?
378
+ absorbDonationFees Boolean @default(false)
379
+ absorbTicketFees Boolean @default(false)
375
380
  serviceBookings ServiceBooking[] // Add this field to create the reverse relation
376
381
  userReport UserReport[]
377
382
  favoritedBy UserFavorite[]