17 lines
541 B
TypeScript
17 lines
541 B
TypeScript
import { clearLotTypesCache } from "../functions.cache.js";
|
|
import { moveRecordDown, moveRecordDownToBottom } from "./moveRecord.js";
|
|
|
|
export function moveLotTypeDown(lotTypeId: number | string): boolean {
|
|
const success = moveRecordDown("LotTypes", lotTypeId);
|
|
clearLotTypesCache();
|
|
return success;
|
|
}
|
|
|
|
export function moveLotTypeDownToBottom(lotTypeId: number | string): boolean {
|
|
const success = moveRecordDownToBottom("LotTypes", lotTypeId);
|
|
clearLotTypesCache();
|
|
return success;
|
|
}
|
|
|
|
export default moveLotTypeDown;
|