u
This commit is contained in:
34
src/index.js
34
src/index.js
@@ -108,6 +108,20 @@ import orderCreateShipment from './store/order/createShipment.js';
|
||||
import orderUpdate from './store/order/update.js';
|
||||
import orderDelete from './store/order/delete.js';
|
||||
import orderRebuildSummaries from './store/order/rebuildSummaries.js';
|
||||
import returnList from './store/return/list.js';
|
||||
import returnGetById from './store/return/getById.js';
|
||||
import returnCreate from './store/return/create.js';
|
||||
import returnUpdate from './store/return/update.js';
|
||||
import returnDelete from './store/return/delete.js';
|
||||
import returnBook from './store/return/book.js';
|
||||
import returnRebuildSummaries from './store/return/rebuildSummaries.js';
|
||||
import retoureList from './store/retoure/list.js';
|
||||
import retoureGetById from './store/retoure/getById.js';
|
||||
import retoureCreate from './store/retoure/create.js';
|
||||
import retoureCreateShipment from './store/retoure/createShipment.js';
|
||||
import retoureUpdate from './store/retoure/update.js';
|
||||
import retoureDelete from './store/retoure/delete.js';
|
||||
import retoureRebuildSummaries from './store/retoure/rebuildSummaries.js';
|
||||
import posterminalList from './store/posterminal/list.js';
|
||||
import posterminalUpsert from './store/posterminal/upsert.js';
|
||||
import posterminalDelete from './store/posterminal/delete.js';
|
||||
@@ -472,6 +486,26 @@ export default class LibDashStore {
|
||||
rebuildSummaries: orderRebuildSummaries(provider),
|
||||
};
|
||||
|
||||
this.return = {
|
||||
list: returnList(provider),
|
||||
getById: returnGetById(provider),
|
||||
create: returnCreate(provider),
|
||||
update: returnUpdate(provider),
|
||||
delete: returnDelete(provider),
|
||||
book: returnBook(provider),
|
||||
rebuildSummaries: returnRebuildSummaries(provider),
|
||||
};
|
||||
|
||||
this.retoure = {
|
||||
list: retoureList(provider),
|
||||
getById: retoureGetById(provider),
|
||||
create: retoureCreate(provider),
|
||||
createShipment: retoureCreateShipment(provider),
|
||||
update: retoureUpdate(provider),
|
||||
delete: retoureDelete(provider),
|
||||
rebuildSummaries: retoureRebuildSummaries(provider),
|
||||
};
|
||||
|
||||
this.posterminal = {
|
||||
list: posterminalList(provider),
|
||||
upsert: posterminalUpsert(provider),
|
||||
|
||||
Reference in New Issue
Block a user