@bash-app/bash-common 30.7.0 → 30.8.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.7.0",
3
+ "version": "30.8.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -245,8 +245,14 @@ model Invitation {
245
245
  @@index([email])
246
246
  }
247
247
 
248
+ enum BashEventSource {
249
+ Bash
250
+ Eventbrite
251
+ }
252
+
248
253
  model BashEvent {
249
254
  id String @id @default(cuid())
255
+ source BashEventSource @default(Bash)
250
256
  title String
251
257
  creatorId String
252
258
  creator User @relation("CreatedEvent", fields: [creatorId], references: [id], onDelete: Cascade)