0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

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

This commit is contained in:
Darcy Ye 2024-06-19 19:47:48 +08:00 committed by GitHub
parent 97efe1e734
commit 53ada32251
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.