All checks were successful
deploy to server / build-and-deploy (push) Successful in 5m4s
- 添加/download/documentID路由用于文档下载 - server端添加文档元数据获取与下载API - 将app中的types移至shared,与server共享
24 lines
355 B
TypeScript
24 lines
355 B
TypeScript
/**
|
|
* 文档视图模型
|
|
* 用于文档列表渲染的数据结构
|
|
*/
|
|
export interface ProductDocumentView {
|
|
/** 唯一标识符 **/
|
|
id: number;
|
|
|
|
/** 文件UUID **/
|
|
fileId: string;
|
|
|
|
/** 文件名 **/
|
|
filename: string;
|
|
|
|
/** 文档标题 **/
|
|
title: string;
|
|
|
|
/** 文档大小 **/
|
|
size: number;
|
|
|
|
/** 文档链接 **/
|
|
url: string;
|
|
}
|