Phase 4.1+: expose version/verified/security_scan/dependencies in admin get_all_apps
CI / gate (push) Has been cancelled
CI / gate (push) Has been cancelled
This commit is contained in:
1 parent
669c16b0a0
commit
c716dab851
1 file changed
+5
@@ -183,6 +183,11 @@ async def get_all_apps(
|
||||
"install_count": a.install_count,
|
||||
"created_at": a.created_at.isoformat() if a.created_at else None,
|
||||
"updated_at": a.updated_at.isoformat() if a.updated_at else None,
|
||||
# Phase 4.1: 安检/版本化/绿标
|
||||
"version": a.version or "1.0.0",
|
||||
"security_scan": a.security_scan,
|
||||
"verified": bool(a.verified),
|
||||
"dependencies": a.dependencies,
|
||||
}
|
||||
for a in apps
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user