aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/views/user-types.d.ts
blob: 21c63a13b031ea42ce21bd6fcbb2eab226247682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
 * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
export interface IGroup {
	/**
	 * Id
	 */
	id: string

	/**
	 * Display name
	 */
	name: string

	/**
	 * Overall user count
	 */
	usercount: number

	/**
	 * Number of disabled users
	 */
	disabled: number

	/**
	 * True if users can be added to this group
	 */
	canAdd?: boolean

	/**
	 * True if users can be removed from this group
	 */
	canRemove?: boolean
}