entitlements FE

This commit is contained in:
Alex Holliday committed 2025-11-28 22:48:32 +00:00
1 parent c43241eb52
commit e600f293b0
23 files changed
+124 -88

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
export type EntitlemenstKey = keyof Entitlements;
export interface Entitlements {
plan: string;
monitorsMax: number;
notificationChannelsMax: number;
statusPagesMax: number;
checksIntervalMsMin: number;
teamsMax: number;
notificationsEnabled: boolean;
retentionDays: number;
}
+3
View File
@@ -1,3 +1,5 @@
import type { Entitlements } from "./entitlements";
export interface IUser {
id: string;
email: string;
@@ -12,6 +14,7 @@ export interface IUser {
name: string;
permissions: string;
}[];
entitlements: Entitlements;
}
export interface IMongoUser {
_id: string;