Files
crawler-plugin/admin-frontend-vue/src/pages/records/workbench-client-dto.ts
T
huangzd1997 ba20f5ed42 feat(workbench-client): 新增数富AI工作台客户端包管理独立更新渠道
后台上传安装包,confirm 阶段由服务端从 MinIO 实物流式复算 sha256 后落库,
客户端经 /api/workbench-client/version/latest 自动检查更新;与 ShuFuAI 桌面端
的 nanri-image/versions/ 渠道隔离,包体落 client 桶 workbench-client/versions/。
2026-10-24 12:49:51 +08:00

23 lines
667 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/** 工作台客户端包 DTO(后管「数富AI工作台客户端包管理」页)。纯类型。 */
/** 客户端包行(GET /api/admin/workbench-client/packages data.items,Java snake)。 */
export interface WorkbenchClientPackageItem {
id: number
version: string
fileName: string
objectKey: string
fileSize: number
/** 更新包 sha256(hex 小写),客户端下载后的完整性锚点 */
sha256: string
fileUrl: string
createdAt: string
}
export interface WorkbenchClientPackageList {
items: WorkbenchClientPackageItem[]
}
export function emptyWorkbenchClientPackageList(): WorkbenchClientPackageList {
return { items: [] }
}