@enplug/sdk-dashboard
Advanced tools
Comparing version 5.2.1-zoning-13 to 5.2.1-zoning-14
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.2.1-zoning-13", | ||
"version": "5.2.1-zoning-14", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.ts", |
@@ -248,3 +248,3 @@ import { | ||
*/ | ||
getAssetPreviewData(appId: string, asset: Asset<any>) | ||
getAssetPreviewData(appId: string, asset: Asset<any>, origin: string) | ||
: Promise<{ | ||
@@ -256,2 +256,3 @@ previewType: 'app' | 'graphics' | 'video' | 'url', | ||
validateObject(asset, 'asset must be an instance of Asset<any>.'); | ||
validateString(origin, 'origin must be a string.'); | ||
@@ -264,2 +265,3 @@ return this.bridge.sendMessage({ | ||
asset, | ||
origin, | ||
}, | ||
@@ -266,0 +268,0 @@ }); |
@@ -31,10 +31,2 @@ /** These are meant to avaialable to client apps */ | ||
NeedsApproval?: boolean; | ||
IsZoningWidget?: boolean; | ||
/** Currently @ Value.Name - subject to change. Display name of the asset. used in lists. */ | ||
Name?: string; | ||
/** Currently @ Value.Zone - subject to change. Zoning widget asset slot type */ | ||
Zone?: 'banner' | 'ticker'; | ||
} | ||
@@ -51,2 +43,13 @@ | ||
Version?: number; | ||
IsZoningWidget?: boolean; | ||
/** Currently @ Value.Name - subject to change. Display name of the asset. used in lists. */ | ||
Name?: string; | ||
/** Currently @ Value.Zone - subject to change. Zoning widget asset slot type */ | ||
Zone?: 'banner' | 'ticker'; | ||
/** List of zoning assets on which the obj - a widget asset is placed */ | ||
ZoningAssetIds?: string[]; | ||
} | ||
@@ -53,0 +56,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
219792
3509