Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enplug/sdk-dashboard

Package Overview
Dependencies
Maintainers
0
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enplug/sdk-dashboard - npm Package Compare versions

Comparing version 5.4.47-2-dev1 to 5.4.47-dev-2

2

package.json
{
"name": "@enplug/sdk-dashboard",
"version": "5.4.47-2-dev1",
"version": "5.4.47-dev-2",
"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 } 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';

@@ -56,4 +56,14 @@ /**

*/
getAssets<T>(): Promise<Array<Asset<T>>>;
getAssets<T>(options?: PaginationConfig): Promise<Array<Asset<T>>>;
/**
* Loads an array of assets for the current app instance.
*
* The list is also limited to the {@link setDisplaySelectorCallback|Display Group selector} dropdown's choice.
*
* @param T - Model of asset's value
* @param options - These options implement the new pagination, if you don't want to use it send this parameter as null
* @returns Areturns the assets and pagination
*/
getAssetsPagination<T>(options: PaginationConfig): Promise<AssetsPaginationResponse<T>>;
/**
* Loads an array of assets by Ids.

@@ -60,0 +70,0 @@ *

@@ -271,3 +271,2 @@ /** These are meant to available to client apps */

assetIdToReplace?: string;
showRatioNotification?: boolean;
}

@@ -571,2 +570,18 @@ export interface UploadedFileResult extends FilepickerUploadedFile {

}
export interface PaginationConfig {
page?: number;
enableNewPagination?: boolean;
limit?: number;
name?: string;
tags?: string;
}
export interface PaginationResponse {
Limit: number;
CurrentPage: number;
TotalPages: number;
}
export interface AssetsPaginationResponse<T> {
Assets: Array<Asset<T>>;
Pagination: PaginationResponse;
}
export interface ZoningAppsResponse {

@@ -573,0 +588,0 @@ BannerApps: ZoningApp[];

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc