mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
feat(schemas): add new pro202411 reserved plan ID (#6839)
* feat(schemas): add new pro202411 reserved plan ID add new Pro202411 reserved plan ID. * fix(schemas,console): update comments and fix console update comment and fix console missing key
This commit is contained in:
parent
06fd450ab4
commit
91a4de2ae7
2 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,7 @@ const registeredPlanNamePhraseMap: Record<
|
|||
> = {
|
||||
[ReservedPlanId.Free]: 'free_plan',
|
||||
[ReservedPlanId.Pro]: 'pro_plan',
|
||||
[ReservedPlanId.Pro202411]: 'pro_plan',
|
||||
[ReservedPlanId.Development]: 'dev_plan',
|
||||
[ReservedPlanId.Admin]: 'admin_plan',
|
||||
} satisfies Record<ReservedPlanId, TFuncKey<'translation', 'admin_console.subscription'>>;
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
*/
|
||||
export enum ReservedPlanId {
|
||||
Free = 'free',
|
||||
/**
|
||||
* @deprecated
|
||||
* Grandfathered Pro plan ID deprecated from 2024-11.
|
||||
* Use {@link Pro202411} instead.
|
||||
*/
|
||||
Pro = 'pro',
|
||||
Development = 'dev',
|
||||
/**
|
||||
|
@ -13,4 +18,8 @@ export enum ReservedPlanId {
|
|||
* 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',
|
||||
/**
|
||||
* The latest Pro plan ID applied from 2024-11.
|
||||
*/
|
||||
Pro202411 = 'pro-202411',
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue