0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-26 09:57:51 +00:00
nextcloud_server/apps/systemtags/src/init.ts
skjnldsv 76e728eb98 feat(systemtags): add systemtag manage keyboard shortcut
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 10:18:57 +01:00

22 lines
854 B
TypeScript

/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { registerDavProperty, registerFileAction } from '@nextcloud/files'
import { registerHotkeys } from './services/HotKeysService'
import { registerSystemTagsView } from './files_views/systemtagsView'
import { action as bulkSystemTagsAction } from './files_actions/bulkSystemTagsAction'
import { action as inlineSystemTagsAction } from './files_actions/inlineSystemTagsAction'
import { action as openInFilesAction } from './files_actions/openInFilesAction'
registerDavProperty('nc:system-tags')
registerFileAction(bulkSystemTagsAction)
registerFileAction(inlineSystemTagsAction)
registerFileAction(openInFilesAction)
registerSystemTagsView()
document.addEventListener('DOMContentLoaded', () => {
registerHotkeys()
})