Skip to content

remix/assets · Interface

View Source

AssetDetails

Summary

Diagnostic information about a configured asset URL or file path.

Signature

interface AssetDetails {
  access?: AssetAccessDetails
  filePath?: string
  fileRoot?: string
  status: AssetStatus
  type?: AssetKind
  url?: string
  urlRoot?: string
}

Properties

access

Access-control decision and the rules responsible for it.

filePath

Absolute mapped file path.

fileRoot

Configured filesystem mount root that matched the asset.

status

Browser-reachability result.

type

How the asset server handles the file.

url

Stable public URL pathname for the asset.

urlRoot

Public mount root that matched the asset.