entitlements FE
This commit is contained in:
1 parent
c43241eb52
commit
e600f293b0
23 files changed
+124
-88
No files matched your search
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user