export interface Article { id?: string; projectId: string; parentMenuId: string; name: string; content: string; createdAt?: number; updatedAt?: number; isTop?: 1 | 2; // 当前记录所处的状态,1 置顶区 2 非置顶区 } export interface Pageable { totalPages: number; totalElements: number; numberOfElements: number; size: number; number: number; content: T[]; first: boolean; last: boolean; } export type TCustomTopAction = 'up' | 'down'; export type TCustomMoveAction = 'top' | 'unTop'; export interface IUpdateArticleOrderParams { projectId: string; // 项目id parentMenuId: string; // 父级目录id move: TCustomTopAction | TCustomMoveAction; // 行为动作 id: string; // 记录id }