Skip to content

CardPhotosModel

CardPhotosModel = object

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

Where a card’s further photos come from: the records of resource whose relation field points at the card’s record, in sort order, each shown by its file field image. They come with the list’s records, in the same request, so an index on field and the sorted fields serves them. See Card photos.

field: string

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

Its filterable relation that points at the card’s record.


image: string

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

Its file field holding each photo.


resource: string

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

The resource holding the photos.


optional sort?: string

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

An AIP-132 order of the photos.