Skip to content

GalleryModel

GalleryModel = object

Defined in: packages/schema/src/model.ts:848

A record’s photos as tiles in the main column under title, one large and the next few smaller, opening a lightbox that steps through them all: first the record’s own file field image, then the image of the records of photos.resource whose relation photos.field points at it, in photos.sort order, as a cards display’s photos names them. See Galleries.

optional image?: string

Defined in: packages/schema/src/model.ts:854

The record’s own file field, shown first.


kind: "gallery"

Defined in: packages/schema/src/model.ts:850

A gallery of photos.


optional photos?: CardPhotosModel

Defined in: packages/schema/src/model.ts:856

The records holding the further photos.


title: string

Defined in: packages/schema/src/model.ts:852

The section’s title.


optional when?: ShowWhen

Defined in: packages/schema/src/model.ts:858

Whether it shows on the form, the read view or both.