@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 +1 -1
- package/prisma/schema.prisma +2 -0
- package/src/definitions.ts +2 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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
|
package/src/definitions.ts
CHANGED
|
@@ -288,8 +288,8 @@ export interface StripeCreateServiceSubscriptionCheckoutSessionArgs {
|
|
|
288
288
|
currency: string;
|
|
289
289
|
paymentMethodType: string;
|
|
290
290
|
promoCode?: string;
|
|
291
|
-
successUrl
|
|
292
|
-
cancelUrl
|
|
291
|
+
successUrl: string;
|
|
292
|
+
cancelUrl: string;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
|