@rytass/wms-module-graphql 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +77 -0
- package/index.cjs.js +6279 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/lib/dto/allocate-inventory-order-item.dto.d.ts +12 -0
- package/lib/dto/allocate-inventory-order-item.dto.js +36 -0
- package/lib/dto/allocate-inventory-order.dto.d.ts +9 -0
- package/lib/dto/allocate-inventory-order.dto.js +31 -0
- package/lib/dto/batch.dto.d.ts +8 -0
- package/lib/dto/batch.dto.js +26 -0
- package/lib/dto/hold-inventory-order-item.dto.d.ts +15 -0
- package/lib/dto/hold-inventory-order-item.dto.js +37 -0
- package/lib/dto/hold-inventory-order.dto.d.ts +13 -0
- package/lib/dto/hold-inventory-order.dto.js +47 -0
- package/lib/dto/index.d.ts +24 -0
- package/lib/dto/loader-type.dto.d.ts +12 -0
- package/lib/dto/loader-type.dto.js +46 -0
- package/lib/dto/loader-unit.dto.d.ts +7 -0
- package/lib/dto/loader-unit.dto.js +21 -0
- package/lib/dto/loader.dto.d.ts +17 -0
- package/lib/dto/loader.dto.js +71 -0
- package/lib/dto/location.dto.d.ts +10 -0
- package/lib/dto/location.dto.js +36 -0
- package/lib/dto/material-unit.dto.d.ts +12 -0
- package/lib/dto/material-unit.dto.js +46 -0
- package/lib/dto/material.dto.d.ts +10 -0
- package/lib/dto/material.dto.js +36 -0
- package/lib/dto/merge-batch-order.dto.d.ts +11 -0
- package/lib/dto/merge-batch-order.dto.js +50 -0
- package/lib/dto/pagination.dto.d.ts +9 -0
- package/lib/dto/pagination.dto.js +51 -0
- package/lib/dto/quality-inspection-order-item.dto.d.ts +10 -0
- package/lib/dto/quality-inspection-order-item.dto.js +50 -0
- package/lib/dto/quality-inspection-order.dto.d.ts +12 -0
- package/lib/dto/quality-inspection-order.dto.js +42 -0
- package/lib/dto/receive-inventory-order-item.dto.d.ts +18 -0
- package/lib/dto/receive-inventory-order-item.dto.js +60 -0
- package/lib/dto/receive-inventory-order.dto.d.ts +16 -0
- package/lib/dto/receive-inventory-order.dto.js +58 -0
- package/lib/dto/reclassify-inventory-order.dto.d.ts +12 -0
- package/lib/dto/reclassify-inventory-order.dto.js +55 -0
- package/lib/dto/sale-order.dto.d.ts +4 -0
- package/lib/dto/sale-order.dto.js +20 -0
- package/lib/dto/scrape-order-item.dto.d.ts +14 -0
- package/lib/dto/scrape-order-item.dto.js +56 -0
- package/lib/dto/scrape-order.dto.d.ts +11 -0
- package/lib/dto/scrape-order.dto.js +37 -0
- package/lib/dto/ship-inventory-order-item.dto.d.ts +14 -0
- package/lib/dto/ship-inventory-order-item.dto.js +56 -0
- package/lib/dto/ship-inventory-order-reference.dto.d.ts +12 -0
- package/lib/dto/ship-inventory-order-reference.dto.js +48 -0
- package/lib/dto/ship-inventory-order.dto.d.ts +16 -0
- package/lib/dto/ship-inventory-order.dto.js +58 -0
- package/lib/dto/split-batch-order.dto.d.ts +11 -0
- package/lib/dto/split-batch-order.dto.js +50 -0
- package/lib/dto/stock.dto.d.ts +42 -0
- package/lib/dto/stock.dto.js +138 -0
- package/lib/dto/transfer-customer-order-item.dto.d.ts +15 -0
- package/lib/dto/transfer-customer-order-item.dto.js +61 -0
- package/lib/dto/transfer-customer-order.dto.d.ts +11 -0
- package/lib/dto/transfer-customer-order.dto.js +37 -0
- package/lib/dto/transfer-order-item.dto.d.ts +15 -0
- package/lib/dto/transfer-order-item.dto.js +41 -0
- package/lib/dto/transfer-order.dto.d.ts +15 -0
- package/lib/dto/transfer-order.dto.js +57 -0
- package/lib/dto/transfer-vendor-order-item.dto.d.ts +15 -0
- package/lib/dto/transfer-vendor-order-item.dto.js +61 -0
- package/lib/dto/transfer-vendor-order.dto.d.ts +11 -0
- package/lib/dto/transfer-vendor-order.dto.js +37 -0
- package/lib/dto/unit.dto.d.ts +4 -0
- package/lib/dto/unit.dto.js +20 -0
- package/lib/dto/warehouse-map.dto.d.ts +39 -0
- package/lib/dto/warehouse-map.dto.js +165 -0
- package/lib/graphql.module.d.ts +6 -0
- package/lib/graphql.module.js +157 -0
- package/lib/helpers/dataloader.type.d.ts +12 -0
- package/lib/helpers/helper.module.d.ts +2 -0
- package/lib/helpers/helper.module.js +15 -0
- package/lib/helpers/index.d.ts +4 -0
- package/lib/helpers/loader.service.d.ts +56 -0
- package/lib/helpers/loader.service.js +168 -0
- package/lib/helpers/query-path.d.ts +1 -0
- package/lib/helpers/query-path.js +19 -0
- package/lib/inputs/cancel-ship-order.args.d.ts +4 -0
- package/lib/inputs/cancel-ship-order.args.js +20 -0
- package/lib/inputs/cancel-transfer-order.args.d.ts +4 -0
- package/lib/inputs/cancel-transfer-order.args.js +23 -0
- package/lib/inputs/create-allocate-inventory-order-item.args.d.ts +13 -0
- package/lib/inputs/create-allocate-inventory-order-item.args.js +50 -0
- package/lib/inputs/create-allocate-inventory-order.args.d.ts +11 -0
- package/lib/inputs/create-allocate-inventory-order.args.js +36 -0
- package/lib/inputs/create-hold-inventory-order-item.args.d.ts +11 -0
- package/lib/inputs/create-hold-inventory-order-item.args.js +40 -0
- package/lib/inputs/create-hold-inventory-order.args.d.ts +12 -0
- package/lib/inputs/create-hold-inventory-order.args.js +41 -0
- package/lib/inputs/create-loader-type.args.d.ts +10 -0
- package/lib/inputs/create-loader-type.args.js +35 -0
- package/lib/inputs/create-loader.args.d.ts +30 -0
- package/lib/inputs/create-loader.args.js +130 -0
- package/lib/inputs/create-location.args.d.ts +11 -0
- package/lib/inputs/create-location.args.js +50 -0
- package/lib/inputs/create-material-unit.args.d.ts +5 -0
- package/lib/inputs/create-material-unit.args.js +25 -0
- package/lib/inputs/create-material.args.d.ts +14 -0
- package/lib/inputs/create-material.args.js +51 -0
- package/lib/inputs/create-quality-inspection-order.args.d.ts +11 -0
- package/lib/inputs/create-quality-inspection-order.args.js +50 -0
- package/lib/inputs/create-receive-inventory-order-item.args.d.ts +17 -0
- package/lib/inputs/create-receive-inventory-order-item.args.js +70 -0
- package/lib/inputs/create-receive-inventory-order.args.d.ts +14 -0
- package/lib/inputs/create-receive-inventory-order.args.js +51 -0
- package/lib/inputs/create-ship-inventory-order-item.args.d.ts +12 -0
- package/lib/inputs/create-ship-inventory-order-item.args.js +45 -0
- package/lib/inputs/create-ship-inventory-order-reference.args.d.ts +16 -0
- package/lib/inputs/create-ship-inventory-order-reference.args.js +65 -0
- package/lib/inputs/create-ship-inventory-order.args.d.ts +16 -0
- package/lib/inputs/create-ship-inventory-order.args.js +57 -0
- package/lib/inputs/create-transfer-customer-order-item.args.d.ts +11 -0
- package/lib/inputs/create-transfer-customer-order-item.args.js +40 -0
- package/lib/inputs/create-transfer-customer-order.args.d.ts +14 -0
- package/lib/inputs/create-transfer-customer-order.args.js +51 -0
- package/lib/inputs/create-transfer-order-item.args.d.ts +11 -0
- package/lib/inputs/create-transfer-order-item.args.js +40 -0
- package/lib/inputs/create-transfer-order.args.d.ts +16 -0
- package/lib/inputs/create-transfer-order.args.js +61 -0
- package/lib/inputs/create-transfer-vendor-order-item.args.d.ts +11 -0
- package/lib/inputs/create-transfer-vendor-order-item.args.js +40 -0
- package/lib/inputs/create-transfer-vendor-order.args.d.ts +14 -0
- package/lib/inputs/create-transfer-vendor-order.args.js +51 -0
- package/lib/inputs/date-range.args.d.ts +4 -0
- package/lib/inputs/date-range.args.js +20 -0
- package/lib/inputs/deallocate-order.args.d.ts +5 -0
- package/lib/inputs/deallocate-order.args.js +25 -0
- package/lib/inputs/find-allocate-inventory-order.args.d.ts +10 -0
- package/lib/inputs/find-allocate-inventory-order.args.js +42 -0
- package/lib/inputs/find-batch.args.d.ts +5 -0
- package/lib/inputs/find-batch.args.js +21 -0
- package/lib/inputs/find-hold-inventory-order.args.d.ts +10 -0
- package/lib/inputs/find-hold-inventory-order.args.js +42 -0
- package/lib/inputs/find-loader-type.args.d.ts +8 -0
- package/lib/inputs/find-loader-type.args.js +32 -0
- package/lib/inputs/find-loader.args.d.ts +16 -0
- package/lib/inputs/find-loader.args.js +72 -0
- package/lib/inputs/find-location.args.d.ts +6 -0
- package/lib/inputs/find-location.args.js +26 -0
- package/lib/inputs/find-material.args.d.ts +5 -0
- package/lib/inputs/find-material.args.js +21 -0
- package/lib/inputs/find-receive-inventory-order.args.d.ts +16 -0
- package/lib/inputs/find-receive-inventory-order.args.js +71 -0
- package/lib/inputs/find-sale-order.args.d.ts +4 -0
- package/lib/inputs/find-sale-order.args.js +16 -0
- package/lib/inputs/find-ship-inventory-order.args.d.ts +16 -0
- package/lib/inputs/find-ship-inventory-order.args.js +71 -0
- package/lib/inputs/find-stock.args.d.ts +15 -0
- package/lib/inputs/find-stock.args.js +67 -0
- package/lib/inputs/find-transfer-order.args.d.ts +18 -0
- package/lib/inputs/find-transfer-order.args.js +82 -0
- package/lib/inputs/index.d.ts +0 -0
- package/lib/inputs/merge-batch.args.d.ts +9 -0
- package/lib/inputs/merge-batch.args.js +40 -0
- package/lib/inputs/pagination.args.d.ts +4 -0
- package/lib/inputs/pagination.args.js +20 -0
- package/lib/inputs/receive-order.args.d.ts +8 -0
- package/lib/inputs/receive-order.args.js +40 -0
- package/lib/inputs/reclassify-inventory-order.args.d.ts +9 -0
- package/lib/inputs/reclassify-inventory-order.args.js +40 -0
- package/lib/inputs/release-order.args.d.ts +5 -0
- package/lib/inputs/release-order.args.js +25 -0
- package/lib/inputs/return-transfer-customer-order.args.d.ts +7 -0
- package/lib/inputs/return-transfer-customer-order.args.js +35 -0
- package/lib/inputs/return-transfer-vendor-order.args.d.ts +7 -0
- package/lib/inputs/return-transfer-vendor-order.args.js +35 -0
- package/lib/inputs/scrape-order.args.d.ts +8 -0
- package/lib/inputs/scrape-order.args.js +35 -0
- package/lib/inputs/ship-order.args.d.ts +4 -0
- package/lib/inputs/ship-order.args.js +20 -0
- package/lib/inputs/split-batch.args.d.ts +9 -0
- package/lib/inputs/split-batch.args.js +40 -0
- package/lib/inputs/transfer-order.args.d.ts +4 -0
- package/lib/inputs/transfer-order.args.js +20 -0
- package/lib/inputs/update-warehouse-map.args.d.ts +28 -0
- package/lib/inputs/update-warehouse-map.args.js +121 -0
- package/lib/mutations/allocate-inventory-order.mutation.d.ts +12 -0
- package/lib/mutations/allocate-inventory-order.mutation.js +81 -0
- package/lib/mutations/hold-inventory-order.mutation.d.ts +12 -0
- package/lib/mutations/hold-inventory-order.mutation.js +81 -0
- package/lib/mutations/loader.mutation.d.ts +13 -0
- package/lib/mutations/loader.mutation.js +105 -0
- package/lib/mutations/location.mutation.d.ts +8 -0
- package/lib/mutations/location.mutation.js +39 -0
- package/lib/mutations/material.mutation.d.ts +9 -0
- package/lib/mutations/material.mutation.js +62 -0
- package/lib/mutations/merge-batch.mutation.d.ts +9 -0
- package/lib/mutations/merge-batch.mutation.js +44 -0
- package/lib/mutations/quality-inspection-order.mutation.d.ts +9 -0
- package/lib/mutations/quality-inspection-order.mutation.js +44 -0
- package/lib/mutations/receive-inventory-order.mutation.d.ts +13 -0
- package/lib/mutations/receive-inventory-order.mutation.js +92 -0
- package/lib/mutations/reclassify-inventory-order.mutation.d.ts +9 -0
- package/lib/mutations/reclassify-inventory-order.mutation.js +45 -0
- package/lib/mutations/scrape-order.mutation.d.ts +9 -0
- package/lib/mutations/scrape-order.mutation.js +38 -0
- package/lib/mutations/ship-inventory-order.mutation.d.ts +14 -0
- package/lib/mutations/ship-inventory-order.mutation.js +107 -0
- package/lib/mutations/split-batch.mutation.d.ts +9 -0
- package/lib/mutations/split-batch.mutation.js +38 -0
- package/lib/mutations/transfer-customer-order.mutation.d.ts +12 -0
- package/lib/mutations/transfer-customer-order.mutation.js +81 -0
- package/lib/mutations/transfer-order.mutation.d.ts +14 -0
- package/lib/mutations/transfer-order.mutation.js +84 -0
- package/lib/mutations/transfer-vendor-order.mutation.d.ts +12 -0
- package/lib/mutations/transfer-vendor-order.mutation.js +81 -0
- package/lib/mutations/warehouse-map.mutation.d.ts +10 -0
- package/lib/mutations/warehouse-map.mutation.js +54 -0
- package/lib/queries/allocate-inventory-order.query.d.ts +8 -0
- package/lib/queries/allocate-inventory-order.query.js +30 -0
- package/lib/queries/batch.query.d.ts +8 -0
- package/lib/queries/batch.query.js +33 -0
- package/lib/queries/hold-inventory-order.query.d.ts +8 -0
- package/lib/queries/hold-inventory-order.query.js +30 -0
- package/lib/queries/loader.query.d.ts +17 -0
- package/lib/queries/loader.query.js +157 -0
- package/lib/queries/location.query.d.ts +9 -0
- package/lib/queries/location.query.js +47 -0
- package/lib/queries/material.query.d.ts +9 -0
- package/lib/queries/material.query.js +71 -0
- package/lib/queries/recieve-inventory-order.query.d.ts +9 -0
- package/lib/queries/recieve-inventory-order.query.js +69 -0
- package/lib/queries/sale-order.query.d.ts +8 -0
- package/lib/queries/sale-order.query.js +53 -0
- package/lib/queries/ship-inventory-order.query.d.ts +9 -0
- package/lib/queries/ship-inventory-order.query.js +69 -0
- package/lib/queries/stock.query.d.ts +12 -0
- package/lib/queries/stock.query.js +109 -0
- package/lib/queries/transfer-order.query.d.ts +9 -0
- package/lib/queries/transfer-order.query.js +42 -0
- package/lib/queries/unit.query.d.ts +7 -0
- package/lib/queries/unit.query.js +27 -0
- package/lib/queries/warehouse-map.query.d.ts +7 -0
- package/lib/queries/warehouse-map.query.js +29 -0
- package/lib/resolvers/aggregated-stock.resolver.d.ts +14 -0
- package/lib/resolvers/aggregated-stock.resolver.js +112 -0
- package/lib/resolvers/allocate-inventory-order.resolver.d.ts +6 -0
- package/lib/resolvers/allocate-inventory-order.resolver.js +27 -0
- package/lib/resolvers/change-log.resolver.d.ts +10 -0
- package/lib/resolvers/change-log.resolver.js +83 -0
- package/lib/resolvers/hold-inventory-order.resolver.d.ts +7 -0
- package/lib/resolvers/hold-inventory-order.resolver.js +27 -0
- package/lib/resolvers/loader-type.resolver.d.ts +5 -0
- package/lib/resolvers/loader-type.resolver.js +50 -0
- package/lib/resolvers/loader.resolver.d.ts +9 -0
- package/lib/resolvers/loader.resolver.js +86 -0
- package/lib/resolvers/location.resolver.d.ts +10 -0
- package/lib/resolvers/location.resolver.js +55 -0
- package/lib/resolvers/material.resolver.d.ts +11 -0
- package/lib/resolvers/material.resolver.js +84 -0
- package/lib/resolvers/merge-batch.resolver.d.ts +6 -0
- package/lib/resolvers/merge-batch.resolver.js +26 -0
- package/lib/resolvers/receive-inventory-order.resolver.d.ts +15 -0
- package/lib/resolvers/receive-inventory-order.resolver.js +140 -0
- package/lib/resolvers/ship-inventory-order.resolver.d.ts +25 -0
- package/lib/resolvers/ship-inventory-order.resolver.js +273 -0
- package/lib/resolvers/split-batch.resolver.d.ts +6 -0
- package/lib/resolvers/split-batch.resolver.js +26 -0
- package/lib/resolvers/stock.resolver.d.ts +10 -0
- package/lib/resolvers/stock.resolver.js +83 -0
- package/lib/resolvers/transfer-customer-order.resolver.d.ts +6 -0
- package/lib/resolvers/transfer-customer-order.resolver.js +27 -0
- package/lib/resolvers/transfer-order.resolver.d.ts +21 -0
- package/lib/resolvers/transfer-order.resolver.js +218 -0
- package/lib/resolvers/transfer-vendor-order.resolver.d.ts +6 -0
- package/lib/resolvers/transfer-vendor-order.resolver.js +27 -0
- package/lib/resolvers/warehouse-map.resolver.d.ts +6 -0
- package/lib/resolvers/warehouse-map.resolver.js +29 -0
- package/package.json +54 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { __decorate, __param, __metadata } from 'tslib';
|
|
2
|
+
import { ResolveField, Parent, Context, Resolver } from '@nestjs/graphql';
|
|
3
|
+
import '../dto/loader-type.dto.js';
|
|
4
|
+
import '../dto/loader.dto.js';
|
|
5
|
+
import { MaterialDto } from '../dto/material.dto.js';
|
|
6
|
+
import '../dto/material-unit.dto.js';
|
|
7
|
+
import { StockDto } from '../dto/stock.dto.js';
|
|
8
|
+
import '../dto/sale-order.dto.js';
|
|
9
|
+
import '../dto/receive-inventory-order.dto.js';
|
|
10
|
+
import '../dto/receive-inventory-order-item.dto.js';
|
|
11
|
+
import '../dto/ship-inventory-order.dto.js';
|
|
12
|
+
import '../dto/ship-inventory-order-item.dto.js';
|
|
13
|
+
import '../dto/hold-inventory-order.dto.js';
|
|
14
|
+
import '../dto/hold-inventory-order-item.dto.js';
|
|
15
|
+
import '../dto/allocate-inventory-order.dto.js';
|
|
16
|
+
import '../dto/allocate-inventory-order-item.dto.js';
|
|
17
|
+
import '../dto/transfer-order.dto.js';
|
|
18
|
+
import '../dto/transfer-order-item.dto.js';
|
|
19
|
+
import '../dto/transfer-customer-order.dto.js';
|
|
20
|
+
import '../dto/transfer-customer-order-item.dto.js';
|
|
21
|
+
import '../dto/transfer-vendor-order.dto.js';
|
|
22
|
+
import '../dto/transfer-vendor-order-item.dto.js';
|
|
23
|
+
import '../dto/scrape-order.dto.js';
|
|
24
|
+
import '../dto/scrape-order-item.dto.js';
|
|
25
|
+
import '../dto/quality-inspection-order.dto.js';
|
|
26
|
+
import '../dto/quality-inspection-order-item.dto.js';
|
|
27
|
+
import { StockEntityClass, MaterialEntityClass, LocationEntityClass, BatchEntityClass, BatchGroupEntityClass } from '@rytass/wms-module-core';
|
|
28
|
+
import { LocationDto } from '../dto/location.dto.js';
|
|
29
|
+
import { BatchDto } from '../dto/batch.dto.js';
|
|
30
|
+
|
|
31
|
+
let StockResolver = class StockResolver {
|
|
32
|
+
material({ materialId }, { loaders }) {
|
|
33
|
+
return loaders.batchSingle.load({
|
|
34
|
+
__entity: MaterialEntityClass,
|
|
35
|
+
__from: { id: materialId },
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
location({ locationId }, { loaders }) {
|
|
39
|
+
return loaders.batchSingle.load({
|
|
40
|
+
__entity: LocationEntityClass,
|
|
41
|
+
__from: { id: locationId },
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async batch({ batchId }, { loaders }) {
|
|
45
|
+
const { groupId } = await loaders.batchSingle.load({
|
|
46
|
+
__entity: BatchEntityClass,
|
|
47
|
+
__from: { id: batchId },
|
|
48
|
+
});
|
|
49
|
+
return loaders.batchSingle.load({
|
|
50
|
+
__entity: BatchGroupEntityClass,
|
|
51
|
+
__from: { id: groupId },
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
__decorate([
|
|
56
|
+
ResolveField(() => MaterialDto),
|
|
57
|
+
__param(0, Parent()),
|
|
58
|
+
__param(1, Context()),
|
|
59
|
+
__metadata("design:type", Function),
|
|
60
|
+
__metadata("design:paramtypes", [StockEntityClass, Object]),
|
|
61
|
+
__metadata("design:returntype", Promise)
|
|
62
|
+
], StockResolver.prototype, "material", null);
|
|
63
|
+
__decorate([
|
|
64
|
+
ResolveField(() => LocationDto),
|
|
65
|
+
__param(0, Parent()),
|
|
66
|
+
__param(1, Context()),
|
|
67
|
+
__metadata("design:type", Function),
|
|
68
|
+
__metadata("design:paramtypes", [StockEntityClass, Object]),
|
|
69
|
+
__metadata("design:returntype", Promise)
|
|
70
|
+
], StockResolver.prototype, "location", null);
|
|
71
|
+
__decorate([
|
|
72
|
+
ResolveField(() => BatchDto),
|
|
73
|
+
__param(0, Parent()),
|
|
74
|
+
__param(1, Context()),
|
|
75
|
+
__metadata("design:type", Function),
|
|
76
|
+
__metadata("design:paramtypes", [StockEntityClass, Object]),
|
|
77
|
+
__metadata("design:returntype", Promise)
|
|
78
|
+
], StockResolver.prototype, "batch", null);
|
|
79
|
+
StockResolver = __decorate([
|
|
80
|
+
Resolver(() => StockDto)
|
|
81
|
+
], StockResolver);
|
|
82
|
+
|
|
83
|
+
export { StockResolver };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TransferCustomerOrderItemDto } from '../dto/transfer-customer-order-item.dto';
|
|
2
|
+
import { TransferCustomerOrderEntityClass, TransferCustomerOrderItemEntityClass } from '@rytass/wms-module-core';
|
|
3
|
+
import { type LoaderType } from '../helpers';
|
|
4
|
+
export declare class TransferCustomerOrderResolver {
|
|
5
|
+
items({ id }: TransferCustomerOrderEntityClass, { loaders }: LoaderType<TransferCustomerOrderItemEntityClass>): Promise<TransferCustomerOrderItemDto[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate, __param, __metadata } from 'tslib';
|
|
2
|
+
import { ResolveField, Parent, Context, Resolver } from '@nestjs/graphql';
|
|
3
|
+
import { TransferCustomerOrderDto } from '../dto/transfer-customer-order.dto.js';
|
|
4
|
+
import { TransferCustomerOrderItemDto } from '../dto/transfer-customer-order-item.dto.js';
|
|
5
|
+
import { TransferCustomerOrderEntityClass, TransferCustomerOrderItemEntityClass } from '@rytass/wms-module-core';
|
|
6
|
+
|
|
7
|
+
let TransferCustomerOrderResolver = class TransferCustomerOrderResolver {
|
|
8
|
+
items({ id }, { loaders }) {
|
|
9
|
+
return loaders.batchMany.load({
|
|
10
|
+
__entity: TransferCustomerOrderItemEntityClass,
|
|
11
|
+
__from: { orderId: id },
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
__decorate([
|
|
16
|
+
ResolveField(() => [TransferCustomerOrderItemDto]),
|
|
17
|
+
__param(0, Parent()),
|
|
18
|
+
__param(1, Context()),
|
|
19
|
+
__metadata("design:type", Function),
|
|
20
|
+
__metadata("design:paramtypes", [TransferCustomerOrderEntityClass, Object]),
|
|
21
|
+
__metadata("design:returntype", Promise)
|
|
22
|
+
], TransferCustomerOrderResolver.prototype, "items", null);
|
|
23
|
+
TransferCustomerOrderResolver = __decorate([
|
|
24
|
+
Resolver(() => TransferCustomerOrderDto)
|
|
25
|
+
], TransferCustomerOrderResolver);
|
|
26
|
+
|
|
27
|
+
export { TransferCustomerOrderResolver };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TransferOrderDto } from '../dto/transfer-order.dto';
|
|
2
|
+
import { TransferOrderItemDto } from '../dto/transfer-order-item.dto';
|
|
3
|
+
import { type LoaderType } from '../helpers';
|
|
4
|
+
import { BatchEntityClass, LoadersEntityClass, LocationEntityClass, MaterialEntityClass, TransferOrderChangeEntityClass, TransferOrderItemEntityClass } from '@rytass/wms-module-core';
|
|
5
|
+
import { LoaderDto, MaterialDto } from '../dto';
|
|
6
|
+
import { BatchDto } from '../dto/batch.dto';
|
|
7
|
+
import { LocationDto } from '../dto/location.dto';
|
|
8
|
+
export declare class TransferOrderResolver {
|
|
9
|
+
items({ id }: TransferOrderDto, { loaders }: LoaderType<TransferOrderItemEntityClass>): Promise<TransferOrderItemDto[]>;
|
|
10
|
+
targetLocation({ id }: TransferOrderDto, { loaders }: LoaderType<TransferOrderItemEntityClass>, locationLoader: LoaderType<LocationEntityClass>): Promise<LocationDto | null>;
|
|
11
|
+
targetLoader({ id }: TransferOrderDto, { loaders }: LoaderType<TransferOrderItemEntityClass>, loaderLoader: LoaderType<LoadersEntityClass>): Promise<LoaderDto | null>;
|
|
12
|
+
}
|
|
13
|
+
export declare class TransferOrderItemResolver {
|
|
14
|
+
material({ materialId }: TransferOrderItemEntityClass, { loaders }: LoaderType<MaterialEntityClass>): Promise<MaterialDto>;
|
|
15
|
+
batch({ batchId }: TransferOrderItemEntityClass, { loaders }: LoaderType<BatchEntityClass>): Promise<BatchDto | null>;
|
|
16
|
+
location({ locationId }: TransferOrderItemEntityClass, { loaders }: LoaderType<LocationEntityClass>): Promise<LocationDto | null>;
|
|
17
|
+
loader({ loaderId }: TransferOrderItemEntityClass, { loaders }: LoaderType<LoadersEntityClass>): Promise<LoaderDto | null>;
|
|
18
|
+
saleId({ batchId }: TransferOrderItemEntityClass, { loaders }: LoaderType<BatchEntityClass>): Promise<string | null>;
|
|
19
|
+
saleSerialId({ batchId }: TransferOrderItemEntityClass, { loaders }: LoaderType<BatchEntityClass>): Promise<string | null>;
|
|
20
|
+
transferredQuantity({ id }: TransferOrderItemEntityClass, { loaders }: LoaderType<TransferOrderChangeEntityClass>): Promise<number>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { __decorate, __param, __metadata } from 'tslib';
|
|
2
|
+
import { ResolveField, Parent, Context, Resolver, ID, Int } from '@nestjs/graphql';
|
|
3
|
+
import { TransferOrderDto } from '../dto/transfer-order.dto.js';
|
|
4
|
+
import { TransferOrderItemDto } from '../dto/transfer-order-item.dto.js';
|
|
5
|
+
import { TransferOrderItemEntityClass, LocationEntityClass, LoadersEntityClass, MaterialEntityClass, BatchEntityClass, BatchGroupEntityClass, TransferOrderChangeEntityClass } from '@rytass/wms-module-core';
|
|
6
|
+
import '../dto/loader-type.dto.js';
|
|
7
|
+
import { LoaderDto } from '../dto/loader.dto.js';
|
|
8
|
+
import { MaterialDto } from '../dto/material.dto.js';
|
|
9
|
+
import '../dto/material-unit.dto.js';
|
|
10
|
+
import '../dto/stock.dto.js';
|
|
11
|
+
import '../dto/sale-order.dto.js';
|
|
12
|
+
import '../dto/receive-inventory-order.dto.js';
|
|
13
|
+
import '../dto/receive-inventory-order-item.dto.js';
|
|
14
|
+
import '../dto/ship-inventory-order.dto.js';
|
|
15
|
+
import '../dto/ship-inventory-order-item.dto.js';
|
|
16
|
+
import '../dto/hold-inventory-order.dto.js';
|
|
17
|
+
import '../dto/hold-inventory-order-item.dto.js';
|
|
18
|
+
import '../dto/allocate-inventory-order.dto.js';
|
|
19
|
+
import '../dto/allocate-inventory-order-item.dto.js';
|
|
20
|
+
import '../dto/transfer-customer-order.dto.js';
|
|
21
|
+
import '../dto/transfer-customer-order-item.dto.js';
|
|
22
|
+
import '../dto/transfer-vendor-order.dto.js';
|
|
23
|
+
import '../dto/transfer-vendor-order-item.dto.js';
|
|
24
|
+
import '../dto/scrape-order.dto.js';
|
|
25
|
+
import '../dto/scrape-order-item.dto.js';
|
|
26
|
+
import '../dto/quality-inspection-order.dto.js';
|
|
27
|
+
import '../dto/quality-inspection-order-item.dto.js';
|
|
28
|
+
import { BatchDto } from '../dto/batch.dto.js';
|
|
29
|
+
import { LocationDto } from '../dto/location.dto.js';
|
|
30
|
+
|
|
31
|
+
let TransferOrderResolver = class TransferOrderResolver {
|
|
32
|
+
items({ id }, { loaders }) {
|
|
33
|
+
return loaders.batchMany.load({
|
|
34
|
+
__entity: TransferOrderItemEntityClass,
|
|
35
|
+
__from: { orderId: id },
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
async targetLocation({ id }, { loaders }, locationLoader) {
|
|
39
|
+
const [item] = await loaders.batchMany.load({
|
|
40
|
+
__entity: TransferOrderItemEntityClass,
|
|
41
|
+
__from: { orderId: id },
|
|
42
|
+
});
|
|
43
|
+
if (!item?.targetLocationId)
|
|
44
|
+
return null;
|
|
45
|
+
return locationLoader.loaders.batchSingle.load({
|
|
46
|
+
__entity: LocationEntityClass,
|
|
47
|
+
__from: { id: item.targetLocationId },
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
async targetLoader({ id }, { loaders }, loaderLoader) {
|
|
51
|
+
const [item] = await loaders.batchMany.load({
|
|
52
|
+
__entity: TransferOrderItemEntityClass,
|
|
53
|
+
__from: { orderId: id },
|
|
54
|
+
});
|
|
55
|
+
if (!item?.targetLoaderId)
|
|
56
|
+
return null;
|
|
57
|
+
return loaderLoader.loaders.batchSingle.load({
|
|
58
|
+
__entity: LoadersEntityClass,
|
|
59
|
+
__from: { id: item.targetLoaderId },
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
__decorate([
|
|
64
|
+
ResolveField(() => [TransferOrderItemDto]),
|
|
65
|
+
__param(0, Parent()),
|
|
66
|
+
__param(1, Context()),
|
|
67
|
+
__metadata("design:type", Function),
|
|
68
|
+
__metadata("design:paramtypes", [TransferOrderDto, Object]),
|
|
69
|
+
__metadata("design:returntype", Promise)
|
|
70
|
+
], TransferOrderResolver.prototype, "items", null);
|
|
71
|
+
__decorate([
|
|
72
|
+
ResolveField(() => LocationDto, { nullable: true }),
|
|
73
|
+
__param(0, Parent()),
|
|
74
|
+
__param(1, Context()),
|
|
75
|
+
__param(2, Context()),
|
|
76
|
+
__metadata("design:type", Function),
|
|
77
|
+
__metadata("design:paramtypes", [TransferOrderDto, Object, Object]),
|
|
78
|
+
__metadata("design:returntype", Promise)
|
|
79
|
+
], TransferOrderResolver.prototype, "targetLocation", null);
|
|
80
|
+
__decorate([
|
|
81
|
+
ResolveField(() => LoaderDto, { nullable: true }),
|
|
82
|
+
__param(0, Parent()),
|
|
83
|
+
__param(1, Context()),
|
|
84
|
+
__param(2, Context()),
|
|
85
|
+
__metadata("design:type", Function),
|
|
86
|
+
__metadata("design:paramtypes", [TransferOrderDto, Object, Object]),
|
|
87
|
+
__metadata("design:returntype", Promise)
|
|
88
|
+
], TransferOrderResolver.prototype, "targetLoader", null);
|
|
89
|
+
TransferOrderResolver = __decorate([
|
|
90
|
+
Resolver(() => TransferOrderDto)
|
|
91
|
+
], TransferOrderResolver);
|
|
92
|
+
let TransferOrderItemResolver = class TransferOrderItemResolver {
|
|
93
|
+
material({ materialId }, { loaders }) {
|
|
94
|
+
return loaders.batchSingle.load({
|
|
95
|
+
__entity: MaterialEntityClass,
|
|
96
|
+
__from: { id: materialId },
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
async batch({ batchId }, { loaders }) {
|
|
100
|
+
if (!batchId)
|
|
101
|
+
return null;
|
|
102
|
+
const { groupId } = await loaders.batchSingle.load({
|
|
103
|
+
__entity: BatchEntityClass,
|
|
104
|
+
__from: { id: batchId },
|
|
105
|
+
});
|
|
106
|
+
return loaders.batchSingle.load({
|
|
107
|
+
__entity: BatchGroupEntityClass,
|
|
108
|
+
__from: { id: groupId },
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
async location({ locationId }, { loaders }) {
|
|
112
|
+
if (!locationId)
|
|
113
|
+
return null;
|
|
114
|
+
return loaders.batchSingle.load({
|
|
115
|
+
__entity: LocationEntityClass,
|
|
116
|
+
__from: { id: locationId },
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
async loader({ loaderId }, { loaders }) {
|
|
120
|
+
if (!loaderId)
|
|
121
|
+
return null;
|
|
122
|
+
return loaders.batchSingle.load({
|
|
123
|
+
__entity: LoadersEntityClass,
|
|
124
|
+
__from: { id: loaderId },
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
async saleId({ batchId }, { loaders }) {
|
|
128
|
+
if (!batchId)
|
|
129
|
+
return null;
|
|
130
|
+
return loaders.batchSingle
|
|
131
|
+
.load({
|
|
132
|
+
__entity: BatchEntityClass,
|
|
133
|
+
__from: { id: batchId },
|
|
134
|
+
})
|
|
135
|
+
.then((batch) => batch.saleId);
|
|
136
|
+
}
|
|
137
|
+
async saleSerialId({ batchId }, { loaders }) {
|
|
138
|
+
if (!batchId)
|
|
139
|
+
return null;
|
|
140
|
+
return loaders.batchSingle
|
|
141
|
+
.load({
|
|
142
|
+
__entity: BatchEntityClass,
|
|
143
|
+
__from: { id: batchId },
|
|
144
|
+
})
|
|
145
|
+
.then((batch) => batch.saleSerialId);
|
|
146
|
+
}
|
|
147
|
+
async transferredQuantity({ id }, { loaders }) {
|
|
148
|
+
const changes = await loaders.batchMany.load({
|
|
149
|
+
__entity: TransferOrderChangeEntityClass,
|
|
150
|
+
__from: { itemId: id },
|
|
151
|
+
});
|
|
152
|
+
return changes.reduce((acc, { quantityChanged }) => {
|
|
153
|
+
const qty = Number(quantityChanged);
|
|
154
|
+
return qty < 0 ? acc + Math.abs(qty) : acc;
|
|
155
|
+
}, 0);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
__decorate([
|
|
159
|
+
ResolveField(() => MaterialDto),
|
|
160
|
+
__param(0, Parent()),
|
|
161
|
+
__param(1, Context()),
|
|
162
|
+
__metadata("design:type", Function),
|
|
163
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
164
|
+
__metadata("design:returntype", Promise)
|
|
165
|
+
], TransferOrderItemResolver.prototype, "material", null);
|
|
166
|
+
__decorate([
|
|
167
|
+
ResolveField(() => BatchDto, { nullable: true }),
|
|
168
|
+
__param(0, Parent()),
|
|
169
|
+
__param(1, Context()),
|
|
170
|
+
__metadata("design:type", Function),
|
|
171
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
172
|
+
__metadata("design:returntype", Promise)
|
|
173
|
+
], TransferOrderItemResolver.prototype, "batch", null);
|
|
174
|
+
__decorate([
|
|
175
|
+
ResolveField(() => LocationDto, { nullable: true }),
|
|
176
|
+
__param(0, Parent()),
|
|
177
|
+
__param(1, Context()),
|
|
178
|
+
__metadata("design:type", Function),
|
|
179
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
180
|
+
__metadata("design:returntype", Promise)
|
|
181
|
+
], TransferOrderItemResolver.prototype, "location", null);
|
|
182
|
+
__decorate([
|
|
183
|
+
ResolveField(() => LoaderDto, { nullable: true }),
|
|
184
|
+
__param(0, Parent()),
|
|
185
|
+
__param(1, Context()),
|
|
186
|
+
__metadata("design:type", Function),
|
|
187
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
188
|
+
__metadata("design:returntype", Promise)
|
|
189
|
+
], TransferOrderItemResolver.prototype, "loader", null);
|
|
190
|
+
__decorate([
|
|
191
|
+
ResolveField(() => ID, { nullable: true }),
|
|
192
|
+
__param(0, Parent()),
|
|
193
|
+
__param(1, Context()),
|
|
194
|
+
__metadata("design:type", Function),
|
|
195
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
196
|
+
__metadata("design:returntype", Promise)
|
|
197
|
+
], TransferOrderItemResolver.prototype, "saleId", null);
|
|
198
|
+
__decorate([
|
|
199
|
+
ResolveField(() => ID, { nullable: true }),
|
|
200
|
+
__param(0, Parent()),
|
|
201
|
+
__param(1, Context()),
|
|
202
|
+
__metadata("design:type", Function),
|
|
203
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
204
|
+
__metadata("design:returntype", Promise)
|
|
205
|
+
], TransferOrderItemResolver.prototype, "saleSerialId", null);
|
|
206
|
+
__decorate([
|
|
207
|
+
ResolveField(() => Int),
|
|
208
|
+
__param(0, Parent()),
|
|
209
|
+
__param(1, Context()),
|
|
210
|
+
__metadata("design:type", Function),
|
|
211
|
+
__metadata("design:paramtypes", [TransferOrderItemEntityClass, Object]),
|
|
212
|
+
__metadata("design:returntype", Promise)
|
|
213
|
+
], TransferOrderItemResolver.prototype, "transferredQuantity", null);
|
|
214
|
+
TransferOrderItemResolver = __decorate([
|
|
215
|
+
Resolver(() => TransferOrderItemDto)
|
|
216
|
+
], TransferOrderItemResolver);
|
|
217
|
+
|
|
218
|
+
export { TransferOrderItemResolver, TransferOrderResolver };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TransferVendorOrderItemDto } from '../dto/transfer-vendor-order-item.dto';
|
|
2
|
+
import { TransferVendorOrderEntityClass, TransferVendorOrderItemEntityClass } from '@rytass/wms-module-core';
|
|
3
|
+
import { type LoaderType } from '../helpers';
|
|
4
|
+
export declare class TransferVendorOrderResolver {
|
|
5
|
+
items({ id }: TransferVendorOrderEntityClass, { loaders }: LoaderType<TransferVendorOrderItemEntityClass>): Promise<TransferVendorOrderItemDto[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate, __param, __metadata } from 'tslib';
|
|
2
|
+
import { ResolveField, Parent, Context, Resolver } from '@nestjs/graphql';
|
|
3
|
+
import { TransferVendorOrderDto } from '../dto/transfer-vendor-order.dto.js';
|
|
4
|
+
import { TransferVendorOrderItemDto } from '../dto/transfer-vendor-order-item.dto.js';
|
|
5
|
+
import { TransferVendorOrderEntityClass, TransferVendorOrderItemEntityClass } from '@rytass/wms-module-core';
|
|
6
|
+
|
|
7
|
+
let TransferVendorOrderResolver = class TransferVendorOrderResolver {
|
|
8
|
+
items({ id }, { loaders }) {
|
|
9
|
+
return loaders.batchMany.load({
|
|
10
|
+
__entity: TransferVendorOrderItemEntityClass,
|
|
11
|
+
__from: { orderId: id },
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
__decorate([
|
|
16
|
+
ResolveField(() => [TransferVendorOrderItemDto]),
|
|
17
|
+
__param(0, Parent()),
|
|
18
|
+
__param(1, Context()),
|
|
19
|
+
__metadata("design:type", Function),
|
|
20
|
+
__metadata("design:paramtypes", [TransferVendorOrderEntityClass, Object]),
|
|
21
|
+
__metadata("design:returntype", Promise)
|
|
22
|
+
], TransferVendorOrderResolver.prototype, "items", null);
|
|
23
|
+
TransferVendorOrderResolver = __decorate([
|
|
24
|
+
Resolver(() => TransferVendorOrderDto)
|
|
25
|
+
], TransferVendorOrderResolver);
|
|
26
|
+
|
|
27
|
+
export { TransferVendorOrderResolver };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type LoaderType } from '../helpers';
|
|
2
|
+
import { LocationEntityClass } from '@rytass/wms-module-core';
|
|
3
|
+
import { MapRangeDto } from '../dto/warehouse-map.dto';
|
|
4
|
+
export declare class MapRangeUnionResolver {
|
|
5
|
+
location({ id }: MapRangeDto, { loaders }: LoaderType<LocationEntityClass>): Promise<LocationEntityClass> | null;
|
|
6
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __decorate, __param, __metadata } from 'tslib';
|
|
2
|
+
import { ResolveField, Parent, Context, Resolver } from '@nestjs/graphql';
|
|
3
|
+
import { LocationDto } from '../dto/location.dto.js';
|
|
4
|
+
import { LocationEntityClass } from '@rytass/wms-module-core';
|
|
5
|
+
import { MapRangeDto } from '../dto/warehouse-map.dto.js';
|
|
6
|
+
|
|
7
|
+
let MapRangeUnionResolver = class MapRangeUnionResolver {
|
|
8
|
+
location({ id }, { loaders }) {
|
|
9
|
+
if (!id)
|
|
10
|
+
return null;
|
|
11
|
+
return loaders.batchSingle.load({
|
|
12
|
+
__entity: LocationEntityClass,
|
|
13
|
+
__from: { key: id },
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
ResolveField(() => LocationDto, { nullable: true }),
|
|
19
|
+
__param(0, Parent()),
|
|
20
|
+
__param(1, Context()),
|
|
21
|
+
__metadata("design:type", Function),
|
|
22
|
+
__metadata("design:paramtypes", [MapRangeDto, Object]),
|
|
23
|
+
__metadata("design:returntype", void 0)
|
|
24
|
+
], MapRangeUnionResolver.prototype, "location", null);
|
|
25
|
+
MapRangeUnionResolver = __decorate([
|
|
26
|
+
Resolver(() => MapRangeDto)
|
|
27
|
+
], MapRangeUnionResolver);
|
|
28
|
+
|
|
29
|
+
export { MapRangeUnionResolver };
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rytass/wms-module-graphql",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Rytass WMS Module — GraphQL schema, resolvers and DTOs for warehouse management",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"rytass",
|
|
7
|
+
"wms",
|
|
8
|
+
"warehouse",
|
|
9
|
+
"nestjs",
|
|
10
|
+
"graphql"
|
|
11
|
+
],
|
|
12
|
+
"author": "Chia Yu Pai <fantasyatelier@gmail.com>",
|
|
13
|
+
"homepage": "https://github.com/Rytass/WMS-Module#readme",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Rytass/WMS-Module.git"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/Rytass/WMS-Module/issues"
|
|
21
|
+
},
|
|
22
|
+
"main": "./index.cjs.js",
|
|
23
|
+
"module": "./index.js",
|
|
24
|
+
"typings": "./index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./index.d.ts",
|
|
28
|
+
"require": "./index.cjs.js",
|
|
29
|
+
"import": "./index.js"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"**/*.js",
|
|
35
|
+
"**/*.d.ts",
|
|
36
|
+
"README.md",
|
|
37
|
+
"LICENSE"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"dataloader": "^2.2.3"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@nestjs/apollo": "^13.0.0",
|
|
47
|
+
"@nestjs/common": "^11.0.0",
|
|
48
|
+
"@nestjs/graphql": "^13.0.0",
|
|
49
|
+
"@rytass/wms-module-core": "^0.1.0",
|
|
50
|
+
"graphql": "^16.0.0",
|
|
51
|
+
"reflect-metadata": "^0.1.13 || ^0.2.0",
|
|
52
|
+
"rxjs": "^7.8.0"
|
|
53
|
+
}
|
|
54
|
+
}
|