mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
12 lines
447 B
TypeScript
12 lines
447 B
TypeScript
import { Ref } from 'vue';
|
|
declare const useAction: (emit: Function, table: Ref, actionFunctions?: ListLayoutActionFunctions) => {
|
|
selection: Ref<TableAnyRowData[], TableData<TableAnyRowData> | TableAnyRowData[]>;
|
|
onSelectionChange: (value: TableData) => void;
|
|
onAdd: () => void;
|
|
onEdit: () => Promise<void>;
|
|
onDelete: () => Promise<void>;
|
|
onExport: () => void;
|
|
clearSelection: () => void;
|
|
};
|
|
export default useAction;
|