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