remove deprecated api
This commit is contained in:
+3
-32
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user