@sentry/junior-gocd 0.225.0 → 0.227.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/tools/job-history.d.ts +68 -2
- package/dist/tools/job-history.d.ts.map +1 -1
- package/dist/tools/pipeline-history.d.ts +68 -2
- package/dist/tools/pipeline-history.d.ts.map +1 -1
- package/dist/tools/pipeline-run.d.ts +68 -2
- package/dist/tools/pipeline-run.d.ts.map +1 -1
- package/dist/tools/pipeline-status.d.ts +68 -2
- package/dist/tools/pipeline-status.d.ts.map +1 -1
- package/dist/tools/pipelines.d.ts +68 -2
- package/dist/tools/pipelines.d.ts.map +1 -1
- package/dist/tools/stage.d.ts +68 -2
- package/dist/tools/stage.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -25,13 +25,46 @@ export declare function createGocdJobHistoryTool(ctx: ToolRegistrationHookContex
|
|
|
25
25
|
kind: "object";
|
|
26
26
|
key: string;
|
|
27
27
|
label: string;
|
|
28
|
-
objectType: "
|
|
28
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
29
29
|
title: string;
|
|
30
30
|
url: string | null;
|
|
31
31
|
description?: string | undefined;
|
|
32
32
|
status?: string | undefined;
|
|
33
33
|
trigger?: string | undefined;
|
|
34
34
|
warning?: string | undefined;
|
|
35
|
+
displayType?: string | undefined;
|
|
36
|
+
sourceUpdatedAt?: string | undefined;
|
|
37
|
+
facts?: {
|
|
38
|
+
type: "code_change";
|
|
39
|
+
author?: string | undefined;
|
|
40
|
+
sourceBranch?: string | undefined;
|
|
41
|
+
targetBranch?: string | undefined;
|
|
42
|
+
reviewers?: string[] | undefined;
|
|
43
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
44
|
+
checks?: {
|
|
45
|
+
passed: number;
|
|
46
|
+
failed: number;
|
|
47
|
+
pending: number;
|
|
48
|
+
} | undefined;
|
|
49
|
+
mergeable?: boolean | undefined;
|
|
50
|
+
changedFiles?: number | undefined;
|
|
51
|
+
additions?: number | undefined;
|
|
52
|
+
deletions?: number | undefined;
|
|
53
|
+
} | {
|
|
54
|
+
type: "task";
|
|
55
|
+
assignees?: string[] | undefined;
|
|
56
|
+
priority?: string | undefined;
|
|
57
|
+
project?: string | undefined;
|
|
58
|
+
cycle?: string | undefined;
|
|
59
|
+
dueDate?: string | undefined;
|
|
60
|
+
labels?: string[] | undefined;
|
|
61
|
+
} | {
|
|
62
|
+
type: "deployment";
|
|
63
|
+
project?: string | undefined;
|
|
64
|
+
environment?: string | undefined;
|
|
65
|
+
revision?: string | undefined;
|
|
66
|
+
branch?: string | undefined;
|
|
67
|
+
} | undefined;
|
|
35
68
|
}[] | undefined;
|
|
36
69
|
truncated?: boolean | undefined;
|
|
37
70
|
continuation?: {
|
|
@@ -57,13 +90,46 @@ export declare function createGocdJobHistoryTool(ctx: ToolRegistrationHookContex
|
|
|
57
90
|
kind: "object";
|
|
58
91
|
key: string;
|
|
59
92
|
label: string;
|
|
60
|
-
objectType: "
|
|
93
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
61
94
|
title: string;
|
|
62
95
|
url: string | null;
|
|
63
96
|
description?: string | undefined;
|
|
64
97
|
status?: string | undefined;
|
|
65
98
|
trigger?: string | undefined;
|
|
66
99
|
warning?: string | undefined;
|
|
100
|
+
displayType?: string | undefined;
|
|
101
|
+
sourceUpdatedAt?: string | undefined;
|
|
102
|
+
facts?: {
|
|
103
|
+
type: "code_change";
|
|
104
|
+
author?: string | undefined;
|
|
105
|
+
sourceBranch?: string | undefined;
|
|
106
|
+
targetBranch?: string | undefined;
|
|
107
|
+
reviewers?: string[] | undefined;
|
|
108
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
109
|
+
checks?: {
|
|
110
|
+
passed: number;
|
|
111
|
+
failed: number;
|
|
112
|
+
pending: number;
|
|
113
|
+
} | undefined;
|
|
114
|
+
mergeable?: boolean | undefined;
|
|
115
|
+
changedFiles?: number | undefined;
|
|
116
|
+
additions?: number | undefined;
|
|
117
|
+
deletions?: number | undefined;
|
|
118
|
+
} | {
|
|
119
|
+
type: "task";
|
|
120
|
+
assignees?: string[] | undefined;
|
|
121
|
+
priority?: string | undefined;
|
|
122
|
+
project?: string | undefined;
|
|
123
|
+
cycle?: string | undefined;
|
|
124
|
+
dueDate?: string | undefined;
|
|
125
|
+
labels?: string[] | undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: "deployment";
|
|
128
|
+
project?: string | undefined;
|
|
129
|
+
environment?: string | undefined;
|
|
130
|
+
revision?: string | undefined;
|
|
131
|
+
branch?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
67
133
|
}[] | undefined;
|
|
68
134
|
truncated?: boolean | undefined;
|
|
69
135
|
continuation?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-history.d.ts","sourceRoot":"","sources":["../../src/tools/job-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAgDtB,iDAAiD;AACjD,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB
|
|
1
|
+
{"version":3,"file":"job-history.d.ts","sourceRoot":"","sources":["../../src/tools/job-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAgDtB,iDAAiD;AACjD,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DhC"}
|
|
@@ -34,13 +34,46 @@ export declare function createGocdPipelineHistoryTool(ctx: ToolRegistrationHookC
|
|
|
34
34
|
kind: "object";
|
|
35
35
|
key: string;
|
|
36
36
|
label: string;
|
|
37
|
-
objectType: "
|
|
37
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
38
38
|
title: string;
|
|
39
39
|
url: string | null;
|
|
40
40
|
description?: string | undefined;
|
|
41
41
|
status?: string | undefined;
|
|
42
42
|
trigger?: string | undefined;
|
|
43
43
|
warning?: string | undefined;
|
|
44
|
+
displayType?: string | undefined;
|
|
45
|
+
sourceUpdatedAt?: string | undefined;
|
|
46
|
+
facts?: {
|
|
47
|
+
type: "code_change";
|
|
48
|
+
author?: string | undefined;
|
|
49
|
+
sourceBranch?: string | undefined;
|
|
50
|
+
targetBranch?: string | undefined;
|
|
51
|
+
reviewers?: string[] | undefined;
|
|
52
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
53
|
+
checks?: {
|
|
54
|
+
passed: number;
|
|
55
|
+
failed: number;
|
|
56
|
+
pending: number;
|
|
57
|
+
} | undefined;
|
|
58
|
+
mergeable?: boolean | undefined;
|
|
59
|
+
changedFiles?: number | undefined;
|
|
60
|
+
additions?: number | undefined;
|
|
61
|
+
deletions?: number | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
type: "task";
|
|
64
|
+
assignees?: string[] | undefined;
|
|
65
|
+
priority?: string | undefined;
|
|
66
|
+
project?: string | undefined;
|
|
67
|
+
cycle?: string | undefined;
|
|
68
|
+
dueDate?: string | undefined;
|
|
69
|
+
labels?: string[] | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
type: "deployment";
|
|
72
|
+
project?: string | undefined;
|
|
73
|
+
environment?: string | undefined;
|
|
74
|
+
revision?: string | undefined;
|
|
75
|
+
branch?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
44
77
|
}[] | undefined;
|
|
45
78
|
truncated?: boolean | undefined;
|
|
46
79
|
continuation?: {
|
|
@@ -72,13 +105,46 @@ export declare function createGocdPipelineHistoryTool(ctx: ToolRegistrationHookC
|
|
|
72
105
|
kind: "object";
|
|
73
106
|
key: string;
|
|
74
107
|
label: string;
|
|
75
|
-
objectType: "
|
|
108
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
76
109
|
title: string;
|
|
77
110
|
url: string | null;
|
|
78
111
|
description?: string | undefined;
|
|
79
112
|
status?: string | undefined;
|
|
80
113
|
trigger?: string | undefined;
|
|
81
114
|
warning?: string | undefined;
|
|
115
|
+
displayType?: string | undefined;
|
|
116
|
+
sourceUpdatedAt?: string | undefined;
|
|
117
|
+
facts?: {
|
|
118
|
+
type: "code_change";
|
|
119
|
+
author?: string | undefined;
|
|
120
|
+
sourceBranch?: string | undefined;
|
|
121
|
+
targetBranch?: string | undefined;
|
|
122
|
+
reviewers?: string[] | undefined;
|
|
123
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
124
|
+
checks?: {
|
|
125
|
+
passed: number;
|
|
126
|
+
failed: number;
|
|
127
|
+
pending: number;
|
|
128
|
+
} | undefined;
|
|
129
|
+
mergeable?: boolean | undefined;
|
|
130
|
+
changedFiles?: number | undefined;
|
|
131
|
+
additions?: number | undefined;
|
|
132
|
+
deletions?: number | undefined;
|
|
133
|
+
} | {
|
|
134
|
+
type: "task";
|
|
135
|
+
assignees?: string[] | undefined;
|
|
136
|
+
priority?: string | undefined;
|
|
137
|
+
project?: string | undefined;
|
|
138
|
+
cycle?: string | undefined;
|
|
139
|
+
dueDate?: string | undefined;
|
|
140
|
+
labels?: string[] | undefined;
|
|
141
|
+
} | {
|
|
142
|
+
type: "deployment";
|
|
143
|
+
project?: string | undefined;
|
|
144
|
+
environment?: string | undefined;
|
|
145
|
+
revision?: string | undefined;
|
|
146
|
+
branch?: string | undefined;
|
|
147
|
+
} | undefined;
|
|
82
148
|
}[] | undefined;
|
|
83
149
|
truncated?: boolean | undefined;
|
|
84
150
|
continuation?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-history.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAmEtB;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB
|
|
1
|
+
{"version":3,"file":"pipeline-history.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAmEtB;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEhC"}
|
|
@@ -28,13 +28,46 @@ export declare function createGocdPipelineRunTool(ctx: ToolRegistrationHookConte
|
|
|
28
28
|
kind: "object";
|
|
29
29
|
key: string;
|
|
30
30
|
label: string;
|
|
31
|
-
objectType: "
|
|
31
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
32
32
|
title: string;
|
|
33
33
|
url: string | null;
|
|
34
34
|
description?: string | undefined;
|
|
35
35
|
status?: string | undefined;
|
|
36
36
|
trigger?: string | undefined;
|
|
37
37
|
warning?: string | undefined;
|
|
38
|
+
displayType?: string | undefined;
|
|
39
|
+
sourceUpdatedAt?: string | undefined;
|
|
40
|
+
facts?: {
|
|
41
|
+
type: "code_change";
|
|
42
|
+
author?: string | undefined;
|
|
43
|
+
sourceBranch?: string | undefined;
|
|
44
|
+
targetBranch?: string | undefined;
|
|
45
|
+
reviewers?: string[] | undefined;
|
|
46
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
47
|
+
checks?: {
|
|
48
|
+
passed: number;
|
|
49
|
+
failed: number;
|
|
50
|
+
pending: number;
|
|
51
|
+
} | undefined;
|
|
52
|
+
mergeable?: boolean | undefined;
|
|
53
|
+
changedFiles?: number | undefined;
|
|
54
|
+
additions?: number | undefined;
|
|
55
|
+
deletions?: number | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
type: "task";
|
|
58
|
+
assignees?: string[] | undefined;
|
|
59
|
+
priority?: string | undefined;
|
|
60
|
+
project?: string | undefined;
|
|
61
|
+
cycle?: string | undefined;
|
|
62
|
+
dueDate?: string | undefined;
|
|
63
|
+
labels?: string[] | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "deployment";
|
|
66
|
+
project?: string | undefined;
|
|
67
|
+
environment?: string | undefined;
|
|
68
|
+
revision?: string | undefined;
|
|
69
|
+
branch?: string | undefined;
|
|
70
|
+
} | undefined;
|
|
38
71
|
}[] | undefined;
|
|
39
72
|
truncated?: boolean | undefined;
|
|
40
73
|
continuation?: {
|
|
@@ -65,13 +98,46 @@ export declare function createGocdPipelineRunTool(ctx: ToolRegistrationHookConte
|
|
|
65
98
|
kind: "object";
|
|
66
99
|
key: string;
|
|
67
100
|
label: string;
|
|
68
|
-
objectType: "
|
|
101
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
69
102
|
title: string;
|
|
70
103
|
url: string | null;
|
|
71
104
|
description?: string | undefined;
|
|
72
105
|
status?: string | undefined;
|
|
73
106
|
trigger?: string | undefined;
|
|
74
107
|
warning?: string | undefined;
|
|
108
|
+
displayType?: string | undefined;
|
|
109
|
+
sourceUpdatedAt?: string | undefined;
|
|
110
|
+
facts?: {
|
|
111
|
+
type: "code_change";
|
|
112
|
+
author?: string | undefined;
|
|
113
|
+
sourceBranch?: string | undefined;
|
|
114
|
+
targetBranch?: string | undefined;
|
|
115
|
+
reviewers?: string[] | undefined;
|
|
116
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
117
|
+
checks?: {
|
|
118
|
+
passed: number;
|
|
119
|
+
failed: number;
|
|
120
|
+
pending: number;
|
|
121
|
+
} | undefined;
|
|
122
|
+
mergeable?: boolean | undefined;
|
|
123
|
+
changedFiles?: number | undefined;
|
|
124
|
+
additions?: number | undefined;
|
|
125
|
+
deletions?: number | undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: "task";
|
|
128
|
+
assignees?: string[] | undefined;
|
|
129
|
+
priority?: string | undefined;
|
|
130
|
+
project?: string | undefined;
|
|
131
|
+
cycle?: string | undefined;
|
|
132
|
+
dueDate?: string | undefined;
|
|
133
|
+
labels?: string[] | undefined;
|
|
134
|
+
} | {
|
|
135
|
+
type: "deployment";
|
|
136
|
+
project?: string | undefined;
|
|
137
|
+
environment?: string | undefined;
|
|
138
|
+
revision?: string | undefined;
|
|
139
|
+
branch?: string | undefined;
|
|
140
|
+
} | undefined;
|
|
75
141
|
}[] | undefined;
|
|
76
142
|
truncated?: boolean | undefined;
|
|
77
143
|
continuation?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-run.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAkEtB,oEAAoE;AACpE,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB
|
|
1
|
+
{"version":3,"file":"pipeline-run.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAkEtB,oEAAoE;AACpE,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DhC"}
|
|
@@ -15,13 +15,46 @@ export declare function createGocdPipelineStatusTool(ctx: ToolRegistrationHookCo
|
|
|
15
15
|
kind: "object";
|
|
16
16
|
key: string;
|
|
17
17
|
label: string;
|
|
18
|
-
objectType: "
|
|
18
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
19
19
|
title: string;
|
|
20
20
|
url: string | null;
|
|
21
21
|
description?: string | undefined;
|
|
22
22
|
status?: string | undefined;
|
|
23
23
|
trigger?: string | undefined;
|
|
24
24
|
warning?: string | undefined;
|
|
25
|
+
displayType?: string | undefined;
|
|
26
|
+
sourceUpdatedAt?: string | undefined;
|
|
27
|
+
facts?: {
|
|
28
|
+
type: "code_change";
|
|
29
|
+
author?: string | undefined;
|
|
30
|
+
sourceBranch?: string | undefined;
|
|
31
|
+
targetBranch?: string | undefined;
|
|
32
|
+
reviewers?: string[] | undefined;
|
|
33
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
34
|
+
checks?: {
|
|
35
|
+
passed: number;
|
|
36
|
+
failed: number;
|
|
37
|
+
pending: number;
|
|
38
|
+
} | undefined;
|
|
39
|
+
mergeable?: boolean | undefined;
|
|
40
|
+
changedFiles?: number | undefined;
|
|
41
|
+
additions?: number | undefined;
|
|
42
|
+
deletions?: number | undefined;
|
|
43
|
+
} | {
|
|
44
|
+
type: "task";
|
|
45
|
+
assignees?: string[] | undefined;
|
|
46
|
+
priority?: string | undefined;
|
|
47
|
+
project?: string | undefined;
|
|
48
|
+
cycle?: string | undefined;
|
|
49
|
+
dueDate?: string | undefined;
|
|
50
|
+
labels?: string[] | undefined;
|
|
51
|
+
} | {
|
|
52
|
+
type: "deployment";
|
|
53
|
+
project?: string | undefined;
|
|
54
|
+
environment?: string | undefined;
|
|
55
|
+
revision?: string | undefined;
|
|
56
|
+
branch?: string | undefined;
|
|
57
|
+
} | undefined;
|
|
25
58
|
}[] | undefined;
|
|
26
59
|
truncated?: boolean | undefined;
|
|
27
60
|
continuation?: {
|
|
@@ -40,13 +73,46 @@ export declare function createGocdPipelineStatusTool(ctx: ToolRegistrationHookCo
|
|
|
40
73
|
kind: "object";
|
|
41
74
|
key: string;
|
|
42
75
|
label: string;
|
|
43
|
-
objectType: "
|
|
76
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
44
77
|
title: string;
|
|
45
78
|
url: string | null;
|
|
46
79
|
description?: string | undefined;
|
|
47
80
|
status?: string | undefined;
|
|
48
81
|
trigger?: string | undefined;
|
|
49
82
|
warning?: string | undefined;
|
|
83
|
+
displayType?: string | undefined;
|
|
84
|
+
sourceUpdatedAt?: string | undefined;
|
|
85
|
+
facts?: {
|
|
86
|
+
type: "code_change";
|
|
87
|
+
author?: string | undefined;
|
|
88
|
+
sourceBranch?: string | undefined;
|
|
89
|
+
targetBranch?: string | undefined;
|
|
90
|
+
reviewers?: string[] | undefined;
|
|
91
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
92
|
+
checks?: {
|
|
93
|
+
passed: number;
|
|
94
|
+
failed: number;
|
|
95
|
+
pending: number;
|
|
96
|
+
} | undefined;
|
|
97
|
+
mergeable?: boolean | undefined;
|
|
98
|
+
changedFiles?: number | undefined;
|
|
99
|
+
additions?: number | undefined;
|
|
100
|
+
deletions?: number | undefined;
|
|
101
|
+
} | {
|
|
102
|
+
type: "task";
|
|
103
|
+
assignees?: string[] | undefined;
|
|
104
|
+
priority?: string | undefined;
|
|
105
|
+
project?: string | undefined;
|
|
106
|
+
cycle?: string | undefined;
|
|
107
|
+
dueDate?: string | undefined;
|
|
108
|
+
labels?: string[] | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
type: "deployment";
|
|
111
|
+
project?: string | undefined;
|
|
112
|
+
environment?: string | undefined;
|
|
113
|
+
revision?: string | undefined;
|
|
114
|
+
branch?: string | undefined;
|
|
115
|
+
} | undefined;
|
|
50
116
|
}[] | undefined;
|
|
51
117
|
truncated?: boolean | undefined;
|
|
52
118
|
continuation?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-status.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AA4BtB,sDAAsD;AACtD,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB
|
|
1
|
+
{"version":3,"file":"pipeline-status.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AA4BtB,sDAAsD;AACtD,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+ChC"}
|
|
@@ -39,13 +39,46 @@ export declare function createGocdPipelinesTool(ctx: ToolRegistrationHookContext
|
|
|
39
39
|
kind: "object";
|
|
40
40
|
key: string;
|
|
41
41
|
label: string;
|
|
42
|
-
objectType: "
|
|
42
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
43
43
|
title: string;
|
|
44
44
|
url: string | null;
|
|
45
45
|
description?: string | undefined;
|
|
46
46
|
status?: string | undefined;
|
|
47
47
|
trigger?: string | undefined;
|
|
48
48
|
warning?: string | undefined;
|
|
49
|
+
displayType?: string | undefined;
|
|
50
|
+
sourceUpdatedAt?: string | undefined;
|
|
51
|
+
facts?: {
|
|
52
|
+
type: "code_change";
|
|
53
|
+
author?: string | undefined;
|
|
54
|
+
sourceBranch?: string | undefined;
|
|
55
|
+
targetBranch?: string | undefined;
|
|
56
|
+
reviewers?: string[] | undefined;
|
|
57
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
58
|
+
checks?: {
|
|
59
|
+
passed: number;
|
|
60
|
+
failed: number;
|
|
61
|
+
pending: number;
|
|
62
|
+
} | undefined;
|
|
63
|
+
mergeable?: boolean | undefined;
|
|
64
|
+
changedFiles?: number | undefined;
|
|
65
|
+
additions?: number | undefined;
|
|
66
|
+
deletions?: number | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
type: "task";
|
|
69
|
+
assignees?: string[] | undefined;
|
|
70
|
+
priority?: string | undefined;
|
|
71
|
+
project?: string | undefined;
|
|
72
|
+
cycle?: string | undefined;
|
|
73
|
+
dueDate?: string | undefined;
|
|
74
|
+
labels?: string[] | undefined;
|
|
75
|
+
} | {
|
|
76
|
+
type: "deployment";
|
|
77
|
+
project?: string | undefined;
|
|
78
|
+
environment?: string | undefined;
|
|
79
|
+
revision?: string | undefined;
|
|
80
|
+
branch?: string | undefined;
|
|
81
|
+
} | undefined;
|
|
49
82
|
}[] | undefined;
|
|
50
83
|
truncated?: boolean | undefined;
|
|
51
84
|
continuation?: {
|
|
@@ -87,13 +120,46 @@ export declare function createGocdPipelinesTool(ctx: ToolRegistrationHookContext
|
|
|
87
120
|
kind: "object";
|
|
88
121
|
key: string;
|
|
89
122
|
label: string;
|
|
90
|
-
objectType: "
|
|
123
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
91
124
|
title: string;
|
|
92
125
|
url: string | null;
|
|
93
126
|
description?: string | undefined;
|
|
94
127
|
status?: string | undefined;
|
|
95
128
|
trigger?: string | undefined;
|
|
96
129
|
warning?: string | undefined;
|
|
130
|
+
displayType?: string | undefined;
|
|
131
|
+
sourceUpdatedAt?: string | undefined;
|
|
132
|
+
facts?: {
|
|
133
|
+
type: "code_change";
|
|
134
|
+
author?: string | undefined;
|
|
135
|
+
sourceBranch?: string | undefined;
|
|
136
|
+
targetBranch?: string | undefined;
|
|
137
|
+
reviewers?: string[] | undefined;
|
|
138
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
139
|
+
checks?: {
|
|
140
|
+
passed: number;
|
|
141
|
+
failed: number;
|
|
142
|
+
pending: number;
|
|
143
|
+
} | undefined;
|
|
144
|
+
mergeable?: boolean | undefined;
|
|
145
|
+
changedFiles?: number | undefined;
|
|
146
|
+
additions?: number | undefined;
|
|
147
|
+
deletions?: number | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
type: "task";
|
|
150
|
+
assignees?: string[] | undefined;
|
|
151
|
+
priority?: string | undefined;
|
|
152
|
+
project?: string | undefined;
|
|
153
|
+
cycle?: string | undefined;
|
|
154
|
+
dueDate?: string | undefined;
|
|
155
|
+
labels?: string[] | undefined;
|
|
156
|
+
} | {
|
|
157
|
+
type: "deployment";
|
|
158
|
+
project?: string | undefined;
|
|
159
|
+
environment?: string | undefined;
|
|
160
|
+
revision?: string | undefined;
|
|
161
|
+
branch?: string | undefined;
|
|
162
|
+
} | undefined;
|
|
97
163
|
}[] | undefined;
|
|
98
164
|
truncated?: boolean | undefined;
|
|
99
165
|
continuation?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/tools/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AA2FtB,mFAAmF;AACnF,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/tools/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AA2FtB,mFAAmF;AACnF,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EhC"}
|
package/dist/tools/stage.d.ts
CHANGED
|
@@ -26,13 +26,46 @@ export declare function createGocdStageTool(ctx: ToolRegistrationHookContext, op
|
|
|
26
26
|
kind: "object";
|
|
27
27
|
key: string;
|
|
28
28
|
label: string;
|
|
29
|
-
objectType: "
|
|
29
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
30
30
|
title: string;
|
|
31
31
|
url: string | null;
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
status?: string | undefined;
|
|
34
34
|
trigger?: string | undefined;
|
|
35
35
|
warning?: string | undefined;
|
|
36
|
+
displayType?: string | undefined;
|
|
37
|
+
sourceUpdatedAt?: string | undefined;
|
|
38
|
+
facts?: {
|
|
39
|
+
type: "code_change";
|
|
40
|
+
author?: string | undefined;
|
|
41
|
+
sourceBranch?: string | undefined;
|
|
42
|
+
targetBranch?: string | undefined;
|
|
43
|
+
reviewers?: string[] | undefined;
|
|
44
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
45
|
+
checks?: {
|
|
46
|
+
passed: number;
|
|
47
|
+
failed: number;
|
|
48
|
+
pending: number;
|
|
49
|
+
} | undefined;
|
|
50
|
+
mergeable?: boolean | undefined;
|
|
51
|
+
changedFiles?: number | undefined;
|
|
52
|
+
additions?: number | undefined;
|
|
53
|
+
deletions?: number | undefined;
|
|
54
|
+
} | {
|
|
55
|
+
type: "task";
|
|
56
|
+
assignees?: string[] | undefined;
|
|
57
|
+
priority?: string | undefined;
|
|
58
|
+
project?: string | undefined;
|
|
59
|
+
cycle?: string | undefined;
|
|
60
|
+
dueDate?: string | undefined;
|
|
61
|
+
labels?: string[] | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
type: "deployment";
|
|
64
|
+
project?: string | undefined;
|
|
65
|
+
environment?: string | undefined;
|
|
66
|
+
revision?: string | undefined;
|
|
67
|
+
branch?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
36
69
|
}[] | undefined;
|
|
37
70
|
truncated?: boolean | undefined;
|
|
38
71
|
continuation?: {
|
|
@@ -59,13 +92,46 @@ export declare function createGocdStageTool(ctx: ToolRegistrationHookContext, op
|
|
|
59
92
|
kind: "object";
|
|
60
93
|
key: string;
|
|
61
94
|
label: string;
|
|
62
|
-
objectType: "
|
|
95
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
63
96
|
title: string;
|
|
64
97
|
url: string | null;
|
|
65
98
|
description?: string | undefined;
|
|
66
99
|
status?: string | undefined;
|
|
67
100
|
trigger?: string | undefined;
|
|
68
101
|
warning?: string | undefined;
|
|
102
|
+
displayType?: string | undefined;
|
|
103
|
+
sourceUpdatedAt?: string | undefined;
|
|
104
|
+
facts?: {
|
|
105
|
+
type: "code_change";
|
|
106
|
+
author?: string | undefined;
|
|
107
|
+
sourceBranch?: string | undefined;
|
|
108
|
+
targetBranch?: string | undefined;
|
|
109
|
+
reviewers?: string[] | undefined;
|
|
110
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
111
|
+
checks?: {
|
|
112
|
+
passed: number;
|
|
113
|
+
failed: number;
|
|
114
|
+
pending: number;
|
|
115
|
+
} | undefined;
|
|
116
|
+
mergeable?: boolean | undefined;
|
|
117
|
+
changedFiles?: number | undefined;
|
|
118
|
+
additions?: number | undefined;
|
|
119
|
+
deletions?: number | undefined;
|
|
120
|
+
} | {
|
|
121
|
+
type: "task";
|
|
122
|
+
assignees?: string[] | undefined;
|
|
123
|
+
priority?: string | undefined;
|
|
124
|
+
project?: string | undefined;
|
|
125
|
+
cycle?: string | undefined;
|
|
126
|
+
dueDate?: string | undefined;
|
|
127
|
+
labels?: string[] | undefined;
|
|
128
|
+
} | {
|
|
129
|
+
type: "deployment";
|
|
130
|
+
project?: string | undefined;
|
|
131
|
+
environment?: string | undefined;
|
|
132
|
+
revision?: string | undefined;
|
|
133
|
+
branch?: string | undefined;
|
|
134
|
+
} | undefined;
|
|
69
135
|
}[] | undefined;
|
|
70
136
|
truncated?: boolean | undefined;
|
|
71
137
|
continuation?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../src/tools/stage.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAoEtB,oDAAoD;AACpD,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB
|
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../src/tools/stage.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAoEtB,oDAAoD;AACpD,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,2BAA2B,EAChC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-gocd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.227.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"zod": "^4.5.4",
|
|
26
|
-
"@sentry/junior-plugin-api": "0.
|
|
26
|
+
"@sentry/junior-plugin-api": "0.227.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^25.9.1",
|