MCPcopy
hub / github.com/21st-dev/1code / ImportMetaEnv

Interface ImportMetaEnv

src/env.d.ts:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3// Extend Vite's ImportMetaEnv with our custom env vars
4declare global {
5 interface ImportMetaEnv {
6 // Main process (MAIN_VITE_ prefix)
7 readonly MAIN_VITE_SENTRY_DSN?: string
8 readonly MAIN_VITE_POSTHOG_KEY?: string
9 readonly MAIN_VITE_POSTHOG_HOST?: string
10
11 // Renderer process (VITE_ prefix)
12 readonly VITE_POSTHOG_KEY?: string
13 readonly VITE_POSTHOG_HOST?: string
14 }
15}
16
17export {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected