mirror of
https://github.com/certd/certd.git
synced 2026-05-16 05:07:32 +08:00
refactor: pipeline edit view
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { AbstractRegistrable } from "../registry";
|
||||
import { AccessDefine } from "./api";
|
||||
|
||||
export abstract class AbstractAccess extends AbstractRegistrable {}
|
||||
export abstract class AbstractAccess extends AbstractRegistrable<AccessDefine> {}
|
||||
|
||||
@@ -8,6 +8,6 @@ export type AccessDefine = Registrable & {
|
||||
};
|
||||
export function IsAccess(define: AccessDefine) {
|
||||
return function (target: any) {
|
||||
target.define = define;
|
||||
target.prototype.define = define;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user