generated from ubiquity/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
manifest.json
106 lines (106 loc) · 2.87 KB
/
manifest.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
{
"name": "Assistive pricing",
"description": "Handles assistive pricing, and allows for users to modify labels.",
"ubiquity:listeners": ["repository.created", "issues.opened", "issues.labeled", "issues.unlabeled", "label.edited", "issue_comment.created", "push"],
"commands": {
"allow": {
"ubiquity:example": "/allow @user1 label",
"description": "Allows the user to modify the given label type.",
"parameters": {
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "The user that will be allowed to change the label"
},
"labelTypes": {
"type": "array",
"description": "Array of label types that user will be allowed to change, it can be empty to remove access from all labels",
"items": {
"type": "string",
"enum": ["time", "priority"]
}
}
}
}
}
},
"configuration": {
"default": {},
"type": "object",
"properties": {
"globalConfigUpdate": {
"type": "object",
"properties": {
"excludeRepos": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["excludeRepos"]
},
"labels": {
"default": {},
"type": "object",
"properties": {
"time": {
"default": [],
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The display name of the label",
"type": "string"
},
"collaboratorOnly": {
"default": false,
"description": "Whether the label is only available to collaborators",
"type": "boolean"
}
},
"required": ["name"]
}
},
"priority": {
"default": [],
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"collaboratorOnly": {
"default": false,
"type": "boolean"
}
},
"required": ["name"]
}
}
}
},
"basePriceMultiplier": {
"default": 1,
"type": "number"
},
"publicAccessControl": {
"default": {},
"type": "object",
"properties": {
"setLabel": {
"default": false,
"type": "boolean"
},
"fundExternalClosedIssue": {
"default": false,
"type": "boolean"
}
}
}
}
}
}