mirror of https://github.com/ghostfolio/ghostfolio
7 changed files with 17 additions and 29 deletions
@ -1,8 +1,8 @@ |
|||||
import { AdminUsers } from '@ghostfolio/common/interfaces'; |
import { AdminUsersResponse } from '@ghostfolio/common/interfaces'; |
||||
|
|
||||
export interface UserDetailDialogParams { |
export interface UserDetailDialogParams { |
||||
deviceType: string; |
deviceType: string; |
||||
hasPermissionForSubscription: boolean; |
hasPermissionForSubscription: boolean; |
||||
locale: string; |
locale: string; |
||||
userData: AdminUsers['users'][0]; |
userData: AdminUsersResponse['users'][0]; |
||||
} |
} |
||||
|
|||||
@ -1,16 +0,0 @@ |
|||||
import { Role } from '@prisma/client'; |
|
||||
|
|
||||
export interface AdminUsers { |
|
||||
count: number; |
|
||||
users: { |
|
||||
accountCount: number; |
|
||||
activityCount: number; |
|
||||
country: string; |
|
||||
createdAt: Date; |
|
||||
dailyApiRequests: number; |
|
||||
engagement: number; |
|
||||
id: string; |
|
||||
lastActivity: Date; |
|
||||
role: Role; |
|
||||
}[]; |
|
||||
} |
|
||||
Loading…
Reference in new issue