vsts-extension-color-control/vss-extension.json

116 строки
3.4 KiB
JSON

{
"manifestVersion": 1,
"id": "color-form-control",
"version": "1.0.3",
"name": "Color picklist control",
"description": "Add custom colors and labels for picklist fields.",
"publisher": "ms-devlabs",
"icons": {
"default": "img/logo.png"
},
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"tags": [
"Work Item",
"Work Item control",
"Pick list",
"Color coded"
],
"content": {
"details": {
"path": "details.md"
}
},
"repository": {
"type": "git",
"uri": "https://github.com/Microsoft/vsts-extension-color-control"
},
"links": {
"learn": {
"uri": "https://github.com/Microsoft/vsts-extension-color-control/blob/master/README.md"
},
"support": {
"uri": "https://github.com/Microsoft/vsts-extension-color-control"
},
"repository": {
"uri": "https://github.com/Microsoft/vsts-extension-color-control"
},
"issues": {
"uri": "https://github.com/Microsoft/vsts-extension-color-control/issues"
}
},
"files": [
{
"path": "img",
"addressable": true
},
{
"path": "dist",
"addressable": true
},
{
"path": "scripts",
"addressable": true
},
{
"path": "styles",
"addressable": true
},
{
"path": "index.html",
"addressable": true
}
],
"categories": [
"Plan and track"
],
"contributions": [
{
"id": "color-control-contribution",
"type": "ms.vss-work-web.work-item-form-control",
"description": "Add custom colors and labels for picklist fields.",
"targets": [
"ms.vss-work-web.work-item-form"
],
"properties": {
"name": "Color picklist control",
"uri": "index.html",
"height": 90,
"inputs": [
{
"id": "FieldName",
"name": "Select the field for this control. Example: Priority",
"description": "The field must have allowed values.",
"type": "WorkItemField",
"properties": {
"workItemFieldTypes": ["String", "Integer"]
},
"validation": {
"dataType": "String",
"isRequired": true
}
},
{
"id": "Labels",
"name": "Choose labels for each value. Example: Critical;Normal;Low",
"validation": {
"dataType": "String",
"isRequired": false
}
},
{
"id": "Colors",
"name": "Choose colors for each value. Example: Red;Blue;Green",
"validation": {
"dataType": "String",
"isRequired": false
}
}
]
}
}
]
}