ваше сообщение коммита

This commit is contained in:
2025-07-15 14:14:53 +03:00
parent 584ff401ad
commit d952e89a26
10 changed files with 1109 additions and 124 deletions

View File

@@ -63,5 +63,10 @@ export default {
async rebuildIndex(tableId) {
const res = await api.post(`/tables/${tableId}/rebuild-index`);
return res.data;
},
async updateRowsOrder(tableId, orderArr) {
// orderArr: [{rowId, order}, ...]
const res = await api.patch(`/tables/${tableId}/rows/order`, { order: orderArr });
return res.data;
}
};