Interface GalleryItem

Represents a gallery image for a project on Modrinth.

interface GalleryItem {
    created: string;
    description: null | string;
    featured: boolean;
    ordering: number;
    title: null | string;
    url: string;
}

Properties

created: string

The date the gallery image was created.

description: null | string

The description of the gallery image.

featured: boolean

Whether the image is featured in the gallery.

ordering: number

The order of the gallery image. Gallery images are sorted by this field and then alphabetically by title.

title: null | string

The title of the gallery image.

url: string

The URL of the gallery image.