@enplug/sdk-dashboard
Advanced tools
Comparing version 5.4.12-dev to 5.4.12
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.4.12-dev", | ||
"version": "5.4.12", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "typings": "./index.d.ts", |
@@ -261,2 +261,35 @@ import { Asset, DefaultAssetLevel, DeployDialogOptions, EnplugAccount, EnplugUser, FeedData, Layout, ThemeDefinition, ThemeAsset, FontDefinition, FontsApiItem, DefaultAsset, ZoningAppsResponse, ZoningConfig, AccountCustomPropertiesResponse, AccountInfoResponse } from './external-types'; | ||
loadAccount(): Promise<AccountInfoResponse>; | ||
/** | ||
* Creates an asset history. | ||
* | ||
* @param T - Model of Asset's current version value | ||
* @param asset - An asset to save. | ||
* | ||
* @returns Promise resolving with the saved asset version. | ||
*/ | ||
createAssetVersion<T>(asset: Asset<T>): Promise<Asset<T>>; | ||
/** | ||
* Loads an array of assetHistory records by Asset Ids. | ||
* | ||
* @param assetsIds - An array of ids of the assets which histories will be returned. | ||
* | ||
* @returns Resolves to an array of requested hitory assets per assetId. | ||
*/ | ||
getAssetsHistoryByAssetId<T>(assetsIds: string[]): Promise<Array<Asset<T>>>; | ||
/** | ||
* Loads an array of assetHistory records by Ids. | ||
* | ||
* @param historyIds - An array of ids of the asset histories that will be returned. | ||
* | ||
* @returns Resolves to an array of requested hitory assets. | ||
*/ | ||
getAssetsHistoryById<T>(historyIds: string[]): Promise<Array<Asset<T>>>; | ||
/** | ||
* Deletes one or many assetHistory records under the current app instance. | ||
* | ||
* @param id - Id of an assetHistory to delete. To delete multiple assetsHistories, an array of ids can be passed. | ||
* | ||
* @returns Resolves after successfully deleting the assetHistory. | ||
*/ | ||
DeleteAssetHistory(id: string | string[]): Promise<void>; | ||
} |
@@ -69,3 +69,3 @@ /** These are meant to available to client apps */ | ||
} | ||
export declare type DataType = 'date' | 'text' | 'image'; | ||
export declare type DataType = 'date' | 'text' | 'image' | 'percentage'; | ||
export interface DataItems { | ||
@@ -431,3 +431,3 @@ [columnId: string]: DataItem; | ||
} | ||
export declare type BindingDataType = 'image' | 'date' | 'text'; | ||
export declare type BindingDataType = 'image' | 'date' | 'text' | 'percentage'; | ||
export interface PushConnectionConfig { | ||
@@ -441,2 +441,3 @@ webURL: string; | ||
profile?: string; | ||
id?: string; | ||
} | ||
@@ -443,0 +444,0 @@ export interface PullConnectionConfig { |
@@ -159,3 +159,8 @@ /** | ||
UnbanUser = "social.unbanUser", | ||
RefreshFeed = "social.refreshFeed" | ||
RefreshFeed = "social.refreshFeed", | ||
CreateAssetVersion = "app.createAssetVersion", | ||
GetAssetsHistoryById = "app.getAssetsHistoryById", | ||
GetAssetsHistoryByAssetId = "app.getAssetsHistoryByAssetId", | ||
DeleteAssetHistory = "app.deleteAssetHistory", | ||
RefreshTwitterFeed = "social.refreshTwitterFeed" | ||
} |
@@ -48,2 +48,6 @@ import { BridgeBase } from './bridge/bridge-base'; | ||
refreshFeed(feedId: string): Promise<any>; | ||
/** | ||
* Gets new Twitter posts | ||
*/ | ||
refreshTwitterFeed(assetId: string, feedId: string): Promise<any>; | ||
} |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
257970
3553
1
1