Search Docs
Loading...
Skip to content

Type Alias: AssetLibraryEntryInput

type AssetLibraryEntryInput =
| AssetEntryId
| {
entry: AssetEntryId;
excludeSourceIds?: string[];
};

A reference to an asset library entry to display. Either an entry ID, or an object that names the entry plus source IDs to hide for this display only — for example a replace panel that shows a library with a non-applicable source hidden (the text “Styles” panel shows ly.img.text but hides its text-combinations source). This per-display excludeSourceIds is distinct from the entry’s own includeGroups/excludeGroups, which apply wherever the entry is shown.