aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unstable/Config/Lexicon/Preset.php
blob: 92a6fd8cbfa6a84c5b5eb552e692e5d888a5eb23 (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
36
37
38
39
40
41
42
43
44
45
46
<?php

declare(strict_types=1);
/**
 * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-only
 */

namespace NCU\Config\Lexicon;

/**
 * list of preset to handle the default behavior of the instance
 *
 * @see ConfigLexiconEntry::preset
 *
 * - **Preset::LARGE** - Large size organisation (> 50k accounts)
 * - **Preset::MEDIUM** - Medium size organisation (> 100 accounts)
 * - **Preset::SMALL** - Small size organisation (< 100 accounts)
 * - **Preset::SHARED** - Shared hosting
 * - **Preset::EDUCATION** - School/University
 * - **Preset::CLUB** - Club/Association
 * - **Preset::FAMILY** - Family
 * - **Preset::PRIVATE** - Private
 *
 * @experimental 32.0.0
 */
enum Preset: int {
	/** @experimental 32.0.0 */
	case LARGE = 8;
	/** @experimental 32.0.0 */
	case MEDIUM = 7;
	/** @experimental 32.0.0 */
	case SMALL = 6;
	/** @experimental 32.0.0 */
	case SHARED = 5;
	/** @experimental 32.0.0 */
	case EDUCATION = 4;
	/** @experimental 32.0.0 */
	case CLUB = 3;
	/** @experimental 32.0.0 */
	case FAMILY = 2;
	/** @experimental 32.0.0 */
	case PRIVATE = 1;
	/** @experimental 32.0.0 */
	case NONE = 0;
}