aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unstable/Config/Lexicon/Preset.php
blob: b2a98ed5647d0a00e947e550469218dfd7cb769e (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?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
 * @deprecated 32.0.0  use \OCP\Config\Lexicon\Preset
 * @see \OCP\Config\Lexicon\Preset
 */
enum Preset: int {
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case LARGE = 8;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case MEDIUM = 7;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case SMALL = 6;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case SHARED = 5;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case EDUCATION = 4;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case CLUB = 3;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case FAMILY = 2;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case PRIVATE = 1;
	/**
	 * @experimental 32.0.0
	 * @deprecated 32.0.0
	 */
	case NONE = 0;
}