All checks were successful
Build and Deploy Front / deploy (push) Successful in 10m0s
修复 /track/pull|push 被代理误伤 404;Warning/ProviderService/Dictionary 路径改写;SkuImage 入库归一化。 Co-authored-by: Cursor <cursoragent@cursor.com>
56 lines
1.9 KiB
TypeScript
56 lines
1.9 KiB
TypeScript
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;
|
||
}
|