@sentry/junior-github 0.301.0 → 0.303.0

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 (97) hide show
  1. package/dist/events-CrbJHQ0w.js +2466 -0
  2. package/dist/index.d.ts +71 -3
  3. package/dist/index.js +7294 -7881
  4. package/dist/testing.d.ts +51 -1
  5. package/dist/testing.js +1 -6
  6. package/migrations/0012_pull_request_next_action.sql +5 -0
  7. package/migrations/meta/0012_snapshot.json +434 -0
  8. package/migrations/meta/_journal.json +7 -0
  9. package/package.json +11 -13
  10. package/skills/github-code/SKILL.md +1 -1
  11. package/skills/github-code/SPEC.md +2 -2
  12. package/skills/github-code/references/workflow.md +1 -1
  13. package/dist/account-links.d.ts +0 -8
  14. package/dist/annotations.d.ts +0 -33
  15. package/dist/chunk-YUF5P5I7.js +0 -2507
  16. package/dist/clone-command.d.ts +0 -5
  17. package/dist/configured-repository.d.ts +0 -10
  18. package/dist/conversation-title-context.d.ts +0 -20
  19. package/dist/credential-support.d.ts +0 -107
  20. package/dist/db/database.d.ts +0 -5
  21. package/dist/db/schema.d.ts +0 -1403
  22. package/dist/default-branch.d.ts +0 -15
  23. package/dist/egress-policy.d.ts +0 -25
  24. package/dist/events/comment.d.ts +0 -14
  25. package/dist/events/declarations.d.ts +0 -18
  26. package/dist/events/deployment.d.ts +0 -38
  27. package/dist/events/issue.d.ts +0 -42
  28. package/dist/events/pull-request.d.ts +0 -75
  29. package/dist/events/release.d.ts +0 -42
  30. package/dist/events/repository.d.ts +0 -23
  31. package/dist/events/resource-url.d.ts +0 -5
  32. package/dist/events/scope.d.ts +0 -13
  33. package/dist/git-config.d.ts +0 -52
  34. package/dist/github-status.d.ts +0 -16
  35. package/dist/graphql-documents.d.ts +0 -31
  36. package/dist/images.d.ts +0 -8
  37. package/dist/issue-outcomes/store.d.ts +0 -42
  38. package/dist/merge-conflict-checks/heartbeat.d.ts +0 -27
  39. package/dist/merge-conflict-checks/store.d.ts +0 -44
  40. package/dist/merge-conflict-checks/webhooks.d.ts +0 -23
  41. package/dist/object-facts.d.ts +0 -29
  42. package/dist/permissions.d.ts +0 -6
  43. package/dist/plugin.d.ts +0 -45
  44. package/dist/pull-request-outcomes/apply.d.ts +0 -22
  45. package/dist/pull-request-outcomes/commit-composition.d.ts +0 -6
  46. package/dist/pull-request-outcomes/reconcile.d.ts +0 -41
  47. package/dist/pull-request-outcomes/store.d.ts +0 -115
  48. package/dist/pull-request-requesters/draft-reviewers.d.ts +0 -15
  49. package/dist/pull-request-requesters/store.d.ts +0 -41
  50. package/dist/pull-request-review-policy.d.ts +0 -6
  51. package/dist/receive-pack-policy.d.ts +0 -21
  52. package/dist/reply-markdown.d.ts +0 -18
  53. package/dist/sandbox-paths.d.ts +0 -4
  54. package/dist/tool-support/attribution.d.ts +0 -52
  55. package/dist/tool-support/github-api.d.ts +0 -51
  56. package/dist/tool-support/github-text.d.ts +0 -8
  57. package/dist/tool-support/pull-request-description.d.ts +0 -8
  58. package/dist/tools/clone-repository.d.ts +0 -205
  59. package/dist/tools/comment-on-issue.d.ts +0 -205
  60. package/dist/tools/comment-on-pull-request.d.ts +0 -210
  61. package/dist/tools/create-issue.d.ts +0 -218
  62. package/dist/tools/create-pull-request.d.ts +0 -240
  63. package/dist/tools/footer.d.ts +0 -17
  64. package/dist/tools/get-deployment.d.ts +0 -264
  65. package/dist/tools/get-issue.d.ts +0 -248
  66. package/dist/tools/get-pull-request.d.ts +0 -255
  67. package/dist/tools/get-release.d.ts +0 -243
  68. package/dist/tools/get-repository.d.ts +0 -226
  69. package/dist/tools/get-status.d.ts +0 -213
  70. package/dist/tools/react-to-issue.d.ts +0 -205
  71. package/dist/tools/resolve-pull-request-review-thread.d.ts +0 -206
  72. package/dist/tools/stack-pull-request.d.ts +0 -43
  73. package/dist/tools/submit-pull-request-review.d.ts +0 -216
  74. package/dist/tools/update-issue-comment.d.ts +0 -206
  75. package/dist/tools/update-issue.d.ts +0 -249
  76. package/dist/tools/update-pull-request-feedback.d.ts +0 -242
  77. package/dist/tools/update-pull-request.d.ts +0 -255
  78. package/dist/tools.d.ts +0 -13
  79. package/dist/webhooks/check-suite.d.ts +0 -94
  80. package/dist/webhooks/event-targets.d.ts +0 -44
  81. package/dist/webhooks/events.d.ts +0 -23
  82. package/dist/webhooks/fail-open-log.d.ts +0 -10
  83. package/dist/webhooks/handler.d.ts +0 -55
  84. package/dist/webhooks/installation-requests.d.ts +0 -98
  85. package/dist/webhooks/issue-outcome.d.ts +0 -11
  86. package/dist/webhooks/issue-update.d.ts +0 -8
  87. package/dist/webhooks/merge-conflict.d.ts +0 -48
  88. package/dist/webhooks/ownership.d.ts +0 -14
  89. package/dist/webhooks/pull-request-activity.d.ts +0 -11
  90. package/dist/webhooks/pull-request-match-data.d.ts +0 -31
  91. package/dist/webhooks/pull-request-outcome.d.ts +0 -16
  92. package/dist/webhooks/pull-request-people.d.ts +0 -51
  93. package/dist/webhooks/pull-request-preview.d.ts +0 -12
  94. package/dist/webhooks/pull-request-ready-reviewers.d.ts +0 -25
  95. package/dist/webhooks/pull-request-ready.d.ts +0 -31
  96. package/dist/webhooks/pull-request-review-request.d.ts +0 -32
  97. package/dist/workspace-prepare.d.ts +0 -3
