import type { PaginationRequest, PaginationResponse } from 'types/common'; import type { ModelComment, AIModel } from './base'; // 获取模型详情请求接口 export interface GetModelsRequest extends PaginationRequest { // 够了 } // 获取模型详情响应接口 export interface GetModelsResponse extends PaginationResponse { // 够了 } // 批量获取模型评论请求接口 export interface GetModelCommentsRequest extends PaginationRequest { modelId: string; parentId?: string; // 父评论ID } // 批量获取模型评论响应接口 export interface GetModelCommentsResponse extends PaginationResponse { // 够了 } // 发表模型评论请求接口 export interface CreateModelCommentRequest { modelId: string; content: string; parentId?: string; // 父评论ID,用于回复评论 } // 发表模型评论响应接口 export interface CreateModelCommentResponse { success: boolean; } // 点赞模型请求接口 export interface LikeModelRequest { modelId: string; } // 点赞模型响应接口 export interface LikeModelResponse { success: boolean; }