@sentry/junior-github 0.302.0 → 0.304.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.
- package/dist/events-DGd7UVVs.js +2452 -0
- package/dist/index.d.ts +71 -3
- package/dist/index.js +7193 -8134
- package/dist/testing.d.ts +51 -1
- package/dist/testing.js +1 -6
- package/package.json +10 -13
- package/dist/account-links.d.ts +0 -8
- package/dist/annotations.d.ts +0 -33
- package/dist/chunk-6SOJ5TN6.js +0 -2618
- package/dist/clone-command.d.ts +0 -7
- package/dist/configured-repository.d.ts +0 -10
- package/dist/conversation-title-context.d.ts +0 -20
- package/dist/credential-support.d.ts +0 -107
- package/dist/db/database.d.ts +0 -5
- package/dist/db/schema.d.ts +0 -1412
- package/dist/default-branch.d.ts +0 -15
- package/dist/draft-readiness.d.ts +0 -31
- package/dist/egress-policy.d.ts +0 -25
- package/dist/events/comment.d.ts +0 -14
- package/dist/events/declarations.d.ts +0 -18
- package/dist/events/deployment.d.ts +0 -38
- package/dist/events/issue.d.ts +0 -42
- package/dist/events/pull-request.d.ts +0 -75
- package/dist/events/release.d.ts +0 -42
- package/dist/events/repository.d.ts +0 -23
- package/dist/events/resource-url.d.ts +0 -5
- package/dist/events/scope.d.ts +0 -13
- package/dist/git-config.d.ts +0 -52
- package/dist/github-status.d.ts +0 -16
- package/dist/graphql-documents.d.ts +0 -44
- package/dist/hooks-path-command.d.ts +0 -5
- package/dist/images.d.ts +0 -8
- package/dist/issue-outcomes/store.d.ts +0 -42
- package/dist/merge-conflict-checks/heartbeat.d.ts +0 -31
- package/dist/merge-conflict-checks/policy.d.ts +0 -74
- package/dist/merge-conflict-checks/store.d.ts +0 -44
- package/dist/merge-conflict-checks/webhooks.d.ts +0 -23
- package/dist/object-facts.d.ts +0 -29
- package/dist/permissions.d.ts +0 -6
- package/dist/plugin.d.ts +0 -45
- package/dist/pull-request-outcomes/apply.d.ts +0 -22
- package/dist/pull-request-outcomes/commit-composition.d.ts +0 -6
- package/dist/pull-request-outcomes/reconcile.d.ts +0 -42
- package/dist/pull-request-outcomes/store.d.ts +0 -120
- package/dist/pull-request-requesters/draft-reviewers.d.ts +0 -15
- package/dist/pull-request-requesters/store.d.ts +0 -41
- package/dist/pull-request-review-policy.d.ts +0 -6
- package/dist/receive-pack-policy.d.ts +0 -21
- package/dist/reply-markdown.d.ts +0 -18
- package/dist/sandbox-paths.d.ts +0 -4
- package/dist/tool-support/attribution.d.ts +0 -52
- package/dist/tool-support/github-api.d.ts +0 -51
- package/dist/tool-support/github-text.d.ts +0 -8
- package/dist/tool-support/pull-request-description.d.ts +0 -8
- package/dist/tools/clone-repository.d.ts +0 -287
- package/dist/tools/comment-on-issue.d.ts +0 -289
- package/dist/tools/comment-on-pull-request.d.ts +0 -294
- package/dist/tools/create-issue.d.ts +0 -300
- package/dist/tools/create-pull-request.d.ts +0 -322
- package/dist/tools/footer.d.ts +0 -17
- package/dist/tools/get-deployment.d.ts +0 -346
- package/dist/tools/get-issue.d.ts +0 -330
- package/dist/tools/get-pull-request.d.ts +0 -358
- package/dist/tools/get-release.d.ts +0 -325
- package/dist/tools/get-repository.d.ts +0 -308
- package/dist/tools/get-status.d.ts +0 -295
- package/dist/tools/react-to-issue.d.ts +0 -289
- package/dist/tools/resolve-pull-request-review-thread.d.ts +0 -288
- package/dist/tools/stack-pull-request.d.ts +0 -43
- package/dist/tools/submit-pull-request-review.d.ts +0 -300
- package/dist/tools/update-issue-comment.d.ts +0 -290
- package/dist/tools/update-issue.d.ts +0 -331
- package/dist/tools/update-pull-request-feedback.d.ts +0 -324
- package/dist/tools/update-pull-request.d.ts +0 -338
- package/dist/tools.d.ts +0 -13
- package/dist/webhooks/check-suite.d.ts +0 -121
- package/dist/webhooks/event-targets.d.ts +0 -44
- package/dist/webhooks/events.d.ts +0 -23
- package/dist/webhooks/fail-open-log.d.ts +0 -10
- package/dist/webhooks/handler.d.ts +0 -57
- package/dist/webhooks/installation-requests.d.ts +0 -105
- package/dist/webhooks/issue-outcome.d.ts +0 -11
- package/dist/webhooks/issue-update.d.ts +0 -8
- package/dist/webhooks/merge-conflict.d.ts +0 -53
- package/dist/webhooks/ownership.d.ts +0 -14
- package/dist/webhooks/pull-request-action.d.ts +0 -37
- package/dist/webhooks/pull-request-activity.d.ts +0 -11
- package/dist/webhooks/pull-request-match-data.d.ts +0 -31
- package/dist/webhooks/pull-request-outcome.d.ts +0 -16
- package/dist/webhooks/pull-request-people.d.ts +0 -51
- package/dist/webhooks/pull-request-preview.d.ts +0 -12
- package/dist/webhooks/pull-request-ready-reviewers.d.ts +0 -25
- package/dist/workspace-prepare.d.ts +0 -3
|
@@ -1,294 +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 const gitHubCommentOnPullRequestTool: 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" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "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
|
-
trend?: {
|
|
55
|
-
label: string;
|
|
56
|
-
points: number[];
|
|
57
|
-
} | undefined;
|
|
58
|
-
} | {
|
|
59
|
-
type: "deployment";
|
|
60
|
-
summary?: string | undefined;
|
|
61
|
-
project?: string | undefined;
|
|
62
|
-
environment?: string | undefined;
|
|
63
|
-
revision?: string | undefined;
|
|
64
|
-
branch?: string | undefined;
|
|
65
|
-
} | {
|
|
66
|
-
type: "calendar_event";
|
|
67
|
-
summary?: string | undefined;
|
|
68
|
-
when?: string | undefined;
|
|
69
|
-
attendees?: string[] | undefined;
|
|
70
|
-
} | {
|
|
71
|
-
type: "conversation";
|
|
72
|
-
summary?: string | undefined;
|
|
73
|
-
participants?: string[] | undefined;
|
|
74
|
-
lastActivityAt?: string | undefined;
|
|
75
|
-
} | {
|
|
76
|
-
type: "document";
|
|
77
|
-
summary?: string | undefined;
|
|
78
|
-
owner?: string | undefined;
|
|
79
|
-
modifiedAt?: string | undefined;
|
|
80
|
-
thumbnailUrl?: string | undefined;
|
|
81
|
-
} | {
|
|
82
|
-
type: "message";
|
|
83
|
-
summary?: string | undefined;
|
|
84
|
-
channel?: string | undefined;
|
|
85
|
-
author?: string | undefined;
|
|
86
|
-
sentAt?: string | undefined;
|
|
87
|
-
} | {
|
|
88
|
-
type: "web_page";
|
|
89
|
-
summary?: string | undefined;
|
|
90
|
-
siteName?: string | undefined;
|
|
91
|
-
author?: string | undefined;
|
|
92
|
-
media?: "image" | "video" | undefined;
|
|
93
|
-
thumbnailUrl?: string | undefined;
|
|
94
|
-
} | {
|
|
95
|
-
type: "chart";
|
|
96
|
-
summary?: string | undefined;
|
|
97
|
-
display: "area" | "bar" | "line";
|
|
98
|
-
yAxis: string;
|
|
99
|
-
range: string;
|
|
100
|
-
series: {
|
|
101
|
-
label: string;
|
|
102
|
-
points: number[];
|
|
103
|
-
}[];
|
|
104
|
-
} | {
|
|
105
|
-
type: "event";
|
|
106
|
-
summary?: string | undefined;
|
|
107
|
-
level?: string | undefined;
|
|
108
|
-
project?: string | undefined;
|
|
109
|
-
release?: string | undefined;
|
|
110
|
-
environment?: string | undefined;
|
|
111
|
-
occurredAt?: string | undefined;
|
|
112
|
-
} | {
|
|
113
|
-
type: "trace";
|
|
114
|
-
summary?: string | undefined;
|
|
115
|
-
rootOp?: string | undefined;
|
|
116
|
-
rootName?: string | undefined;
|
|
117
|
-
durationMs: number;
|
|
118
|
-
spanCount: number;
|
|
119
|
-
errorCount: number;
|
|
120
|
-
performanceIssueCount: number;
|
|
121
|
-
projects: string[];
|
|
122
|
-
spans: {
|
|
123
|
-
op?: string | undefined;
|
|
124
|
-
name: string;
|
|
125
|
-
startMs: number;
|
|
126
|
-
durationMs: number;
|
|
127
|
-
issue?: boolean | undefined;
|
|
128
|
-
}[];
|
|
129
|
-
} | {
|
|
130
|
-
type: "person";
|
|
131
|
-
summary?: string | undefined;
|
|
132
|
-
email?: string | undefined;
|
|
133
|
-
slackHandle?: string | undefined;
|
|
134
|
-
githubHandle?: string | undefined;
|
|
135
|
-
avatarUrl?: string | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
}[] | undefined;
|
|
138
|
-
reply?: {
|
|
139
|
-
text: string;
|
|
140
|
-
url?: string | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
truncated?: boolean | undefined;
|
|
143
|
-
continuation?: {
|
|
144
|
-
arguments: Record<string, unknown>;
|
|
145
|
-
reason?: string | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
target: "commentOnPullRequest";
|
|
148
|
-
repo: string;
|
|
149
|
-
number: number;
|
|
150
|
-
comment_id: number;
|
|
151
|
-
url: string;
|
|
152
|
-
}, {
|
|
153
|
-
[x: string]: unknown;
|
|
154
|
-
objectAnnotations?: {
|
|
155
|
-
kind: "object";
|
|
156
|
-
key: string;
|
|
157
|
-
label: string;
|
|
158
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
159
|
-
title: string;
|
|
160
|
-
url: string | null;
|
|
161
|
-
description?: string | undefined;
|
|
162
|
-
status?: string | undefined;
|
|
163
|
-
trigger?: string | undefined;
|
|
164
|
-
warning?: string | undefined;
|
|
165
|
-
displayType?: string | undefined;
|
|
166
|
-
sourceUpdatedAt?: string | undefined;
|
|
167
|
-
facts?: {
|
|
168
|
-
type: "code_change";
|
|
169
|
-
summary?: string | undefined;
|
|
170
|
-
author?: string | undefined;
|
|
171
|
-
sourceBranch?: string | undefined;
|
|
172
|
-
targetBranch?: string | undefined;
|
|
173
|
-
reviewers?: string[] | undefined;
|
|
174
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
175
|
-
checks?: {
|
|
176
|
-
passed: number;
|
|
177
|
-
failed: number;
|
|
178
|
-
pending: number;
|
|
179
|
-
} | undefined;
|
|
180
|
-
mergeable?: boolean | undefined;
|
|
181
|
-
changedFiles?: number | undefined;
|
|
182
|
-
additions?: number | undefined;
|
|
183
|
-
deletions?: number | undefined;
|
|
184
|
-
previewImageUrls?: string[] | undefined;
|
|
185
|
-
} | {
|
|
186
|
-
type: "task";
|
|
187
|
-
summary?: string | undefined;
|
|
188
|
-
assignees?: string[] | undefined;
|
|
189
|
-
priority?: string | undefined;
|
|
190
|
-
project?: string | undefined;
|
|
191
|
-
cycle?: string | undefined;
|
|
192
|
-
dueDate?: string | undefined;
|
|
193
|
-
labels?: string[] | undefined;
|
|
194
|
-
trend?: {
|
|
195
|
-
label: string;
|
|
196
|
-
points: number[];
|
|
197
|
-
} | undefined;
|
|
198
|
-
} | {
|
|
199
|
-
type: "deployment";
|
|
200
|
-
summary?: string | undefined;
|
|
201
|
-
project?: string | undefined;
|
|
202
|
-
environment?: string | undefined;
|
|
203
|
-
revision?: string | undefined;
|
|
204
|
-
branch?: string | undefined;
|
|
205
|
-
} | {
|
|
206
|
-
type: "calendar_event";
|
|
207
|
-
summary?: string | undefined;
|
|
208
|
-
when?: string | undefined;
|
|
209
|
-
attendees?: string[] | undefined;
|
|
210
|
-
} | {
|
|
211
|
-
type: "conversation";
|
|
212
|
-
summary?: string | undefined;
|
|
213
|
-
participants?: string[] | undefined;
|
|
214
|
-
lastActivityAt?: string | undefined;
|
|
215
|
-
} | {
|
|
216
|
-
type: "document";
|
|
217
|
-
summary?: string | undefined;
|
|
218
|
-
owner?: string | undefined;
|
|
219
|
-
modifiedAt?: string | undefined;
|
|
220
|
-
thumbnailUrl?: string | undefined;
|
|
221
|
-
} | {
|
|
222
|
-
type: "message";
|
|
223
|
-
summary?: string | undefined;
|
|
224
|
-
channel?: string | undefined;
|
|
225
|
-
author?: string | undefined;
|
|
226
|
-
sentAt?: string | undefined;
|
|
227
|
-
} | {
|
|
228
|
-
type: "web_page";
|
|
229
|
-
summary?: string | undefined;
|
|
230
|
-
siteName?: string | undefined;
|
|
231
|
-
author?: string | undefined;
|
|
232
|
-
media?: "image" | "video" | undefined;
|
|
233
|
-
thumbnailUrl?: string | undefined;
|
|
234
|
-
} | {
|
|
235
|
-
type: "chart";
|
|
236
|
-
summary?: string | undefined;
|
|
237
|
-
display: "area" | "bar" | "line";
|
|
238
|
-
yAxis: string;
|
|
239
|
-
range: string;
|
|
240
|
-
series: {
|
|
241
|
-
label: string;
|
|
242
|
-
points: number[];
|
|
243
|
-
}[];
|
|
244
|
-
} | {
|
|
245
|
-
type: "event";
|
|
246
|
-
summary?: string | undefined;
|
|
247
|
-
level?: string | undefined;
|
|
248
|
-
project?: string | undefined;
|
|
249
|
-
release?: string | undefined;
|
|
250
|
-
environment?: string | undefined;
|
|
251
|
-
occurredAt?: string | undefined;
|
|
252
|
-
} | {
|
|
253
|
-
type: "trace";
|
|
254
|
-
summary?: string | undefined;
|
|
255
|
-
rootOp?: string | undefined;
|
|
256
|
-
rootName?: string | undefined;
|
|
257
|
-
durationMs: number;
|
|
258
|
-
spanCount: number;
|
|
259
|
-
errorCount: number;
|
|
260
|
-
performanceIssueCount: number;
|
|
261
|
-
projects: string[];
|
|
262
|
-
spans: {
|
|
263
|
-
op?: string | undefined;
|
|
264
|
-
name: string;
|
|
265
|
-
startMs: number;
|
|
266
|
-
durationMs: number;
|
|
267
|
-
issue?: boolean | undefined;
|
|
268
|
-
}[];
|
|
269
|
-
} | {
|
|
270
|
-
type: "person";
|
|
271
|
-
summary?: string | undefined;
|
|
272
|
-
email?: string | undefined;
|
|
273
|
-
slackHandle?: string | undefined;
|
|
274
|
-
githubHandle?: string | undefined;
|
|
275
|
-
avatarUrl?: string | undefined;
|
|
276
|
-
} | undefined;
|
|
277
|
-
}[] | undefined;
|
|
278
|
-
reply?: {
|
|
279
|
-
text: string;
|
|
280
|
-
url?: string | undefined;
|
|
281
|
-
} | undefined;
|
|
282
|
-
truncated?: boolean | undefined;
|
|
283
|
-
continuation?: {
|
|
284
|
-
arguments: Record<string, unknown>;
|
|
285
|
-
reason?: string | undefined;
|
|
286
|
-
} | undefined;
|
|
287
|
-
target: "commentOnPullRequest";
|
|
288
|
-
repo: string;
|
|
289
|
-
number: number;
|
|
290
|
-
comment_id: number;
|
|
291
|
-
url: string;
|
|
292
|
-
}, {
|
|
293
|
-
egress: PluginEgress;
|
|
294
|
-
}>;
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
import { type ToolRegistrationHookContext } from "@sentry/junior-plugin-api";
|
|
2
|
-
/** Own issue creation so provider writes use host egress and the footer stays deterministic. */
|
|
3
|
-
export declare const gitHubIssueTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
|
-
repo: string;
|
|
5
|
-
title: string;
|
|
6
|
-
body?: string | undefined;
|
|
7
|
-
labels?: string[] | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
objectAnnotations?: {
|
|
10
|
-
kind: "object";
|
|
11
|
-
key: string;
|
|
12
|
-
label: string;
|
|
13
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "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
|
-
trend?: {
|
|
50
|
-
label: string;
|
|
51
|
-
points: number[];
|
|
52
|
-
} | undefined;
|
|
53
|
-
} | {
|
|
54
|
-
type: "deployment";
|
|
55
|
-
summary?: string | undefined;
|
|
56
|
-
project?: string | undefined;
|
|
57
|
-
environment?: string | undefined;
|
|
58
|
-
revision?: string | undefined;
|
|
59
|
-
branch?: string | undefined;
|
|
60
|
-
} | {
|
|
61
|
-
type: "calendar_event";
|
|
62
|
-
summary?: string | undefined;
|
|
63
|
-
when?: string | undefined;
|
|
64
|
-
attendees?: string[] | undefined;
|
|
65
|
-
} | {
|
|
66
|
-
type: "conversation";
|
|
67
|
-
summary?: string | undefined;
|
|
68
|
-
participants?: string[] | undefined;
|
|
69
|
-
lastActivityAt?: string | undefined;
|
|
70
|
-
} | {
|
|
71
|
-
type: "document";
|
|
72
|
-
summary?: string | undefined;
|
|
73
|
-
owner?: string | undefined;
|
|
74
|
-
modifiedAt?: string | undefined;
|
|
75
|
-
thumbnailUrl?: 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
|
-
media?: "image" | "video" | undefined;
|
|
88
|
-
thumbnailUrl?: string | undefined;
|
|
89
|
-
} | {
|
|
90
|
-
type: "chart";
|
|
91
|
-
summary?: string | undefined;
|
|
92
|
-
display: "area" | "bar" | "line";
|
|
93
|
-
yAxis: string;
|
|
94
|
-
range: string;
|
|
95
|
-
series: {
|
|
96
|
-
label: string;
|
|
97
|
-
points: number[];
|
|
98
|
-
}[];
|
|
99
|
-
} | {
|
|
100
|
-
type: "event";
|
|
101
|
-
summary?: string | undefined;
|
|
102
|
-
level?: string | undefined;
|
|
103
|
-
project?: string | undefined;
|
|
104
|
-
release?: string | undefined;
|
|
105
|
-
environment?: string | undefined;
|
|
106
|
-
occurredAt?: string | undefined;
|
|
107
|
-
} | {
|
|
108
|
-
type: "trace";
|
|
109
|
-
summary?: string | undefined;
|
|
110
|
-
rootOp?: string | undefined;
|
|
111
|
-
rootName?: string | undefined;
|
|
112
|
-
durationMs: number;
|
|
113
|
-
spanCount: number;
|
|
114
|
-
errorCount: number;
|
|
115
|
-
performanceIssueCount: number;
|
|
116
|
-
projects: string[];
|
|
117
|
-
spans: {
|
|
118
|
-
op?: string | undefined;
|
|
119
|
-
name: string;
|
|
120
|
-
startMs: number;
|
|
121
|
-
durationMs: number;
|
|
122
|
-
issue?: boolean | undefined;
|
|
123
|
-
}[];
|
|
124
|
-
} | {
|
|
125
|
-
type: "person";
|
|
126
|
-
summary?: string | undefined;
|
|
127
|
-
email?: string | undefined;
|
|
128
|
-
slackHandle?: string | undefined;
|
|
129
|
-
githubHandle?: string | undefined;
|
|
130
|
-
avatarUrl?: string | undefined;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}[] | undefined;
|
|
133
|
-
reply?: {
|
|
134
|
-
text: string;
|
|
135
|
-
url?: string | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
truncated?: boolean | undefined;
|
|
138
|
-
continuation?: {
|
|
139
|
-
arguments: Record<string, unknown>;
|
|
140
|
-
reason?: string | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
number: number;
|
|
143
|
-
subscribable?: {
|
|
144
|
-
identifier: string;
|
|
145
|
-
label: string;
|
|
146
|
-
match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
|
|
147
|
-
namespace: string;
|
|
148
|
-
suggested_events?: string[] | undefined;
|
|
149
|
-
supported_events: string[];
|
|
150
|
-
type: string;
|
|
151
|
-
} | undefined;
|
|
152
|
-
url: string;
|
|
153
|
-
target: "createIssue";
|
|
154
|
-
}, {
|
|
155
|
-
objectAnnotations?: {
|
|
156
|
-
kind: "object";
|
|
157
|
-
key: string;
|
|
158
|
-
label: string;
|
|
159
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
160
|
-
title: string;
|
|
161
|
-
url: string | null;
|
|
162
|
-
description?: string | undefined;
|
|
163
|
-
status?: string | undefined;
|
|
164
|
-
trigger?: string | undefined;
|
|
165
|
-
warning?: string | undefined;
|
|
166
|
-
displayType?: string | undefined;
|
|
167
|
-
sourceUpdatedAt?: string | undefined;
|
|
168
|
-
facts?: {
|
|
169
|
-
type: "code_change";
|
|
170
|
-
summary?: string | undefined;
|
|
171
|
-
author?: string | undefined;
|
|
172
|
-
sourceBranch?: string | undefined;
|
|
173
|
-
targetBranch?: string | undefined;
|
|
174
|
-
reviewers?: string[] | undefined;
|
|
175
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
176
|
-
checks?: {
|
|
177
|
-
passed: number;
|
|
178
|
-
failed: number;
|
|
179
|
-
pending: number;
|
|
180
|
-
} | undefined;
|
|
181
|
-
mergeable?: boolean | undefined;
|
|
182
|
-
changedFiles?: number | undefined;
|
|
183
|
-
additions?: number | undefined;
|
|
184
|
-
deletions?: number | undefined;
|
|
185
|
-
previewImageUrls?: string[] | undefined;
|
|
186
|
-
} | {
|
|
187
|
-
type: "task";
|
|
188
|
-
summary?: string | undefined;
|
|
189
|
-
assignees?: string[] | undefined;
|
|
190
|
-
priority?: string | undefined;
|
|
191
|
-
project?: string | undefined;
|
|
192
|
-
cycle?: string | undefined;
|
|
193
|
-
dueDate?: string | undefined;
|
|
194
|
-
labels?: string[] | undefined;
|
|
195
|
-
trend?: {
|
|
196
|
-
label: string;
|
|
197
|
-
points: number[];
|
|
198
|
-
} | undefined;
|
|
199
|
-
} | {
|
|
200
|
-
type: "deployment";
|
|
201
|
-
summary?: string | undefined;
|
|
202
|
-
project?: string | undefined;
|
|
203
|
-
environment?: string | undefined;
|
|
204
|
-
revision?: string | undefined;
|
|
205
|
-
branch?: string | undefined;
|
|
206
|
-
} | {
|
|
207
|
-
type: "calendar_event";
|
|
208
|
-
summary?: string | undefined;
|
|
209
|
-
when?: string | undefined;
|
|
210
|
-
attendees?: string[] | undefined;
|
|
211
|
-
} | {
|
|
212
|
-
type: "conversation";
|
|
213
|
-
summary?: string | undefined;
|
|
214
|
-
participants?: string[] | undefined;
|
|
215
|
-
lastActivityAt?: string | undefined;
|
|
216
|
-
} | {
|
|
217
|
-
type: "document";
|
|
218
|
-
summary?: string | undefined;
|
|
219
|
-
owner?: string | undefined;
|
|
220
|
-
modifiedAt?: string | undefined;
|
|
221
|
-
thumbnailUrl?: string | undefined;
|
|
222
|
-
} | {
|
|
223
|
-
type: "message";
|
|
224
|
-
summary?: string | undefined;
|
|
225
|
-
channel?: string | undefined;
|
|
226
|
-
author?: string | undefined;
|
|
227
|
-
sentAt?: string | undefined;
|
|
228
|
-
} | {
|
|
229
|
-
type: "web_page";
|
|
230
|
-
summary?: string | undefined;
|
|
231
|
-
siteName?: string | undefined;
|
|
232
|
-
author?: string | undefined;
|
|
233
|
-
media?: "image" | "video" | undefined;
|
|
234
|
-
thumbnailUrl?: string | undefined;
|
|
235
|
-
} | {
|
|
236
|
-
type: "chart";
|
|
237
|
-
summary?: string | undefined;
|
|
238
|
-
display: "area" | "bar" | "line";
|
|
239
|
-
yAxis: string;
|
|
240
|
-
range: string;
|
|
241
|
-
series: {
|
|
242
|
-
label: string;
|
|
243
|
-
points: number[];
|
|
244
|
-
}[];
|
|
245
|
-
} | {
|
|
246
|
-
type: "event";
|
|
247
|
-
summary?: string | undefined;
|
|
248
|
-
level?: string | undefined;
|
|
249
|
-
project?: string | undefined;
|
|
250
|
-
release?: string | undefined;
|
|
251
|
-
environment?: string | undefined;
|
|
252
|
-
occurredAt?: string | undefined;
|
|
253
|
-
} | {
|
|
254
|
-
type: "trace";
|
|
255
|
-
summary?: string | undefined;
|
|
256
|
-
rootOp?: string | undefined;
|
|
257
|
-
rootName?: string | undefined;
|
|
258
|
-
durationMs: number;
|
|
259
|
-
spanCount: number;
|
|
260
|
-
errorCount: number;
|
|
261
|
-
performanceIssueCount: number;
|
|
262
|
-
projects: string[];
|
|
263
|
-
spans: {
|
|
264
|
-
op?: string | undefined;
|
|
265
|
-
name: string;
|
|
266
|
-
startMs: number;
|
|
267
|
-
durationMs: number;
|
|
268
|
-
issue?: boolean | undefined;
|
|
269
|
-
}[];
|
|
270
|
-
} | {
|
|
271
|
-
type: "person";
|
|
272
|
-
summary?: string | undefined;
|
|
273
|
-
email?: string | undefined;
|
|
274
|
-
slackHandle?: string | undefined;
|
|
275
|
-
githubHandle?: string | undefined;
|
|
276
|
-
avatarUrl?: string | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
}[] | undefined;
|
|
279
|
-
reply?: {
|
|
280
|
-
text: string;
|
|
281
|
-
url?: string | undefined;
|
|
282
|
-
} | undefined;
|
|
283
|
-
truncated?: boolean | undefined;
|
|
284
|
-
continuation?: {
|
|
285
|
-
arguments: Record<string, unknown>;
|
|
286
|
-
reason?: string | undefined;
|
|
287
|
-
} | undefined;
|
|
288
|
-
number: number;
|
|
289
|
-
subscribable?: {
|
|
290
|
-
identifier: string;
|
|
291
|
-
label: string;
|
|
292
|
-
match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
|
|
293
|
-
namespace: string;
|
|
294
|
-
suggested_events?: string[] | undefined;
|
|
295
|
-
supported_events: string[];
|
|
296
|
-
type: string;
|
|
297
|
-
} | undefined;
|
|
298
|
-
url: string;
|
|
299
|
-
target: "createIssue";
|
|
300
|
-
}, ToolRegistrationHookContext>;
|