export interface PostType { title: string; content: string; categories: Categorie[]; keywords: string; tags: Tag[]; image: string | null; thumb: string | null; video: string; slug: string; created_at: string; updated_at: string; is_active: boolean; is_front: boolean; } export interface Tag { tag: string; slug: string; } export interface CategoryPost { slug: string; } export interface Categorie { title: string; parent: string | number | null; is_active: boolean; created_at: string; order: number; slug: string; image: string | null; keywords: string; description: string; posts?: CategoryPost[]; child?: Categorie[]; } export interface PaginatedResponse { count: number; next: string | null; previous: string | null; results: T[]; } export type Setting = PostType[];