@adobe/genstudio-uix-sdk
Version:
GenStudio UI Extensibility SDK
24 lines (23 loc) • 499 B
TypeScript
import { Channel } from "../channel/Channel";
/**
* Represents an Asset entity in the Experience.
*/
export type Asset = {
id: string;
name: string;
signedUrl: string;
source: string;
sourceUrl: string;
metadata?: AssetMetadata;
};
export type AssetMetadata = {
channels: Channel[];
timeframe: string[];
region: string[];
language: string[];
keywords: string[];
};
export type ExternalAssetSelection = {
extensionId: string;
assets: Asset[];
};