@bash-app/bash-common 29.37.2 → 29.38.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": "29.37.2",
3
+ "version": "29.38.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",
@@ -943,8 +943,9 @@ model ServiceSubscription {
943
943
  }
944
944
 
945
945
  model ServiceListingSubscription {
946
- id String @id @default(cuid())
947
- stripeSubscriptionId String?
946
+ id String @id @default(cuid())
947
+ stripeCheckoutSessionId String? @unique
948
+ stripeSubscriptionId String? @unique
948
949
 
949
950
  serviceId String? @unique
950
951
  service Service? @relation(fields: [serviceId], references: [id], onDelete: Restrict)
@@ -328,7 +328,7 @@ export const SERVICE_DATA_TO_INCLUDE = {
328
328
  // eventTasks: true,
329
329
  media: true,
330
330
  stripeAccount: {
331
- ...STRIPE_ACCOUNT_DATA_TO_INCLUDE,
331
+ // ...STRIPE_ACCOUNT_DATA_TO_INCLUDE,
332
332
  select: PUBLIC_STRIPE_ACCOUNT_DATA_TO_SELECT
333
333
  },
334
334
  serviceListingSubscription: {