23 lines
641 B
TypeScript
23 lines
641 B
TypeScript
// The Lucia project.
|
|
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
|
// Authors:
|
|
// cindy.chang@dsp.im (Cindy Chang), 2024/7/9
|
|
/**
|
|
* @module types/env.d
|
|
* Type declarations for Vite environment variables.
|
|
*/
|
|
|
|
/** Vite environment variable types. */
|
|
interface ImportMetaEnv {
|
|
/** The application title. */
|
|
readonly VITE_APP_TITLE: string;
|
|
/** The base URL for the application. */
|
|
readonly BASE_URL: string;
|
|
// Add more environment variables as needed.
|
|
}
|
|
|
|
/** Augments ImportMeta with typed env. */
|
|
interface ImportMeta {
|
|
/** The typed environment variables. */
|
|
readonly env: ImportMetaEnv;
|
|
} |