@bash-app/bash-common 30.154.0 → 30.155.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.154.0",
3
+ "version": "30.155.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",
@@ -5740,6 +5740,7 @@ enum BirthdayFreebieCategory {
5740
5740
  enum BirthdayFreebieExpirationType {
5741
5741
  DayOf
5742
5742
  Valid30Days
5743
+ ValidDays
5743
5744
  }
5744
5745
 
5745
5746
  enum BirthdayOfferQualityTier {
@@ -5786,6 +5787,8 @@ model BirthdayFreebieCatalog {
5786
5787
  qualityTier BirthdayOfferQualityTier? // Awesome / Okay / Lame — set by super users on approve
5787
5788
  address String? @db.Text // For Maps and display
5788
5789
  redemptionNotes String? @db.Text // Conditions, limitations
5790
+ expirationDays Int? // when Valid30Days with custom count
5791
+ isNational Boolean @default(false)
5789
5792
  createdAt DateTime @default(now())
5790
5793
  updatedAt DateTime @updatedAt
5791
5794
 
@@ -5795,6 +5798,7 @@ model BirthdayFreebieCatalog {
5795
5798
 
5796
5799
  @@index([stateSlug, citySlug])
5797
5800
  @@index([isActive])
5801
+ @@index([isNational])
5798
5802
  @@index([sector])
5799
5803
  }
5800
5804