file-collection
    Preparing search index...

    Interface ExtendedSourceItem

    interface ExtendedSourceItem {
        arrayBuffer: () => Promise<ArrayBufferLike>;
        baseURL?: string;
        extra?: boolean;
        lastModified?: number;
        name: string;
        options?: Options;
        originalRelativePath?: string;
        relativePath: string;
        size?: number;
        stream: () => ReadableStream<Uint8Array<ArrayBufferLike>>;
        text: () => Promise<string>;
        uuid: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    arrayBuffer: () => Promise<ArrayBufferLike>
    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
    name: string
    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
    stream: () => ReadableStream<Uint8Array<ArrayBufferLike>>
    text: () => Promise<string>
    uuid: string