
export type ActiveTabType = 'gallery' | 'upload' | 'icons';

export type UploadFolderType = 'rooms' | 'meals' | 'addons' | 'facilities' | 'products' | 'general';

export type ImageSelect = { id: number; role: string; sort_order: number }

export type ImageProp = { id: number, url: string, file_size: string }

export type IconOrImageProp = { id: number, url: string, file_size: string }

export type BackendImage = {
    id: number
    url: string
    file_size: string
    pivot: {
        role: string
        sort_order: number
    }
}

export type ImageMangeType = {
    id: number
    url: string
    title: string
    file_size: number
    width: number
    height: number
    usage_count: number
    used_in: { id: number, role: string, type: string }[]
}