Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(schemas): add legacy-pro tag to reserved plan ID #6061

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading