@bash-app/bash-common 20.5.0 → 20.5.1

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": "20.5.0",
3
+ "version": "20.5.1",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -336,7 +336,7 @@ enum UserSubscriptionType {
336
336
  VIP
337
337
  }
338
338
 
339
- model SubServiceSubcription {
339
+ model SubServiceSubscription {
340
340
  id String @id @default(cuid())
341
341
  ownerId String
342
342
  owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
@@ -793,11 +793,11 @@ enum SponsorType {
793
793
  }
794
794
 
795
795
  model User {
796
- id String @id @default(cuid())
797
- email String @unique
798
- createdOn DateTime @default(now())
799
- stripeCustomerId String? @unique
800
- stripeAccountId String? @unique
796
+ id String @id @default(cuid())
797
+ email String @unique
798
+ createdOn DateTime @default(now())
799
+ stripeCustomerId String? @unique
800
+ stripeAccountId String? @unique
801
801
  googleCalendarAccess String?
802
802
  givenName String?
803
803
  familyName String?
@@ -808,11 +808,11 @@ model User {
808
808
  dob DateTime?
809
809
  gender Gender?
810
810
  sex Sex?
811
- roles UserRole[] @default([User])
811
+ roles UserRole[] @default([User])
812
812
  services Service[]
813
- createdEvents BashEvent[] @relation("CreatedEvent")
814
- ticketsISent Ticket[] @relation("TicketsISent")
815
- ticketsIOwn Ticket[] @relation("TicketsIOwn")
813
+ createdEvents BashEvent[] @relation("CreatedEvent")
814
+ ticketsISent Ticket[] @relation("TicketsISent")
815
+ ticketsIOwn Ticket[] @relation("TicketsIOwn")
816
816
  reviews Review[]
817
817
  sponsorships SponsoredEvent[]
818
818
  investments Investment[]
@@ -835,18 +835,18 @@ model User {
835
835
  city String?
836
836
  state String?
837
837
  postalCode String?
838
- country String? @default("US")
838
+ country String? @default("US")
839
839
  phone String?
840
- documentIDId String? @unique
840
+ documentIDId String? @unique
841
841
  documentID DocumentID?
842
842
  comment BashComment[]
843
843
  associatedBashes AssociatedBash[]
844
- invitationsCreatedByMe Invitation[] @relation("InvitationsCreatedByMe")
845
- invitationsSentToMe Invitation[] @relation("InvitationsSentToMe")
846
- notificationsCreatedByMe BashNotification[] @relation("NotificationsCreatedByMe")
847
- remindersCreatedByMe Reminder[] @relation("RemindersCreatedByMe")
848
- remindersAssignedToMe Reminder[] @relation("RemindersAssignedToMe")
849
- eventTasksAssignedToMe EventTask[] @relation("TasksAssignedToMe")
844
+ invitationsCreatedByMe Invitation[] @relation("InvitationsCreatedByMe")
845
+ invitationsSentToMe Invitation[] @relation("InvitationsSentToMe")
846
+ notificationsCreatedByMe BashNotification[] @relation("NotificationsCreatedByMe")
847
+ remindersCreatedByMe Reminder[] @relation("RemindersCreatedByMe")
848
+ remindersAssignedToMe Reminder[] @relation("RemindersAssignedToMe")
849
+ eventTasksAssignedToMe EventTask[] @relation("TasksAssignedToMe")
850
850
  checkouts Checkout[]
851
851
  ticketTiersWaitListsIveJoined TicketTier[]
852
852
  contacts Contact[]
@@ -854,7 +854,7 @@ model User {
854
854
  ServiceCheckout ServiceCheckout[]
855
855
  bookingForMe Booking[]
856
856
  bashSubscription UserSubscription?
857
- subServiceSubcriptions SubServiceSubcription[]
857
+ subServiceSubcriptions SubServiceSubscription[]
858
858
  }
859
859
 
860
860
  model Contact {