aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/constants/AppsConstants.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/constants/AppsConstants.js')
-rw-r--r--apps/settings/src/constants/AppsConstants.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/settings/src/constants/AppsConstants.js b/apps/settings/src/constants/AppsConstants.js
new file mode 100644
index 00000000000..c90e35c84ce
--- /dev/null
+++ b/apps/settings/src/constants/AppsConstants.js
@@ -0,0 +1,18 @@
+/**
+ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+import { translate as t } from '@nextcloud/l10n'
+
+/** Enum of verification constants, according to Apps */
+export const APPS_SECTION_ENUM = Object.freeze({
+ discover: t('settings', 'Discover'),
+ installed: t('settings', 'Your apps'),
+ enabled: t('settings', 'Active apps'),
+ disabled: t('settings', 'Disabled apps'),
+ updates: t('settings', 'Updates'),
+ 'app-bundles': t('settings', 'App bundles'),
+ featured: t('settings', 'Featured apps'),
+ supported: t('settings', 'Supported apps'), // From subscription
+})