* chore: update deps * chore: update archiver v8 * fix: 还原 vue/html-closing-bracket-newline * feat: 增加默认配置和配置注释 * feat: 增加oxlint默认插件配置和注释 * refactor: remove unicorn ESLint configuration and update dependencies - Deleted the unicorn ESLint configuration file from the lint-configs package. - Removed unicorn configuration from the main index file. - Updated oxlint-config to include a comprehensive set of unicorn rules. - Adjusted preferences and vxe-table files to disable specific unicorn rules. - Removed references to eslint-plugin-unicorn from pnpm-lock.yaml and pnpm-workspace.yaml. * refactor: 移除 eslint 的 @typescript-eslint/eslint-plugin 依赖,将 TypeScript 配置迁移到 oxlint * feat: open typeAware * fix: mac 和linux下报错
33 lines
660 B
TypeScript
33 lines
660 B
TypeScript
import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
|
|
|
|
import 'vue-router';
|
|
|
|
declare module 'vue-router' {
|
|
// oxlint-disable-next-line typescript/no-empty-object-type
|
|
interface RouteMeta extends IRouteMeta {}
|
|
}
|
|
|
|
export interface VbenAdminProAppConfigRaw {
|
|
VITE_GLOB_API_URL: string;
|
|
VITE_GLOB_AUTH_DINGDING_CLIENT_ID: string;
|
|
VITE_GLOB_AUTH_DINGDING_CORP_ID: string;
|
|
}
|
|
|
|
interface AuthConfig {
|
|
dingding?: {
|
|
clientId: string;
|
|
corpId: string;
|
|
};
|
|
}
|
|
|
|
export interface ApplicationConfig {
|
|
apiURL: string;
|
|
auth: AuthConfig;
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
_VBEN_ADMIN_PRO_APP_CONF_: VbenAdminProAppConfigRaw;
|
|
}
|
|
}
|