Image
An Image is used to store details about uploaded images. Images are uploaded by the File Service, and the URL is provided by the File Service.
Constructors
constructor
new Image()
An Image is used to store details about uploaded images. Images are uploaded by the File Service, and the URL is provided by the File Service.
Properties
created_at
DateRequiredThe date with timezone at which the resource was created.
deleted_at
null | DateRequiredThe date with timezone at which the resource was deleted.
id
stringRequiredThe image's ID
metadata
Record<string, unknown>RequiredAn optional key-value map with additional details
updated_at
DateRequiredThe date with timezone at which the resource was updated.
url
stringRequiredThe URL at which the image file can be found.
Methods
beforeInsert
Private
beforeInsert(): void
Returns
void
void
voidWas this section helpful?