@contrail/extensions-sdk
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -0,0 +0,0 @@ ## What |
@@ -0,0 +0,0 @@ import { AppContext } from "../apps/app-context"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { User } from "@contrail/entity-types"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -5,3 +5,4 @@ import { DocumentElement } from '@contrail/documents'; | ||
DELETE_ELEMENTS = "board:delete_elements", | ||
MODIFY_ELEMENTS = "board:modify_elements" | ||
MODIFY_ELEMENTS = "board:modify_elements", | ||
GET_ELEMENTS = "board:get_elements" | ||
} | ||
@@ -20,3 +21,4 @@ export interface BoardDocumentElement extends DocumentElement { | ||
static modifyElements(changeObjects: Array<BoardDocumentElementChanges>): void; | ||
static getElements(criteria: object): Promise<Array<DocumentElement>>; | ||
private static validateBoardContext; | ||
} |
@@ -11,2 +11,3 @@ "use strict"; | ||
BoardCommand["MODIFY_ELEMENTS"] = "board:modify_elements"; | ||
BoardCommand["GET_ELEMENTS"] = "board:get_elements"; | ||
})(BoardCommand = exports.BoardCommand || (exports.BoardCommand = {})); | ||
@@ -37,2 +38,6 @@ class BoardsApp { | ||
} | ||
static getElements(criteria) { | ||
BoardsApp.validateBoardContext(); | ||
return (0, actions_1.getExtensionActions)().sendMessageToHost({ command: BoardCommand.GET_ELEMENTS, data: criteria }); | ||
} | ||
static validateBoardContext() { | ||
@@ -39,0 +44,0 @@ const context = (0, app_context_1.getAppContext)(); |
export { getAppContext, AppContext, BoardContext, PlanContext, VibeIQAppType } from './app-context'; | ||
export * from './boards'; | ||
export * from './plan'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { PlanContext } from "./app-context"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface EntitiesClientAction { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { EntitiesClientBatchCreateOptions, EntitiesClientBatchDeleteOptions, EntitiesClientBatchUpdateOptions, EntitiesClientCreateOptions, EntitiesClientDeleteOptions, EntitiesClientGetOptions, API_VERSION } from "@contrail/sdk"; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './entities-client'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { AppContext } from '../apps/app-context'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface AppExtensionMessage { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export declare class AppExtension { |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './app-extension-host'; | ||
export * from './app-extension-message-handler'; | ||
export * from './app-extension'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './apps'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './types-client'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface TypesClientAction { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TypeClientOptions } from "@contrail/sdk"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@contrail/extensions-sdk", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Client library for interfacing with VibeIQ's services and apps from an extension.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
# Contrail Extensions SDK | ||
Client library for interfacing with VibeIQ's services and apps from an extension. |
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
Unstable ownership
Supply chain riskA new collaborator has begun publishing package versions. Package stability and security risk may be elevated.
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
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
39660
767
1