Skip to content

Commit 3223581

Browse files
committed
Add tests
1 parent f4bbd39 commit 3223581

File tree

3 files changed

+468
-0
lines changed

3 files changed

+468
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"annotations": {
3+
"title": "Delete project item",
4+
"readOnlyHint": false
5+
},
6+
"description": "Delete a specific Project item for a user or org",
7+
"inputSchema": {
8+
"properties": {
9+
"item_id": {
10+
"description": "The internal project item ID to delete from the project (not the issue or pull request ID).",
11+
"type": "number"
12+
},
13+
"owner": {
14+
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
15+
"type": "string"
16+
},
17+
"owner_type": {
18+
"description": "Owner type",
19+
"enum": [
20+
"user",
21+
"org"
22+
],
23+
"type": "string"
24+
},
25+
"project_number": {
26+
"description": "The project's number.",
27+
"type": "number"
28+
}
29+
},
30+
"required": [
31+
"owner_type",
32+
"owner",
33+
"project_number",
34+
"item_id"
35+
],
36+
"type": "object"
37+
},
38+
"name": "delete_project_item"
39+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"annotations": {
3+
"title": "Update project item",
4+
"readOnlyHint": false
5+
},
6+
"description": "Update a specific Project item for a user or org",
7+
"inputSchema": {
8+
"properties": {
9+
"fields": {
10+
"description": "A list of field updates to apply.",
11+
"type": "array"
12+
},
13+
"item_id": {
14+
"description": "The numeric ID of the project item to update (not the issue or pull request ID).",
15+
"type": "number"
16+
},
17+
"owner": {
18+
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
19+
"type": "string"
20+
},
21+
"owner_type": {
22+
"description": "Owner type",
23+
"enum": [
24+
"user",
25+
"org"
26+
],
27+
"type": "string"
28+
},
29+
"project_number": {
30+
"description": "The project's number.",
31+
"type": "number"
32+
}
33+
},
34+
"required": [
35+
"owner_type",
36+
"owner",
37+
"project_number",
38+
"item_id",
39+
"fields"
40+
],
41+
"type": "object"
42+
},
43+
"name": "update_project_item"
44+
}

0 commit comments

Comments
 (0)