Files
openhuman/app/src/vite-env.d.ts
T

35 lines
1006 B
TypeScript

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_OPENHUMAN_APP_ENV?: string;
readonly VITE_OPENHUMAN_CORE_RPC_URL?: string;
readonly VITE_OPENHUMAN_E2E_DEFAULT_CORE_MODE?: string;
readonly VITE_OPENHUMAN_E2E_RESTART_APP_AS_RELOAD?: string;
readonly VITE_BACKEND_URL?: string;
readonly VITE_CHAT_ATTACHMENTS?: string;
readonly VITE_SKILLS_GITHUB_REPO?: string;
readonly VITE_SENTRY_DSN?: string;
readonly VITE_SENTRY_SMOKE_TEST?: string;
readonly VITE_BUILD_SHA?: string;
readonly VITE_DEV_JWT_TOKEN?: string;
readonly VITE_DEV_FORCE_ONBOARDING?: string;
readonly DEV: boolean;
readonly MODE: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
// Node.js polyfills for browser
declare global {
interface Window {
Buffer: typeof Buffer;
process: typeof process;
util: typeof import('util');
}
var Buffer: typeof import('buffer').Buffer;
var process: typeof import('process');
var util: typeof import('util');
}