refactor: remove certd v1 code

This commit is contained in:
xiaojunnuo
2022-10-31 21:27:32 +08:00
parent 6094a4af79
commit e68862b633
113 changed files with 181 additions and 4868 deletions
+6 -2
View File
@@ -1,10 +1,14 @@
import { Registrable } from "../registry";
import { FormItemProps } from "@fast-crud/fast-crud";
import { accessRegistry } from "./registry";
import { FormItemProps } from "../d.ts";
export type AccessInput = FormItemProps & {
title: string;
required?: boolean;
};
export type AccessDefine = Registrable & {
input: {
[key: string]: FormItemProps;
[key: string]: AccessInput;
};
};
export function IsAccess(define: AccessDefine) {