file-collection
    Preparing search index...

    Interface SourceItem

    interface SourceItem {
        baseURL?: string;
        extra?: boolean;
        lastModified?: number;
        options?: Options;
        originalRelativePath?: string;
        relativePath: string;
        size?: number;
        uuid?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baseURL?: string

    If the baseURL don't start with 'ium:/', it should be a http(s) base url. To fetch the resource, the url should be new URL(originalRelativePath ?? relativePath, baseURL)

    extra?: boolean

    If true, this source contains extra data not bound into the /data directory Only used for source with baseURL 'ium:/'

    lastModified?: number
    options?: Options
    originalRelativePath?: string

    If there is an originalRelativePath, ItemData methods must use it instead of relativePath to get the data from a distant resource.

    relativePath: string
    size?: number
    uuid?: string