Sanity Library Reference Docs
    Preparing search index...

    Interface MediaLibraryAssetAspectDocument

    A document representing a Media Library asset aspect.

    Each aspect provides a schema describing custom data that can be assigned to assets.

    interface MediaLibraryAssetAspectDocument {
        assetType?: MediaLibraryAssetType[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    assetType?: MediaLibraryAssetType[]

    Asset types the aspect can be assigned to.

    If no assetType is defined, the aspect may be assigned to any asset type.