FileMetadata

View Source

Summary

Metadata about a file in storage.

Signature

interface FileMetadata {
  key: string;
  lastModified: number;
  name: string;
  size: number;
  type: string;
}

Properties

key

The key of the file in storage.

lastModified

The last modified time of the file (in ms since the Unix epoch).

name

The name of the file.

size

The size of the file in bytes.

type

The MIME type of the file.