Skip to content

MediaUrlOptions

@blobs/sdk v0.1.0


@blobs/sdk / utils/blobUtils / MediaUrlOptions

Defined in: utils/blobUtils.ts:381

Options for the media URL helpers.

Properties

includeToken?

optional includeToken?: boolean

Defined in: utils/blobUtils.ts:383

Append the auth token in the URL (required for private media when no cookie auth is present).


inline?

optional inline?: boolean

Defined in: utils/blobUtils.ts:385

Use the inline/view endpoint (for <img> etc.) instead of the download endpoint.


network?

optional network?: string

Defined in: utils/blobUtils.ts:387

Specific network to resolve the URL against (multi-network deployments).