Files
scrabble-game/ui/src/vite-env.d.ts
T
Ilia Denisov 74683f294f
CI / changes (pull_request) Successful in 1s
CI / unit (pull_request) Successful in 8s
CI / integration (pull_request) Successful in 11s
CI / ui (pull_request) Successful in 29s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 56s
Stage 17 round 6 (#13/About): About screen content + app version from git describe
- About screen: prominent localized title (Scrabble / Эрудит (Скрэббл)), a rules link
  (en/ru Wikipedia), and the Random-game / Game-with-friends sections; copy lives in a
  shared aboutContent module (the landing will reuse it). The random-game move limit
  inlines the 24h auto-match clock.
- App version: Vite define __APP_VERSION__ from VITE_APP_VERSION (default 'dev'), wired as
  a Docker build-arg sourced from `git describe --tags --always` in the deploy step — no
  manual version bumps. The fallback keeps a plain/local build working.
2026-06-07 11:39:31 +02:00

15 lines
408 B
TypeScript

/// <reference types="svelte" />
/// <reference types="vite/client" />
interface ImportMetaEnv {
/** Base URL of the gateway Connect endpoint. Empty in dev (same-origin proxy). */
readonly VITE_GATEWAY_URL?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
/** App version string, injected by Vite's define from `git describe` at build time. */
declare const __APP_VERSION__: string;