New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@valo/extensibility

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@valo/extensibility - npm Package Compare versions

Comparing version 1.8.0-1fd84447d6a5e2c8d22178b3c24c50bc47b0692a to 1.8.0-3df48b0c9384ef7716e092ec7ec2fa62256db4bf

lib/models/basic/index.d.ts

3

config.json

@@ -6,4 +6,5 @@ {

"ProviderService": "1.1.0",
"TriggerService": "1.1.0"
"TriggerService": "1.1.0",
"DynamicDataEventEmitter": "1.0.0"
}
}

@@ -1,3 +0,2 @@

import { IBaseDataSourceProvider, IDataSourceData } from '..';
import { IPagingSettings } from '../models/IPagingSettings';
import { IBaseDataSourceProvider, IDataSourceData, IPagingSettings } from '..';
import { WebPartContext, IPropertyPaneGroup } from '@microsoft/sp-webpart-base';

@@ -4,0 +3,0 @@ export declare abstract class BaseDataSourceProvider<T> implements IBaseDataSourceProvider<T> {

import { ContextData } from '.';
import { KeyValue } from '../basic';
/**

@@ -10,2 +11,6 @@ * Version 1.8 (beta)

contentTypeName?: string;
/**
* An array containing pairs: FieldInternalName : Initial panel value
*/
initialPanelValues?: KeyValue;
}
export * from './CallToAction';
export * from './DataSource';
export * from './ExtensibilityWindow';

@@ -8,5 +7,2 @@ export * from './ExtensionPoint';

export * from './ExtensionTrigger';
export * from './IBaseDataSourceProvider';
export * from './IDataSourceData';
export * from './IPagingSettings';
export * from './IUserProperties';

@@ -27,3 +23,2 @@ export * from './IWebComponentDefinition';

export * from './StorageType';
export * from './UnbindedDataSource';
export * from './UnbindedDefer';

@@ -34,3 +29,6 @@ export * from './UnbindedExtensionPoint';

export * from './UnbindedTriggerDefer';
export * from "./universalWPModel";
export * from "./hbsTemplates";
export * from "./contextTriggerStructures";
export * from "./dynamicData";
export * from "./basic";

@@ -7,1 +7,2 @@ "use strict";

tslib_1.__exportStar(require("./contextTriggerStructures"), exports);
tslib_1.__exportStar(require("./dynamicData"), exports);

@@ -20,4 +20,5 @@ import { ExtensionPoint, IntranetLocation } from '..';

* @param {Function} updateRegistrationCb - Callback function when extension is ready
* @param {boolean} mutli - Specifies if the extension supports multiple registrations
*/
registerListener(extensionLocation: IntranetLocation, updateRegistrationCb: () => void): ExtensionPoint | null;
registerListener(extensionLocation: IntranetLocation, updateRegistrationCb: () => void, multi?: boolean): ExtensionPoint | ExtensionPoint[] | null;
/**

@@ -28,3 +29,3 @@ * Use this to retrieve already binded extension point listeners {external}

*/
getListener(extensionLocation: IntranetLocation): ExtensionPoint | null;
getListener(extensionLocation: IntranetLocation, multi?: boolean): ExtensionPoint | ExtensionPoint[] | null;
}

@@ -57,7 +57,9 @@ "use strict";

* @param {Function} updateRegistrationCb - Callback function when extension is ready
* @param {boolean} mutli - Specifies if the extension supports multiple registrations
*/
ExtensionService.prototype.registerListener = function (extensionLocation, updateRegistrationCb) {
var foundExt = this.getListener(extensionLocation);
ExtensionService.prototype.registerListener = function (extensionLocation, updateRegistrationCb, multi) {
if (multi === void 0) { multi = false; }
var foundExts = this.getListener(extensionLocation, multi);
// Register the unbinded WP
if (!foundExt) {
if (!foundExts) {
// Check if the binding already exist

@@ -75,3 +77,3 @@ var unbindedWp = sp_lodash_subset_1.find(this.unbindedExtPoints, function (ds) { return ds.location === extensionLocation; });

}
return foundExt;
return foundExts;
};

@@ -83,3 +85,7 @@ /**

*/
ExtensionService.prototype.getListener = function (extensionLocation) {
ExtensionService.prototype.getListener = function (extensionLocation, multi) {
if (multi === void 0) { multi = false; }
if (multi) {
return this.extPoints.filter(function (ext) { return ext.location === extensionLocation; });
}
return sp_lodash_subset_1.find(this.extPoints, function (ext) { return ext.location === extensionLocation; });

@@ -86,0 +92,0 @@ };

@@ -6,1 +6,2 @@ export * from './DataSourceService';

export * from './WebComponentService';
export * from "./DynamicDataEventEmitter";

@@ -9,1 +9,2 @@ "use strict";

tslib_1.__exportStar(require("./WebComponentService"), exports);
tslib_1.__exportStar(require("./DynamicDataEventEmitter"), exports);

@@ -5,1 +5,2 @@ export declare const DataSourceServiceVersion: string;

export declare const TriggerServiceVersion: string;
export declare const DynamicDataEventEmitterVersion: string;

@@ -7,1 +7,2 @@ "use strict";

exports.TriggerServiceVersion = "1_1_0";
exports.DynamicDataEventEmitterVersion = "1_0_0";
{
"name": "@valo/extensibility",
"version": "1.8.0-1fd84447d6a5e2c8d22178b3c24c50bc47b0692a",
"version": "1.8.0-3df48b0c9384ef7716e092ec7ec2fa62256db4bf",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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