@valo/extensibility
Advanced tools
Comparing version 0.0.1-0606145b509ce58bb8dd34850aa13b94a46dee0b to 0.0.1-0cd09d61f7edc81a3efb0fe76851ac436904f6ee
@@ -0,1 +1,2 @@ | ||
export * from './datasource'; | ||
export * from './enums'; | ||
@@ -2,0 +3,0 @@ export * from './models'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./datasource"), exports); | ||
tslib_1.__exportStar(require("./enums"), exports); | ||
tslib_1.__exportStar(require("./services"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { ExtensionService, TriggerService, ProviderService } from '..'; | ||
import { ExtensionService, TriggerService, ProviderService, DataSourceService } from '..'; | ||
export interface ExtensibilityWindow extends Window { | ||
@@ -6,2 +6,3 @@ ValoExtensionPoints: ExtensionService; | ||
ValoExtensionProviders: ProviderService; | ||
ValoExtensionDataSource: DataSourceService; | ||
} |
@@ -0,1 +1,2 @@ | ||
export * from './DataSource'; | ||
export * from './ExtensibilityWindow'; | ||
@@ -5,2 +6,3 @@ export * from './ExtensionPoint'; | ||
export * from './ExtensionProvider'; | ||
export * from './UnbindedDataSource'; | ||
export * from './UnbindedExtensionPoint'; | ||
@@ -7,0 +9,0 @@ export * from './UnbindedExtensionProvider'; |
@@ -5,3 +5,2 @@ import { IUserProfileProperty, IUserProperties } from '../models'; | ||
getUserProperties(): Promise<IUserProperties>; | ||
getAllProperties(): Promise<IUserProperties>; | ||
} |
@@ -0,3 +1,4 @@ | ||
export * from './DataSourceService'; | ||
export * from './ExtensionService'; | ||
export * from './ProviderService'; | ||
export * from './TriggerService'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./DataSourceService"), exports); | ||
tslib_1.__exportStar(require("./ExtensionService"), exports); | ||
@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./ProviderService"), exports); |
@@ -43,3 +43,3 @@ "use strict"; | ||
// Find the index of the updated binding | ||
var ubdIdx = findIndex(this.unbindedProviders, function (ext) { return ext.type === ext.type; }); | ||
var ubdIdx = findIndex(this.unbindedProviders, function (ext) { return ext.provider === ext.provider; }); | ||
if (ubdIdx !== -1) { | ||
@@ -46,0 +46,0 @@ this.unbindedProviders.splice(ubdIdx, 1); |
{ | ||
"name": "@valo/extensibility", | ||
"version": "0.0.1-0606145b509ce58bb8dd34850aa13b94a46dee0b", | ||
"version": "0.0.1-0cd09d61f7edc81a3efb0fe76851ac436904f6ee", | ||
"description": "", | ||
@@ -14,2 +14,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@microsoft/sp-webpart-base": "1.8.2", | ||
"@types/react": "16.7.20", | ||
@@ -16,0 +17,0 @@ "typescript": "3.2.4" |
@@ -0,1 +1,2 @@ | ||
export * from './datasource'; | ||
export * from './enums'; | ||
@@ -2,0 +3,0 @@ export * from './models'; |
@@ -1,2 +0,2 @@ | ||
import { ExtensionService, TriggerService, ProviderService } from '..'; | ||
import { ExtensionService, TriggerService, ProviderService, DataSourceService } from '..'; | ||
@@ -7,2 +7,3 @@ export interface ExtensibilityWindow extends Window { | ||
ValoExtensionProviders: ProviderService; | ||
ValoExtensionDataSource: DataSourceService; | ||
} |
@@ -0,1 +1,2 @@ | ||
export * from './DataSource'; | ||
export * from './ExtensibilityWindow'; | ||
@@ -5,2 +6,3 @@ export * from './ExtensionPoint'; | ||
export * from './ExtensionProvider'; | ||
export * from './UnbindedDataSource'; | ||
export * from './UnbindedExtensionPoint'; | ||
@@ -7,0 +9,0 @@ export * from './UnbindedExtensionProvider'; |
@@ -6,3 +6,2 @@ import { IUserProfileProperty, IUserProperties } from '../models'; | ||
getUserProperties(): Promise<IUserProperties>; | ||
getAllProperties(): Promise<IUserProperties>; | ||
} |
@@ -45,3 +45,3 @@ import find = require('lodash/find'); | ||
// Find the index of the updated binding | ||
const ubdIdx = findIndex(this.unbindedExtPoints, (ext: ExtensionPoint) => ext.location === ext.location); | ||
const ubdIdx = findIndex(this.unbindedExtPoints, (ext: UnbindedExtensionPoint) => ext.location === ext.location); | ||
if (ubdIdx !== -1) { | ||
@@ -48,0 +48,0 @@ this.unbindedExtPoints.splice(ubdIdx, 1); |
@@ -0,3 +1,4 @@ | ||
export * from './DataSourceService'; | ||
export * from './ExtensionService'; | ||
export * from './ProviderService'; | ||
export * from './TriggerService'; |
@@ -46,3 +46,3 @@ import find = require('lodash/find'); | ||
// Find the index of the updated binding | ||
const ubdIdx = findIndex(this.unbindedProviders, (ext: ExtensionProvider<T>) => ext.type === ext.type); | ||
const ubdIdx = findIndex(this.unbindedProviders, (ext: UnbindedExtensionProvider) => ext.provider === ext.provider); | ||
if (ubdIdx !== -1) { | ||
@@ -49,0 +49,0 @@ this.unbindedProviders.splice(ubdIdx, 1); |
@@ -45,3 +45,3 @@ import find = require('lodash/find'); | ||
// Find the index of the updated binding | ||
const ubdIdx = findIndex(this.unbindedTriggers, (ext: ExtensionTrigger) => ext.trigger === ext.trigger); | ||
const ubdIdx = findIndex(this.unbindedTriggers, (ext: UnbindedExtensionTrigger) => ext.trigger === ext.trigger); | ||
if (ubdIdx !== -1) { | ||
@@ -48,0 +48,0 @@ this.unbindedTriggers.splice(ubdIdx, 1); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62584
103
1214
3