| 1 | /// <reference types="vite-plus/client" /> |
| 2 | |
| 3 | import type { DesktopBridge } from "@t3tools/contracts"; |
| 4 | |
| 5 | interface ImportMetaEnv { |
| 6 | readonly VITE_HTTP_URL: string; |
| 7 | readonly VITE_WS_URL: string; |
| 8 | readonly VITE_HOSTED_APP_URL: string; |
| 9 | readonly VITE_HOSTED_APP_CHANNEL: string; |
| 10 | readonly VITE_CLERK_PUBLISHABLE_KEY: string; |
| 11 | readonly VITE_CLERK_JWT_TEMPLATE: string; |
| 12 | readonly VITE_CLERK_CLI_OAUTH_CLIENT_ID: string; |
| 13 | readonly APP_VERSION: string; |
| 14 | } |
| 15 | |
| 16 | interface ImportMeta { |
| 17 | readonly env: ImportMetaEnv; |
| 18 | } |
| 19 | |
| 20 | declare global { |
| 21 | interface Window { |
| 22 | desktopBridge?: DesktopBridge; |
| 23 | } |
| 24 | } |