Add articlehistory on updateBySku and getHistoryBySku

This commit is contained in:
seb
2026-08-05 09:17:17 +02:00
parent 530efa4f09
commit 46c85fe29e
6 changed files with 112 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ import articleOrderImages from './store/article/orderImages.js';
import articleAddImage from './store/article/addImage.js';
import articleCreateUnderParent from './store/article/createUnderParent.js';
import articleGetBySku from './store/article/getBySku.js';
import articleGetHistoryBySku from './store/article/getHistoryBySku.js';
import articleListSearchIndex from './store/article/listSearchIndex.js';
import articleListExport from './store/article/listExport.js';
import articleUpdateBySku from './store/article/updateBySku.js';
@@ -97,6 +98,7 @@ export default class LibDashStore {
this.article = {
createUnderParent: articleCreateUnderParent(pool),
getBySku: articleGetBySku(pool),
getHistoryBySku: articleGetHistoryBySku(pool),
listSearchIndex: articleListSearchIndex(pool),
listExport: articleListExport(pool),
updateBySku: articleUpdateBySku(pool),