Skip to content

Commit 4188e03

Browse files
committed
feat: add usersCount key to user group dto and type
1 parent 8f8c2e3 commit 4188e03

File tree

1 file changed

+9
-1
lines changed
  • src/Pages/GlobalConfigurations/Authorization

1 file changed

+9
-1
lines changed

src/Pages/GlobalConfigurations/Authorization/types.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,19 @@ export interface UserGroupDTO {
6262
identifier: string
6363
/**
6464
* Associated description
65+
*
66+
* @default ''
6567
*/
6668
description?: string
69+
/**
70+
* Number of users assigned to the group
71+
*
72+
* @default 0
73+
*/
74+
usersCount?: number
6775
}
6876

69-
export interface UserGroupType extends Required<Pick<UserGroupDTO, 'description' | 'name'>> {
77+
export interface UserGroupType extends Required<Pick<UserGroupDTO, 'description' | 'name' | 'usersCount'>> {
7078
/**
7179
* Unique id of the user group
7280
*

0 commit comments

Comments
 (0)