Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-devops-extension-api

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-devops-extension-api - npm Package Compare versions

Comparing version 1.146.0 to 1.146.1

57

Common/CommonServices.d.ts

@@ -14,6 +14,2 @@ /**

/**
* Service for opening dialogs in the host frame
*/
HostDialogService = "ms.vss-features.host-dialog-service",
/**
* Service for interacting with the host window's navigation (URLs, new windows, etc.)

@@ -23,5 +19,6 @@ */

/**
* Service for opening panels in the host frame
* Service for interacting with the layout of the page: managing full-screen mode,
* opening dialogs and panels
*/
HostPanelService = "ms.vss-features.host-panel-service",
HostPageLayoutService = "ms.vss-features.host-page-layout-service",
/**

@@ -166,21 +163,2 @@ * Service for getting URLs/locations from the host context

/**
* Service for external content to show dialogs in the host frame
*/
export interface IHostDialogService {
/**
* Open a dialog in the host frame, showing custom external content
*
* @param contentContributionId - Id of the dialog content contribution that specifies the content to display in the dialog.
* @param options - Dialog options
*/
openCustomDialog: <TResult>(contentContributionId: string, options?: IDialogOptions<TResult>) => void;
/**
* Open a dialog in the host frame, showing the specified text message, an OK and optional Cancel button
*
* @param message - Dialog message text
* @param options - Dialog options
*/
openMessageDialog: (message: string, options?: IMessageDialogOptions) => void;
}
/**
* Size (width) options for panel

@@ -219,6 +197,25 @@ */

/**
* Service for external content to show a panel in the host frame
* Service for interacting with the layout of the page: managing full-screen mode,
* opening dialogs and panels
*/
export interface IHostPanelService {
export interface IHostPageLayoutService {
/**
* Gets whether the page is currently in full screen mode
*/
getFullScreenMode(): Promise<boolean>;
/**
* Open a dialog in the host frame, showing custom external content
*
* @param contentContributionId - Id of the dialog content contribution that specifies the content to display in the dialog.
* @param options - Dialog options
*/
openCustomDialog: <TResult>(contentContributionId: string, options?: IDialogOptions<TResult>) => void;
/**
* Open a dialog in the host frame, showing the specified text message, an OK and optional Cancel button
*
* @param message - Dialog message text
* @param options - Dialog options
*/
openMessageDialog: (message: string, options?: IMessageDialogOptions) => void;
/**
* Open a panel in the host frame, showing custom external content

@@ -230,2 +227,8 @@ *

openPanel: <TResult>(contentContributionId: string, options: IPanelOptions<TResult>) => void;
/**
* Enter or exit full screen mode
*
* @param fullScreenMode True to enter full-screen mode, false to exit.
*/
setFullScreenMode(fullScreenMode: boolean): void;
}

@@ -232,0 +235,0 @@ /**

{
"name": "azure-devops-extension-api",
"version": "1.146.0",
"version": "1.146.1",
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",

@@ -5,0 +5,0 @@ "repository": {

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