forked from microsoft/vsts-extension-toggle-control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vss-extension.json
117 lines (117 loc) · 3.38 KB
/
vss-extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"manifestVersion": 1,
"id": "toggle-control",
"version": "1.0.3",
"name": "Toggle control",
"scopes": [
"vso.work",
"vso.work_write"
],
"description": "Interact with your boolean fields with a toggle control.",
"publisher": "ms-devlabs",
"icons": {
"default": "img/logo.png"
},
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"tags": [
"Work items",
"Work item control"
],
"content": {
"details": {
"path": "details.md"
}
},
"repository": {
"type": "git",
"uri": "https://github.com/Microsoft/vsts-extension-toggle-control"
},
"links": {
"learn": {
"uri": "https://github.com/Microsoft/vsts-extension-toggle-control/blob/master/README.md"
},
"support": {
"uri": "https://github.com/Microsoft/vsts-extension-toggle-control"
},
"repository": {
"uri": "https://github.com/Microsoft/vsts-extension-toggle-control"
},
"issues": {
"uri": "https://github.com/Microsoft/vsts-extension-toggle-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": "toggle-control-contribution",
"type": "ms.vss-work-web.work-item-form-control",
"description": "Interact with your boolean fields with a toggle control.",
"targets": [
"ms.vss-work-web.work-item-form"
],
"properties": {
"name": "Toggle control",
"uri": "index.html",
"height": 28,
"inputs": [
{
"id": "FieldName",
"name": "Select the field for this control (requires a boolean field).",
"type": "WorkItemField",
"properties": {
"workItemFieldTypes": ["Boolean"]
},
"validation": {
"dataType": "String",
"isRequired": true
}
},
{
"id": "TrueLabel",
"name": "Choose the label for the true value. Example: Accepted",
"validation": {
"dataType": "String",
"isRequired": false
}
},
{
"id": "FalseLabel",
"name": "Choose the label for the false value. Example: Declined",
"validation": {
"dataType": "String",
"isRequired": false
}
}
]
}
}
]
}