2021-03-26 04:17:02 +04:30
|
|
|
/*
|
|
|
|
|
* Copyright (C) Contributors to the Suwayomi project
|
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
2021-01-26 23:32:12 +03:30
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
2023-05-18 13:17:41 +02:00
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
2021-01-26 23:32:12 +03:30
|
|
|
|
2023-08-11 17:30:22 +02:00
|
|
|
/// <reference types="vite/client" />
|
2025-08-02 23:13:50 +02:00
|
|
|
|
|
|
|
|
interface ViteTypeOptions {
|
|
|
|
|
// By adding this line, you can make the type of ImportMetaEnv strict
|
|
|
|
|
// to disallow unknown keys.
|
|
|
|
|
strictImportMetaEnv: unknown;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMetaEnv {
|
|
|
|
|
readonly VITE_SERVER_URL_DEFAULT: string;
|
2025-09-24 00:23:19 +03:00
|
|
|
readonly VITE_SUBPATH?: string;
|
2025-08-02 23:13:50 +02:00
|
|
|
// more env variables...
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMeta {
|
|
|
|
|
readonly env: ImportMetaEnv;
|
|
|
|
|
}
|