Summary: - Fix Prompt list API response schema missing activeVersion and draftVersion fields - Fastify was filtering out undefined schema fields, causing version columns to show empty - Add detailed diagnostic logging for Prompt debug mode troubleshooting - Verify debug mode works correctly (DRAFT version is used when debug enabled) Changes: - backend/src/common/prompt/prompt.routes.ts: Add activeVersion and draftVersion to response schema - backend/src/common/prompt/prompt.service.ts: Add diagnostic logs for setDebugMode and get methods - PKB module: Various authentication and document handling fixes from previous session Tested: Debug mode verified working - v2 DRAFT version correctly loaded when debug enabled
85 lines
891 B
Plaintext
85 lines
891 B
Plaintext
# REDCap Docker环境 - Git忽略文件
|
||
# 版本:v1.0
|
||
# 日期:2026-01-01
|
||
|
||
# ========== 环境变量文件(包含敏感信息) ==========
|
||
.env
|
||
.env.local
|
||
.env.*.local
|
||
|
||
# ========== Docker数据卷挂载点(如使用本地挂载) ==========
|
||
data/
|
||
mysql-data/
|
||
edocs/
|
||
temp/
|
||
modules/
|
||
|
||
# ========== SSL证书(敏感) ==========
|
||
ssl/
|
||
*.crt
|
||
*.key
|
||
*.pem
|
||
|
||
# ========== 日志文件 ==========
|
||
logs/
|
||
*.log
|
||
|
||
# ========== 备份文件 ==========
|
||
backups/
|
||
*.sql
|
||
*.tar
|
||
*.tar.gz
|
||
*.zip
|
||
|
||
# ========== 临时文件 ==========
|
||
tmp/
|
||
temp/
|
||
*.tmp
|
||
*.swp
|
||
*~
|
||
|
||
# ========== IDE配置 ==========
|
||
.vscode/
|
||
.idea/
|
||
*.code-workspace
|
||
|
||
# ========== 操作系统文件 ==========
|
||
# Windows
|
||
Thumbs.db
|
||
Desktop.ini
|
||
|
||
# macOS
|
||
.DS_Store
|
||
.AppleDouble
|
||
.LSOverride
|
||
|
||
# ========== 其他 ==========
|
||
# 不要忽略README.md
|
||
!README.md
|
||
|
||
# 不要忽略配置模板
|
||
!env.template
|
||
!*.example
|
||
!*.template
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|