Socket
Socket
Sign inDemoInstall

@amalto/typings

Package Overview
Dependencies
Maintainers
4
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amalto/typings - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

webpack.config.js

9

build/index.js

@@ -1,9 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Errors = require("./models/Errors");
exports.Errors = Errors;
var NotificationModel_1 = require("./models/NotificationModel");
exports.NotificationModel = NotificationModel_1.default;
var UserModel_1 = require("./models/UserModel");
exports.getUserJson = UserModel_1.getUserJson;
!function(E){function e(t){if(S[t])return S[t].exports;var A=S[t]={i:t,l:!1,exports:{}};return E[t].call(A.exports,A,A.exports,e),A.l=!0,A.exports}var S={};e.m=E,e.c=S,e.d=function(E,S,t){e.o(E,S)||Object.defineProperty(E,S,{configurable:!1,enumerable:!0,get:t})},e.n=function(E){var S=E&&E.__esModule?function(){return E.default}:function(){return E};return e.d(S,"a",S),S},e.o=function(E,e){return Object.prototype.hasOwnProperty.call(E,e)},e.p="/build/",e(e.s=0)}([function(E,e,S){E.exports=S(1)},function(E,e,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=S(2);e.Errors=t;var A=S(3);e.NotificationModel=A.default;var _=S(4);e.getUserJson=_.getUserJson},function(E,e,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(E,e,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t;!function(E){!function(E){E[E.APP_LOADED=0]="APP_LOADED",E[E.SUCCESS_CREATE=1]="SUCCESS_CREATE",E[E.SUCCESS_UPDATE=2]="SUCCESS_UPDATE",E[E.SUCCESS_DELETE=3]="SUCCESS_DELETE",E[E.INVALID_PASSWORD=4]="INVALID_PASSWORD",E[E.INVALID_EMAIL=5]="INVALID_EMAIL",E[E.CARD_TEMPLATE_ITEM_FULL=6]="CARD_TEMPLATE_ITEM_FULL",E[E.INVALID_COLOR_CODE=7]="INVALID_COLOR_CODE",E[E.EMPTY_VALUE=8]="EMPTY_VALUE",E[E.XHR_ERROR=9]="XHR_ERROR",E[E.PASSWORD_UPDATED=10]="PASSWORD_UPDATED",E[E.DETAILS_UPDATED=11]="DETAILS_UPDATED",E[E.SETTINGS_UPDATED=12]="SETTINGS_UPDATED",E[E.AVATAR_UPDATED=13]="AVATAR_UPDATED",E[E.USER_ASSOCIATED=14]="USER_ASSOCIATED",E[E.USER_ASSOCIATE_RESEND=15]="USER_ASSOCIATE_RESEND",E[E.USER_DISASSOCIATED=16]="USER_DISASSOCIATED",E[E.MESSAGE_DELETED=17]="MESSAGE_DELETED",E[E.MESSAGE_REPROCESSED=18]="MESSAGE_REPROCESSED",E[E.USER_EXISTS=19]="USER_EXISTS",E[E.UNEXPECTED_ERROR=20]="UNEXPECTED_ERROR",E[E.REGISTRATION_UNAVAILABLE=21]="REGISTRATION_UNAVAILABLE"}(E.Type||(E.Type={}))}(t||(t={})),e.default=t},function(E,e,S){"use strict";function t(E){var e={};if(E&&E.jsonContent)try{e=JSON.parse(E.jsonContent)}catch(E){console.log("JSON content parsing error: ",E)}return e}Object.defineProperty(e,"__esModule",{value:!0}),e.getUserJson=t}]);
//# sourceMappingURL=index.js.map
export interface Action {
/** Redux action type. */
type: string;
/** Redux action value. */
value: any;
}
export interface AppKey {
/** Value. */
appKey: string;
/** Icon associated. */
appLogo: string;
/** Description on any languages. */
appDescriptionMap: {
[lang: string]: string;
};
/** Publisher name. */
publisherName: string;
/** Publisher postal address */
publisherAddress: string;
/** Custom properties. */
properties: {
[key: string]: string;
};
/** Usable or not. */
active: boolean;
}
export interface BatchOperationReport {
/** Number of items processed. */
processed: number;
/** Populated if some of the processed items have failed. */
errors: {
[itemId: string]: {
/** Cause of the error. */
cause: string;
/** Error stacktrace. */
stackTrace: {
/** In which method error occurred. */
methodName: string;
/** In which file error occurred. */
fileName: string;
/** At which line error occurred. */
lineNumber: number;
/** Java class. */
className: string;
/** Is native method or not. */
nativeMethod: boolean;
}[];
/** HTML status code. */
status: number | string;
/** Internal error code. */
code: number | string;
link: string;
/** Complete error message. */
developerMessage: string;
/** Readable message status. */
message: string;
/** If not empty, conflicts happened during process. */
conflictInformation: any[];
/** Error message depending on user browser language. */
localizedMessage: string;
/** Items suppressed. */
suppressed: any[];
};
};
/** General error message. */
message: string;
}
/// <reference types="react" />
/**
* Created by franckmontaigne on 09/06/16.
*/
import { DisplayTemplate } from './DisplayTemplate';

@@ -6,0 +3,0 @@ interface ColumnHeader {

@@ -1,4 +0,1 @@

/**
* Created by franckmontaigne on 16/11/15.
*/
export declare namespace DisplayTemplateItem {

@@ -5,0 +2,0 @@ enum Area {

@@ -11,107 +11,31 @@ /// <reference types="react" />

export interface DynamicComponent extends ReduxProps {
/** Interface used to perform all the api call to the server. */
api: WebApi;
/** Allow you to handle your navigation. */
appHistory: History;
/** Actions controlling the DataGrid template such as sorting order or column width. */
dataGridActions: any;
/** Component to be display by an eval. */
componentScript: string;
/** Component data to be passed has props. */
componentData?: any;
/** Refresh data to be passed to component. */
refreshData?: () => void;
/** Context data saved into store to be restored on serveur. */
contextData?: any;
/**
* Store component data inside the store as contextData.
* @param { any } contextData
*/
storeContext?: (contextData: any) => void;
/**
* Save template into user configuration settings.
* @param { UserModel } payload
*/
saveDataGridTemplate?: (payload: UserModel) => void;
/**
* Display column header configuration popup.
* @param { any } content
* @param { number } [positionX]
* @param { number } [positionY]
*/
displayContextMenu: (content: any, positionX?: number, positionY?: number) => void;
/**
* Hide context menu.
*/
hideContextMenu: () => void;
/**
* Set dirty status of the component.
* If true a comfirmation modal will shows up if you try to move to another menu.
* @param { boolean } hasUnsavedChanges
*/
setStatus?: (hasUnsavedChanges: boolean) => void;
/** Component height. */
height?: number;
/** Component fullscreen status. */
fullscreen?: boolean;
/** Manage component fullscreen status. */
setFullscreen?: (fullscreen: boolean) => void;
/** Reload tooltip if not displayed correctly. */
reloadTooltips?: () => void;
/**
* Show current job status.
* @param { string | number } jobId
* @param { ( job: RunningJob ) => void } callbackOnComplete
*/
showJobStatus?: (jobId: string | number, callbackOnComplete?: (job: RunningJob) => void) => void;
/** If any application publisher profile is accessible to user. */
canSelectAppKey?: boolean;
/** Current application publisher profile object selected. */
selectedAppKey?: AppKey;
/** Current application publisher profile name selected. */
selectedAppKeyName?: string;
/**
* Application publisher profile is installed.
* @param { string } appKeyName
*/
hasAppKeyInstalled?: (appKeyName: string) => boolean;
/**
* Handle display of bach operations in case some of the operation fails and other succeed.
* @param { BatchOperationReport } report
*/
handleBatchOperationReportDisplay?: (report: BatchOperationReport) => void;
/**
* Display the custom confirmation modal.
* @param { string } title
* @param { React.ReactElement<any> | string } body
* @param { any } [confirmAction]
* @param { any } [cancelAction]
* @param { string } [confirmLevel]
* @param { string[] } [itemsList]
*/
showDialog: (title: string, body: React.ReactElement<any> | string, confirmAction?: any, cancelAction?: any, confirmLevel?: string, itemsList?: string[]) => void;
/** Hide the confirmation modal. */
hideDialog: () => void;
/**
* Display a custom notification. More details on [NotificationModel](#notificationmodel).
* @param { NotificationModel } notificationOptions
*/
displayNotification: (notificationOptions: NotificationModel) => void;
/**
* Display an error notification for failed request.
* @param { any } error
*/
handleErrorDisplay: (error: any) => void;
/**
* Render generic "Tabs" component with items list and views.
*
* @param { BaseListConfig } config
*/
renderBaseServiceList?: (config: BaseListConfig) => JSX.Element;
/**
* Language to use on the component. e.g: "en-US".
* Locales available at [Locale](#locale).
*/
locale: string;
}
export default DynamicComponent;

@@ -1,4 +0,1 @@

/**
* Created by Christopher VUONG on 03/03/2017 (DD:MM:YYYY)
*/
export interface OrderDataset {

@@ -5,0 +2,0 @@ id: string;

@@ -1,4 +0,1 @@

/**
* Created by franckmontaigne on 20/07/15.
*/
declare module NotificationModel {

@@ -5,0 +2,0 @@ interface Action {

@@ -1,4 +0,1 @@

/**
* Created by Bruno Grieder on 09 April 2015.
*/
import { DisplayTemplate } from './DisplayTemplate';

@@ -5,0 +2,0 @@ import { DataGridTemplates } from './DataGrid';

@@ -136,2 +136,3 @@ // Models

* @param { BaseListConfig } config
* @return { JSX.Element }
*/

@@ -138,0 +139,0 @@ renderBaseServiceList?: ( config: BaseListConfig ) => JSX.Element;

@@ -5,3 +5,3 @@ {

"description": "Interfaces used in Platform 6 UI component.",
"version": "1.0.13",
"version": "1.0.14",
"license": "MIT",

@@ -22,4 +22,4 @@ "repository": {

"setup": "npm install",
"test": "ava ./test/test.js --verbose",
"prepare": "rm -rf ./build; tsc -d"
"build": "rm -rf ./build/; NODE_ENV=production webpack -p --config webpack.config.js",
"test": "ava ./test/test.js --verbose"
},

@@ -31,6 +31,8 @@ "publishConfig": {

"@types/react": "15.6.10",
"ts-loader": "3.2.0"
"ts-loader": "3.2.0",
"typescript": "2.6.2",
"webpack": "3.10.0"
},
"dependencies": {
"@amalto/service-helpers": "1.0.35",
"@amalto/service-helpers": "1.0.36",
"react": "15.6.2",

@@ -37,0 +39,0 @@ "redux": "3.7.2"

@@ -6,7 +6,7 @@ {

"noImplicitAny": false,
"removeComments": false,
"outDir": "build",
"removeComments": true,
"outDir": "../build",
"jsx": "react",
"sourceMap": true,
"declaration": true,
"sourceMap": true,
"experimentalDecorators": true,

@@ -24,5 +24,4 @@ "lib": [

"exclude": [
"node_modules",
"build"
"node_modules"
]
}

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