dacha
    Preparing search index...

    Interface AssetOptions<T>

    Options passed to an asset constructor.

    interface AssetOptions<T = Record<string, unknown>> {
        data: T;
        id: string;
        name: string;
    }

    Type Parameters

    • T = Record<string, unknown>
    Index
    data: T

    Asset fields declared by the schema of its kind

    id: string

    Unique identifier of the asset

    name: string

    Name of the asset