@bash-app/bash-common 20.5.1 → 20.5.2

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.1",
3
+ "version": "20.5.2",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -337,11 +337,10 @@ enum UserSubscriptionType {
337
337
  }
338
338
 
339
339
  model SubServiceSubscription {
340
- id String @id @default(cuid())
340
+ id String @id @default(cuid())
341
341
  ownerId String
342
- owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
343
- type ServiceType
344
- slots Int @default(0)
342
+ owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
343
+ slots Int @default(0)
345
344
  stripeSubscriptionId String?
346
345
  }
347
346