remove deprecated api

This commit is contained in:
Timi
2026-08-07 10:46:14 +08:00
parent efea624376
commit f0ba55fe25
18 changed files with 194 additions and 306 deletions
+3 -32
View File
@@ -13,10 +13,10 @@ export type Comment = {
user?: User;
/** 回复列表 */
replies?: CommentReply[];
replies?: Comment[];
/** 回复分页 */
repliesPage?: Page<CommentReply>;
repliesPage?: Page<Comment>;
/** 用于绑定组件当前页下标 */
repliesCurrent?: number;
@@ -31,33 +31,4 @@ export type Comment = {
repository?: object;
} & Model
export type CommentReply = {
replyId?: number;
commentId?: number;
senderId?: number;
senderNick?: string;
receiverId?: number;
receiverNick?: string;
content?: string;
comment?: Comment;
sender?: User;
receiver?: User;
} & Model;
export enum CommentReplyBizType {
COMMENT = "COMMENT",
SENDER = "SENDER",
RECEIVER = "RECEIVER"
}
export enum CommentBizType {
ARTICLE = "ARTICLE",
GIT_ISSUE = "GIT_ISSUE",
GIT_MERGE = "GIT_MERGE",
}
export type CommentBizType = "ARTICLE" | "GIT_ISSUE" | "GIT_MERGE";