- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
300 lines
10 KiB
TypeScript
300 lines
10 KiB
TypeScript
|
|
// this file is generated — do not edit it
|
|
|
|
|
|
/// <reference types="@sveltejs/kit" />
|
|
|
|
/**
|
|
* Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured).
|
|
*
|
|
* _Unlike_ [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
*
|
|
* ```ts
|
|
* import { API_KEY } from '$env/static/private';
|
|
* ```
|
|
*
|
|
* Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
*
|
|
* ```
|
|
* MY_FEATURE_FLAG=""
|
|
* ```
|
|
*
|
|
* You can override `.env` values from the command line like so:
|
|
*
|
|
* ```sh
|
|
* MY_FEATURE_FLAG="enabled" npm run dev
|
|
* ```
|
|
*/
|
|
declare module '$env/static/private' {
|
|
export const AGENT: string;
|
|
export const ALLUSERSPROFILE: string;
|
|
export const APPDATA: string;
|
|
export const BLACKBOX_INSTALL_DIR: string;
|
|
export const BUKBUK_WHISPER_BIN: string;
|
|
export const BUKBUK_WHISPER_MODEL: string;
|
|
export const BUKBUK_WHISPER_SERVER: string;
|
|
export const CLAUDE_CODE_GIT_BASH_PATH: string;
|
|
export const CODEX_HOME: string;
|
|
export const COLOR: string;
|
|
export const COMMONPROGRAMFILES: string;
|
|
export const CommonProgramW6432: string;
|
|
export const COMPOSER_CACHE_DIR: string;
|
|
export const COMPOSER_HOME: string;
|
|
export const COMPUTERNAME: string;
|
|
export const COMSPEC: string;
|
|
export const CONDA_DEFAULT_ENV: string;
|
|
export const CONDA_EXE: string;
|
|
export const CONDA_PREFIX: string;
|
|
export const CONDA_PROMPT_MODIFIER: string;
|
|
export const CONDA_PYTHON_EXE: string;
|
|
export const CONDA_SHLVL: string;
|
|
export const CUDA_PATH: string;
|
|
export const CUDA_PATH_V12_1: string;
|
|
export const CUDA_PATH_V12_9: string;
|
|
export const CUDA_PATH_V13_1: string;
|
|
export const CUDA_PATH_V9_0: string;
|
|
export const DriverData: string;
|
|
export const EDITOR: string;
|
|
export const EXEPATH: string;
|
|
export const GIT_INSTALL_ROOT: string;
|
|
export const GOPATH: string;
|
|
export const HOME: string;
|
|
export const HOMEDRIVE: string;
|
|
export const HOMEPATH: string;
|
|
export const INIT_CWD: string;
|
|
export const LOCALAPPDATA: string;
|
|
export const LOGONSERVER: string;
|
|
export const MSYSTEM: string;
|
|
export const NODE: string;
|
|
export const NODE_ENV: string;
|
|
export const npm_command: string;
|
|
export const npm_config_cache: string;
|
|
export const npm_config_globalconfig: string;
|
|
export const npm_config_global_prefix: string;
|
|
export const npm_config_init_module: string;
|
|
export const npm_config_local_prefix: string;
|
|
export const npm_config_node_gyp: string;
|
|
export const npm_config_noproxy: string;
|
|
export const npm_config_npm_version: string;
|
|
export const npm_config_prefix: string;
|
|
export const npm_config_userconfig: string;
|
|
export const npm_config_user_agent: string;
|
|
export const npm_execpath: string;
|
|
export const npm_lifecycle_event: string;
|
|
export const npm_lifecycle_script: string;
|
|
export const npm_node_execpath: string;
|
|
export const npm_package_json: string;
|
|
export const npm_package_name: string;
|
|
export const npm_package_version: string;
|
|
export const NUMBER_OF_PROCESSORS: string;
|
|
export const NVCUDASAMPLES9_0_ROOT: string;
|
|
export const NVCUDASAMPLES_ROOT: string;
|
|
export const NVTOOLSEXT_PATH: string;
|
|
export const OLDPWD: string;
|
|
export const OLLAMA_ACCELERATE: string;
|
|
export const OLLAMA_NUM_GPU: string;
|
|
export const OneDrive: string;
|
|
export const OneDriveConsumer: string;
|
|
export const OPENCODE: string;
|
|
export const OPENSPEC_TELEMETRY: string;
|
|
export const OS: string;
|
|
export const PATH: string;
|
|
export const PATHEXT: string;
|
|
export const PhpStorm: string;
|
|
export const PHP_INI_SCAN_DIR: string;
|
|
export const PLINK_PROTOCOL: string;
|
|
export const PROCESSOR_ARCHITECTURE: string;
|
|
export const PROCESSOR_IDENTIFIER: string;
|
|
export const PROCESSOR_LEVEL: string;
|
|
export const PROCESSOR_REVISION: string;
|
|
export const ProgramData: string;
|
|
export const PROGRAMFILES: string;
|
|
export const ProgramW6432: string;
|
|
export const PROMPT: string;
|
|
export const PSExecutionPolicyPreference: string;
|
|
export const PSModulePath: string;
|
|
export const PUBLIC: string;
|
|
export const PWD: string;
|
|
export const QT_SCALE_FACTOR_ROUNDING_POLICY: string;
|
|
export const SESSIONNAME: string;
|
|
export const SHLVL: string;
|
|
export const SSL_CERT_FILE: string;
|
|
export const SYSTEMDRIVE: string;
|
|
export const SYSTEMROOT: string;
|
|
export const TEMP: string;
|
|
export const TERM: string;
|
|
export const TMP: string;
|
|
export const USERDOMAIN: string;
|
|
export const USERDOMAIN_ROAMINGPROFILE: string;
|
|
export const USERNAME: string;
|
|
export const USERPROFILE: string;
|
|
export const VBOX_MSI_INSTALL_PATH: string;
|
|
export const WINDIR: string;
|
|
export const WSLENV: string;
|
|
export const WT_PROFILE_ID: string;
|
|
export const WT_SESSION: string;
|
|
export const _: string;
|
|
export const _CONDA_EXE: string;
|
|
export const _CONDA_ROOT: string;
|
|
export const __CONDA_OPENSLL_CERT_FILE_SET: string;
|
|
}
|
|
|
|
/**
|
|
* Similar to [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
|
|
*
|
|
* Values are replaced statically at build time.
|
|
*
|
|
* ```ts
|
|
* import { PUBLIC_BASE_URL } from '$env/static/public';
|
|
* ```
|
|
*/
|
|
declare module '$env/static/public' {
|
|
|
|
}
|
|
|
|
/**
|
|
* This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured).
|
|
*
|
|
* This module cannot be imported into client-side code.
|
|
*
|
|
* ```ts
|
|
* import { env } from '$env/dynamic/private';
|
|
* console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
* ```
|
|
*
|
|
* > [!NOTE] In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
*/
|
|
declare module '$env/dynamic/private' {
|
|
export const env: {
|
|
AGENT: string;
|
|
ALLUSERSPROFILE: string;
|
|
APPDATA: string;
|
|
BLACKBOX_INSTALL_DIR: string;
|
|
BUKBUK_WHISPER_BIN: string;
|
|
BUKBUK_WHISPER_MODEL: string;
|
|
BUKBUK_WHISPER_SERVER: string;
|
|
CLAUDE_CODE_GIT_BASH_PATH: string;
|
|
CODEX_HOME: string;
|
|
COLOR: string;
|
|
COMMONPROGRAMFILES: string;
|
|
CommonProgramW6432: string;
|
|
COMPOSER_CACHE_DIR: string;
|
|
COMPOSER_HOME: string;
|
|
COMPUTERNAME: string;
|
|
COMSPEC: string;
|
|
CONDA_DEFAULT_ENV: string;
|
|
CONDA_EXE: string;
|
|
CONDA_PREFIX: string;
|
|
CONDA_PROMPT_MODIFIER: string;
|
|
CONDA_PYTHON_EXE: string;
|
|
CONDA_SHLVL: string;
|
|
CUDA_PATH: string;
|
|
CUDA_PATH_V12_1: string;
|
|
CUDA_PATH_V12_9: string;
|
|
CUDA_PATH_V13_1: string;
|
|
CUDA_PATH_V9_0: string;
|
|
DriverData: string;
|
|
EDITOR: string;
|
|
EXEPATH: string;
|
|
GIT_INSTALL_ROOT: string;
|
|
GOPATH: string;
|
|
HOME: string;
|
|
HOMEDRIVE: string;
|
|
HOMEPATH: string;
|
|
INIT_CWD: string;
|
|
LOCALAPPDATA: string;
|
|
LOGONSERVER: string;
|
|
MSYSTEM: string;
|
|
NODE: string;
|
|
NODE_ENV: string;
|
|
npm_command: string;
|
|
npm_config_cache: string;
|
|
npm_config_globalconfig: string;
|
|
npm_config_global_prefix: string;
|
|
npm_config_init_module: string;
|
|
npm_config_local_prefix: string;
|
|
npm_config_node_gyp: string;
|
|
npm_config_noproxy: string;
|
|
npm_config_npm_version: string;
|
|
npm_config_prefix: string;
|
|
npm_config_userconfig: string;
|
|
npm_config_user_agent: string;
|
|
npm_execpath: string;
|
|
npm_lifecycle_event: string;
|
|
npm_lifecycle_script: string;
|
|
npm_node_execpath: string;
|
|
npm_package_json: string;
|
|
npm_package_name: string;
|
|
npm_package_version: string;
|
|
NUMBER_OF_PROCESSORS: string;
|
|
NVCUDASAMPLES9_0_ROOT: string;
|
|
NVCUDASAMPLES_ROOT: string;
|
|
NVTOOLSEXT_PATH: string;
|
|
OLDPWD: string;
|
|
OLLAMA_ACCELERATE: string;
|
|
OLLAMA_NUM_GPU: string;
|
|
OneDrive: string;
|
|
OneDriveConsumer: string;
|
|
OPENCODE: string;
|
|
OPENSPEC_TELEMETRY: string;
|
|
OS: string;
|
|
PATH: string;
|
|
PATHEXT: string;
|
|
PhpStorm: string;
|
|
PHP_INI_SCAN_DIR: string;
|
|
PLINK_PROTOCOL: string;
|
|
PROCESSOR_ARCHITECTURE: string;
|
|
PROCESSOR_IDENTIFIER: string;
|
|
PROCESSOR_LEVEL: string;
|
|
PROCESSOR_REVISION: string;
|
|
ProgramData: string;
|
|
PROGRAMFILES: string;
|
|
ProgramW6432: string;
|
|
PROMPT: string;
|
|
PSExecutionPolicyPreference: string;
|
|
PSModulePath: string;
|
|
PUBLIC: string;
|
|
PWD: string;
|
|
QT_SCALE_FACTOR_ROUNDING_POLICY: string;
|
|
SESSIONNAME: string;
|
|
SHLVL: string;
|
|
SSL_CERT_FILE: string;
|
|
SYSTEMDRIVE: string;
|
|
SYSTEMROOT: string;
|
|
TEMP: string;
|
|
TERM: string;
|
|
TMP: string;
|
|
USERDOMAIN: string;
|
|
USERDOMAIN_ROAMINGPROFILE: string;
|
|
USERNAME: string;
|
|
USERPROFILE: string;
|
|
VBOX_MSI_INSTALL_PATH: string;
|
|
WINDIR: string;
|
|
WSLENV: string;
|
|
WT_PROFILE_ID: string;
|
|
WT_SESSION: string;
|
|
_: string;
|
|
_CONDA_EXE: string;
|
|
_CONDA_ROOT: string;
|
|
__CONDA_OPENSLL_CERT_FILE_SET: string;
|
|
[key: `PUBLIC_${string}`]: undefined;
|
|
[key: `${string}`]: string | undefined;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Similar to [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
|
|
*
|
|
* Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
|
|
*
|
|
* ```ts
|
|
* import { env } from '$env/dynamic/public';
|
|
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
* ```
|
|
*/
|
|
declare module '$env/dynamic/public' {
|
|
export const env: {
|
|
[key: `PUBLIC_${string}`]: string | undefined;
|
|
}
|
|
}
|