Fix JSDoc errors: remove unsupported @constant tags and correct @param names

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 10:20:05 +08:00
co-authored by Claude Opus 4.6
parent 093eabaea3
commit 97748bea60
5 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -309,8 +309,8 @@ export const useAcctMgmtStore = defineStore('acctMgmtStore', {
},
/**
* According to mouseover or mouseleave status, change the bool value.
* @param {string} username
* @param {boolean} isEditHovered
* @param {string} username
* @param {boolean} isDetailHovered
*/
changeIsDetailHoveredByUser(username: string, isDetailHovered: boolean) {
const userToChange = this.allUserAccountList.find(user => user.username === username);
+1 -1
View File
@@ -40,7 +40,7 @@ export const useCytoscapeStore = defineStore('cytoscapeStore', {
actions: {
/**
* Saves or updates the position of a single node.
* @param {string} id - The node ID.
* @param {string} nodeId - The node ID.
* @param {{x: number, y: number}} position - The node position.
* @param {string} direction - Layout direction ('TB' or 'LR').
*/
+1 -1
View File
@@ -231,7 +231,7 @@ export const useFilesStore = defineStore("filesStore", {
* Rename a Log
* @param {string} type - The file type ('log', 'filter', 'log-check', or 'filter-check').
* @param {number} id - The file ID.
* @param {string} name - The file name.
* @param {string} fileName - The file name.
*/
async rename(type, id, fileName) {
// If uploadLogId exists, set id and type accordingly; then check the file type.
+1 -1
View File
@@ -101,7 +101,7 @@ export const usePageAdminStore = defineStore("pageAdminStore", {
* Also, start pending state.
* Often, user triggers the modal and the pending state starts.
* Note: String conversion is needed. For Example, CheckMap is converted into MAP
* @param {string} pendingActivePage
* @param {string} argPendingActivePage
*/
setPendingActivePage(argPendingActivePage) {
printPageAdminLog &&