28 lines
723 B
TypeScript
28 lines
723 B
TypeScript
/// <reference types="vite-plus/client" />
|
|
|
|
import type { DesktopBridge, LocalApi } from "@t3tools/contracts";
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_HTTP_URL: string;
|
|
readonly VITE_WS_URL: string;
|
|
readonly VITE_HOSTED_APP_URL: string;
|
|
readonly VITE_HOSTED_APP_CHANNEL: string;
|
|
readonly VITE_CLERK_PUBLISHABLE_KEY: string;
|
|
readonly VITE_CLERK_JWT_TEMPLATE: string;
|
|
readonly VITE_RELAY_OTLP_TRACES_URL: string;
|
|
readonly VITE_RELAY_OTLP_TRACES_DATASET: string;
|
|
readonly VITE_RELAY_OTLP_TRACES_TOKEN: string;
|
|
readonly APP_VERSION: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
nativeApi?: LocalApi;
|
|
desktopBridge?: DesktopBridge;
|
|
}
|
|
}
|