Merge pull request #21954 from overleaf/em-revert-ai-add-on-deploy

Revert faulty AI add-on deploy

GitOrigin-RevId: 923ec89f01d4951596f83fcf58b820c39db1e54a
This commit is contained in:
Eric Mc Sween
2024-11-19 09:05:27 +00:00
committed by Copybot
parent 27076c50cc
commit ab36c80a26
18 changed files with 89 additions and 445 deletions
@@ -1,11 +1,8 @@
export type SubscriptionChangePreview = {
change: SubscriptionChangeDescription
change: SubscriptionChange
currency: string
paymentMethod: string
immediateCharge: number
nextPlan: {
annual: boolean
}
nextInvoice: {
date: string
plan: {
@@ -30,7 +27,7 @@ type AddOn = {
amount: number
}
export type SubscriptionChangeDescription = AddOnPurchase | PremiumSubscription
type SubscriptionChange = AddOnPurchase
type AddOnPurchase = {
type: 'add-on-purchase'
@@ -39,11 +36,3 @@ type AddOnPurchase = {
name: string
}
}
type PremiumSubscription = {
type: 'premium-subscription'
plan: {
code: string
name: string
}
}