@bash-app/bash-common 29.44.3 → 29.47.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 +1 -1
- package/prisma/schema.prisma +6 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -191,6 +191,7 @@ model BashEvent {
|
|
|
191
191
|
title String
|
|
192
192
|
creatorId String
|
|
193
193
|
creator User @relation("CreatedEvent", fields: [creatorId], references: [id], onDelete: Cascade)
|
|
194
|
+
isApproved Boolean?
|
|
194
195
|
description String?
|
|
195
196
|
eventType String @default("Other")
|
|
196
197
|
startDateTime DateTime? @default(now())
|
|
@@ -986,6 +987,9 @@ model ServiceListingSubscription {
|
|
|
986
987
|
stripeCheckoutSessionId String? @unique
|
|
987
988
|
stripeSubscriptionId String? @unique
|
|
988
989
|
|
|
990
|
+
lastCheckoutSessionCreatedAt DateTime
|
|
991
|
+
checkoutInProgress Boolean @default(false)
|
|
992
|
+
|
|
989
993
|
subscriptionStatus ServiceSubscriptionStatus @default(None)
|
|
990
994
|
|
|
991
995
|
serviceId String @unique
|
|
@@ -1002,6 +1006,8 @@ model Service {
|
|
|
1002
1006
|
serviceStatus ServiceStatus @default(Draft)
|
|
1003
1007
|
serviceCondition ServiceCondition @default(Pending)
|
|
1004
1008
|
|
|
1009
|
+
isApproved Boolean @default(false)
|
|
1010
|
+
|
|
1005
1011
|
// current owner
|
|
1006
1012
|
ownerId String?
|
|
1007
1013
|
owner User? @relation("OwnedService", fields: [ownerId], references: [id])
|