@enplug/sdk-dashboard
Advanced tools
Comparing version 5.4.47-12 to 5.4.47-13
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.4.47-12", | ||
"version": "5.4.47-13", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "typings": "./index.d.ts", |
@@ -1,2 +0,2 @@ | ||
import { Asset, DefaultAssetLevel, DeployDialogOptions, EnplugAccount, EnplugUser, FeedData, Layout, ThemeDefinition, ThemeAsset, FontDefinition, FontsApiItem, DefaultAsset, ZoningAppsResponse, ZoningConfig, AccountCustomPropertiesResponse, AccountInfoResponse, PaginationConfig } from './external-types'; | ||
import { Asset, DefaultAssetLevel, DeployDialogOptions, EnplugAccount, EnplugUser, FeedData, Layout, ThemeDefinition, ThemeAsset, FontDefinition, FontsApiItem, DefaultAsset, ZoningAppsResponse, ZoningConfig, AccountCustomPropertiesResponse, AccountInfoResponse, PaginationConfig, AssetsPaginationResponse } from './external-types'; | ||
import { BridgeBase } from './bridge/bridge-base'; | ||
@@ -57,3 +57,3 @@ /** | ||
*/ | ||
getAssets<T>(options?: PaginationConfig): Promise<Array<Asset<T>>>; | ||
getAssets<T>(options?: PaginationConfig): Promise<Array<Asset<T>> | AssetsPaginationResponse<T>>; | ||
/** | ||
@@ -60,0 +60,0 @@ * Loads an array of assets by Ids. |
@@ -576,2 +576,11 @@ /** These are meant to available to client apps */ | ||
} | ||
export interface PaginationResponse { | ||
Limit: number; | ||
CurrentPage: number; | ||
TotalPages: number; | ||
} | ||
export interface AssetsPaginationResponse<T> { | ||
assets: Array<Asset<T>>; | ||
pagination: PaginationResponse; | ||
} | ||
export interface ZoningAppsResponse { | ||
@@ -578,0 +587,0 @@ BannerApps: ZoningApp[]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
270028
3718