From 402e6852c1d297423074b1a23dea40374ccd78b2 Mon Sep 17 00:00:00 2001 From: nfebe Date: Mon, 18 Nov 2024 17:34:55 +0100 Subject: [PATCH 1/4] refactor: Use new `ShareType` across file_sharing Signed-off-by: nfebe --- .../src/components/SharingEntry.vue | 20 +++---- .../src/components/SharingEntryLink.vue | 4 +- .../SharingEntryQuickShareSelect.vue | 6 +-- .../src/components/SharingInput.vue | 52 ++++++++----------- apps/files_sharing/src/mixins/ShareTypes.js | 32 ------------ apps/files_sharing/src/mixins/SharesMixin.js | 9 ++-- .../src/services/ExternalShareActions.js | 2 +- apps/files_sharing/src/share.js | 26 +++++----- apps/files_sharing/src/sharebreadcrumbview.js | 4 +- .../files_sharing/src/utils/NodeShareUtils.ts | 10 ++-- apps/files_sharing/src/utils/SharedWithMe.js | 8 +-- .../src/views/SharingDetailsTab.vue | 51 +++++++++--------- .../src/views/SharingLinkList.vue | 6 +-- apps/files_sharing/src/views/SharingList.vue | 6 +-- apps/files_sharing/src/views/SharingTab.vue | 16 +++--- 15 files changed, 104 insertions(+), 148 deletions(-) delete mode 100644 apps/files_sharing/src/mixins/ShareTypes.js diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 7bd8a13814164..c5fc7c7773042 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -23,7 +23,7 @@