diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-23 20:42:33 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-05 13:04:29 +0100 |
commit | e210caf4cfb71195a53181cb53bab3fdcf893617 (patch) | |
tree | 15606e56957addc7299101204eed80d7d41e7afd /apps/files/src/views | |
parent | 96c477d86d63f198721fa72ae6cef17312de431e (diff) | |
download | nextcloud-server-e210caf4cfb71195a53181cb53bab3fdcf893617.tar.gz nextcloud-server-e210caf4cfb71195a53181cb53bab3fdcf893617.zip |
fix(config): Adjust typescript config to allow `.ts` imports and Typescript in Vue files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/views')
-rw-r--r-- | apps/files/src/views/FilesList.vue | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue index 07366f351a5..42423e1f451 100644 --- a/apps/files/src/views/FilesList.vue +++ b/apps/files/src/views/FilesList.vue @@ -113,7 +113,7 @@ import { orderBy } from 'natural-orderby' import { translate, translatePlural } from '@nextcloud/l10n' import { Type } from '@nextcloud/sharing' import { UploadPicker } from '@nextcloud/upload' -import Vue from 'vue' +import { defineComponent } from 'vue' import LinkIcon from 'vue-material-design-icons/Link.vue' import ListViewIcon from 'vue-material-design-icons/FormatListBulletedSquare.vue' @@ -125,23 +125,23 @@ import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' import ShareVariantIcon from 'vue-material-design-icons/ShareVariant.vue' import ViewGridIcon from 'vue-material-design-icons/ViewGrid.vue' -import { action as sidebarAction } from '../actions/sidebarAction.js' -import { useFilesStore } from '../store/files.js' -import { usePathsStore } from '../store/paths.js' -import { useSelectionStore } from '../store/selection.js' -import { useUploaderStore } from '../store/uploader.js' -import { useUserConfigStore } from '../store/userconfig.js' -import { useViewConfigStore } from '../store/viewConfig.js' +import { action as sidebarAction } from '../actions/sidebarAction.ts' +import { useFilesStore } from '../store/files.ts' +import { usePathsStore } from '../store/paths.ts' +import { useSelectionStore } from '../store/selection.ts' +import { useUploaderStore } from '../store/uploader.ts' +import { useUserConfigStore } from '../store/userconfig.ts' +import { useViewConfigStore } from '../store/viewConfig.ts' import BreadCrumbs from '../components/BreadCrumbs.vue' import FilesListVirtual from '../components/FilesListVirtual.vue' -import filesListWidthMixin from '../mixins/filesListWidth.js' -import filesSortingMixin from '../mixins/filesSorting.js' +import filesListWidthMixin from '../mixins/filesListWidth.ts' +import filesSortingMixin from '../mixins/filesSorting.ts' import logger from '../logger.js' import DragAndDropNotice from '../components/DragAndDropNotice.vue' const isSharingEnabled = (getCapabilities() as { files_sharing?: boolean })?.files_sharing !== undefined -export default Vue.extend({ +export default defineComponent({ name: 'FilesList', components: { |