@pksep/zod-shared 0.0.505 → 0.0.507
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/dist/assemble/dto/assembly-paginate.dto.d.ts +8 -13
- package/dist/assemble/dto/assembly-paginate.dto.js +2 -4
- package/dist/assemble/dto/create-assemble-kit.dto.d.ts +2 -2
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +9 -9
- package/dist/assemble/dto/get-assemble-operation-pagination.dto.d.ts +8 -28
- package/dist/assemble/dto/get-assemble-operation-pagination.dto.js +2 -13
- package/dist/assemble/dto/get-assemble-pagination-sclad.dto.d.ts +7 -31
- package/dist/assemble/dto/get-assemble-pagination-sclad.dto.js +2 -15
- package/dist/assemble/dto/get-assemble-pagination.dto.d.ts +11 -28
- package/dist/assemble/dto/get-assemble-pagination.dto.js +3 -13
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +12 -12
- package/dist/assemble/schemas/assemble.schema.d.ts +6 -6
- package/dist/cbed/dto/up-create-cbed.dto.d.ts +2 -2
- package/dist/cbed/schemas/cbed.schema.d.ts +20 -14
- package/dist/cbed/schemas/cbed.schema.js +2 -0
- package/dist/company/dto/companies-pagination.dto.d.ts +4 -4
- package/dist/company/dto/create-company.dto.d.ts +2 -2
- package/dist/company/dto/update-company.dto.d.ts +2 -2
- package/dist/detal/dto/update-detal.dto.d.ts +2 -2
- package/dist/detal/schemas/detal-deficit.schema.d.ts +85 -277
- package/dist/detal/schemas/detal.schema.d.ts +92 -283
- package/dist/detal/schemas/detal.schema.js +2 -0
- package/dist/equipment/dto/create-equipment.dto.d.ts +3 -3
- package/dist/equipment/dto/create-equipment.dto.js +1 -1
- package/dist/equipment/dto/get-instruments-pagination.dto.d.ts +8 -5
- package/dist/equipment/dto/get-instruments-pagination.dto.js +6 -5
- package/dist/equipment/dto/update-equipment.dto.d.ts +3 -3
- package/dist/equipment/dto/update-equipment.dto.js +1 -1
- package/dist/issue/dto/up-create-issue.dto.d.ts +49 -0
- package/dist/issue/dto/up-create-issue.dto.js +21 -0
- package/dist/issue/index.d.ts +5 -0
- package/dist/issue/index.js +21 -0
- package/dist/issue/interfaces/interface.d.ts +4 -0
- package/dist/issue/interfaces/interface.js +2 -0
- package/dist/issue/schemas/issue-user-controller.schema.d.ts +15 -0
- package/dist/issue/schemas/issue-user-controller.schema.js +9 -0
- package/dist/issue/schemas/issue-user.schema.d.ts +15 -0
- package/dist/issue/schemas/issue-user.schema.js +9 -0
- package/dist/issue/schemas/issue.schema.d.ts +51 -0
- package/dist/issue/schemas/issue.schema.js +21 -0
- package/dist/library/dto/create-chapter.dto.d.ts +12 -0
- package/dist/library/dto/create-chapter.dto.js +8 -0
- package/dist/library/dto/create-link.dto.d.ts +30 -0
- package/dist/library/dto/create-link.dto.js +14 -0
- package/dist/library/index.d.ts +5 -0
- package/dist/library/index.js +21 -0
- package/dist/library/interfaces/interface.d.ts +3 -0
- package/dist/library/interfaces/interface.js +2 -0
- package/dist/library/schemas/links-user.schema.d.ts +15 -0
- package/dist/library/schemas/links-user.schema.js +9 -0
- package/dist/library/schemas/links.schema.d.ts +30 -0
- package/dist/library/schemas/links.schema.js +14 -0
- package/dist/material/schemas/material.schema.d.ts +2 -2
- package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.d.ts +8 -25
- package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.js +2 -6
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +7 -25
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.js +3 -9
- package/dist/movement-object/schemas/get-one-object-history.schema.d.ts +6 -27
- package/dist/movement-object/schemas/get-one-object-history.schema.js +1 -7
- package/dist/moving/schemas/moving.schema.d.ts +125 -111
- package/dist/operations/dto/create-type-operation.dto.d.ts +3 -0
- package/dist/operations/dto/create-type-operation.dto.js +1 -0
- package/dist/operations/dto/update-create-operation.dto.d.ts +3 -0
- package/dist/operations/dto/update-create-operation.dto.js +1 -0
- package/dist/operations/dto/update-type-operation.dto.d.ts +3 -0
- package/dist/operations/dto/update-type-operation.dto.js +1 -0
- package/dist/operations/index.d.ts +1 -0
- package/dist/operations/index.js +1 -0
- package/dist/operations/schemas/type-oper-equipment.schema.d.ts +15 -0
- package/dist/operations/schemas/type-oper-equipment.schema.js +9 -0
- package/dist/product/dto/up-create-product.dto.d.ts +5 -5
- package/dist/product/schemas/product-deficit.schema.d.ts +12 -12
- package/dist/product/schemas/product.schema.d.ts +12 -12
- package/dist/production-tasks/dto/get-by-users.dto.d.ts +3 -4
- package/dist/production-tasks/dto/get-by-users.dto.js +1 -2
- package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.d.ts +5 -2
- package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.js +1 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.d.ts +18 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.js +7 -0
- package/dist/production-tasks/dto/get-production-task-by-operation.dto.d.ts +40 -0
- package/dist/production-tasks/dto/get-production-task-by-operation.dto.js +19 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.d.ts +18 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.js +8 -1
- package/dist/production-tasks/dto/get-production-task.dto.d.ts +3 -4
- package/dist/production-tasks/dto/get-production-task.dto.js +1 -2
- package/dist/production-tasks/dto/get-taks-by-toperation.dto.d.ts +3 -0
- package/dist/production-tasks/dto/get-taks-by-toperation.dto.js +4 -0
- package/dist/production-tasks/dto/online-board-working.dto.d.ts +4 -4
- package/dist/production-tasks/dto/plan-production-task.dto.d.ts +10 -3
- package/dist/production-tasks/dto/plan-production-task.dto.js +5 -0
- package/dist/production-tasks/dto/set-start-time-detal.dto.d.ts +12 -0
- package/dist/production-tasks/dto/set-start-time-detal.dto.js +8 -0
- package/dist/production-tasks/dto/update-marks.dto.d.ts +13 -0
- package/dist/production-tasks/dto/update-marks.dto.js +8 -0
- package/dist/production-tasks/enums/production-tasks.d.ts +5 -1
- package/dist/production-tasks/enums/production-tasks.js +7 -2
- package/dist/production-tasks/index.d.ts +3 -1
- package/dist/production-tasks/index.js +3 -1
- package/dist/production-tasks/interfaces/production-tasks.d.ts +127 -1
- package/dist/production-tasks/methods/methods.d.ts +2 -0
- package/dist/production-tasks/methods/methods.js +36 -4
- package/dist/production-tasks/schemas/operation-positions.schema.d.ts +6 -0
- package/dist/production-tasks/schemas/operation-positions.schema.js +2 -0
- package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +0 -4
- package/dist/production-tasks/schemas/production-operation-pos.schema.js +0 -4
- package/dist/production-tasks/schemas/production-taks-start-time-detal.schema.d.ts +16 -0
- package/dist/production-tasks/schemas/production-taks-start-time-detal.schema.js +8 -0
- package/dist/production-tasks/schemas/production-task.schema.d.ts +3 -4
- package/dist/production-tasks/schemas/production-task.schema.js +1 -4
- package/dist/role/schemas/role.schema.d.ts +125 -111
- package/dist/sclad/schemas/remains.schema.d.ts +4 -4
- package/dist/shipments/dto/entity-filtering-by-shipment.dto.d.ts +3 -0
- package/dist/shipments/dto/entity-filtering-by-shipment.dto.js +1 -0
- package/dist/specification/schema/attributes.schema.d.ts +184 -462
- package/dist/tech-process/index.d.ts +1 -0
- package/dist/tech-process/index.js +1 -0
- package/dist/tech-process/schemas/tech-process-with-options.schema.d.ts +306 -0
- package/dist/tech-process/schemas/tech-process-with-options.schema.js +8 -0
- package/dist/tech-process/schemas/tech-process.schema.d.ts +8 -1
- package/dist/user/schemas/user.schema.d.ts +84 -74
- package/dist/utils/default-value/default-value.d.ts +7 -0
- package/dist/utils/default-value/default-value.js +11 -1
- package/dist/utils/interface/mat.interface.d.ts +10 -0
- package/dist/utils/interface/mat.interface.js +2 -0
- package/dist/utils/methods.d.ts +1 -1
- package/dist/utils/methods.js +2 -4
- package/dist/utils/operation.d.ts +1 -0
- package/dist/utils/operation.js +8 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ exports.UpdateTypeOperationSchema = zod_1.z.object({
|
|
|
12
12
|
square: zod_1.z.boolean(),
|
|
13
13
|
list: zod_1.z.boolean(),
|
|
14
14
|
users: zod_1.z.any().nullable().optional(),
|
|
15
|
+
equipmentIds: zod_1.z.array(zod_1.z.number()).nullish().default([]),
|
|
15
16
|
metaloworking: zod_1.z.boolean(),
|
|
16
17
|
assembly: zod_1.z.boolean(),
|
|
17
18
|
sclad: zod_1.z.boolean(),
|
package/dist/operations/index.js
CHANGED
|
@@ -26,3 +26,4 @@ __exportStar(require("./schemas/type-operation.schema"), exports);
|
|
|
26
26
|
__exportStar(require("./schemas/type_oper_user.schema"), exports);
|
|
27
27
|
__exportStar(require("./interfaces/interface"), exports);
|
|
28
28
|
__exportStar(require("./dto/check-name-unique.dto"), exports);
|
|
29
|
+
__exportStar(require("./schemas/type-oper-equipment.schema"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TypeOperEquipmentSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
t_oper_id: z.ZodNumber;
|
|
5
|
+
equipment_id: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
equipment_id: number;
|
|
8
|
+
t_oper_id: number;
|
|
9
|
+
id?: number | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
equipment_id: number;
|
|
12
|
+
t_oper_id: number;
|
|
13
|
+
id?: number | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type ModelTypeOperEquipment = z.infer<typeof TypeOperEquipmentSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TypeOperEquipmentSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.TypeOperEquipmentSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().int().optional(),
|
|
7
|
+
t_oper_id: zod_1.z.number().int(),
|
|
8
|
+
equipment_id: zod_1.z.number().int()
|
|
9
|
+
});
|
|
@@ -25,20 +25,20 @@ export declare const UpCreateProductDtoZod: z.ZodObject<{
|
|
|
25
25
|
description: string;
|
|
26
26
|
name: string;
|
|
27
27
|
materialList: EntityCommonSpecificationArray;
|
|
28
|
-
articl: string;
|
|
29
28
|
parametrs: productParametrsField;
|
|
30
29
|
characteristic: productCharacteristicField;
|
|
31
30
|
listPokDet: EntityCommonSpecificationArray;
|
|
32
|
-
listDetal: EntityCommonSpecificationArray;
|
|
33
31
|
listCbed: EntityCommonSpecificationArray;
|
|
32
|
+
listDetal: EntityCommonSpecificationArray;
|
|
33
|
+
articl: string;
|
|
34
34
|
responsible: string;
|
|
35
35
|
techProcessID: string;
|
|
36
36
|
id?: number | null | undefined;
|
|
37
37
|
docs?: any;
|
|
38
38
|
attention?: boolean | undefined;
|
|
39
39
|
fileBase?: any;
|
|
40
|
-
is_custom?: string | undefined;
|
|
41
40
|
discontinued?: boolean | undefined;
|
|
41
|
+
is_custom?: string | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
designation: string;
|
|
44
44
|
description: string;
|
|
@@ -54,9 +54,9 @@ export declare const UpCreateProductDtoZod: z.ZodObject<{
|
|
|
54
54
|
parametrs?: unknown;
|
|
55
55
|
characteristic?: unknown;
|
|
56
56
|
listPokDet?: unknown;
|
|
57
|
-
listDetal?: unknown;
|
|
58
57
|
listCbed?: unknown;
|
|
59
|
-
|
|
58
|
+
listDetal?: unknown;
|
|
60
59
|
discontinued?: unknown;
|
|
60
|
+
is_custom?: string | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
export type UpCreateProductDtoZodType = z.infer<typeof UpCreateProductDtoZod>;
|
|
@@ -187,23 +187,23 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
187
187
|
shipments_kolvo: number;
|
|
188
188
|
min_remaining: number;
|
|
189
189
|
responsibleId: number | null;
|
|
190
|
-
production_ordered: number;
|
|
191
|
-
shipments_deficit: number;
|
|
192
190
|
deficit: number;
|
|
193
|
-
|
|
191
|
+
shipments_deficit: number;
|
|
192
|
+
production_ordered: number;
|
|
194
193
|
ava_path: string | null;
|
|
195
194
|
parametrs: import("../..").CbedVariableField[];
|
|
196
195
|
characteristic: import("../..").CbedVariableField[];
|
|
196
|
+
in_kit: number;
|
|
197
197
|
listPokDet: import("../..").EntityCommonSpecificationArray;
|
|
198
|
-
listDetal: import("../..").EntityCommonSpecificationArray;
|
|
199
198
|
listCbed: import("../..").EntityCommonSpecificationArray;
|
|
200
|
-
|
|
199
|
+
listDetal: import("../..").EntityCommonSpecificationArray;
|
|
200
|
+
articl: string | null;
|
|
201
201
|
is_custom: boolean;
|
|
202
202
|
myQuantity: number;
|
|
203
203
|
id?: number | null | undefined;
|
|
204
|
+
production_time_metalloworking?: import("../..").ProductionTimeType | null | undefined;
|
|
204
205
|
discontinued?: boolean | undefined;
|
|
205
206
|
production_time_assemble?: import("../..").ProductionTimeType | null | undefined;
|
|
206
|
-
production_time_metalloworking?: import("../..").ProductionTimeType | null | undefined;
|
|
207
207
|
}, {
|
|
208
208
|
shipment: {
|
|
209
209
|
description: string;
|
|
@@ -242,11 +242,11 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
242
242
|
name: string;
|
|
243
243
|
materialList: import("../..").EntityCommonSpecificationArray;
|
|
244
244
|
responsibleId: number | null;
|
|
245
|
-
articl: string | null;
|
|
246
245
|
ava_path: string | null;
|
|
247
246
|
listPokDet: import("../..").EntityCommonSpecificationArray;
|
|
248
|
-
listDetal: import("../..").EntityCommonSpecificationArray;
|
|
249
247
|
listCbed: import("../..").EntityCommonSpecificationArray;
|
|
248
|
+
listDetal: import("../..").EntityCommonSpecificationArray;
|
|
249
|
+
articl: string | null;
|
|
250
250
|
myQuantity: number;
|
|
251
251
|
ban?: boolean | undefined;
|
|
252
252
|
id?: number | null | undefined;
|
|
@@ -254,15 +254,15 @@ export declare const ProductDeficitSchema: z.ZodObject<{
|
|
|
254
254
|
quantity?: number | undefined;
|
|
255
255
|
shipments_kolvo?: number | undefined;
|
|
256
256
|
min_remaining?: number | undefined;
|
|
257
|
-
production_ordered?: number | undefined;
|
|
258
|
-
shipments_deficit?: number | undefined;
|
|
259
257
|
deficit?: number | undefined;
|
|
258
|
+
shipments_deficit?: number | undefined;
|
|
259
|
+
production_ordered?: number | undefined;
|
|
260
|
+
production_time_metalloworking?: import("../..").ProductionTimeType | null | undefined;
|
|
260
261
|
parametrs?: import("../..").CbedVariableField[] | undefined;
|
|
261
262
|
characteristic?: import("../..").CbedVariableField[] | undefined;
|
|
262
263
|
in_kit?: number | undefined;
|
|
263
|
-
is_custom?: boolean | undefined;
|
|
264
264
|
discontinued?: boolean | undefined;
|
|
265
265
|
production_time_assemble?: import("../..").ProductionTimeType | null | undefined;
|
|
266
|
-
|
|
266
|
+
is_custom?: boolean | undefined;
|
|
267
267
|
}>;
|
|
268
268
|
export type ModelProductDeficit = z.infer<typeof ProductDeficitSchema>;
|
|
@@ -49,49 +49,49 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
49
49
|
shipments_kolvo: number;
|
|
50
50
|
min_remaining: number;
|
|
51
51
|
responsibleId: number | null;
|
|
52
|
-
production_ordered: number;
|
|
53
|
-
shipments_deficit: number;
|
|
54
52
|
deficit: number;
|
|
55
|
-
|
|
53
|
+
shipments_deficit: number;
|
|
54
|
+
production_ordered: number;
|
|
56
55
|
ava_path: string | null;
|
|
57
56
|
parametrs: CbedVariableField[];
|
|
58
57
|
characteristic: CbedVariableField[];
|
|
58
|
+
in_kit: number;
|
|
59
59
|
listPokDet: EntityCommonSpecificationArray;
|
|
60
|
-
listDetal: EntityCommonSpecificationArray;
|
|
61
60
|
listCbed: EntityCommonSpecificationArray;
|
|
62
|
-
|
|
61
|
+
listDetal: EntityCommonSpecificationArray;
|
|
62
|
+
articl: string | null;
|
|
63
63
|
is_custom: boolean;
|
|
64
64
|
id?: number | null | undefined;
|
|
65
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
65
66
|
discontinued?: boolean | undefined;
|
|
66
67
|
production_time_assemble?: ProductionTimeType | null | undefined;
|
|
67
|
-
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
designation: string | null;
|
|
70
70
|
description: string | null;
|
|
71
71
|
name: string;
|
|
72
72
|
materialList: EntityCommonSpecificationArray;
|
|
73
73
|
responsibleId: number | null;
|
|
74
|
-
articl: string | null;
|
|
75
74
|
ava_path: string | null;
|
|
76
75
|
listPokDet: EntityCommonSpecificationArray;
|
|
77
|
-
listDetal: EntityCommonSpecificationArray;
|
|
78
76
|
listCbed: EntityCommonSpecificationArray;
|
|
77
|
+
listDetal: EntityCommonSpecificationArray;
|
|
78
|
+
articl: string | null;
|
|
79
79
|
ban?: boolean | undefined;
|
|
80
80
|
id?: number | null | undefined;
|
|
81
81
|
attention?: boolean | undefined;
|
|
82
82
|
quantity?: number | undefined;
|
|
83
83
|
shipments_kolvo?: number | undefined;
|
|
84
84
|
min_remaining?: number | undefined;
|
|
85
|
-
production_ordered?: number | undefined;
|
|
86
|
-
shipments_deficit?: number | undefined;
|
|
87
85
|
deficit?: number | undefined;
|
|
86
|
+
shipments_deficit?: number | undefined;
|
|
87
|
+
production_ordered?: number | undefined;
|
|
88
|
+
production_time_metalloworking?: ProductionTimeType | null | undefined;
|
|
88
89
|
parametrs?: CbedVariableField[] | undefined;
|
|
89
90
|
characteristic?: CbedVariableField[] | undefined;
|
|
90
91
|
in_kit?: number | undefined;
|
|
91
|
-
is_custom?: boolean | undefined;
|
|
92
92
|
discontinued?: boolean | undefined;
|
|
93
93
|
production_time_assemble?: ProductionTimeType | null | undefined;
|
|
94
|
-
|
|
94
|
+
is_custom?: boolean | undefined;
|
|
95
95
|
}>;
|
|
96
96
|
export type ModelProduct = z.infer<typeof ProductSchema> & {
|
|
97
97
|
documents?: ModelDocuments[];
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { StatusProductionTaskEnum } from '../enums/production-tasks';
|
|
3
2
|
export declare const ProductionTaskByUsersDtoZod: z.ZodObject<{
|
|
4
3
|
page: z.ZodDefault<z.ZodNumber>;
|
|
5
|
-
|
|
4
|
+
isBan: z.ZodDefault<z.ZodBoolean>;
|
|
6
5
|
responsibleUserIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
7
6
|
}, "strip", z.ZodTypeAny, {
|
|
8
7
|
page: number;
|
|
9
8
|
responsibleUserIds: number[];
|
|
10
|
-
|
|
9
|
+
isBan: boolean;
|
|
11
10
|
}, {
|
|
12
|
-
status?: StatusProductionTaskEnum | undefined;
|
|
13
11
|
page?: number | undefined;
|
|
14
12
|
responsibleUserIds?: number[] | undefined;
|
|
13
|
+
isBan?: boolean | undefined;
|
|
15
14
|
}>;
|
|
16
15
|
export type ProductionTaskByUsersDtoZodType = z.infer<typeof ProductionTaskByUsersDtoZod>;
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProductionTaskByUsersDtoZod = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const production_tasks_1 = require("../enums/production-tasks");
|
|
6
5
|
exports.ProductionTaskByUsersDtoZod = zod_1.z.object({
|
|
7
6
|
page: zod_1.z.number().default(1),
|
|
8
|
-
|
|
7
|
+
isBan: zod_1.z.boolean().default(false),
|
|
9
8
|
responsibleUserIds: zod_1.z.array(zod_1.z.number()).optional().default([])
|
|
10
9
|
});
|
|
@@ -13,6 +13,7 @@ export declare const GetDeficitsDetalByProductionTaskDtoZod: z.ZodObject<{
|
|
|
13
13
|
start?: any;
|
|
14
14
|
end?: any;
|
|
15
15
|
}>>>;
|
|
16
|
+
isOnlyDetalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
16
17
|
assembleIds: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
17
18
|
employeIds: z.ZodDefault<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>>;
|
|
18
19
|
searchString: z.ZodOptional<z.ZodString>;
|
|
@@ -23,6 +24,7 @@ export declare const GetDeficitsDetalByProductionTaskDtoZod: z.ZodObject<{
|
|
|
23
24
|
typeOperationIds: number[] | null;
|
|
24
25
|
employeIds: number[] | null;
|
|
25
26
|
assembleIds: number[] | null;
|
|
27
|
+
isOnlyDetalId: boolean | null;
|
|
26
28
|
page?: number | null | undefined;
|
|
27
29
|
searchString?: string | undefined;
|
|
28
30
|
range?: {
|
|
@@ -39,11 +41,12 @@ export declare const GetDeficitsDetalByProductionTaskDtoZod: z.ZodObject<{
|
|
|
39
41
|
start?: any;
|
|
40
42
|
end?: any;
|
|
41
43
|
} | null | undefined;
|
|
42
|
-
typeOperationIds?: number[] | null | undefined;
|
|
43
|
-
employeIds?: number[] | null | undefined;
|
|
44
44
|
byParents?: IFiltersByParents | null | undefined;
|
|
45
45
|
byOrder?: IFiltersByByOrder | null | undefined;
|
|
46
|
+
typeOperationIds?: number[] | null | undefined;
|
|
47
|
+
employeIds?: number[] | null | undefined;
|
|
46
48
|
childrenByProductionTaskIds?: number[] | null | undefined;
|
|
47
49
|
assembleIds?: number[] | null | undefined;
|
|
50
|
+
isOnlyDetalId?: boolean | null | undefined;
|
|
48
51
|
}>;
|
|
49
52
|
export type GetDeficitsDetalByProductionTaskDtoZodType = z.infer<typeof GetDeficitsDetalByProductionTaskDtoZod>;
|
|
@@ -12,6 +12,7 @@ exports.GetDeficitsDetalByProductionTaskDtoZod = zod_1.z.object({
|
|
|
12
12
|
})
|
|
13
13
|
.nullable()
|
|
14
14
|
.optional(),
|
|
15
|
+
isOnlyDetalId: zod_1.z.boolean().nullish().default(false),
|
|
15
16
|
assembleIds: zod_1.z.array(zod_1.z.number()).nullish().default([]),
|
|
16
17
|
employeIds: zod_1.z.array(zod_1.z.number()).nullish().optional().default([]),
|
|
17
18
|
searchString: zod_1.z.string().optional(),
|
|
@@ -2,13 +2,31 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const GetProductionTaskByEquipmentDtoZod: z.ZodObject<{
|
|
3
3
|
equipmentId: z.ZodNumber;
|
|
4
4
|
taskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
+
range: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
|
+
start: z.ZodAny;
|
|
7
|
+
end: z.ZodAny;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
start?: any;
|
|
10
|
+
end?: any;
|
|
11
|
+
}, {
|
|
12
|
+
start?: any;
|
|
13
|
+
end?: any;
|
|
14
|
+
}>>>;
|
|
5
15
|
onlyTOperation: z.ZodOptional<z.ZodNumber>;
|
|
6
16
|
}, "strip", z.ZodTypeAny, {
|
|
7
17
|
equipmentId: number;
|
|
18
|
+
range?: {
|
|
19
|
+
start?: any;
|
|
20
|
+
end?: any;
|
|
21
|
+
} | null | undefined;
|
|
8
22
|
taskId?: number | null | undefined;
|
|
9
23
|
onlyTOperation?: number | undefined;
|
|
10
24
|
}, {
|
|
11
25
|
equipmentId: number;
|
|
26
|
+
range?: {
|
|
27
|
+
start?: any;
|
|
28
|
+
end?: any;
|
|
29
|
+
} | null | undefined;
|
|
12
30
|
taskId?: number | null | undefined;
|
|
13
31
|
onlyTOperation?: number | undefined;
|
|
14
32
|
}>;
|
|
@@ -5,5 +5,12 @@ const zod_1 = require("zod");
|
|
|
5
5
|
exports.GetProductionTaskByEquipmentDtoZod = zod_1.z.object({
|
|
6
6
|
equipmentId: zod_1.z.number().int(),
|
|
7
7
|
taskId: zod_1.z.number().int().nullish(),
|
|
8
|
+
range: zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
start: zod_1.z.any(),
|
|
11
|
+
end: zod_1.z.any()
|
|
12
|
+
})
|
|
13
|
+
.nullable()
|
|
14
|
+
.optional(),
|
|
8
15
|
onlyTOperation: zod_1.z.number().int().optional()
|
|
9
16
|
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { StockOrderType } from '../../utils';
|
|
3
|
+
export declare const GetProductionTaskByOperationDtoZod: z.ZodObject<{
|
|
4
|
+
operationTypeId: z.ZodNumber;
|
|
5
|
+
taskId: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
6
|
+
onlyTOperation: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
range: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8
|
+
start: z.ZodAny;
|
|
9
|
+
end: z.ZodAny;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
start?: any;
|
|
12
|
+
end?: any;
|
|
13
|
+
}, {
|
|
14
|
+
start?: any;
|
|
15
|
+
end?: any;
|
|
16
|
+
}>>>;
|
|
17
|
+
equipmentIds: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
18
|
+
productionOperationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof StockOrderType>>>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
equipmentIds: number[] | null;
|
|
21
|
+
operationTypeId: number;
|
|
22
|
+
range?: {
|
|
23
|
+
start?: any;
|
|
24
|
+
end?: any;
|
|
25
|
+
} | null | undefined;
|
|
26
|
+
taskId?: number | null | undefined;
|
|
27
|
+
onlyTOperation?: number | undefined;
|
|
28
|
+
productionOperationType?: StockOrderType | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
operationTypeId: number;
|
|
31
|
+
equipmentIds?: number[] | null | undefined;
|
|
32
|
+
range?: {
|
|
33
|
+
start?: any;
|
|
34
|
+
end?: any;
|
|
35
|
+
} | null | undefined;
|
|
36
|
+
taskId?: number | null | undefined;
|
|
37
|
+
onlyTOperation?: number | undefined;
|
|
38
|
+
productionOperationType?: StockOrderType | null | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
export type GetProductionTaskByOperationDtoZodType = z.infer<typeof GetProductionTaskByOperationDtoZod>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetProductionTaskByOperationDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const utils_1 = require("../../utils");
|
|
6
|
+
exports.GetProductionTaskByOperationDtoZod = zod_1.z.object({
|
|
7
|
+
operationTypeId: zod_1.z.number().int(),
|
|
8
|
+
taskId: zod_1.z.number().int().nullable().default(null).optional(),
|
|
9
|
+
onlyTOperation: zod_1.z.number().int().optional(),
|
|
10
|
+
range: zod_1.z
|
|
11
|
+
.object({
|
|
12
|
+
start: zod_1.z.any(),
|
|
13
|
+
end: zod_1.z.any()
|
|
14
|
+
})
|
|
15
|
+
.nullable()
|
|
16
|
+
.optional(),
|
|
17
|
+
equipmentIds: zod_1.z.array(zod_1.z.number()).nullish().default([]),
|
|
18
|
+
productionOperationType: zod_1.z.nativeEnum(utils_1.StockOrderType).nullish()
|
|
19
|
+
});
|
|
@@ -3,12 +3,30 @@ export declare const GetProductionTaskByUserDtoZod: z.ZodObject<{
|
|
|
3
3
|
userId: z.ZodNumber;
|
|
4
4
|
taskId: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
5
5
|
onlyTOperation: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
range: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7
|
+
start: z.ZodAny;
|
|
8
|
+
end: z.ZodAny;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
start?: any;
|
|
11
|
+
end?: any;
|
|
12
|
+
}, {
|
|
13
|
+
start?: any;
|
|
14
|
+
end?: any;
|
|
15
|
+
}>>>;
|
|
6
16
|
}, "strip", z.ZodTypeAny, {
|
|
7
17
|
userId: number;
|
|
18
|
+
range?: {
|
|
19
|
+
start?: any;
|
|
20
|
+
end?: any;
|
|
21
|
+
} | null | undefined;
|
|
8
22
|
taskId?: number | null | undefined;
|
|
9
23
|
onlyTOperation?: number | undefined;
|
|
10
24
|
}, {
|
|
11
25
|
userId: number;
|
|
26
|
+
range?: {
|
|
27
|
+
start?: any;
|
|
28
|
+
end?: any;
|
|
29
|
+
} | null | undefined;
|
|
12
30
|
taskId?: number | null | undefined;
|
|
13
31
|
onlyTOperation?: number | undefined;
|
|
14
32
|
}>;
|
|
@@ -5,5 +5,12 @@ const zod_1 = require("zod");
|
|
|
5
5
|
exports.GetProductionTaskByUserDtoZod = zod_1.z.object({
|
|
6
6
|
userId: zod_1.z.number().int(),
|
|
7
7
|
taskId: zod_1.z.number().int().nullable().default(null).optional(),
|
|
8
|
-
onlyTOperation: zod_1.z.number().int().optional()
|
|
8
|
+
onlyTOperation: zod_1.z.number().int().optional(),
|
|
9
|
+
range: zod_1.z
|
|
10
|
+
.object({
|
|
11
|
+
start: zod_1.z.any(),
|
|
12
|
+
end: zod_1.z.any()
|
|
13
|
+
})
|
|
14
|
+
.nullable()
|
|
15
|
+
.optional()
|
|
9
16
|
});
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { StatusProductionTaskEnum } from '../enums/production-tasks';
|
|
3
2
|
import { StockOrderType } from '../../utils';
|
|
4
3
|
export declare const GetProductionTaskDtoZod: z.ZodObject<{
|
|
5
4
|
page: z.ZodDefault<z.ZodNumber>;
|
|
6
|
-
|
|
5
|
+
isBan: z.ZodDefault<z.ZodBoolean>;
|
|
7
6
|
responsibleUserIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
8
7
|
responsibleEquipmentIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
9
8
|
productionOperationType: z.ZodOptional<z.ZodNativeEnum<typeof StockOrderType>>;
|
|
@@ -11,14 +10,14 @@ export declare const GetProductionTaskDtoZod: z.ZodObject<{
|
|
|
11
10
|
}, "strip", z.ZodTypeAny, {
|
|
12
11
|
page: number;
|
|
13
12
|
responsibleUserIds: number[];
|
|
13
|
+
isBan: boolean;
|
|
14
14
|
responsibleEquipmentIds: number[];
|
|
15
|
-
status?: StatusProductionTaskEnum | null | undefined;
|
|
16
15
|
productionOperationType?: StockOrderType | undefined;
|
|
17
16
|
searchValue?: string | undefined;
|
|
18
17
|
}, {
|
|
19
|
-
status?: StatusProductionTaskEnum | null | undefined;
|
|
20
18
|
page?: number | undefined;
|
|
21
19
|
responsibleUserIds?: number[] | undefined;
|
|
20
|
+
isBan?: boolean | undefined;
|
|
22
21
|
responsibleEquipmentIds?: number[] | undefined;
|
|
23
22
|
productionOperationType?: StockOrderType | undefined;
|
|
24
23
|
searchValue?: string | undefined;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetProductionTaskDtoZod = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const production_tasks_1 = require("../enums/production-tasks");
|
|
6
5
|
const utils_1 = require("../../utils");
|
|
7
6
|
exports.GetProductionTaskDtoZod = zod_1.z.object({
|
|
8
7
|
page: zod_1.z.number().default(1),
|
|
9
|
-
|
|
8
|
+
isBan: zod_1.z.boolean().default(false),
|
|
10
9
|
responsibleUserIds: zod_1.z.array(zod_1.z.number()).optional().default([]),
|
|
11
10
|
responsibleEquipmentIds: zod_1.z.array(zod_1.z.number()).optional().default([]),
|
|
12
11
|
productionOperationType: zod_1.z.nativeEnum(utils_1.StockOrderType).optional(),
|
|
@@ -3,14 +3,17 @@ import { StockOrderType } from '../../utils';
|
|
|
3
3
|
export declare const ProductionTaskByTypeOperationDtoZod: z.ZodObject<{
|
|
4
4
|
productionTaskIds: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>, number[], number[] | undefined>;
|
|
5
5
|
productionOperationType: z.ZodNativeEnum<typeof StockOrderType>;
|
|
6
|
+
equipmentIds: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>, number[], number[] | undefined>;
|
|
6
7
|
tOperationId: z.ZodNumber;
|
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
equipmentIds: number[];
|
|
8
10
|
tOperationId: number;
|
|
9
11
|
productionOperationType: StockOrderType;
|
|
10
12
|
productionTaskIds: number[];
|
|
11
13
|
}, {
|
|
12
14
|
tOperationId: number;
|
|
13
15
|
productionOperationType: StockOrderType;
|
|
16
|
+
equipmentIds?: number[] | undefined;
|
|
14
17
|
productionTaskIds?: number[] | undefined;
|
|
15
18
|
}>;
|
|
16
19
|
export type ProductionTaskByTypeOperationDtoZodType = z.infer<typeof ProductionTaskByTypeOperationDtoZod>;
|
|
@@ -9,5 +9,9 @@ exports.ProductionTaskByTypeOperationDtoZod = zod_1.z.object({
|
|
|
9
9
|
.optional()
|
|
10
10
|
.transform(val => val !== null && val !== void 0 ? val : []),
|
|
11
11
|
productionOperationType: zod_1.z.nativeEnum(utils_1.StockOrderType),
|
|
12
|
+
equipmentIds: zod_1.z
|
|
13
|
+
.array(zod_1.z.number().int())
|
|
14
|
+
.optional()
|
|
15
|
+
.transform(val => val !== null && val !== void 0 ? val : []),
|
|
12
16
|
tOperationId: zod_1.z.number().int()
|
|
13
17
|
});
|
|
@@ -33,10 +33,10 @@ export declare const OnlineBoardWorkingDtoZod: z.ZodObject<{
|
|
|
33
33
|
start?: any;
|
|
34
34
|
end?: any;
|
|
35
35
|
} | null | undefined;
|
|
36
|
-
typeOperationIds?: number[] | null | undefined;
|
|
37
|
-
searchStr?: string | undefined;
|
|
38
36
|
byParents?: IFiltersByParents | null | undefined;
|
|
39
37
|
byOrder?: IFiltersByByOrder | null | undefined;
|
|
38
|
+
typeOperationIds?: number[] | null | undefined;
|
|
39
|
+
searchStr?: string | undefined;
|
|
40
40
|
userByProductioinTask?: IFiltersByUserProductionTask | null | undefined;
|
|
41
41
|
childrenByProductionTaskIds?: number[] | null | undefined;
|
|
42
42
|
}, {
|
|
@@ -46,11 +46,11 @@ export declare const OnlineBoardWorkingDtoZod: z.ZodObject<{
|
|
|
46
46
|
start?: any;
|
|
47
47
|
end?: any;
|
|
48
48
|
} | null | undefined;
|
|
49
|
+
byParents?: IFiltersByParents | null | undefined;
|
|
50
|
+
byOrder?: IFiltersByByOrder | null | undefined;
|
|
49
51
|
typeOperationIds?: number[] | null | undefined;
|
|
50
52
|
employeIds?: number[] | null | undefined;
|
|
51
53
|
searchStr?: string | undefined;
|
|
52
|
-
byParents?: IFiltersByParents | null | undefined;
|
|
53
|
-
byOrder?: IFiltersByByOrder | null | undefined;
|
|
54
54
|
userByProductioinTask?: IFiltersByUserProductionTask | null | undefined;
|
|
55
55
|
childrenByProductionTaskIds?: number[] | null | undefined;
|
|
56
56
|
isComplect?: boolean | undefined;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { SortReadinesEnum, StockOrderType } from '../../utils';
|
|
3
3
|
import { IFiltersByByOrder, IFiltersByParents } from '../interfaces/online-board';
|
|
4
|
+
import { ProductionTaskDeficitFilterEnum } from '../enums/production-tasks';
|
|
4
5
|
export declare const PlanForProductionTaskDtoZod: z.ZodObject<{
|
|
5
6
|
workingType: z.ZodNativeEnum<typeof StockOrderType>;
|
|
6
7
|
byParents: z.ZodOptional<z.ZodNullable<z.ZodType<IFiltersByParents, z.ZodTypeDef, IFiltersByParents>>>;
|
|
7
8
|
byOrder: z.ZodOptional<z.ZodNullable<z.ZodType<IFiltersByByOrder, z.ZodTypeDef, IFiltersByByOrder>>>;
|
|
9
|
+
assembleIds: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
8
10
|
onlyDeficit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11
|
+
deficitFilteringType: z.ZodDefault<z.ZodNativeEnum<typeof ProductionTaskDeficitFilterEnum>>;
|
|
9
12
|
searchStr: z.ZodOptional<z.ZodString>;
|
|
10
13
|
typeOperationIds: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>, number[] | undefined, unknown>, number[], unknown>;
|
|
11
14
|
childrenByProductionTaskIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -26,16 +29,18 @@ export declare const PlanForProductionTaskDtoZod: z.ZodObject<{
|
|
|
26
29
|
page: number;
|
|
27
30
|
workingType: StockOrderType;
|
|
28
31
|
typeOperationIds: number[];
|
|
32
|
+
assembleIds: number[] | null;
|
|
29
33
|
onlyDeficit: boolean;
|
|
34
|
+
deficitFilteringType: ProductionTaskDeficitFilterEnum;
|
|
30
35
|
excludeIds: number[];
|
|
31
36
|
sortReadiness: SortReadinesEnum;
|
|
32
37
|
range?: {
|
|
33
38
|
start: string | null;
|
|
34
39
|
end: string | null;
|
|
35
40
|
} | null | undefined;
|
|
36
|
-
searchStr?: string | undefined;
|
|
37
41
|
byParents?: IFiltersByParents | null | undefined;
|
|
38
42
|
byOrder?: IFiltersByByOrder | null | undefined;
|
|
43
|
+
searchStr?: string | undefined;
|
|
39
44
|
childrenByProductionTaskIds?: number[] | null | undefined;
|
|
40
45
|
}, {
|
|
41
46
|
page: number;
|
|
@@ -44,12 +49,14 @@ export declare const PlanForProductionTaskDtoZod: z.ZodObject<{
|
|
|
44
49
|
start: string | null;
|
|
45
50
|
end: string | null;
|
|
46
51
|
} | null | undefined;
|
|
47
|
-
typeOperationIds?: unknown;
|
|
48
|
-
searchStr?: string | undefined;
|
|
49
52
|
byParents?: IFiltersByParents | null | undefined;
|
|
50
53
|
byOrder?: IFiltersByByOrder | null | undefined;
|
|
54
|
+
typeOperationIds?: unknown;
|
|
55
|
+
searchStr?: string | undefined;
|
|
51
56
|
childrenByProductionTaskIds?: number[] | null | undefined;
|
|
57
|
+
assembleIds?: number[] | null | undefined;
|
|
52
58
|
onlyDeficit?: boolean | undefined;
|
|
59
|
+
deficitFilteringType?: ProductionTaskDeficitFilterEnum | undefined;
|
|
53
60
|
excludeIds?: number[] | undefined;
|
|
54
61
|
sortReadiness?: SortReadinesEnum | undefined;
|
|
55
62
|
}>;
|
|
@@ -3,11 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PlanForProductionTaskDtoZod = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
|
+
const production_tasks_1 = require("../enums/production-tasks");
|
|
6
7
|
exports.PlanForProductionTaskDtoZod = zod_1.z.object({
|
|
7
8
|
workingType: zod_1.z.nativeEnum(utils_1.StockOrderType),
|
|
8
9
|
byParents: zod_1.z.custom().nullable().optional(),
|
|
9
10
|
byOrder: zod_1.z.custom().nullable().optional(),
|
|
11
|
+
assembleIds: zod_1.z.array(zod_1.z.number()).nullish().default([]),
|
|
10
12
|
onlyDeficit: zod_1.z.boolean().optional().default(false),
|
|
13
|
+
deficitFilteringType: zod_1.z
|
|
14
|
+
.nativeEnum(production_tasks_1.ProductionTaskDeficitFilterEnum)
|
|
15
|
+
.default(production_tasks_1.ProductionTaskDeficitFilterEnum.all),
|
|
11
16
|
searchStr: zod_1.z.string().optional(),
|
|
12
17
|
typeOperationIds: zod_1.z
|
|
13
18
|
.preprocess(value => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SetStartDetalTimeDtoZod: z.ZodObject<{
|
|
3
|
+
equipmentId: z.ZodNumber;
|
|
4
|
+
time: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
equipmentId: number;
|
|
7
|
+
time: string;
|
|
8
|
+
}, {
|
|
9
|
+
equipmentId: number;
|
|
10
|
+
time: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type SetStartDetalTimeDtoZodType = z.infer<typeof SetStartDetalTimeDtoZod>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetStartDetalTimeDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SetStartDetalTimeDtoZod = zod_1.z.object({
|
|
6
|
+
equipmentId: zod_1.z.number(),
|
|
7
|
+
time: zod_1.z.string()
|
|
8
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { IOperationPosition } from '../interfaces/production-tasks';
|
|
3
|
+
export declare const UpdateProductionTaskMarksDtoZod: z.ZodObject<{
|
|
4
|
+
operationPosition: z.ZodOptional<z.ZodNullable<z.ZodType<IOperationPosition, z.ZodTypeDef, IOperationPosition>>>;
|
|
5
|
+
productionTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
operationPosition?: IOperationPosition | null | undefined;
|
|
8
|
+
productionTaskId?: number | null | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
operationPosition?: IOperationPosition | null | undefined;
|
|
11
|
+
productionTaskId?: number | null | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export type UpdateProductionTaskMarksDtoZodType = z.infer<typeof UpdateProductionTaskMarksDtoZod>;
|