Add JSDoc documentation and file headers to all source files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 18:55:36 +08:00
parent 3b7b6ae859
commit 7fec6cb63f
199 changed files with 2764 additions and 503 deletions

18
src/types/env.d.ts vendored
View File

@@ -1,9 +1,23 @@
// 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;
}