AttachmentsModel
AttachmentsModel =
object
Defined in: packages/schema/src/model.ts:2004
The files under a conversation’s messages: one record per file, pointing at its message, written together with the message and deleted before it.
Properties
Section titled “Properties”field:
string
Defined in: packages/schema/src/model.ts:2008
The filterable relation of resource to the message the file is in.
file:
string
Defined in: packages/schema/src/model.ts:2010
The file field, whose value gives the file’s name, type, size and signed link, and whose maxSize the box checks before uploading.
height?
Section titled “height?”
optionalheight?:string
Defined in: packages/schema/src/model.ts:2014
The integer field of an image’s height in pixels.
resource
Section titled “resource”resource:
string
Defined in: packages/schema/src/model.ts:2006
The attachment resource.
width?
Section titled “width?”
optionalwidth?:string
Defined in: packages/schema/src/model.ts:2012
The integer field of an image’s width in pixels, such as one .derive() fills with imageSize('width').