front/src/env.d.ts
zzh 68b85dadf9
All checks were successful
Build and Deploy Front / deploy (push) Successful in 10m0s
feat: 仓储表单体验、轨迹 SPA 代理修复与打印预览增强
修复 /track/pull|push 被代理误伤 404;Warning/ProviderService/Dictionary 路径改写;SkuImage 入库归一化。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 12:30:35 +08:00

56 lines
1.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

declare module 'vg-print' {
import type { DefineComponent } from 'vue';
export const FullDesigner: DefineComponent<Record<string, unknown>, {}, any>;
export const hiprint: { register(options: { authKey: string }): void };
export const createTemplate: (json: unknown) => unknown;
export const printBrowser: (tpl: unknown, data: unknown) => void;
const plugin: { install: (app: unknown) => void };
export default plugin;
}
declare module 'vg-print/style.css' {
const css: string;
export default css;
}
declare module 'vue-request-editor' {
import type { DefineComponent } from 'vue';
export const RequestEditor: DefineComponent<Record<string, unknown>, {}, any>;
}
/// <reference types="vite/client" />
/// <reference types="unocss" />
declare module '*.vue' {
import { DefineComponent } from 'vue';
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>;
export default component;
}
declare module 'vue-pdf-embed/dist/index.essential.mjs' {
import type { DefineComponent } from 'vue';
export const GlobalWorkerOptions: { workerSrc: string };
const VuePdfEmbed: DefineComponent<Record<string, unknown>, {}, any>;
export default VuePdfEmbed;
}
declare module 'pdfjs-dist/build/pdf.worker.min.mjs?url' {
const url: string;
export default url;
}
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string;
readonly VITE_OMS_URL?: string;
/** 部署目标:ideship(生产)| nanafa(测试) */
readonly VITE_DEPLOY_TARGET?: 'ideship' | 'nanafa' | string;
/** 生产 Admin 基址,默认 https://api.ideship.com/admin */
readonly VITE_API_ADMIN_URL?: string;
readonly VITE_OMS_ADMIN_URL?: string;
/** 生产 API 根,默认 https://api.ideship.com */
readonly VITE_API_ORIGIN?: string;
/** 静态资源 origin,默认生产 https://api.ideship.com/admin */
readonly VITE_API_ASSET_ORIGIN?: string;
}