evOo-local/apps/web/src/vite-env.d.ts
cynarAI de2a64f070 fix(web): read sidebar trading mode from the bot status API (#80)
The Live Trading control stored its mode in localStorage, so the shell could
claim live money while the bot was in dry-run. Show the Tradingbot status
when TRADING_BOT_URL is set, and an unknown state when it is not.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
2026-09-22 22:10:18 +02:00

16 lines
362 B
TypeScript

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_DEFAULT_UI_LOCALE?: string;
/** Optional Tradingbot origin. Empty uses the same-origin API proxy. */
readonly VITE_TRADING_BOT_URL?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare module "*.po" {
export const messages: Record<string, unknown>;
}