This interface defines the structure of the response returned after an image upload operation.
export interface ImageUploadResponse {
    url?: string;
    size?: number;
    mime_type?: string;
}

Properties

  • url (string, optional): The URL of the uploaded image.
  • size (number, optional): The size of the uploaded image in bytes.
  • mime_type (string, optional): The MIME type of the uploaded image.