feat: version banner UI + GET /api/v1/version backend endpoint
This commit is contained in:
Vendored
+9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user