From 10ef24e76b090f4adaef488fe816484ce8dc3019 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 8 Jun 2026 20:28:39 +0000 Subject: [PATCH] move some util definitions and code to common lib --- app/common/types.go | 18 --------------- app/common/utils.go | 50 +++++++++++++++++++++++++----------------- app/routes/account.go | 14 +++++------- app/routes/backups.go | 16 +++++++------- app/routes/config.go | 42 +++++++++++++++++------------------ app/routes/index.go | 14 ++++++------ app/routes/login.go | 5 +---- app/routes/settings.go | 2 +- proxmoxaas-common-lib | 2 +- 9 files changed, 74 insertions(+), 89 deletions(-) diff --git a/app/common/types.go b/app/common/types.go index 902681b..d75a330 100644 --- a/app/common/types.go +++ b/app/common/types.go @@ -22,13 +22,6 @@ type StaticFile struct { MimeType MimeType } -// parsed vmpath data (ie node/type/vmid) -type VMPath struct { - Node string - Type string - VMID string -} - // type used for templated