fix: Resolve all TypeScript build errors — path aliases + unused params

Adds baseUrl and @/* path mapping to tsconfig.app.json so vue-tsc can
resolve @/types, @/stores, and @/composables. Prefixes unused stub
parameters with _ to satisfy noUnusedParameters. Full build now passes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-02-14 23:00:26 -05:00
parent da571b5b86
commit e237333861
3 changed files with 9 additions and 5 deletions

View File

@@ -10,15 +10,15 @@ export const usePluginStore = defineStore('plugins', () => {
// TODO: GET /api/plugins // TODO: GET /api/plugins
} }
async function installPlugin(slug: string) { async function installPlugin(_slug: string) {
// TODO: POST /api/plugins/install // TODO: POST /api/plugins/install
} }
async function reloadPlugin(pluginId: string) { async function reloadPlugin(_pluginId: string) {
// TODO: POST /api/plugins/:id/reload // TODO: POST /api/plugins/:id/reload
} }
async function searchUmod(query: string) { async function searchUmod(_query: string) {
// TODO: GET /api/plugins/search?q=query // TODO: GET /api/plugins/search?q=query
} }

View File

@@ -20,11 +20,11 @@ export const useWipeStore = defineStore('wipe', () => {
// TODO: GET /api/wipes/history // TODO: GET /api/wipes/history
} }
async function triggerWipe(wipeType: string, profileId: string) { async function triggerWipe(_wipeType: string, _profileId: string) {
// TODO: POST /api/wipes/:server_id/trigger // TODO: POST /api/wipes/:server_id/trigger
} }
async function triggerDryRun(wipeType: string, profileId: string) { async function triggerDryRun(_wipeType: string, _profileId: string) {
// TODO: POST /api/wipes/:server_id/dry-run // TODO: POST /api/wipes/:server_id/dry-run
} }

View File

@@ -3,6 +3,10 @@
"compilerOptions": { "compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"types": ["vite/client"], "types": ["vite/client"],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
/* Linting */ /* Linting */
"strict": true, "strict": true,