Files
bigcapital/packages/webapp/src/store/Estimate/estimates.actions.tsx
2025-11-03 21:40:24 +02:00

23 lines
440 B
TypeScript

// @ts-nocheck
import t from '@/store/types';
export const setEstimatesTableState = (queries) => {
return {
type: t.ESTIMATES_TABLE_STATE_SET,
payload: { queries },
};
};
export const resetEstimatesTableState = () => {
return {
type: t.ESTIMATES_TABLE_STATE_RESET,
};
}
export const setEstimatesSelectedRows = (selectedRows) => {
return {
type: 'ESTIMATES/SET_SELECTED_ROWS',
payload: selectedRows,
};
};