FileMetadata: {
    alt?: string;
    blurhash?: string;
    dimensions?: string;
    fallback?: string[];
    image?: string;
    infohash?: string;
    magnet?: string;
    originalSha256?: string;
    sha256?: string;
    size?: number;
    summary?: string;
    thumbnail?: string;
    type?: string;
    url: string;
}

Type declaration

  • Optionalalt?: string

    description for accessability

  • Optionalblurhash?: string

    blurhash

  • Optionaldimensions?: string

    size of file in pixels in the form x

  • Optionalfallback?: string[]

    fallback URLs

  • Optionalimage?: string

    URL to a preview image with the same dimensions

  • Optionalinfohash?: string

    torrent infohash

  • Optionalmagnet?: string

    magnet

  • OptionaloriginalSha256?: string

    The original sha256 hash before the file was transformed

  • Optionalsha256?: string

    sha256 hash of the file

  • Optionalsize?: number

    size of the file in bytes

  • Optionalsummary?: string

    summary

  • Optionalthumbnail?: string

    URL to a thumbnail

  • Optionaltype?: string

    MIME type

  • url: string

    URL of the file