Files
portfolio/src/env.d.ts
Nathan Cummins e46a4a560a
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 18m1s
Add SSR contact form
2025-08-29 11:36:58 +09:30

28 lines
707 B
TypeScript

/// <reference types="@astrojs/image/client" />
/// <reference types="./types/SiteImage" />
interface Window {
theme: {
setTheme: (theme: "auto" | "dark" | "light") => void;
getTheme: () => "auto" | "dark" | "light";
getSystemTheme: () => "light" | "dark";
getDefaultTheme: () => "auto" | "dark" | "light";
};
navbarDisplay: "normal" | "transparent";
player: any;
playerIsInitialised: boolean;
}
interface ImportMetaEnv {
readonly EMAIL_USER: string;
readonly EMAIL_PASS: string;
readonly EMAIL_PORT: number;
readonly EMAIL_SECURE: "true" | "false";
readonly EMAIL_HOST: string;
readonly EMAIL_FROM: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}