Task/introduce interface for get admin users response (#5903)
* Introduce interface for get admin users responsepull/5843/head
parent
592baec9f3
commit
a5f934460b
@ -1,8 +1,8 @@
|
||||
import { AdminUsers } from '@ghostfolio/common/interfaces';
|
||||
import { AdminUsersResponse } from '@ghostfolio/common/interfaces';
|
||||
|
||||
export interface UserDetailDialogParams {
|
||||
deviceType: string;
|
||||
hasPermissionForSubscription: boolean;
|
||||
locale: string;
|
||||
userData: AdminUsers['users'][0];
|
||||
userData: AdminUsersResponse['users'][0];
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Role } from '@prisma/client';
|
||||
|
||||
export interface AdminUsers {
|
||||
export interface AdminUsersResponse {
|
||||
count: number;
|
||||
users: {
|
||||
accountCount: number;
|
||||
Loading…
Reference in new issue