The options used to fetch a file.

interface IFetchOptions {
    content?: boolean;
    contentProviderId?: string;
    format?: FileFormat;
    hash?: boolean;
    type?: string;
}

Hierarchy (View Summary)

Properties

content?: boolean

Whether to include the file content.

The default is true.

contentProviderId?: string

The override for the content provider.

format?: FileFormat

The override file format for the request.

hash?: boolean

Whether to include a hash in the response.

The default is false.

type?: string

The override file type for the request.