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>
16 lines
362 B
TypeScript
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>;
|
|
}
|