@kana-ai/edgar-ext-github 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -74
- package/dist/src/api/app.d.ts +25 -6
- package/dist/src/api/app.js +72 -9
- package/dist/src/api/client.d.ts +9 -6
- package/dist/src/api/client.js +58 -19
- package/dist/src/api/commits.d.ts +4 -0
- package/dist/src/api/commits.js +69 -0
- package/dist/src/api/failures.d.ts +4 -0
- package/dist/src/api/failures.js +14 -1
- package/dist/src/feed/alerts.d.ts +9 -3
- package/dist/src/feed/alerts.js +66 -6
- package/dist/src/feed/service.d.ts +10 -1
- package/dist/src/feed/service.js +79 -16
- package/dist/src/index.d.ts +97 -1
- package/dist/src/index.js +17 -4
- package/dist/src/schemas/config.d.ts +1 -0
- package/dist/src/schemas/config.js +73 -29
- package/dist/src/schemas/github.d.ts +121 -1
- package/dist/src/schemas/github.js +37 -2
- package/dist/src/schemas/tools.d.ts +159 -2
- package/dist/src/schemas/tools.js +129 -6
- package/dist/src/tools/alerts.js +1 -0
- package/dist/src/tools/branch.d.ts +12 -0
- package/dist/src/tools/branch.js +69 -1
- package/dist/src/tools/pull-request.d.ts +55 -7
- package/dist/src/tools/pull-request.js +131 -42
- package/dist/src/tools/revert.d.ts +27 -0
- package/dist/src/tools/revert.js +98 -0
- package/dist/src/tools/screenshot.d.ts +1 -1
- package/dist/src/tools/screenshot.js +25 -11
- package/dist/src/tracker/cards.d.ts +1 -1
- package/dist/src/tracker/cards.js +84 -8
- package/dist/src/tracker/comments.d.ts +14 -2
- package/dist/src/tracker/comments.js +100 -4
- package/dist/src/tracker/port.d.ts +1 -1
- package/dist/src/tracker/port.js +4 -6
- package/dist/src/tracker/read-link.d.ts +2 -0
- package/dist/src/tracker/read-link.js +23 -0
- package/dist/src/tracker/states.d.ts +14 -3
- package/dist/src/tracker/states.js +37 -6
- package/dist/src/tracker/tools.d.ts +27 -0
- package/dist/src/tracker/tools.js +63 -7
- package/dist/src/tracker/transitions.d.ts +14 -3
- package/dist/src/tracker/transitions.js +57 -10
- package/edgar-extension.json +121 -7
- package/package.json +3 -3
- package/schemas/attach_screenshot.in.json +19 -0
- package/schemas/config.json +49 -23
- package/schemas/create_card.in.json +4 -0
- package/schemas/delete_closed_branches.in.json +26 -0
- package/schemas/delete_closed_branches.out.json +22 -0
- package/schemas/find_revert_pull_request.in.json +21 -0
- package/schemas/find_revert_pull_request.out.json +14 -0
- package/schemas/list_pull_requests.out.json +5 -1
- package/schemas/mark_seen.in.json +11 -0
- package/schemas/mark_seen.out.json +10 -0
- package/schemas/merged_pull_request.in.json +17 -0
- package/schemas/merged_pull_request.out.json +18 -0
- package/schemas/open_pull_request.in.json +73 -1
- package/schemas/park.in.json +15 -0
- package/schemas/park.out.json +10 -0
- package/schemas/pull_request_state.out.json +10 -1
- package/schemas/release_follow_ups.in.json +5 -0
- package/schemas/retitle.in.json +16 -0
- package/schemas/retitle.out.json +13 -0
- package/schemas/revert_pull_request.in.json +11 -0
- package/schemas/revert_pull_request.out.json +14 -0
- package/schemas/set_priority.in.json +16 -0
- package/schemas/set_priority.out.json +10 -0
- package/schemas/update_pull_request.in.json +28 -1
- package/schemas/wait_for_review.out.json +10 -1
|
@@ -13,6 +13,25 @@
|
|
|
13
13
|
"body": {
|
|
14
14
|
"type": "string"
|
|
15
15
|
},
|
|
16
|
+
"card": {
|
|
17
|
+
"description": "the run's card: the title becomes `<id>: <title>`, and the body opens with its link",
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
"title": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1
|
|
27
|
+
},
|
|
28
|
+
"url": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["id", "title"],
|
|
33
|
+
"additionalProperties": {}
|
|
34
|
+
},
|
|
16
35
|
"large_diff_lines": {
|
|
17
36
|
"description": "the body says the change is large when it changes more lines than this",
|
|
18
37
|
"type": "integer",
|
|
@@ -38,7 +57,7 @@
|
|
|
38
57
|
}
|
|
39
58
|
},
|
|
40
59
|
"checks": {
|
|
41
|
-
"description": "the output of a check stage: the body lists each check that passed under Verified, and each other check under Not verified",
|
|
60
|
+
"description": "the output of a check stage: the body lists each check that passed under Verified, saying when it passed only on its second run, and each other check under Not verified, with a failure that the check gave on the base commit too named as one the change did not cause",
|
|
42
61
|
"type": "object",
|
|
43
62
|
"properties": {
|
|
44
63
|
"results": {
|
|
@@ -61,6 +80,14 @@
|
|
|
61
80
|
"type": "null"
|
|
62
81
|
}
|
|
63
82
|
]
|
|
83
|
+
},
|
|
84
|
+
"pre_existing": {
|
|
85
|
+
"type": "boolean"
|
|
86
|
+
},
|
|
87
|
+
"runs": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"exclusiveMinimum": 0,
|
|
90
|
+
"maximum": 9007199254740991
|
|
64
91
|
}
|
|
65
92
|
},
|
|
66
93
|
"required": ["check", "exit_code"]
|
|
@@ -36,6 +36,14 @@
|
|
|
36
36
|
"head_repo": {
|
|
37
37
|
"description": "the repository of the head branch as owner/name, a fork's for a fork; null when it was deleted",
|
|
38
38
|
"type": ["string", "null"]
|
|
39
|
+
},
|
|
40
|
+
"mergeable": {
|
|
41
|
+
"description": "false when the open pull request conflicts with its base branch; null while GitHub computes it, and once it is merged or closed",
|
|
42
|
+
"type": ["boolean", "null"]
|
|
43
|
+
},
|
|
44
|
+
"base_commit": {
|
|
45
|
+
"description": "with mergeable false: the newest commit of the base branch, to merge into the head",
|
|
46
|
+
"type": "string"
|
|
39
47
|
}
|
|
40
48
|
},
|
|
41
49
|
"required": [
|
|
@@ -47,6 +55,7 @@
|
|
|
47
55
|
"card",
|
|
48
56
|
"commit",
|
|
49
57
|
"branch",
|
|
50
|
-
"head_repo"
|
|
58
|
+
"head_repo",
|
|
59
|
+
"mergeable"
|
|
51
60
|
]
|
|
52
61
|
}
|