export type ArticleStatus = 'draft' | 'published' | 'hidden';

export interface ArticleItem {
    id: string;
    title: string;
    cover?: string;
    summary?: string;
    htmlContent: string;
    category: string;
    tags: string[];
    status: ArticleStatus;
    publishTime?: string;
    createdAt: string;
    updatedAt: string;
}

export interface ArticleParams {
    current?: number;
    pageSize?: number;
    title?: string;
    status?: ArticleStatus;
    category?: string;
}
