- 删除应用配置页面及相关组件,重构路由为 /developer/config/[id].vue - 移除开发者文档页面及其导航与样式实现 - 清理开发者侧功能完善工作日志文件 - 删除全局.gitignore配置文件,清理无用忽略规则 - 优化应用配置页面的参数读取和路由结构,解决刷新404问题 - 解决数据库配置唯一键冲突,调整保存逻辑避免重复插入 - 移除对后端配置加密字段的 secret 标记,修正加密异常问题
62 lines
2.4 KiB
TypeScript
62 lines
2.4 KiB
TypeScript
|
|
/// <reference path="app.config.d.ts" />
|
|
/// <reference path="runtime-config.d.ts" />
|
|
/// <reference types="/Users/gxwebsoft/VUE/tiantian-system/node_modules/.pnpm/@nuxt+nitro-server@4.2.2_better-sqlite3@12.8.0_db0@0.3.4_better-sqlite3@12.8.0__ioredis_a0a2be7525d559e696e64db570f075d2/node_modules/@nuxt/nitro-server/dist/index.mjs" />
|
|
/// <reference path="nitro-middleware.d.ts" />
|
|
|
|
import type { RuntimeConfig } from 'nuxt/schema'
|
|
import type { H3Event } from 'h3'
|
|
import type { LogObject } from 'consola'
|
|
import type { NuxtIslandContext, NuxtIslandResponse, NuxtRenderHTMLContext } from 'nuxt/app'
|
|
|
|
declare module 'nitropack' {
|
|
interface NitroRuntimeConfigApp {
|
|
buildAssetsDir: string
|
|
cdnURL: string
|
|
}
|
|
interface NitroRuntimeConfig extends RuntimeConfig {}
|
|
interface NitroRouteConfig {
|
|
ssr?: boolean
|
|
noScripts?: boolean
|
|
/** @deprecated Use `noScripts` instead */
|
|
experimentalNoScripts?: boolean
|
|
}
|
|
interface NitroRouteRules {
|
|
ssr?: boolean
|
|
noScripts?: boolean
|
|
/** @deprecated Use `noScripts` instead */
|
|
experimentalNoScripts?: boolean
|
|
appMiddleware?: Record<string, boolean>
|
|
}
|
|
interface NitroRuntimeHooks {
|
|
'dev:ssr-logs': (ctx: { logs: LogObject[], path: string }) => void | Promise<void>
|
|
'render:html': (htmlContext: NuxtRenderHTMLContext, context: { event: H3Event }) => void | Promise<void>
|
|
'render:island': (islandResponse: NuxtIslandResponse, context: { event: H3Event, islandContext: NuxtIslandContext }) => void | Promise<void>
|
|
}
|
|
}
|
|
declare module 'nitropack/types' {
|
|
interface NitroRuntimeConfigApp {
|
|
buildAssetsDir: string
|
|
cdnURL: string
|
|
}
|
|
interface NitroRuntimeConfig extends RuntimeConfig {}
|
|
interface NitroRouteConfig {
|
|
ssr?: boolean
|
|
noScripts?: boolean
|
|
/** @deprecated Use `noScripts` instead */
|
|
experimentalNoScripts?: boolean
|
|
}
|
|
interface NitroRouteRules {
|
|
ssr?: boolean
|
|
noScripts?: boolean
|
|
/** @deprecated Use `noScripts` instead */
|
|
experimentalNoScripts?: boolean
|
|
appMiddleware?: Record<string, boolean>
|
|
}
|
|
interface NitroRuntimeHooks {
|
|
'dev:ssr-logs': (ctx: { logs: LogObject[], path: string }) => void | Promise<void>
|
|
'render:html': (htmlContext: NuxtRenderHTMLContext, context: { event: H3Event }) => void | Promise<void>
|
|
'render:island': (islandResponse: NuxtIslandResponse, context: { event: H3Event, islandContext: NuxtIslandContext }) => void | Promise<void>
|
|
}
|
|
}
|