mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #24816 from overleaf/jdt-update-checkout-for-bundle
Update checkout pages for AI Assist bundle content GitOrigin-RevId: e2e1b705dd92e0858835d18eb6d8c5750030e550
This commit is contained in:
committed by
Copybot
parent
6973ba4244
commit
fbbba7a3df
@@ -1,14 +1,14 @@
|
||||
import { PaidSubscription } from "../../../../../types/subscription/dashboard/subscription"
|
||||
import { PendingPaymentProviderPlan } from "../../../../../types/subscription/plan"
|
||||
|
||||
export const AI_STANDALONE_PLAN_CODE = 'assistant'
|
||||
export const AI_ASSIST_STANDALONE_MONTHLY_PLAN_CODE = 'assistant'
|
||||
export const AI_ADD_ON_CODE = 'assistant'
|
||||
// we dont want translations on plan or add-on names
|
||||
export const ADD_ON_NAME = "Error Assist"
|
||||
export const AI_STANDALONE_ANNUAL_PLAN_CODE = 'assistant-annual'
|
||||
export const AI_ASSIST_STANDALONE_ANNUAL_PLAN_CODE = 'assistant-annual'
|
||||
|
||||
export function isStandaloneAiPlanCode(planCode: string) {
|
||||
return planCode === AI_STANDALONE_PLAN_CODE || planCode === AI_STANDALONE_ANNUAL_PLAN_CODE
|
||||
return planCode === AI_ASSIST_STANDALONE_MONTHLY_PLAN_CODE || planCode === AI_ASSIST_STANDALONE_ANNUAL_PLAN_CODE
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user