diff --git a/frontend/src/stores/plugins.ts b/frontend/src/stores/plugins.ts index dde0751..bfdb741 100644 --- a/frontend/src/stores/plugins.ts +++ b/frontend/src/stores/plugins.ts @@ -10,15 +10,15 @@ export const usePluginStore = defineStore('plugins', () => { // TODO: GET /api/plugins } - async function installPlugin(slug: string) { + async function installPlugin(_slug: string) { // TODO: POST /api/plugins/install } - async function reloadPlugin(pluginId: string) { + async function reloadPlugin(_pluginId: string) { // TODO: POST /api/plugins/:id/reload } - async function searchUmod(query: string) { + async function searchUmod(_query: string) { // TODO: GET /api/plugins/search?q=query } diff --git a/frontend/src/stores/wipe.ts b/frontend/src/stores/wipe.ts index 84938aa..b3d34c5 100644 --- a/frontend/src/stores/wipe.ts +++ b/frontend/src/stores/wipe.ts @@ -20,11 +20,11 @@ export const useWipeStore = defineStore('wipe', () => { // 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 } - async function triggerDryRun(wipeType: string, profileId: string) { + async function triggerDryRun(_wipeType: string, _profileId: string) { // TODO: POST /api/wipes/:server_id/dry-run } diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json index 8d16e42..44b0bf6 100644 --- a/frontend/tsconfig.app.json +++ b/frontend/tsconfig.app.json @@ -3,6 +3,10 @@ "compilerOptions": { "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "types": ["vite/client"], + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + }, /* Linting */ "strict": true,