@@ -1,205 +0,0 @@
1
- import { type PluginLogger, type PluginSandbox, type PluginWorkspaceToolContext } from "@sentry/junior-plugin-api";
2
- /** Clone one GitHub repository into the sandbox as an ad-hoc checkout. */
3
- export declare function createGitHubCloneRepositoryTool(ctx: {
4
- log: PluginLogger;
5
- sandbox: PluginSandbox;
6
- workspaces: PluginWorkspaceToolContext;
7
- }): import("@sentry/junior-plugin-api").PluginToolDefinition<{
8
- repo: string;
9
- directory?: string | undefined;
10
- allow_ad_hoc?: boolean | undefined;
11
- }, {
12
- objectAnnotations?: {
13
- kind: "object";
14
- key: string;
15
- label: string;
16
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
17
- title: string;
18
- url: string | null;
19
- description?: string | undefined;
20
- status?: string | undefined;
21
- trigger?: string | undefined;
22
- warning?: string | undefined;
23
- displayType?: string | undefined;
24
- sourceUpdatedAt?: string | undefined;
25
- facts?: {
26
- type: "code_change";
27
- summary?: string | undefined;
28
- author?: string | undefined;
29
- sourceBranch?: string | undefined;
30
- targetBranch?: string | undefined;
31
- reviewers?: string[] | undefined;
32
- review?: "approved" | "changes_requested" | "required" | undefined;
33
- checks?: {
34
- passed: number;
35
- failed: number;
36
- pending: number;
37
- } | undefined;
38
- mergeable?: boolean | undefined;
39
- changedFiles?: number | undefined;
40
- additions?: number | undefined;
41
- deletions?: number | undefined;
42
- previewImageUrls?: string[] | undefined;
43
- } | {
44
- type: "task";
45
- summary?: string | undefined;
46
- assignees?: string[] | undefined;
47
- priority?: string | undefined;
48
- project?: string | undefined;
49
- cycle?: string | undefined;
50
- dueDate?: string | undefined;
51
- labels?: string[] | undefined;
52
- } | {
53
- type: "deployment";
54
- summary?: string | undefined;
55
- project?: string | undefined;
56
- environment?: string | undefined;
57
- revision?: string | undefined;
58
- branch?: string | undefined;
59
- } | {
60
- type: "calendar_event";
61
- summary?: string | undefined;
62
- when?: string | undefined;
63
- attendees?: string[] | undefined;
64
- } | {
65
- type: "conversation";
66
- summary?: string | undefined;
67
- participants?: string[] | undefined;
68
- lastActivityAt?: string | undefined;
69
- } | {
70
- type: "document";
71
- summary?: string | undefined;
72
- owner?: string | undefined;
73
- modifiedAt?: string | undefined;
74
- } | {
75
- type: "message";
76
- summary?: string | undefined;
77
- channel?: string | undefined;
78
- author?: string | undefined;
79
- sentAt?: string | undefined;
80
- } | {
81
- type: "web_page";
82
- summary?: string | undefined;
83
- siteName?: string | undefined;
84
- author?: string | undefined;
85
- thumbnailUrl?: string | undefined;
86
- } | {
87
- type: "person";
88
- summary?: string | undefined;
89
- email?: string | undefined;
90
- slackHandle?: string | undefined;
91
- githubHandle?: string | undefined;
92
- avatarUrl?: string | undefined;
93
- } | undefined;
94
- }[] | undefined;
95
- reply?: {
96
- text: string;
97
- url?: string | undefined;
98
- } | undefined;
99
- truncated?: boolean | undefined;
100
- continuation?: {
101
- arguments: Record<string, unknown>;
102
- reason?: string | undefined;
103
- } | undefined;
104
- path: string;
105
- repo: string;
106
- note?: string | undefined;
107
- target: "cloneRepository";
108
- }, {
109
- objectAnnotations?: {
110
- kind: "object";
111
- key: string;
112
- label: string;
113
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
114
- title: string;
115
- url: string | null;
116
- description?: string | undefined;
117
- status?: string | undefined;
118
- trigger?: string | undefined;
119
- warning?: string | undefined;
120
- displayType?: string | undefined;
121
- sourceUpdatedAt?: string | undefined;
122
- facts?: {
123
- type: "code_change";
124
- summary?: string | undefined;
125
- author?: string | undefined;
126
- sourceBranch?: string | undefined;
127
- targetBranch?: string | undefined;
128
- reviewers?: string[] | undefined;
129
- review?: "approved" | "changes_requested" | "required" | undefined;
130
- checks?: {
131
- passed: number;
132
- failed: number;
133
- pending: number;
134
- } | undefined;
135
- mergeable?: boolean | undefined;
136
- changedFiles?: number | undefined;
137
- additions?: number | undefined;
138
- deletions?: number | undefined;
139
- previewImageUrls?: string[] | undefined;
140
- } | {
141
- type: "task";
142
- summary?: string | undefined;
143
- assignees?: string[] | undefined;
144
- priority?: string | undefined;
145
- project?: string | undefined;
146
- cycle?: string | undefined;
147
- dueDate?: string | undefined;
148
- labels?: string[] | undefined;
149
- } | {
150
- type: "deployment";
151
- summary?: string | undefined;
152
- project?: string | undefined;
153
- environment?: string | undefined;
154
- revision?: string | undefined;
155
- branch?: string | undefined;
156
- } | {
157
- type: "calendar_event";
158
- summary?: string | undefined;
159
- when?: string | undefined;
160
- attendees?: string[] | undefined;
161
- } | {
162
- type: "conversation";
163
- summary?: string | undefined;
164
- participants?: string[] | undefined;
165
- lastActivityAt?: string | undefined;
166
- } | {
167
- type: "document";
168
- summary?: string | undefined;
169
- owner?: string | undefined;
170
- modifiedAt?: string | undefined;
171
- } | {
172
- type: "message";
173
- summary?: string | undefined;
174
- channel?: string | undefined;
175
- author?: string | undefined;
176
- sentAt?: string | undefined;
177
- } | {
178
- type: "web_page";
179
- summary?: string | undefined;
180
- siteName?: string | undefined;
181
- author?: string | undefined;
182
- thumbnailUrl?: string | undefined;
183
- } | {
184
- type: "person";
185
- summary?: string | undefined;
186
- email?: string | undefined;
187
- slackHandle?: string | undefined;
188
- githubHandle?: string | undefined;
189
- avatarUrl?: string | undefined;
190
- } | undefined;
191
- }[] | undefined;
192
- reply?: {
193
- text: string;
194
- url?: string | undefined;
195
- } | undefined;
196
- truncated?: boolean | undefined;
197
- continuation?: {
198
- arguments: Record<string, unknown>;
199
- reason?: string | undefined;
200
- } | undefined;
201
- path: string;
202
- repo: string;
203
- note?: string | undefined;
204
- target: "cloneRepository";
205
- }>;
@@ -1,205 +0,0 @@
1
- import { type PluginEgress } from "@sentry/junior-plugin-api";
2
- /** Post a comment on a GitHub issue as the App bot. */
3
- export declare function createGitHubCommentOnIssueTool(egress: PluginEgress): import("@sentry/junior-plugin-api").PluginToolDefinition<{
4
- repo: string;
5
- number: number;
6
- body: string;
7
- }, {
8
- [x: string]: unknown;
9
- objectAnnotations?: {
10
- kind: "object";
11
- key: string;
12
- label: string;
13
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
14
- title: string;
15
- url: string | null;
16
- description?: string | undefined;
17
- status?: string | undefined;
18
- trigger?: string | undefined;
19
- warning?: string | undefined;
20
- displayType?: string | undefined;
21
- sourceUpdatedAt?: string | undefined;
22
- facts?: {
23
- type: "code_change";
24
- summary?: string | undefined;
25
- author?: string | undefined;
26
- sourceBranch?: string | undefined;
27
- targetBranch?: string | undefined;
28
- reviewers?: string[] | undefined;
29
- review?: "approved" | "changes_requested" | "required" | undefined;
30
- checks?: {
31
- passed: number;
32
- failed: number;
33
- pending: number;
34
- } | undefined;
35
- mergeable?: boolean | undefined;
36
- changedFiles?: number | undefined;
37
- additions?: number | undefined;
38
- deletions?: number | undefined;
39
- previewImageUrls?: string[] | undefined;
40
- } | {
41
- type: "task";
42
- summary?: string | undefined;
43
- assignees?: string[] | undefined;
44
- priority?: string | undefined;
45
- project?: string | undefined;
46
- cycle?: string | undefined;
47
- dueDate?: string | undefined;
48
- labels?: string[] | undefined;
49
- } | {
50
- type: "deployment";
51
- summary?: string | undefined;
52
- project?: string | undefined;
53
- environment?: string | undefined;
54
- revision?: string | undefined;
55
- branch?: string | undefined;
56
- } | {
57
- type: "calendar_event";
58
- summary?: string | undefined;
59
- when?: string | undefined;
60
- attendees?: string[] | undefined;
61
- } | {
62
- type: "conversation";
63
- summary?: string | undefined;
64
- participants?: string[] | undefined;
65
- lastActivityAt?: string | undefined;
66
- } | {
67
- type: "document";
68
- summary?: string | undefined;
69
- owner?: string | undefined;
70
- modifiedAt?: string | undefined;
71
- } | {
72
- type: "message";
73
- summary?: string | undefined;
74
- channel?: string | undefined;
75
- author?: string | undefined;
76
- sentAt?: string | undefined;
77
- } | {
78
- type: "web_page";
79
- summary?: string | undefined;
80
- siteName?: string | undefined;
81
- author?: string | undefined;
82
- thumbnailUrl?: string | undefined;
83
- } | {
84
- type: "person";
85
- summary?: string | undefined;
86
- email?: string | undefined;
87
- slackHandle?: string | undefined;
88
- githubHandle?: string | undefined;
89
- avatarUrl?: string | undefined;
90
- } | undefined;
91
- }[] | undefined;
92
- reply?: {
93
- text: string;
94
- url?: string | undefined;
95
- } | undefined;
96
- truncated?: boolean | undefined;
97
- continuation?: {
98
- arguments: Record<string, unknown>;
99
- reason?: string | undefined;
100
- } | undefined;
101
- target: "commentOnIssue";
102
- repo: string;
103
- number: number;
104
- comment_id: number;
105
- url: string;
106
- }, {
107
- [x: string]: unknown;
108
- objectAnnotations?: {
109
- kind: "object";
110
- key: string;
111
- label: string;
112
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
113
- title: string;
114
- url: string | null;
115
- description?: string | undefined;
116
- status?: string | undefined;
117
- trigger?: string | undefined;
118
- warning?: string | undefined;
119
- displayType?: string | undefined;
120
- sourceUpdatedAt?: string | undefined;
121
- facts?: {
122
- type: "code_change";
123
- summary?: string | undefined;
124
- author?: string | undefined;
125
- sourceBranch?: string | undefined;
126
- targetBranch?: string | undefined;
127
- reviewers?: string[] | undefined;
128
- review?: "approved" | "changes_requested" | "required" | undefined;
129
- checks?: {
130
- passed: number;
131
- failed: number;
132
- pending: number;
133
- } | undefined;
134
- mergeable?: boolean | undefined;
135
- changedFiles?: number | undefined;
136
- additions?: number | undefined;
137
- deletions?: number | undefined;
138
- previewImageUrls?: string[] | undefined;
139
- } | {
140
- type: "task";
141
- summary?: string | undefined;
142
- assignees?: string[] | undefined;
143
- priority?: string | undefined;
144
- project?: string | undefined;
145
- cycle?: string | undefined;
146
- dueDate?: string | undefined;
147
- labels?: string[] | undefined;
148
- } | {
149
- type: "deployment";
150
- summary?: string | undefined;
151
- project?: string | undefined;
152
- environment?: string | undefined;
153
- revision?: string | undefined;
154
- branch?: string | undefined;
155
- } | {
156
- type: "calendar_event";
157
- summary?: string | undefined;
158
- when?: string | undefined;
159
- attendees?: string[] | undefined;
160
- } | {
161
- type: "conversation";
162
- summary?: string | undefined;
163
- participants?: string[] | undefined;
164
- lastActivityAt?: string | undefined;
165
- } | {
166
- type: "document";
167
- summary?: string | undefined;
168
- owner?: string | undefined;
169
- modifiedAt?: string | undefined;
170
- } | {
171
- type: "message";
172
- summary?: string | undefined;
173
- channel?: string | undefined;
174
- author?: string | undefined;
175
- sentAt?: string | undefined;
176
- } | {
177
- type: "web_page";
178
- summary?: string | undefined;
179
- siteName?: string | undefined;
180
- author?: string | undefined;
181
- thumbnailUrl?: string | undefined;
182
- } | {
183
- type: "person";
184
- summary?: string | undefined;
185
- email?: string | undefined;
186
- slackHandle?: string | undefined;
187
- githubHandle?: string | undefined;
188
- avatarUrl?: string | undefined;
189
- } | undefined;
190
- }[] | undefined;
191
- reply?: {
192
- text: string;
193
- url?: string | undefined;
194
- } | undefined;
195
- truncated?: boolean | undefined;
196
- continuation?: {
197
- arguments: Record<string, unknown>;
198
- reason?: string | undefined;
199
- } | undefined;
200
- target: "commentOnIssue";
201
- repo: string;
202
- number: number;
203
- comment_id: number;
204
- url: string;
205
- }>;
@@ -1,210 +0,0 @@
1
- import { type PluginEgress } from "@sentry/junior-plugin-api";
2
- /**
3
- * Post a pull request comment as the App bot, or reply in an inline review
4
- * thread. GitHub keeps conversation comments under the issues endpoint and
5
- * thread replies under the pulls endpoint.
6
- */
7
- export declare function createGitHubCommentOnPullRequestTool(egress: PluginEgress): import("@sentry/junior-plugin-api").PluginToolDefinition<{
8
- repo: string;
9
- number: number;
10
- body: string;
11
- in_reply_to?: number | undefined;
12
- }, {
13
- [x: string]: unknown;
14
- objectAnnotations?: {
15
- kind: "object";
16
- key: string;
17
- label: string;
18
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
19
- title: string;
20
- url: string | null;
21
- description?: string | undefined;
22
- status?: string | undefined;
23
- trigger?: string | undefined;
24
- warning?: string | undefined;
25
- displayType?: string | undefined;
26
- sourceUpdatedAt?: string | undefined;
27
- facts?: {
28
- type: "code_change";
29
- summary?: string | undefined;
30
- author?: string | undefined;
31
- sourceBranch?: string | undefined;
32
- targetBranch?: string | undefined;
33
- reviewers?: string[] | undefined;
34
- review?: "approved" | "changes_requested" | "required" | undefined;
35
- checks?: {
36
- passed: number;
37
- failed: number;
38
- pending: number;
39
- } | undefined;
40
- mergeable?: boolean | undefined;
41
- changedFiles?: number | undefined;
42
- additions?: number | undefined;
43
- deletions?: number | undefined;
44
- previewImageUrls?: string[] | undefined;
45
- } | {
46
- type: "task";
47
- summary?: string | undefined;
48
- assignees?: string[] | undefined;
49
- priority?: string | undefined;
50
- project?: string | undefined;
51
- cycle?: string | undefined;
52
- dueDate?: string | undefined;
53
- labels?: string[] | undefined;
54
- } | {
55
- type: "deployment";
56
- summary?: string | undefined;
57
- project?: string | undefined;
58
- environment?: string | undefined;
59
- revision?: string | undefined;
60
- branch?: string | undefined;
61
- } | {
62
- type: "calendar_event";
63
- summary?: string | undefined;
64
- when?: string | undefined;
65
- attendees?: string[] | undefined;
66
- } | {
67
- type: "conversation";
68
- summary?: string | undefined;
69
- participants?: string[] | undefined;
70
- lastActivityAt?: string | undefined;
71
- } | {
72
- type: "document";
73
- summary?: string | undefined;
74
- owner?: string | undefined;
75
- modifiedAt?: string | undefined;
76
- } | {
77
- type: "message";
78
- summary?: string | undefined;
79
- channel?: string | undefined;
80
- author?: string | undefined;
81
- sentAt?: string | undefined;
82
- } | {
83
- type: "web_page";
84
- summary?: string | undefined;
85
- siteName?: string | undefined;
86
- author?: string | undefined;
87
- thumbnailUrl?: string | undefined;
88
- } | {
89
- type: "person";
90
- summary?: string | undefined;
91
- email?: string | undefined;
92
- slackHandle?: string | undefined;
93
- githubHandle?: string | undefined;
94
- avatarUrl?: string | undefined;
95
- } | undefined;
96
- }[] | undefined;
97
- reply?: {
98
- text: string;
99
- url?: string | undefined;
100
- } | undefined;
101
- truncated?: boolean | undefined;
102
- continuation?: {
103
- arguments: Record<string, unknown>;
104
- reason?: string | undefined;
105
- } | undefined;
106
- target: "commentOnPullRequest";
107
- repo: string;
108
- number: number;
109
- comment_id: number;
110
- url: string;
111
- }, {
112
- [x: string]: unknown;
113
- objectAnnotations?: {
114
- kind: "object";
115
- key: string;
116
- label: string;
117
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
118
- title: string;
119
- url: string | null;
120
- description?: string | undefined;
121
- status?: string | undefined;
122
- trigger?: string | undefined;
123
- warning?: string | undefined;
124
- displayType?: string | undefined;
125
- sourceUpdatedAt?: string | undefined;
126
- facts?: {
127
- type: "code_change";
128
- summary?: string | undefined;
129
- author?: string | undefined;
130
- sourceBranch?: string | undefined;
131
- targetBranch?: string | undefined;
132
- reviewers?: string[] | undefined;
133
- review?: "approved" | "changes_requested" | "required" | undefined;
134
- checks?: {
135
- passed: number;
136
- failed: number;
137
- pending: number;
138
- } | undefined;
139
- mergeable?: boolean | undefined;
140
- changedFiles?: number | undefined;
141
- additions?: number | undefined;
142
- deletions?: number | undefined;
143
- previewImageUrls?: string[] | undefined;
144
- } | {
145
- type: "task";
146
- summary?: string | undefined;
147
- assignees?: string[] | undefined;
148
- priority?: string | undefined;
149
- project?: string | undefined;
150
- cycle?: string | undefined;
151
- dueDate?: string | undefined;
152
- labels?: string[] | undefined;
153
- } | {
154
- type: "deployment";
155
- summary?: string | undefined;
156
- project?: string | undefined;
157
- environment?: string | undefined;
158
- revision?: string | undefined;
159
- branch?: string | undefined;
160
- } | {
161
- type: "calendar_event";
162
- summary?: string | undefined;
163
- when?: string | undefined;
164
- attendees?: string[] | undefined;
165
- } | {
166
- type: "conversation";
167
- summary?: string | undefined;
168
- participants?: string[] | undefined;
169
- lastActivityAt?: string | undefined;
170
- } | {
171
- type: "document";
172
- summary?: string | undefined;
173
- owner?: string | undefined;
174
- modifiedAt?: string | undefined;
175
- } | {
176
- type: "message";
177
- summary?: string | undefined;
178
- channel?: string | undefined;
179
- author?: string | undefined;
180
- sentAt?: string | undefined;
181
- } | {
182
- type: "web_page";
183
- summary?: string | undefined;
184
- siteName?: string | undefined;
185
- author?: string | undefined;
186
- thumbnailUrl?: string | undefined;
187
- } | {
188
- type: "person";
189
- summary?: string | undefined;
190
- email?: string | undefined;
191
- slackHandle?: string | undefined;
192
- githubHandle?: string | undefined;
193
- avatarUrl?: string | undefined;
194
- } | undefined;
195
- }[] | undefined;
196
- reply?: {
197
- text: string;
198
- url?: string | undefined;
199
- } | undefined;
200
- truncated?: boolean | undefined;
201
- continuation?: {
202
- arguments: Record<string, unknown>;
203
- reason?: string | undefined;
204
- } | undefined;
205
- target: "commentOnPullRequest";
206
- repo: string;
207
- number: number;
208
- comment_id: number;
209
- url: string;
210
- }>;