

export interface BlogState {
    blogList: any;
    isLoading: boolean;
    blogBannerList: any;
}

export interface BlogImage {
    imageId: string;
    imageUrl: string;
};

export interface BlogItem {
    blogId: string;
    title: string;
    slug: string;
    shortDescription: string;
    description: string;
    readDuration: number;
    blogImage: BlogImage;
    status: number;
    createdAt: string;
    updatedAt: string;
};

export interface BlogListResponse {
    statusCode: number;
    meta: {
        status?: number;
        message?: string;
        totalCount?: number;
    }
    data: BlogItem[];
}

export interface BlogAPIPayload {
    page: number;
    perPage: number;
    search?: string;
}