feat: version banner UI + GET /api/v1/version backend endpoint

This commit is contained in:
Александр Зимин
2026-05-10 16:50:50 +00:00
parent 17386ba0b4
commit e8f98230f2
9 changed files with 355 additions and 0 deletions
+9
View File
@@ -8,3 +8,12 @@ interface ImportMetaEnv {
interface ImportMeta {
readonly env: ImportMetaEnv
}
/**
* Build identity injected via Vite {@code define} (см. vite.config.ts).
* Используются {@code useAppVersion} hook + {@code UpdateBanner} component
* для server-vs-client comparison.
*/
declare const __APP_VERSION__: string
declare const __APP_COMMIT__: string
declare const __APP_BUILT_AT__: string