40 lines
866 B
TypeScript
40 lines
866 B
TypeScript
|
|
/**
|
||
|
|
* Generated by orval v8.5.3 🍺
|
||
|
|
* Do not edit manually.
|
||
|
|
* Reading Platform API
|
||
|
|
* Reading Platform Backend Service API Documentation
|
||
|
|
* OpenAPI spec version: 1.0.0
|
||
|
|
*/
|
||
|
|
import type { LibrarySummary } from './librarySummary';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 资源项响应
|
||
|
|
*/
|
||
|
|
export interface ResourceItemResponse {
|
||
|
|
/** ID */
|
||
|
|
id?: number;
|
||
|
|
/** 资源库 ID */
|
||
|
|
libraryId?: string;
|
||
|
|
/** 租户 ID */
|
||
|
|
tenantId?: string;
|
||
|
|
/** 资源标题 */
|
||
|
|
title?: string;
|
||
|
|
/** 文件类型 (IMAGE/PDF/VIDEO/AUDIO/PPT/OTHER) */
|
||
|
|
fileType?: string;
|
||
|
|
/** 文件路径 */
|
||
|
|
filePath?: string;
|
||
|
|
/** 文件大小(字节) */
|
||
|
|
fileSize?: number;
|
||
|
|
/** 资源标签 */
|
||
|
|
tags?: string[];
|
||
|
|
library?: LibrarySummary;
|
||
|
|
/** 资源描述 */
|
||
|
|
description?: string;
|
||
|
|
/** 状态 */
|
||
|
|
status?: string;
|
||
|
|
/** 创建时间 */
|
||
|
|
createdAt?: string;
|
||
|
|
/** 更新时间 */
|
||
|
|
updatedAt?: string;
|
||
|
|
}
|