Skip to content

Commit 4de3145

Browse files
committed
refactor: update user plans
1 parent e610fc0 commit 4de3145

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.changeset/new-memes-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@squarecloud/api-types": patch
3+
---
4+
5+
Added `advanced` and `enterprise-24` plans

.changeset/shaggy-jobs-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@squarecloud/api-types": patch
3+
---
4+
5+
Removed `student` and `enterprise-16` plans

payloads/v2/user.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ApplicationLanguage } from "./application";
66
* @see https://docs.squarecloud.app/api-reference/endpoint/users/me
77
*/
88
export type EnterprisePlanSizes =
9-
| 16
9+
| 24
1010
| 32
1111
| 48
1212
| 64
@@ -31,16 +31,16 @@ export type EnterprisePlanSizes =
3131
*/
3232
type UserPlanName =
3333
| "free"
34-
| "student"
3534
| "hobby"
3635
| "standard"
36+
| "advanced"
3737
| "pro"
3838
| `enterprise-${EnterprisePlanSizes}`;
3939
export const UserPlanName = {
4040
Free: "free",
41-
Student: "student",
4241
Hobby: "hobby",
4342
Standard: "standard",
43+
Advanced: "advanced",
4444
Pro: "pro",
4545
Enterprise: (size: EnterprisePlanSizes) => `enterprise-${size}`,
4646
};

0 commit comments

Comments
 (0)