@bash-app/bash-common 29.40.2 → 29.40.4

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.40.2",
3
+ "version": "29.40.4",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -953,6 +953,8 @@ model ServiceListingSubscription {
953
953
 
954
954
  serviceId String? @unique
955
955
  service Service? @relation(fields: [serviceId], references: [id], onDelete: Restrict)
956
+
957
+ @@index([stripeCheckoutSessionId, stripeSubscriptionId])
956
958
  }
957
959
 
958
960
  // Common data for all services; 1-1 relation between each individual service model such as Venue
@@ -288,8 +288,8 @@ export interface StripeCreateServiceSubscriptionCheckoutSessionArgs {
288
288
  currency: string;
289
289
  paymentMethodType: string;
290
290
  promoCode?: string;
291
- successUrl?: string;
292
- cancelUrl?: string;
291
+ successUrl: string;
292
+ cancelUrl: string;
293
293
  }
294
294
 
295
295