add-on-codes.ts 463 B

12345678910
  1. export const AI_STANDALONE_PLAN_CODE = 'assistant'
  2. export const AI_ADD_ON_CODE = 'assistant'
  3. // we dont want translations on plan or add-on names
  4. export const ADD_ON_NAME = "Error Assist"
  5. export const AI_STANDALONE_PLAN_NAME = "Overleaf Free"
  6. export const AI_STANDALONE_ANNUAL_PLAN_CODE = 'assistant-annual'
  7. export function isStandaloneAiPlanCode(planCode: string) {
  8. return planCode === AI_STANDALONE_PLAN_CODE || planCode === AI_STANDALONE_ANNUAL_PLAN_CODE
  9. }