Sanity Library Reference Docs
    Preparing search index...

    Interface MediaLibraryConfigBeta

    Config for the Sanity Media Library asset source integration.

    interface MediaLibraryConfig {
        enabled?: boolean;
        libraryId?: string;
    }
    Index

    Properties

    Properties

    enabled?: boolean

    Whether the Media Library is enabled.

    libraryId?: string

    The ID of the Media Library that is connected to the Studio. If not provided, the Media Library will be automatically detected.