global.d.ts 453 B

1234567891011121314151617181920212223
  1. import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
  2. import 'vue-router';
  3. declare module 'vue-router' {
  4. interface RouteMeta extends IRouteMeta {}
  5. }
  6. export interface VbenAdminProAppConfigRaw {
  7. VITE_GLOB_API_URL: string;
  8. VITE_GLOB_APP_TITLE: string;
  9. }
  10. export interface ApplicationConfig {
  11. apiURL: string;
  12. appTitle: string;
  13. }
  14. declare global {
  15. interface Window {
  16. _VBEN_ADMIN_PRO_APP_CONF_: VbenAdminProAppConfigRaw;
  17. }
  18. }