Skip to content

Commit a5d15da

Browse files
committed
feat: add type for user group
1 parent ecfbe22 commit a5d15da

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/Pages/GlobalConfigurations/Authorization/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
*/
1616

1717
export * from './constants'
18-
export type { UserListFilterParams, UserRoleGroup } from './types'
18+
export type { UserListFilterParams, UserRoleGroup, UserGroupType } from './types'
1919
export * from './shared'

src/Pages/GlobalConfigurations/Authorization/types.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,20 @@ export interface UserRoleGroup {
4848
*/
4949
timeToLive: string
5050
}
51+
52+
export interface UserGroupType {
53+
/**
54+
* Unique display name of the user group
55+
*/
56+
name: string
57+
/**
58+
* Unique id of the user group
59+
*
60+
* Follows the validation for app name
61+
*/
62+
userGroupId: string
63+
/**
64+
* Associated description
65+
*/
66+
description: string
67+
}

0 commit comments

Comments
 (0)