Selva Compute API Reference - v1.1.2
    Preparing search index...

    Type Alias ProcessedFile

    Represents a normalized, processed file ready for consumption or archival.

    This is the unified intermediate format produced by processing both FileData and FileBaseInfo. Files in this format are ready to be packaged into archives (e.g., ZIP files) or returned to callers for programmatic use.

    type ProcessedFile = {
        content: Uint8Array | string;
        fileName: string;
        path: string;
    }
    Index

    Properties

    Properties

    content: Uint8Array | string

    File content as either binary data or text. Binary format (Uint8Array) is used for decoded base64 or fetched binary files; text format is used for plain text content

    fileName: string

    Full filename including extension (e.g., "model.3dm")

    path: string

    File path for archive organization (e.g., "subfolder/model.3dm"). Used when creating ZIP archives or other hierarchical structures