Files
certd/packages/core/pipeline/src/access/api.ts
T

14 lines
312 B
TypeScript
Raw Normal View History

2022-10-26 09:02:47 +08:00
import { Registrable } from "../registry";
import { FormItemProps } from "@fast-crud/fast-crud";
export type AccessDefine = Registrable & {
input: {
[key: string]: FormItemProps;
};
};
export function IsAccess(define: AccessDefine) {
return function (target: any) {
target.define = define;
};
}