22 lines
505 B
TypeScript
22 lines
505 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_BASE_URL?: string;
|
|
readonly VITE_CSRF_COOKIE_NAME?: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
declare module "virtual:govoplan-installed-modules" {
|
|
import type { PlatformWebModule } from "@govoplan/core-webui";
|
|
|
|
const installedWebModuleLoaders: Array<{
|
|
packageName: string;
|
|
load: () => Promise<{ default: PlatformWebModule }>;
|
|
}>;
|
|
|
|
export default installedWebModuleLoaders;
|
|
}
|