Editar

Partilhar via


ExtensionManifest interface

Base class for extension properties which are shared by the extension manifest and the extension model

Properties

baseUri

Uri used as base for other relative uri's defined in extension

constraints

List of shared constraints defined by this extension

contributions

List of contributions made by this extension

contributionTypes

List of contribution types defined by this extension

demands

List of explicit demands required by this extension

eventCallbacks

Collection of endpoints that get called when particular extension events occur

fallbackBaseUri

Secondary location that can be used as base for other relative uri's defined in extension

language

Language Culture Name set by the Gallery

licensing

How this extension behaves with respect to licensing

manifestVersion

Version of the extension manifest format/content

restrictedTo

Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.

scopes

List of all oauth scopes required by this extension

serviceInstanceType

The ServiceInstanceType(Guid) of the VSTS service that must be available to an account in order for the extension to be installed

Property Details

baseUri

Uri used as base for other relative uri's defined in extension

baseUri: string

Property Value

string

constraints

List of shared constraints defined by this extension

constraints: ContributionConstraint[]

Property Value

contributions

List of contributions made by this extension

contributions: Contribution[]

Property Value

contributionTypes

List of contribution types defined by this extension

contributionTypes: ContributionType[]

Property Value

demands

List of explicit demands required by this extension

demands: string[]

Property Value

string[]

eventCallbacks

Collection of endpoints that get called when particular extension events occur

eventCallbacks: ExtensionEventCallbackCollection

Property Value

fallbackBaseUri

Secondary location that can be used as base for other relative uri's defined in extension

fallbackBaseUri: string

Property Value

string

language

Language Culture Name set by the Gallery

language: string

Property Value

string

licensing

How this extension behaves with respect to licensing

licensing: ExtensionLicensing

Property Value

manifestVersion

Version of the extension manifest format/content

manifestVersion: number

Property Value

number

restrictedTo

Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.

restrictedTo: string[]

Property Value

string[]

scopes

List of all oauth scopes required by this extension

scopes: string[]

Property Value

string[]

serviceInstanceType

The ServiceInstanceType(Guid) of the VSTS service that must be available to an account in order for the extension to be installed

serviceInstanceType: string

Property Value

string