@kana-ai/edgar-ext-github 0.0.0-stage → 0.1.1

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.
Files changed (136) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +469 -2
  3. package/agents/dismiss/agent.toml +4 -0
  4. package/agents/dismiss/instructions.md +25 -0
  5. package/dist/src/api/app.d.ts +16 -0
  6. package/dist/src/api/app.js +32 -0
  7. package/dist/src/api/client.d.ts +26 -0
  8. package/dist/src/api/client.js +103 -0
  9. package/dist/src/api/failures.d.ts +8 -0
  10. package/dist/src/api/failures.js +31 -0
  11. package/dist/src/feed/alerts.d.ts +26 -0
  12. package/dist/src/feed/alerts.js +117 -0
  13. package/dist/src/feed/cards.d.ts +32 -0
  14. package/dist/src/feed/cards.js +164 -0
  15. package/dist/src/feed/service.d.ts +28 -0
  16. package/dist/src/feed/service.js +163 -0
  17. package/dist/src/index.d.ts +490 -0
  18. package/dist/src/index.js +62 -0
  19. package/dist/src/schemas/config.d.ts +57 -0
  20. package/dist/src/schemas/config.js +89 -0
  21. package/dist/src/schemas/github.d.ts +417 -0
  22. package/dist/src/schemas/github.js +216 -0
  23. package/dist/src/schemas/tools.d.ts +620 -0
  24. package/dist/src/schemas/tools.js +501 -0
  25. package/dist/src/tools/alerts.d.ts +45 -0
  26. package/dist/src/tools/alerts.js +100 -0
  27. package/dist/src/tools/branch.d.ts +9 -0
  28. package/dist/src/tools/branch.js +48 -0
  29. package/dist/src/tools/checks.d.ts +118 -0
  30. package/dist/src/tools/checks.js +223 -0
  31. package/dist/src/tools/discussion.d.ts +41 -0
  32. package/dist/src/tools/discussion.js +66 -0
  33. package/dist/src/tools/pull-request.d.ts +195 -0
  34. package/dist/src/tools/pull-request.js +537 -0
  35. package/dist/src/tools/repository.d.ts +53 -0
  36. package/dist/src/tools/repository.js +134 -0
  37. package/dist/src/tools/screenshot.d.ts +21 -0
  38. package/dist/src/tools/screenshot.js +99 -0
  39. package/dist/src/tracker/assignee.d.ts +15 -0
  40. package/dist/src/tracker/assignee.js +65 -0
  41. package/dist/src/tracker/cards.d.ts +41 -0
  42. package/dist/src/tracker/cards.js +361 -0
  43. package/dist/src/tracker/comments.d.ts +9 -0
  44. package/dist/src/tracker/comments.js +68 -0
  45. package/dist/src/tracker/description.d.ts +19 -0
  46. package/dist/src/tracker/description.js +55 -0
  47. package/dist/src/tracker/hand-back.d.ts +8 -0
  48. package/dist/src/tracker/hand-back.js +60 -0
  49. package/dist/src/tracker/port.d.ts +2 -0
  50. package/dist/src/tracker/port.js +42 -0
  51. package/dist/src/tracker/states.d.ts +77 -0
  52. package/dist/src/tracker/states.js +189 -0
  53. package/dist/src/tracker/tools.d.ts +143 -0
  54. package/dist/src/tracker/tools.js +131 -0
  55. package/dist/src/tracker/transitions.d.ts +12 -0
  56. package/dist/src/tracker/transitions.js +101 -0
  57. package/edgar-extension.json +507 -0
  58. package/package.json +43 -3
  59. package/schemas/assign.in.json +15 -0
  60. package/schemas/assign.out.json +14 -0
  61. package/schemas/attach_screenshot.in.json +44 -0
  62. package/schemas/attach_screenshot.out.json +31 -0
  63. package/schemas/batch_cards.in.json +27 -0
  64. package/schemas/batch_cards.out.json +37 -0
  65. package/schemas/branch_protection.in.json +15 -0
  66. package/schemas/branch_protection.out.json +67 -0
  67. package/schemas/ci_run.in.json +12 -0
  68. package/schemas/ci_run.out.json +109 -0
  69. package/schemas/close.in.json +14 -0
  70. package/schemas/close.out.json +10 -0
  71. package/schemas/close_pull_request.in.json +21 -0
  72. package/schemas/close_pull_request.out.json +14 -0
  73. package/schemas/comment.in.json +19 -0
  74. package/schemas/comment.out.json +10 -0
  75. package/schemas/config.json +202 -0
  76. package/schemas/count_sighting.in.json +17 -0
  77. package/schemas/count_sighting.out.json +10 -0
  78. package/schemas/create_card.in.json +108 -0
  79. package/schemas/create_card.out.json +13 -0
  80. package/schemas/dependabot_alerts.in.json +49 -0
  81. package/schemas/dependabot_alerts.out.json +75 -0
  82. package/schemas/dismiss_dependabot_alert.in.json +26 -0
  83. package/schemas/dismiss_dependabot_alert.out.json +27 -0
  84. package/schemas/find_assignee.in.json +15 -0
  85. package/schemas/find_assignee.out.json +10 -0
  86. package/schemas/find_cards.in.json +18 -0
  87. package/schemas/find_cards.out.json +33 -0
  88. package/schemas/find_dependabot_dismissal.in.json +12 -0
  89. package/schemas/find_dependabot_dismissal.out.json +27 -0
  90. package/schemas/find_description.in.json +15 -0
  91. package/schemas/find_description.out.json +10 -0
  92. package/schemas/find_pull_request.in.json +25 -0
  93. package/schemas/find_pull_request.out.json +14 -0
  94. package/schemas/hand_back.in.json +11 -0
  95. package/schemas/hand_back.out.json +18 -0
  96. package/schemas/linked_pull_requests.in.json +15 -0
  97. package/schemas/linked_pull_requests.out.json +44 -0
  98. package/schemas/list_pull_requests.in.json +26 -0
  99. package/schemas/list_pull_requests.out.json +42 -0
  100. package/schemas/merge_pull_request.in.json +22 -0
  101. package/schemas/merge_pull_request.out.json +16 -0
  102. package/schemas/move.in.json +15 -0
  103. package/schemas/move.out.json +10 -0
  104. package/schemas/note_pull_request.in.json +15 -0
  105. package/schemas/note_pull_request.out.json +10 -0
  106. package/schemas/open_pull_request.in.json +113 -0
  107. package/schemas/open_pull_request.out.json +15 -0
  108. package/schemas/pull_request_checks.in.json +11 -0
  109. package/schemas/pull_request_checks.out.json +72 -0
  110. package/schemas/pull_request_discussion.in.json +11 -0
  111. package/schemas/pull_request_discussion.out.json +107 -0
  112. package/schemas/pull_request_state.in.json +11 -0
  113. package/schemas/pull_request_state.out.json +52 -0
  114. package/schemas/push_branch.in.json +21 -0
  115. package/schemas/push_branch.out.json +13 -0
  116. package/schemas/release_follow_ups.in.json +15 -0
  117. package/schemas/release_follow_ups.out.json +13 -0
  118. package/schemas/reopen_dependabot_alert.in.json +33 -0
  119. package/schemas/reopen_dependabot_alert.out.json +22 -0
  120. package/schemas/restore_assignee.in.json +20 -0
  121. package/schemas/restore_assignee.out.json +10 -0
  122. package/schemas/restore_description.in.json +20 -0
  123. package/schemas/restore_description.out.json +10 -0
  124. package/schemas/update_description.in.json +15 -0
  125. package/schemas/update_description.out.json +14 -0
  126. package/schemas/update_pull_request.in.json +81 -0
  127. package/schemas/update_pull_request.out.json +10 -0
  128. package/schemas/wait_for_checks.in.json +11 -0
  129. package/schemas/wait_for_checks.out.json +72 -0
  130. package/schemas/wait_for_merge.in.json +11 -0
  131. package/schemas/wait_for_merge.out.json +17 -0
  132. package/schemas/wait_for_passed_checks.in.json +11 -0
  133. package/schemas/wait_for_passed_checks.out.json +72 -0
  134. package/schemas/wait_for_review.in.json +11 -0
  135. package/schemas/wait_for_review.out.json +52 -0
  136. package/workflows/resume.toml +17 -0
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "commit": {
10
+ "type": "string",
11
+ "pattern": "^[0-9a-f]{40}$",
12
+ "description": "the head commit to merge, as pull_request_state gives it; GitHub merges nothing when the head has moved"
13
+ },
14
+ "changed_files": {
15
+ "description": "the files the pull request changes at commit, as wait_for_checks gives them; with it, a workflow stage's merge runs with no person under [limits] self_merge_files and is skipped at or past it",
16
+ "type": "integer",
17
+ "minimum": 0,
18
+ "maximum": 9007199254740991
19
+ }
20
+ },
21
+ "required": ["url", "commit"]
22
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string"
7
+ },
8
+ "merged": {
9
+ "type": "boolean"
10
+ },
11
+ "commit": {
12
+ "type": "string"
13
+ }
14
+ },
15
+ "required": ["url", "merged", "commit"]
16
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "card": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "column": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ }
13
+ },
14
+ "required": ["card", "column"]
15
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "column": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": ["column"]
10
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "text": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ }
13
+ },
14
+ "required": ["url", "text"]
15
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": ["url"]
10
+ }
@@ -0,0 +1,113 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "repo": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "branch": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ },
13
+ "title": {
14
+ "type": "string",
15
+ "minLength": 1
16
+ },
17
+ "body": {
18
+ "type": "string"
19
+ },
20
+ "review": {
21
+ "type": "string"
22
+ },
23
+ "labels": {
24
+ "description": "labels the pull request gets",
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string",
28
+ "minLength": 1
29
+ }
30
+ },
31
+ "large_diff_lines": {
32
+ "description": "the body says the change is large when it changes more lines than this",
33
+ "type": "integer",
34
+ "exclusiveMinimum": 0,
35
+ "maximum": 9007199254740991
36
+ },
37
+ "path_notices": {
38
+ "description": "a line the body carries when the change touches a file under prefix",
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "properties": {
43
+ "prefix": {
44
+ "type": "string",
45
+ "minLength": 1
46
+ },
47
+ "notice": {
48
+ "type": "string",
49
+ "minLength": 1
50
+ }
51
+ },
52
+ "required": ["prefix", "notice"]
53
+ }
54
+ },
55
+ "checks": {
56
+ "description": "the output of a check stage: the body lists each check that passed under Verified, and each other check under Not verified",
57
+ "type": "object",
58
+ "properties": {
59
+ "results": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "object",
63
+ "properties": {
64
+ "check": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
68
+ "exit_code": {
69
+ "anyOf": [
70
+ {
71
+ "type": "integer",
72
+ "minimum": -9007199254740991,
73
+ "maximum": 9007199254740991
74
+ },
75
+ {
76
+ "type": "null"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ "required": ["check", "exit_code"]
82
+ }
83
+ }
84
+ },
85
+ "required": ["results"]
86
+ },
87
+ "not_verified": {
88
+ "description": "what the author of the change did not check, one line each, under Not verified",
89
+ "type": "array",
90
+ "items": {
91
+ "type": "string"
92
+ }
93
+ },
94
+ "related": {
95
+ "description": "one URL, or at most 5, of the pull requests this one goes with, named after the body; each must be https, which the tool checks when it runs",
96
+ "anyOf": [
97
+ {
98
+ "type": "string",
99
+ "format": "uri"
100
+ },
101
+ {
102
+ "maxItems": 5,
103
+ "type": "array",
104
+ "items": {
105
+ "type": "string",
106
+ "format": "uri"
107
+ }
108
+ }
109
+ ]
110
+ }
111
+ },
112
+ "required": ["repo", "branch", "title", "body", "review"]
113
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string"
7
+ },
8
+ "number": {
9
+ "type": "integer",
10
+ "minimum": -9007199254740991,
11
+ "maximum": 9007199254740991
12
+ }
13
+ },
14
+ "required": ["url", "number"]
15
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ }
9
+ },
10
+ "required": ["url"]
11
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string"
7
+ },
8
+ "commit": {
9
+ "type": "string"
10
+ },
11
+ "state": {
12
+ "type": "string",
13
+ "enum": ["pending", "passed", "failed", "closed"]
14
+ },
15
+ "merged": {
16
+ "type": "boolean"
17
+ },
18
+ "checks": {
19
+ "type": "integer",
20
+ "minimum": -9007199254740991,
21
+ "maximum": 9007199254740991
22
+ },
23
+ "failed": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "name": {
29
+ "type": "string"
30
+ },
31
+ "url": {
32
+ "type": ["string", "null"]
33
+ }
34
+ },
35
+ "required": ["name", "url"]
36
+ }
37
+ },
38
+ "retry_after_seconds": {
39
+ "anyOf": [
40
+ {
41
+ "type": "integer",
42
+ "minimum": -9007199254740991,
43
+ "maximum": 9007199254740991
44
+ },
45
+ {
46
+ "type": "null"
47
+ }
48
+ ]
49
+ },
50
+ "summary": {
51
+ "type": "string",
52
+ "description": "one sentence a later stage can post as it is"
53
+ },
54
+ "changed_files": {
55
+ "type": "integer",
56
+ "minimum": -9007199254740991,
57
+ "maximum": 9007199254740991,
58
+ "description": "the files the pull request changes at commit"
59
+ }
60
+ },
61
+ "required": [
62
+ "url",
63
+ "commit",
64
+ "state",
65
+ "merged",
66
+ "checks",
67
+ "failed",
68
+ "retry_after_seconds",
69
+ "summary",
70
+ "changed_files"
71
+ ]
72
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ }
9
+ },
10
+ "required": ["url"]
11
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string"
7
+ },
8
+ "reviews": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "properties": {
13
+ "by": {
14
+ "type": ["string", "null"]
15
+ },
16
+ "at": {
17
+ "type": ["string", "null"]
18
+ },
19
+ "body": {
20
+ "type": "string"
21
+ },
22
+ "state": {
23
+ "type": "string"
24
+ }
25
+ },
26
+ "required": ["by", "at", "body", "state"]
27
+ }
28
+ },
29
+ "threads": {
30
+ "type": "array",
31
+ "items": {
32
+ "type": "object",
33
+ "properties": {
34
+ "by": {
35
+ "type": ["string", "null"]
36
+ },
37
+ "at": {
38
+ "type": ["string", "null"]
39
+ },
40
+ "body": {
41
+ "type": "string"
42
+ },
43
+ "path": {
44
+ "type": "string"
45
+ },
46
+ "line": {
47
+ "anyOf": [
48
+ {
49
+ "type": "integer",
50
+ "minimum": -9007199254740991,
51
+ "maximum": 9007199254740991
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ]
57
+ },
58
+ "hunk": {
59
+ "type": "string"
60
+ },
61
+ "replies": {
62
+ "type": "array",
63
+ "items": {
64
+ "type": "object",
65
+ "properties": {
66
+ "by": {
67
+ "type": ["string", "null"]
68
+ },
69
+ "at": {
70
+ "type": ["string", "null"]
71
+ },
72
+ "body": {
73
+ "type": "string"
74
+ }
75
+ },
76
+ "required": ["by", "at", "body"]
77
+ }
78
+ }
79
+ },
80
+ "required": ["by", "at", "body", "path", "line", "hunk", "replies"]
81
+ }
82
+ },
83
+ "conversation": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "object",
87
+ "properties": {
88
+ "by": {
89
+ "type": ["string", "null"]
90
+ },
91
+ "at": {
92
+ "type": ["string", "null"]
93
+ },
94
+ "body": {
95
+ "type": "string"
96
+ }
97
+ },
98
+ "required": ["by", "at", "body"]
99
+ }
100
+ },
101
+ "complete": {
102
+ "type": "boolean",
103
+ "description": "false when a list came back a full page of 100"
104
+ }
105
+ },
106
+ "required": ["url", "reviews", "threads", "conversation", "complete"]
107
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ }
9
+ },
10
+ "required": ["url"]
11
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "url": {
6
+ "type": "string"
7
+ },
8
+ "state": {
9
+ "type": "string",
10
+ "enum": ["open", "merged", "closed"]
11
+ },
12
+ "merged": {
13
+ "type": "boolean"
14
+ },
15
+ "review_state": {
16
+ "type": "string",
17
+ "enum": ["pending", "approved", "changes_requested"]
18
+ },
19
+ "approved_by": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "string"
23
+ },
24
+ "description": "the login of each reviewer whose latest deciding review approves"
25
+ },
26
+ "card": {
27
+ "type": ["string", "null"]
28
+ },
29
+ "commit": {
30
+ "type": "string"
31
+ },
32
+ "branch": {
33
+ "type": "string",
34
+ "description": "the head branch"
35
+ },
36
+ "head_repo": {
37
+ "description": "the repository of the head branch as owner/name, a fork's for a fork; null when it was deleted",
38
+ "type": ["string", "null"]
39
+ }
40
+ },
41
+ "required": [
42
+ "url",
43
+ "state",
44
+ "merged",
45
+ "review_state",
46
+ "approved_by",
47
+ "card",
48
+ "commit",
49
+ "branch",
50
+ "head_repo"
51
+ ]
52
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "repo": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "branch": {
10
+ "description": "the edgar/ branch of the sandbox to push under its own name",
11
+ "type": "string",
12
+ "minLength": 1
13
+ },
14
+ "to": {
15
+ "description": "the edgar/ branch on origin that gets the head of the sandbox: the branch of an open pull request",
16
+ "type": "string",
17
+ "minLength": 1
18
+ }
19
+ },
20
+ "required": ["repo"]
21
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "branch": {
6
+ "type": "string"
7
+ },
8
+ "commit": {
9
+ "type": "string"
10
+ }
11
+ },
12
+ "required": ["branch", "commit"]
13
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "card": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "pull_request": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ }
13
+ },
14
+ "required": ["card", "pull_request"]
15
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "released": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string"
9
+ }
10
+ }
11
+ },
12
+ "required": ["released"]
13
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "stage_output": {
6
+ "type": "object",
7
+ "properties": {
8
+ "repo": {
9
+ "type": "string",
10
+ "description": "owner/name"
11
+ },
12
+ "number": {
13
+ "type": "integer",
14
+ "minimum": -9007199254740991,
15
+ "maximum": 9007199254740991
16
+ },
17
+ "url": {
18
+ "type": "string"
19
+ },
20
+ "reason": {
21
+ "type": "string",
22
+ "description": "the reason the alert holds now"
23
+ },
24
+ "reopen": {
25
+ "type": "boolean",
26
+ "description": "true when the alert was open, or held the reason and the comment of this call; reopen_dependabot_alert opens the alert again only then"
27
+ }
28
+ },
29
+ "required": ["repo", "number", "url", "reason", "reopen"]
30
+ }
31
+ },
32
+ "required": ["stage_output"]
33
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "repo": {
6
+ "type": "string"
7
+ },
8
+ "number": {
9
+ "type": "integer",
10
+ "minimum": -9007199254740991,
11
+ "maximum": 9007199254740991
12
+ },
13
+ "url": {
14
+ "type": "string"
15
+ },
16
+ "reopened": {
17
+ "type": "boolean",
18
+ "description": "false when there was nothing to open again"
19
+ }
20
+ },
21
+ "required": ["repo", "number", "url", "reopened"]
22
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "stage_output": {
6
+ "type": "object",
7
+ "properties": {
8
+ "id": {
9
+ "type": "string",
10
+ "minLength": 1
11
+ },
12
+ "previous": {
13
+ "type": "string"
14
+ }
15
+ },
16
+ "required": ["id"]
17
+ }
18
+ },
19
+ "required": ["stage_output"]
20
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": ["id"]
10
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "stage_output": {
6
+ "type": "object",
7
+ "properties": {
8
+ "id": {
9
+ "type": "string",
10
+ "minLength": 1
11
+ },
12
+ "previous": {
13
+ "type": "string"
14
+ }
15
+ },
16
+ "required": ["id"]
17
+ }
18
+ },
19
+ "required": ["stage_output"]
20
+ }