Taos API Reference
    Preparing search index...

    Interface BuildEntryInput

    One asset to place into a pack.

    interface BuildEntryInput {
        key: string;
        bytes: Uint8Array;
        type?: string;
        path?: string;
        labels?: string[];
        compression?: Compression;
    }
    Index

    Properties

    key: string

    Stable lookup key (guid or authored address).

    bytes: Uint8Array

    Raw asset bytes.

    type?: string

    Loader hint ('gltf', 'texture', …) recorded on the entry.

    path?: string

    Original source path, for tooling/debugging.

    labels?: string[]

    Labels for grouped queries.

    compression?: Compression

    Override the archive-wide default compression for this entry.