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

feat(schemas): add new pro202411 reserved plan ID #6839

Merged
Merged
Changes from 1 commit
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
11 changes: 11 additions & 0 deletions packages/schemas/src/consts/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,22 @@
*/
export enum ReservedPlanId {
Free = 'free',
/**
* @deprecated
* Grandfathered pro plan ID deprecated from 2024-11.
simeng-li marked this conversation as resolved.
Show resolved Hide resolved
* Use {@link Pro202411} instead.
*/
Pro = 'pro',
Development = 'dev',
/**
* This plan ID is reserved for Admin tenant.
* In our new pricing model, we plan to add a special plan for Admin tenant, previously, admin tenant is using the `pro` plan, which is not suitable.
*/
Admin = 'admin',
/**
* New pro plan ID applied from 2024-11.
* This plan ID will used for new pro plan users.
* Deprecated {@link Pro} plan ID only for grandfathered users.
simeng-li marked this conversation as resolved.
Show resolved Hide resolved
*/
Pro202411 = 'pro-202411',
}
Loading