add achats import and hardware analyse

This commit is contained in:
2026-01-22 06:33:28 +01:00
parent 2b659920c2
commit b1f611d8ee
16 changed files with 1071 additions and 22 deletions

View File

@@ -0,0 +1,17 @@
export const useVersions = async () => {
const { apiBase } = useApi()
const frontend = '0.1.0'
let backend = 'unknown'
try {
const data = await $fetch<{ version?: string }>(`${apiBase}/healthz`)
if (data?.version) {
backend = data.version
}
} catch {
// ignore
}
return { frontend, backend }
}