@certd/pipeline 1.38.8 → 1.38.10
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/CHANGELOG.md +14 -0
- package/dist/access/api.d.ts +1 -6
- package/dist/plugin/api.d.ts +7 -0
- package/dist/plugin/api.js +6 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.38.10](https://github.com/certd/certd/compare/v1.38.9...v1.38.10) (2026-02-15)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 修复1panel 请求失败的bug ([0283662](https://github.com/certd/certd/commit/0283662931ff47d6b5d49f91a30c4a002fe1d108))
|
|
11
|
+
|
|
12
|
+
### Performance Improvements
|
|
13
|
+
|
|
14
|
+
* 所有授权增加测试按钮 ([7a3e68d](https://github.com/certd/certd/commit/7a3e68d656c1dcdcd814b69891bd2c2c6fe3098a))
|
|
15
|
+
|
|
16
|
+
## [1.38.9](https://github.com/certd/certd/compare/v1.38.8...v1.38.9) (2026-02-09)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @certd/pipeline
|
|
19
|
+
|
|
6
20
|
## [1.38.8](https://github.com/certd/certd/compare/v1.38.7...v1.38.8) (2026-02-06)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @certd/pipeline
|
package/dist/access/api.d.ts
CHANGED
|
@@ -2,12 +2,7 @@ import { Registrable } from "../registry/index.js";
|
|
|
2
2
|
import { FormItemProps } from "../dt/index.js";
|
|
3
3
|
import { HttpClient, ILogger, utils } from "@certd/basic";
|
|
4
4
|
import { PluginRequestHandleReq } from "../plugin/index.js";
|
|
5
|
-
export type
|
|
6
|
-
id?: number;
|
|
7
|
-
title?: string;
|
|
8
|
-
access: T;
|
|
9
|
-
};
|
|
10
|
-
export type AccessRequestHandleReq<T = any> = PluginRequestHandleReq<AccessRequestHandleReqInput<T>>;
|
|
5
|
+
export type AccessRequestHandleReq<T = any> = PluginRequestHandleReq<T>;
|
|
11
6
|
export type AccessInputDefine = FormItemProps & {
|
|
12
7
|
title: string;
|
|
13
8
|
required?: boolean;
|
package/dist/plugin/api.d.ts
CHANGED
|
@@ -14,6 +14,11 @@ export type PluginRequestHandleReq<T = any> = {
|
|
|
14
14
|
action: string;
|
|
15
15
|
input: T;
|
|
16
16
|
data: any;
|
|
17
|
+
record: {
|
|
18
|
+
id: number;
|
|
19
|
+
type: string;
|
|
20
|
+
title: string;
|
|
21
|
+
};
|
|
17
22
|
};
|
|
18
23
|
export type UserInfo = {
|
|
19
24
|
role: "admin" | "user";
|
|
@@ -120,6 +125,8 @@ export declare abstract class AbstractTaskPlugin implements ITaskPlugin {
|
|
|
120
125
|
getStepFromPipeline(stepId: string): any;
|
|
121
126
|
getStepIdFromRefInput(ref?: string): string;
|
|
122
127
|
buildDomainGroupOptions(options: any[], domains: string[]): any[];
|
|
128
|
+
getLastStatus(): Runnable;
|
|
129
|
+
getLastOutput(key: string): any;
|
|
123
130
|
}
|
|
124
131
|
export type OutputVO = {
|
|
125
132
|
key: string;
|
package/dist/plugin/api.js
CHANGED
|
@@ -156,4 +156,10 @@ export class AbstractTaskPlugin {
|
|
|
156
156
|
buildDomainGroupOptions(options, domains) {
|
|
157
157
|
return utils.options.buildGroupOptions(options, domains);
|
|
158
158
|
}
|
|
159
|
+
getLastStatus() {
|
|
160
|
+
return this.ctx.lastStatus || {};
|
|
161
|
+
}
|
|
162
|
+
getLastOutput(key) {
|
|
163
|
+
return this.getLastStatus().status?.output?.[key];
|
|
164
|
+
}
|
|
159
165
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@certd/pipeline",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.38.
|
|
4
|
+
"version": "1.38.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"compile": "tsc --skipLibCheck --watch"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@certd/basic": "^1.38.
|
|
22
|
-
"@certd/plus-core": "^1.38.
|
|
21
|
+
"@certd/basic": "^1.38.10",
|
|
22
|
+
"@certd/plus-core": "^1.38.10",
|
|
23
23
|
"dayjs": "^1.11.7",
|
|
24
24
|
"lodash-es": "^4.17.21",
|
|
25
25
|
"reflect-metadata": "^0.1.13"
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"tslib": "^2.8.1",
|
|
46
46
|
"typescript": "^5.4.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "01eb50078e135e00148a144d20747096e2f64a28"
|
|
49
49
|
}
|