@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
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/graphql.module';
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WmsModuleGraphqlModule } from './lib/graphql.module.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class AllocateInventoryOrderItemDto {
|
|
2
|
+
id: string;
|
|
3
|
+
materialId: string;
|
|
4
|
+
batchId: string;
|
|
5
|
+
locationId: string | null;
|
|
6
|
+
loaderId: string | null;
|
|
7
|
+
orderId: string;
|
|
8
|
+
unitId: string | null;
|
|
9
|
+
targetAllocatedQuantity: number;
|
|
10
|
+
saleId: string;
|
|
11
|
+
saleSerialId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
let AllocateInventoryOrderItemDto = class AllocateInventoryOrderItemDto {
|
|
5
|
+
id;
|
|
6
|
+
materialId;
|
|
7
|
+
batchId;
|
|
8
|
+
locationId;
|
|
9
|
+
loaderId;
|
|
10
|
+
orderId;
|
|
11
|
+
unitId;
|
|
12
|
+
targetAllocatedQuantity;
|
|
13
|
+
saleId;
|
|
14
|
+
saleSerialId;
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
Field(() => ID),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], AllocateInventoryOrderItemDto.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
Field(() => Int),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], AllocateInventoryOrderItemDto.prototype, "targetAllocatedQuantity", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Field(() => String),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AllocateInventoryOrderItemDto.prototype, "saleId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
Field(() => String),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], AllocateInventoryOrderItemDto.prototype, "saleSerialId", void 0);
|
|
32
|
+
AllocateInventoryOrderItemDto = __decorate([
|
|
33
|
+
ObjectType()
|
|
34
|
+
], AllocateInventoryOrderItemDto);
|
|
35
|
+
|
|
36
|
+
export { AllocateInventoryOrderItemDto };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class AllocateInventoryOrderDto {
|
|
2
|
+
id: string;
|
|
3
|
+
key: string;
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
}
|
|
6
|
+
declare const AllocateInventoryOrders_base: new () => import("./pagination.dto").PaginatedType<AllocateInventoryOrderDto>;
|
|
7
|
+
export declare class AllocateInventoryOrders extends AllocateInventoryOrders_base {
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let AllocateInventoryOrderDto = class AllocateInventoryOrderDto {
|
|
6
|
+
id;
|
|
7
|
+
key;
|
|
8
|
+
createdAt;
|
|
9
|
+
};
|
|
10
|
+
__decorate([
|
|
11
|
+
Field(() => ID),
|
|
12
|
+
__metadata("design:type", String)
|
|
13
|
+
], AllocateInventoryOrderDto.prototype, "id", void 0);
|
|
14
|
+
__decorate([
|
|
15
|
+
Field(() => String),
|
|
16
|
+
__metadata("design:type", String)
|
|
17
|
+
], AllocateInventoryOrderDto.prototype, "key", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
Field(() => Date),
|
|
20
|
+
__metadata("design:type", Date)
|
|
21
|
+
], AllocateInventoryOrderDto.prototype, "createdAt", void 0);
|
|
22
|
+
AllocateInventoryOrderDto = __decorate([
|
|
23
|
+
ObjectType()
|
|
24
|
+
], AllocateInventoryOrderDto);
|
|
25
|
+
let AllocateInventoryOrders = class AllocateInventoryOrders extends PaginatedResponse(AllocateInventoryOrderDto) {
|
|
26
|
+
};
|
|
27
|
+
AllocateInventoryOrders = __decorate([
|
|
28
|
+
ObjectType()
|
|
29
|
+
], AllocateInventoryOrders);
|
|
30
|
+
|
|
31
|
+
export { AllocateInventoryOrderDto, AllocateInventoryOrders };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let BatchDto = class BatchDto {
|
|
6
|
+
id;
|
|
7
|
+
key;
|
|
8
|
+
};
|
|
9
|
+
__decorate([
|
|
10
|
+
Field(() => ID),
|
|
11
|
+
__metadata("design:type", String)
|
|
12
|
+
], BatchDto.prototype, "id", void 0);
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => String),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], BatchDto.prototype, "key", void 0);
|
|
17
|
+
BatchDto = __decorate([
|
|
18
|
+
ObjectType()
|
|
19
|
+
], BatchDto);
|
|
20
|
+
let Batches = class Batches extends PaginatedResponse(BatchDto) {
|
|
21
|
+
};
|
|
22
|
+
Batches = __decorate([
|
|
23
|
+
ObjectType()
|
|
24
|
+
], Batches);
|
|
25
|
+
|
|
26
|
+
export { BatchDto, Batches };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class HoldInventoryOrderItemDto {
|
|
2
|
+
id: string;
|
|
3
|
+
materialId: string;
|
|
4
|
+
batchId: string;
|
|
5
|
+
locationId: string | null;
|
|
6
|
+
loaderId: string | null;
|
|
7
|
+
orderId: string;
|
|
8
|
+
unitId: string | null;
|
|
9
|
+
targetHeldQuantity: number;
|
|
10
|
+
removedAt: Date | null;
|
|
11
|
+
}
|
|
12
|
+
declare const HoldInventoryOrderItems_base: new () => import("./pagination.dto").PaginatedType<HoldInventoryOrderItemDto>;
|
|
13
|
+
export declare class HoldInventoryOrderItems extends HoldInventoryOrderItems_base {
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Int, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let HoldInventoryOrderItemDto = class HoldInventoryOrderItemDto {
|
|
6
|
+
id;
|
|
7
|
+
materialId;
|
|
8
|
+
batchId;
|
|
9
|
+
locationId;
|
|
10
|
+
loaderId;
|
|
11
|
+
orderId;
|
|
12
|
+
unitId;
|
|
13
|
+
targetHeldQuantity;
|
|
14
|
+
removedAt;
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
Field(() => ID),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], HoldInventoryOrderItemDto.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
Field(() => Int),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], HoldInventoryOrderItemDto.prototype, "targetHeldQuantity", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Field(() => Date, { nullable: true }),
|
|
26
|
+
__metadata("design:type", Object)
|
|
27
|
+
], HoldInventoryOrderItemDto.prototype, "removedAt", void 0);
|
|
28
|
+
HoldInventoryOrderItemDto = __decorate([
|
|
29
|
+
ObjectType()
|
|
30
|
+
], HoldInventoryOrderItemDto);
|
|
31
|
+
let HoldInventoryOrderItems = class HoldInventoryOrderItems extends PaginatedResponse(HoldInventoryOrderItemDto) {
|
|
32
|
+
};
|
|
33
|
+
HoldInventoryOrderItems = __decorate([
|
|
34
|
+
ObjectType()
|
|
35
|
+
], HoldInventoryOrderItems);
|
|
36
|
+
|
|
37
|
+
export { HoldInventoryOrderItemDto, HoldInventoryOrderItems };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HoldInventoryOrderItemDto } from './hold-inventory-order-item.dto';
|
|
2
|
+
export declare class HoldInventoryOrderDto {
|
|
3
|
+
id: string;
|
|
4
|
+
key: string;
|
|
5
|
+
createdBy: string | null;
|
|
6
|
+
removedAt: Date | null;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
items: HoldInventoryOrderItemDto[];
|
|
9
|
+
}
|
|
10
|
+
declare const HoldInventoryOrders_base: new () => import("./pagination.dto").PaginatedType<HoldInventoryOrderDto>;
|
|
11
|
+
export declare class HoldInventoryOrders extends HoldInventoryOrders_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { HoldInventoryOrderItemDto } from './hold-inventory-order-item.dto.js';
|
|
4
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
5
|
+
|
|
6
|
+
let HoldInventoryOrderDto = class HoldInventoryOrderDto {
|
|
7
|
+
id;
|
|
8
|
+
key;
|
|
9
|
+
createdBy;
|
|
10
|
+
removedAt;
|
|
11
|
+
createdAt;
|
|
12
|
+
items;
|
|
13
|
+
};
|
|
14
|
+
__decorate([
|
|
15
|
+
Field(() => ID),
|
|
16
|
+
__metadata("design:type", String)
|
|
17
|
+
], HoldInventoryOrderDto.prototype, "id", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
Field(() => String),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], HoldInventoryOrderDto.prototype, "key", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
Field(() => String, { nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], HoldInventoryOrderDto.prototype, "createdBy", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
Field(() => Date, { nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], HoldInventoryOrderDto.prototype, "removedAt", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
Field(() => Date),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], HoldInventoryOrderDto.prototype, "createdAt", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
Field(() => [HoldInventoryOrderItemDto]),
|
|
36
|
+
__metadata("design:type", Array)
|
|
37
|
+
], HoldInventoryOrderDto.prototype, "items", void 0);
|
|
38
|
+
HoldInventoryOrderDto = __decorate([
|
|
39
|
+
ObjectType()
|
|
40
|
+
], HoldInventoryOrderDto);
|
|
41
|
+
let HoldInventoryOrders = class HoldInventoryOrders extends PaginatedResponse(HoldInventoryOrderDto) {
|
|
42
|
+
};
|
|
43
|
+
HoldInventoryOrders = __decorate([
|
|
44
|
+
ObjectType()
|
|
45
|
+
], HoldInventoryOrders);
|
|
46
|
+
|
|
47
|
+
export { HoldInventoryOrderDto, HoldInventoryOrders };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './loader-type.dto';
|
|
2
|
+
export * from './loader.dto';
|
|
3
|
+
export * from './material.dto';
|
|
4
|
+
export * from './material-unit.dto';
|
|
5
|
+
export * from './stock.dto';
|
|
6
|
+
export * from './sale-order.dto';
|
|
7
|
+
export * from './receive-inventory-order.dto';
|
|
8
|
+
export * from './receive-inventory-order-item.dto';
|
|
9
|
+
export * from './ship-inventory-order.dto';
|
|
10
|
+
export * from './ship-inventory-order-item.dto';
|
|
11
|
+
export * from './hold-inventory-order.dto';
|
|
12
|
+
export * from './hold-inventory-order-item.dto';
|
|
13
|
+
export * from './allocate-inventory-order.dto';
|
|
14
|
+
export * from './allocate-inventory-order-item.dto';
|
|
15
|
+
export * from './transfer-order.dto';
|
|
16
|
+
export * from './transfer-order-item.dto';
|
|
17
|
+
export * from './transfer-customer-order.dto';
|
|
18
|
+
export * from './transfer-customer-order-item.dto';
|
|
19
|
+
export * from './transfer-vendor-order.dto';
|
|
20
|
+
export * from './transfer-vendor-order-item.dto';
|
|
21
|
+
export * from './scrape-order.dto';
|
|
22
|
+
export * from './scrape-order-item.dto';
|
|
23
|
+
export * from './quality-inspection-order.dto';
|
|
24
|
+
export * from './quality-inspection-order-item.dto';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class LoaderTypeDto {
|
|
2
|
+
id: string;
|
|
3
|
+
description: string;
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
key: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
}
|
|
9
|
+
declare const LoaderTypes_base: new () => import("./pagination.dto").PaginatedType<LoaderTypeDto>;
|
|
10
|
+
export declare class LoaderTypes extends LoaderTypes_base {
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let LoaderTypeDto = class LoaderTypeDto {
|
|
6
|
+
id;
|
|
7
|
+
description;
|
|
8
|
+
isActive;
|
|
9
|
+
key;
|
|
10
|
+
createdAt;
|
|
11
|
+
updatedAt;
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => ID),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], LoaderTypeDto.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Field(() => String),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], LoaderTypeDto.prototype, "description", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Field(() => Boolean),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], LoaderTypeDto.prototype, "isActive", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Field(() => String, { description: '類型代碼' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], LoaderTypeDto.prototype, "key", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Field(() => Date),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], LoaderTypeDto.prototype, "createdAt", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Field(() => Date),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], LoaderTypeDto.prototype, "updatedAt", void 0);
|
|
37
|
+
LoaderTypeDto = __decorate([
|
|
38
|
+
ObjectType()
|
|
39
|
+
], LoaderTypeDto);
|
|
40
|
+
let LoaderTypes = class LoaderTypes extends PaginatedResponse(LoaderTypeDto) {
|
|
41
|
+
};
|
|
42
|
+
LoaderTypes = __decorate([
|
|
43
|
+
ObjectType()
|
|
44
|
+
], LoaderTypes);
|
|
45
|
+
|
|
46
|
+
export { LoaderTypeDto, LoaderTypes };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { registerEnumType, Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
|
|
4
|
+
var LoaderUnit;
|
|
5
|
+
(function (LoaderUnit) {
|
|
6
|
+
LoaderUnit["VOLUME"] = "VOLUME";
|
|
7
|
+
LoaderUnit["SIZE"] = "SIZE";
|
|
8
|
+
})(LoaderUnit || (LoaderUnit = {}));
|
|
9
|
+
registerEnumType(LoaderUnit, { name: 'LoaderUnit' });
|
|
10
|
+
let LoaderUnitDto = class LoaderUnitDto {
|
|
11
|
+
id;
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => ID),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], LoaderUnitDto.prototype, "id", void 0);
|
|
17
|
+
LoaderUnitDto = __decorate([
|
|
18
|
+
ObjectType()
|
|
19
|
+
], LoaderUnitDto);
|
|
20
|
+
|
|
21
|
+
export { LoaderUnit, LoaderUnitDto };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class LoaderDto {
|
|
2
|
+
id: string;
|
|
3
|
+
serialId: string;
|
|
4
|
+
length: number | null;
|
|
5
|
+
width: number | null;
|
|
6
|
+
height: number | null;
|
|
7
|
+
sizeUnit: string | null;
|
|
8
|
+
volume: number | null;
|
|
9
|
+
volumeUnit: string | null;
|
|
10
|
+
note: string | null;
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
}
|
|
14
|
+
declare const Loaders_base: new () => import("./pagination.dto").PaginatedType<LoaderDto>;
|
|
15
|
+
export declare class Loaders extends Loaders_base {
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Float, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let LoaderDto = class LoaderDto {
|
|
6
|
+
id;
|
|
7
|
+
serialId;
|
|
8
|
+
length;
|
|
9
|
+
width;
|
|
10
|
+
height;
|
|
11
|
+
sizeUnit;
|
|
12
|
+
volume;
|
|
13
|
+
volumeUnit;
|
|
14
|
+
note;
|
|
15
|
+
isActive;
|
|
16
|
+
createdAt;
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
Field(() => ID),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], LoaderDto.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
Field(() => String, { description: '編碼' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], LoaderDto.prototype, "serialId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
Field(() => Float, { nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], LoaderDto.prototype, "length", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
Field(() => Float, { nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], LoaderDto.prototype, "width", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
Field(() => Float, { nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], LoaderDto.prototype, "height", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
Field(() => String, { nullable: true }),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], LoaderDto.prototype, "sizeUnit", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Field(() => Float, { nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], LoaderDto.prototype, "volume", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Field(() => String, { nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], LoaderDto.prototype, "volumeUnit", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Field(() => String, { nullable: true }),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], LoaderDto.prototype, "note", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
Field(() => Boolean),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], LoaderDto.prototype, "isActive", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Field(() => Date),
|
|
60
|
+
__metadata("design:type", Date)
|
|
61
|
+
], LoaderDto.prototype, "createdAt", void 0);
|
|
62
|
+
LoaderDto = __decorate([
|
|
63
|
+
ObjectType()
|
|
64
|
+
], LoaderDto);
|
|
65
|
+
let Loaders = class Loaders extends PaginatedResponse(LoaderDto) {
|
|
66
|
+
};
|
|
67
|
+
Loaders = __decorate([
|
|
68
|
+
ObjectType()
|
|
69
|
+
], Loaders);
|
|
70
|
+
|
|
71
|
+
export { LoaderDto, Loaders };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class LocationDto {
|
|
2
|
+
id: string;
|
|
3
|
+
key: string;
|
|
4
|
+
description: string;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const Locations_base: new () => import("./pagination.dto").PaginatedType<LocationDto>;
|
|
8
|
+
export declare class Locations extends Locations_base {
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let LocationDto = class LocationDto {
|
|
6
|
+
id;
|
|
7
|
+
key;
|
|
8
|
+
description;
|
|
9
|
+
isActive;
|
|
10
|
+
};
|
|
11
|
+
__decorate([
|
|
12
|
+
Field(() => ID),
|
|
13
|
+
__metadata("design:type", String)
|
|
14
|
+
], LocationDto.prototype, "id", void 0);
|
|
15
|
+
__decorate([
|
|
16
|
+
Field(() => String),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], LocationDto.prototype, "key", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
Field(() => String),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], LocationDto.prototype, "description", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
Field(() => Boolean, { nullable: true }),
|
|
25
|
+
__metadata("design:type", Boolean)
|
|
26
|
+
], LocationDto.prototype, "isActive", void 0);
|
|
27
|
+
LocationDto = __decorate([
|
|
28
|
+
ObjectType()
|
|
29
|
+
], LocationDto);
|
|
30
|
+
let Locations = class Locations extends PaginatedResponse(LocationDto) {
|
|
31
|
+
};
|
|
32
|
+
Locations = __decorate([
|
|
33
|
+
ObjectType()
|
|
34
|
+
], Locations);
|
|
35
|
+
|
|
36
|
+
export { LocationDto, Locations };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class MaterialUnitDto {
|
|
2
|
+
id: string;
|
|
3
|
+
materialId: string;
|
|
4
|
+
unit: string;
|
|
5
|
+
conversionFactor: number;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
}
|
|
9
|
+
declare const MaterialUnits_base: new () => import("./pagination.dto").PaginatedType<MaterialUnitDto>;
|
|
10
|
+
export declare class MaterialUnits extends MaterialUnits_base {
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, Float, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let MaterialUnitDto = class MaterialUnitDto {
|
|
6
|
+
id;
|
|
7
|
+
materialId;
|
|
8
|
+
unit;
|
|
9
|
+
conversionFactor;
|
|
10
|
+
isActive;
|
|
11
|
+
createdAt;
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
Field(() => ID),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], MaterialUnitDto.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Field(() => ID),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], MaterialUnitDto.prototype, "materialId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Field(() => String),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], MaterialUnitDto.prototype, "unit", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Field(() => Float),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], MaterialUnitDto.prototype, "conversionFactor", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Field(() => Boolean),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], MaterialUnitDto.prototype, "isActive", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Field(() => Date),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], MaterialUnitDto.prototype, "createdAt", void 0);
|
|
37
|
+
MaterialUnitDto = __decorate([
|
|
38
|
+
ObjectType()
|
|
39
|
+
], MaterialUnitDto);
|
|
40
|
+
let MaterialUnits = class MaterialUnits extends PaginatedResponse(MaterialUnitDto) {
|
|
41
|
+
};
|
|
42
|
+
MaterialUnits = __decorate([
|
|
43
|
+
ObjectType()
|
|
44
|
+
], MaterialUnits);
|
|
45
|
+
|
|
46
|
+
export { MaterialUnitDto, MaterialUnits };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class MaterialDto {
|
|
2
|
+
id: string;
|
|
3
|
+
key: string;
|
|
4
|
+
description: string;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const Materials_base: new () => import("./pagination.dto").PaginatedType<MaterialDto>;
|
|
8
|
+
export declare class Materials extends Materials_base {
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
3
|
+
import { PaginatedResponse } from './pagination.dto.js';
|
|
4
|
+
|
|
5
|
+
let MaterialDto = class MaterialDto {
|
|
6
|
+
id;
|
|
7
|
+
key;
|
|
8
|
+
description;
|
|
9
|
+
isActive;
|
|
10
|
+
};
|
|
11
|
+
__decorate([
|
|
12
|
+
Field(() => ID),
|
|
13
|
+
__metadata("design:type", String)
|
|
14
|
+
], MaterialDto.prototype, "id", void 0);
|
|
15
|
+
__decorate([
|
|
16
|
+
Field(() => String),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], MaterialDto.prototype, "key", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
Field(() => String),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], MaterialDto.prototype, "description", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
Field(() => Boolean),
|
|
25
|
+
__metadata("design:type", Boolean)
|
|
26
|
+
], MaterialDto.prototype, "isActive", void 0);
|
|
27
|
+
MaterialDto = __decorate([
|
|
28
|
+
ObjectType()
|
|
29
|
+
], MaterialDto);
|
|
30
|
+
let Materials = class Materials extends PaginatedResponse(MaterialDto) {
|
|
31
|
+
};
|
|
32
|
+
Materials = __decorate([
|
|
33
|
+
ObjectType()
|
|
34
|
+
], Materials);
|
|
35
|
+
|
|
36
|
+
export { MaterialDto, Materials };
|