diff --git a/apps/federatedfilesharing/src/init-files.js b/apps/federatedfilesharing/src/init-files.js index 4efcb2b699b..f950d438fae 100644 --- a/apps/federatedfilesharing/src/init-files.js +++ b/apps/federatedfilesharing/src/init-files.js @@ -132,7 +132,7 @@ async function processSharesToConfirm() { * @param {string} share.name name of the shared folder * @param {string} share.token authentication token * @param {boolean} passwordProtected true if the share is password protected - * @param {Function} callback the callback + * @param {(status: boolean, share: Record & { password?: string }) => void} callback the callback */ function showAddExternalDialog(share, passwordProtected, callback) { const owner = share.ownerDisplayName || share.owner diff --git a/apps/files_reminders/src/shared/utils.ts b/apps/files_reminders/src/shared/utils.ts index 684a887285d..bff5c695ac0 100644 --- a/apps/files_reminders/src/shared/utils.ts +++ b/apps/files_reminders/src/shared/utils.ts @@ -23,8 +23,7 @@ function getFirstWorkdayOfWeek() { } /** - * - * @param date + * @param date - The date to get the week number for */ function getWeek(date: Date) { const dateClone = new Date(date) @@ -35,9 +34,8 @@ function getWeek(date: Date) { } /** - * - * @param a - * @param b + * @param a - First date + * @param b - Second date */ function isSameWeek(a: Date, b: Date) { return getWeek(a) === getWeek(b) @@ -45,9 +43,8 @@ function isSameWeek(a: Date, b: Date) { } /** - * - * @param a - * @param b + * @param a - First date + * @param b - Second date */ function isSameDate(a: Date, b: Date) { return a.getDate() === b.getDate() @@ -56,8 +53,7 @@ function isSameDate(a: Date, b: Date) { } /** - * - * @param dateTime + * @param dateTime - The preset to get the date for */ export function getDateTime(dateTime: DateTimePreset): null | Date { const matchPreset: Record null | Date> = { @@ -126,8 +122,7 @@ export function getInitialCustomDueDate(): Date { } /** - * - * @param dueDate + * @param dueDate - The date to format as a string */ export function getDateString(dueDate: Date): string { let formatOptions: Intl.DateTimeFormatOptions = { @@ -166,8 +161,7 @@ export function getDateString(dueDate: Date): string { } /** - * - * @param dueDate + * @param dueDate - The date to format as a string */ export function getVerboseDateString(dueDate: Date): string { let formatOptions: Intl.DateTimeFormatOptions = { diff --git a/apps/user_ldap/src/components/SettingsTabs/AdvancedTab.vue b/apps/user_ldap/src/components/SettingsTabs/AdvancedTab.vue index b09c30fae64..4c8ad7ebd6e 100644 --- a/apps/user_ldap/src/components/SettingsTabs/AdvancedTab.vue +++ b/apps/user_ldap/src/components/SettingsTabs/AdvancedTab.vue @@ -102,11 +102,11 @@ v-model="ldapConfigProxy.ldapGroupMemberAssocAttr" :options="Object.keys(groupMemberAssociation)" :inputLabel="t('user_ldap', 'Group-Member association')"> -