@certd/pipeline 1.25.4 → 1.25.6
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 +10 -0
- package/dist/access/decorator.js +1 -1
- package/dist/core/context.js +1 -1
- package/dist/core/executor.d.ts +2 -1
- package/dist/core/executor.js +4 -3
- package/dist/core/file-store.js +1 -1
- package/dist/core/handler.d.ts +13 -7
- package/dist/core/handler.js +2 -2
- package/dist/core/license.d.ts +1 -1
- package/dist/core/license.js +3 -3
- package/dist/core/run-history.js +1 -1
- package/dist/core/storage.js +1 -1
- package/dist/decorator/utils.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/plugin/api.d.ts +11 -8
- package/dist/plugin/api.js +28 -1
- package/dist/plugin/decorator.js +1 -1
- package/dist/plugin/group.d.ts +1 -0
- package/dist/plugin/group.js +3 -2
- package/dist/plugin/registry.js +1 -1
- package/dist/registry/registry.js +1 -1
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.js +7 -1
- package/dist/utils/util.cache.d.ts +2 -0
- package/dist/utils/util.cache.js +7 -0
- package/dist/utils/util.file.js +1 -1
- package/dist/utils/util.log.js +1 -1
- package/dist/utils/util.merge.d.ts +11 -0
- package/dist/utils/util.merge.js +59 -0
- package/dist/utils/util.promise.js +1 -1
- package/dist/utils/util.request.js +1 -1
- package/dist/utils/util.sp.js +1 -1
- package/package.json +8 -5
- package/test/cert.fake.test.js +4 -0
- package/test/pipeline/access-service-test.js +65 -65
- package/test/pipeline/init.test.js +16 -0
- package/test/pipeline/license.test.spec.js +63 -0
- package/test/pipeline/license.test.spec.ts +16 -0
- package/test/pipeline/pipeline.define.js +68 -0
- package/test/{echo-plugin.js → pipeline/pipeline.test.js} +28 -44
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/bundle.js +0 -25
- package/dist/d/access/api.d.ts +0 -16
- package/dist/d/access/decorator.d.ts +0 -5
- package/dist/d/access/index.d.ts +0 -3
- package/dist/d/access/registry.d.ts +0 -2
- package/dist/d/context/index.d.ts +0 -5
- package/dist/d/core/context.d.ts +0 -32
- package/dist/d/core/executor.d.ts +0 -39
- package/dist/d/core/file-store.d.ts +0 -16
- package/dist/d/core/index.d.ts +0 -5
- package/dist/d/core/run-history.d.ts +0 -40
- package/dist/d/core/storage.d.ts +0 -30
- package/dist/d/d.ts/fast-crud.d.ts +0 -107
- package/dist/d/d.ts/index.d.ts +0 -2
- package/dist/d/d.ts/pipeline.d.ts +0 -122
- package/dist/d/decorator/common.d.ts +0 -6
- package/dist/d/decorator/index.d.ts +0 -2
- package/dist/d/decorator/utils.d.ts +0 -11
- package/dist/d/index.d.ts +0 -10
- package/dist/d/midway/configuration.d.ts +0 -6
- package/dist/d/midway/index.d.ts +0 -1
- package/dist/d/plugin/api.d.ts +0 -76
- package/dist/d/plugin/decorator.d.ts +0 -10
- package/dist/d/plugin/index.d.ts +0 -3
- package/dist/d/plugin/registry.d.ts +0 -3
- package/dist/d/plugin/test/echo-plugin.d.ts +0 -6
- package/dist/d/registry/index.d.ts +0 -1
- package/dist/d/registry/registry.d.ts +0 -28
- package/dist/d/service/email.d.ts +0 -9
- package/dist/d/service/index.d.ts +0 -1
- package/dist/d/utils/index.d.ts +0 -7
- package/dist/d/utils/util.file.d.ts +0 -5
- package/dist/d/utils/util.log.d.ts +0 -4
- package/dist/d/utils/util.promise.d.ts +0 -1
- package/dist/d/utils/util.request.d.ts +0 -8
- package/dist/d/utils/util.sleep.d.ts +0 -1
- package/dist/plugin/test/echo-plugin.d.ts +0 -6
- package/dist/plugin/test/echo-plugin.js +0 -37
- package/stats.html +0 -6177
- package/test/echo-plugin.ts +0 -27
- package/test/user.secret.ts +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function (timeout: number): Promise<unknown>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsTaskPlugin, TaskInput } from "../decorator.js";
|
|
11
|
-
let EchoPlugin = class EchoPlugin {
|
|
12
|
-
test;
|
|
13
|
-
onInstance() {
|
|
14
|
-
throw new Error("Method not implemented.");
|
|
15
|
-
}
|
|
16
|
-
async execute() {
|
|
17
|
-
return Promise.resolve(undefined);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
TaskInput({
|
|
22
|
-
title: "测试属性",
|
|
23
|
-
component: {
|
|
24
|
-
name: "text",
|
|
25
|
-
},
|
|
26
|
-
}),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], EchoPlugin.prototype, "test", void 0);
|
|
29
|
-
EchoPlugin = __decorate([
|
|
30
|
-
IsTaskPlugin({
|
|
31
|
-
name: "EchoPlugin",
|
|
32
|
-
title: "测试插件",
|
|
33
|
-
desc: "test",
|
|
34
|
-
})
|
|
35
|
-
], EchoPlugin);
|
|
36
|
-
export { EchoPlugin };
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNoby1wbHVnaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcGx1Z2luL3Rlc3QvZWNoby1wbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQ0EsT0FBTyxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQU8xRCxJQUFhLFVBQVUsR0FBdkIsTUFBYSxVQUFVO0lBT3JCLElBQUksQ0FBVTtJQUVkLFVBQVU7UUFDUixNQUFNLElBQUksS0FBSyxDQUFDLHlCQUF5QixDQUFDLENBQUM7SUFDN0MsQ0FBQztJQUVELEtBQUssQ0FBQyxPQUFPO1FBQ1gsT0FBTyxPQUFPLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQ3BDLENBQUM7Q0FDRixDQUFBO0FBVEM7SUFOQyxTQUFTLENBQUM7UUFDVCxLQUFLLEVBQUUsTUFBTTtRQUNiLFNBQVMsRUFBRTtZQUNULElBQUksRUFBRSxNQUFNO1NBQ2I7S0FDRixDQUFDOzt3Q0FDWTtBQVBILFVBQVU7SUFMdEIsWUFBWSxDQUFDO1FBQ1osSUFBSSxFQUFFLFlBQVk7UUFDbEIsS0FBSyxFQUFFLE1BQU07UUFDYixJQUFJLEVBQUUsTUFBTTtLQUNiLENBQUM7R0FDVyxVQUFVLENBZ0J0QjtTQWhCWSxVQUFVIn0=
|