summaryrefslogtreecommitdiffstats
path: root/src/models/constants.ts
diff options
context:
space:
mode:
authorVassilis Kritharakis <bkrith@hotmail.com>2022-05-02 02:27:54 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-09-22 18:07:46 +0200
commit9038e7d71f2e184fb16b5fafa4b4a6a1f07695a3 (patch)
tree177d788653e918c45dce0f3dd889e533e6c011ca /src/models/constants.ts
parent503b84e6fadd9650c8b688bbe89ff69e2cf85bd3 (diff)
Add org charts
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Vassilis Kritharakis <bkrith@hotmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src/models/constants.ts')
-rw-r--r--src/models/constants.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/models/constants.ts b/src/models/constants.ts
index 764c2361..dde4f8df 100644
--- a/src/models/constants.ts
+++ b/src/models/constants.ts
@@ -25,6 +25,7 @@ import { translate as t } from '@nextcloud/l10n'
import { Type } from '@nextcloud/sharing'
export type DefaultGroup = string
+export type DefaultChart = string
export type CircleConfig = number
export type MemberLevel = number
export type MemberType = number
@@ -37,8 +38,12 @@ export const GROUP_ALL_CONTACTS: DefaultGroup = t('contacts', 'All contacts')
export const GROUP_NO_GROUP_CONTACTS: DefaultGroup = t('contacts', 'Not grouped')
export const GROUP_RECENTLY_CONTACTED: DefaultGroup = t('contactsinteraction', 'Recently contacted')
+// Organization default chart for all contacts
+export const CHART_ALL_CONTACTS: DefaultChart = t('contacts', 'Organization chart')
+
// Circle route, see vue-router conf
export const ROUTE_CIRCLE = 'circle'
+export const ROUTE_CHART = 'chart'
// Default max number of items to show in the navigation
export const ELLIPSIS_COUNT = 5