style(ui): request that all types defined

- check in more restrictive mode = request types
- define main types in static/js/core/types.js
This commit is contained in:
Edouard Vanbelle
2026-04-30 02:02:27 +02:00
parent 97ea87efc2
commit 3050556dc0
29 changed files with 560 additions and 345 deletions
+2 -2
View File
@@ -165,7 +165,7 @@ const fileSharing = {
/**
* Format expiration date for display (Unix timestamp in seconds or ISO string)
* @param {number|string} value
* @param {number|Date} value
* @returns {string}
*/
formatExpirationDate(value) {
@@ -177,7 +177,7 @@ const fileSharing = {
* Send a notification about a shared resource (stub — no backend endpoint yet)
* @param {string} shareUrl
* @param {string} recipientEmail
* @param {string} message
* @param {string} _message
* @returns {Promise<boolean>}
*/
async sendShareNotification(shareUrl, recipientEmail, _message = '') {