Files
certd/packages/core/pipeline/src/access/api.ts
2023-01-11 20:39:48 +08:00

19 lines
443 B
TypeScript

import { Registrable } from "../registry";
import { FormItemProps } from "../d.ts";
export type AccessInputDefine = FormItemProps & {
title: string;
required?: boolean;
};
export type AccessDefine = Registrable & {
input?: {
[key: string]: AccessInputDefine;
};
};
export interface IAccessService {
getById(id: any): Promise<any>;
}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface IAccess {}