Signed Url object with optional ancillary metadata of requested file

Constructors

Properties

expiresAt: Date

Timestamp of when the URL will no longer grant access to the file.

extension: string

Extension of the requested file.

height?: number

For image and video files. The height of the file.

name: string

Name of the requested file.

size: number

Size in bytes of the requested file.

type: string

Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER.

url: string

Signed URL with access to the specified file. Anyone with this URL will be able to access the file until it expires.

width?: number

For image and video files. The width of the file.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]