Type alias ArenaImage

ArenaImage: {
    content_type: string;
    display: {
        url: string;
    };
    filename: string;
    large: {
        url: string;
    };
    original: {
        file_size: number;
        file_size_display: string;
        url: string;
    };
    square: {
        url: string;
    };
    thumb: {
        url: string;
    };
    updated_at: string;
}

Type declaration

  • content_type: string

    (String) MIME type of the image (e.g. 'image/png')

  • display: {
        url: string;
    }

    (Hash) Only contains url which is a URL of the display sized image (same aspect ratio as original image but with a maximim width of 600px or a maximum height of 600px, whichever comes first)

    • url: string
  • filename: string

    (String) Name of the file as it appears on the Arena filesystem

  • large: {
        url: string;
    }
    • url: string
  • original: {
        file_size: number;
        file_size_display: string;
        url: string;
    }

    (Hash) Contains url which is a URL of the original image as well file_size (an integer representation in bytes) and file_size_display (a nicer string representation of the file_size)

    • file_size: number
    • file_size_display: string
    • url: string
  • square: {
        url: string;
    }
    • url: string
  • thumb: {
        url: string;
    }

    (Hash) Only contains url which is a URL of the thumbnail sized image (200x200)

    • url: string
  • updated_at: string

    (Timestamp) Timestamp of the last time the file was updated

Generated using TypeDoc