@bash-app/bash-common 30.99.0 → 30.101.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.99.0",
3
+ "version": "30.101.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",
@@ -327,7 +327,9 @@ model BashEvent {
327
327
  absorbDonationFees Boolean @default(false)
328
328
  absorbTicketFees Boolean @default(false)
329
329
  showAttendees Boolean @default(true)
330
- serviceVisibility Json?
330
+ servicePreferences Json? // New tiered status: { "Entertainment": "need", "Sponsors": "booked_closed", ... }
331
+ bookedServices Json? // Booked service details: { "Entertainment": { serviceId: "...", providerId: "...", bookedAt: "..." }, ... }
332
+ serviceVisibility Json? // DEPRECATED: Use servicePreferences instead. Kept for backward compatibility during migration.
331
333
  originalCreatorId String?
332
334
  transferredAt DateTime?
333
335
  transferredFromId String?
@@ -4260,6 +4262,15 @@ enum ScoutTier {
4260
4262
  Agent
4261
4263
  }
4262
4264
 
4265
+ enum ServicePreference {
4266
+ need // "Actively Seeking" - green badge, urgent priority
4267
+ open // "Open to Offers" - accepting submissions, default state
4268
+ considering // "Reviewing Options" - yellow, host is reviewing submissions
4269
+ booked_flexible // "Booked - Open to Alternatives" - orange, show current + allow alternatives
4270
+ booked_closed // "Booked" - gray, show current, no new submissions
4271
+ covered // "Covered" - gray, handled outside platform
4272
+ }
4273
+
4263
4274
  // ============================================
4264
4275
  // Security & Audit Models
4265
4276
  // ============================================