Skip to content

CardPhotosModel

CardPhotosModel = object

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

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:466

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


image: string

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

Its file field holding each photo.


resource: string

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

The resource holding the photos.


optional sort?: string

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

An AIP-132 order of the photos.