oak-frontend-base/lib/components/relation/actionAuthList/web.pc.d.ts

22 lines
725 B
TypeScript

/// <reference types="react" />
import { WebComponentProps } from '../../../types/Page';
import { EntityDict } from 'oak-domain/lib/types/Entity';
import { EntityDict as BaseEntityDict } from 'oak-domain/lib/base-app-domain';
declare type ED = EntityDict & BaseEntityDict;
declare type TableData = {
relationId: string;
relation: string;
actions: string[];
};
export default function render(props: WebComponentProps<ED, 'actionAuth', true, {
relations: EntityDict['relation']['Schema'][];
actions: string[];
datasource: TableData[];
rows: EntityDict['actionAuth']['Schema'][];
path: string;
entity: keyof ED;
openTip: boolean;
onClose: () => void;
}, {}>): JSX.Element;
export {};