import { TImage } from "./Image";

export interface TBrand {
    id: number;
    name: string;
    slug: string;
    content: TContent[];
    created_at: Date | null;
    updated_at: Date | null;
}

export interface TContent {
    type: string;
    data: TImages;
}

export interface TImages {
    images: TImageWithField[];
}

export interface TImageWithField extends TImage {
    id?: number;
    name?: string;
    slug?: string;
    field: string;
}
