remix/file-storage · Interface

View Source

ListOptions

Summary

Options for listing files in storage.

Signature

interface ListOptions {
  cursor?: string
  includeMetadata?: boolean
  limit?: number
  prefix?: string
}

Properties

cursor

An opaque string that allows you to paginate over the keys in storage.

includeMetadata

If true, include file metadata in the result.

limit

The maximum number of files to return.

prefix

Only return files with keys that start with this prefix.