import path from "node:path"; const WORKFLOW_ROOT = path.join("workflows", "api-doc-system"); export const API_DOC_SYSTEM_CONFIG = { docUrl: process.env.API_DOC_URL || "http://192.168.11.56:6060/api/docs/system", requestTimeoutMs: 20000, retentionDays: 5, filter: { platform: { value: "web", label: "网页端", }, project: { value: "all", label: "全部", }, }, file: { localHtmlSnapshot: path.join("src", "apiweb.html"), moduleDir: path.join(WORKFLOW_ROOT, "module"), moduleListDir: path.join(WORKFLOW_ROOT, "module-list"), interfaceDetailDir: path.join(WORKFLOW_ROOT, "interface-details"), pendingUpdates: path.join(WORKFLOW_ROOT, "pending-updates.json"), pendingHistoryDir: path.join(WORKFLOW_ROOT, "pending-history"), }, };