Skip to content

Commit

Permalink
chore(schemas): add legacy-pro tag to reserved plan ID (#6061)
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyYe committed Jun 19, 2024
1 parent 97efe1e commit 53ada32
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/schemas/src/consts/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ export enum ReservedPlanId {
* - LOG-8339: Migrate legacy Stripe data
*/
Hobby = 'hobby',
Pro = 'pro',
/**
* @deprecated
* Now this `pro` ID is not used anymore, we use `hobby` as the `pro` plan ID.
* Only use this `pro` value when displaying the plan ID to the user.
*
* Todo @darcyYe see `Hobby` todo
* Should not use this plan ID, we only use this tag as a record for the legacy `pro` plan since we will rename the `hobby` plan to be `pro`.
*/
Pro = 'pro',
LegacyPro = 'legacy-pro',
Development = 'dev',
/**
* This plan ID is reserved for Admin tenant.
Expand Down

0 comments on commit 53ada32

Please sign in to comment.