@pksep/zod-shared 0.0.553 → 0.0.554
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/planning/types/planning.d.ts +10 -0
- package/dist/production-tasks/interfaces/production-tasks.d.ts +3 -0
- package/dist/utils/tables-config/enum.d.ts +2 -1
- package/dist/utils/tables-config/enum.js +2 -0
- package/dist/utils/tables-config/tables-array.js +6 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -95,6 +95,9 @@ export type PlanningOrderDocument = {
|
|
|
95
95
|
entityName: string | null;
|
|
96
96
|
entityDesignation: string | null;
|
|
97
97
|
entityAvatar: string | null;
|
|
98
|
+
entityAttention: boolean;
|
|
99
|
+
entityDiscontinued: boolean;
|
|
100
|
+
entityDescription: string;
|
|
98
101
|
numberOrder: string | null;
|
|
99
102
|
orderDate: Date | string | null;
|
|
100
103
|
plannedShipmentDate: Date | string | null;
|
|
@@ -116,6 +119,10 @@ export type PlanningOrderAccordionNode = {
|
|
|
116
119
|
entityName: string | null;
|
|
117
120
|
entityDesignation: string | null;
|
|
118
121
|
entityAvatar: string | null;
|
|
122
|
+
entityAttention: boolean;
|
|
123
|
+
entityDiscontinued: boolean;
|
|
124
|
+
entityDescription: string;
|
|
125
|
+
isRelative: boolean;
|
|
119
126
|
parentId: number | null;
|
|
120
127
|
parentType: PlanningRecursiveGraphEntityType | null;
|
|
121
128
|
countToNeeds: number | null;
|
|
@@ -140,6 +147,9 @@ export type PlanningPeggingItem = {
|
|
|
140
147
|
name: string | null;
|
|
141
148
|
designation: string | null;
|
|
142
149
|
avatar: string | null;
|
|
150
|
+
attention: boolean;
|
|
151
|
+
discontinued: boolean;
|
|
152
|
+
description: string;
|
|
143
153
|
stock: number;
|
|
144
154
|
};
|
|
145
155
|
export type PlanningPeggingSpec = {
|
|
@@ -67,6 +67,7 @@ export interface IGetByOperation {
|
|
|
67
67
|
producitonTaskType: StockOrderType;
|
|
68
68
|
detalIdx: number;
|
|
69
69
|
planReadyTime: Date;
|
|
70
|
+
entityCalculatedCreateTime: Date | null;
|
|
70
71
|
startTime: Date | null;
|
|
71
72
|
metalloworkingId: number;
|
|
72
73
|
assembleId: number;
|
|
@@ -276,6 +277,7 @@ export interface IGetByEquipment {
|
|
|
276
277
|
operationQuantity: number;
|
|
277
278
|
entityType: IzdType;
|
|
278
279
|
planReadyTime: Date;
|
|
280
|
+
entityCalculatedCreateTime: Date | null;
|
|
279
281
|
operationPosType: StockOrderType;
|
|
280
282
|
productionTaskId: number;
|
|
281
283
|
productionTaskDueData: Date;
|
|
@@ -297,6 +299,7 @@ export interface IGetByUser {
|
|
|
297
299
|
deltaTime: number;
|
|
298
300
|
isHasIncorrectDate: boolean;
|
|
299
301
|
planReadyTime: Date;
|
|
302
|
+
entityCalculatedCreateTime: Date | null;
|
|
300
303
|
assembleTime: number;
|
|
301
304
|
createTimeMax: number;
|
|
302
305
|
metalloworkingTime: number;
|
|
@@ -43,5 +43,6 @@ export declare enum tablesEnumConfig {
|
|
|
43
43
|
readyInProcent = "readyInProcent",
|
|
44
44
|
readyToAssembleQuantity = "readyToAssembleQuantity",
|
|
45
45
|
deltaTime = "deltaTime",
|
|
46
|
-
childrenCalculateNeedsTime = "childrenCalculateNeedsTime"
|
|
46
|
+
childrenCalculateNeedsTime = "childrenCalculateNeedsTime",
|
|
47
|
+
entityCalculatedCreateTimeColumn = "entityCalculatedCreateTimeColumn"
|
|
47
48
|
}
|
|
@@ -88,4 +88,6 @@ var tablesEnumConfig;
|
|
|
88
88
|
tablesEnumConfig["deltaTime"] = "deltaTime";
|
|
89
89
|
// Готовность к комплектации
|
|
90
90
|
tablesEnumConfig["childrenCalculateNeedsTime"] = "childrenCalculateNeedsTime";
|
|
91
|
+
// Требуемя дата готовности сущности
|
|
92
|
+
tablesEnumConfig["entityCalculatedCreateTimeColumn"] = "entityCalculatedCreateTimeColumn";
|
|
91
93
|
})(tablesEnumConfig || (exports.tablesEnumConfig = tablesEnumConfig = {}));
|
|
@@ -31,6 +31,7 @@ exports.metalDeficitByAssembleTableConfig = [
|
|
|
31
31
|
enum_1.tablesEnumConfig.designation,
|
|
32
32
|
enum_1.tablesEnumConfig.name,
|
|
33
33
|
enum_1.tablesEnumConfig.startTime,
|
|
34
|
+
enum_1.tablesEnumConfig.childrenCalculateNeedsTime,
|
|
34
35
|
enum_1.tablesEnumConfig.calculatedCreateTime,
|
|
35
36
|
enum_1.tablesEnumConfig.calculateNeedsTime,
|
|
36
37
|
enum_1.tablesEnumConfig.deficitByProductionTask,
|
|
@@ -38,7 +39,6 @@ exports.metalDeficitByAssembleTableConfig = [
|
|
|
38
39
|
enum_1.tablesEnumConfig.ordered,
|
|
39
40
|
enum_1.tablesEnumConfig.startTimeDelay,
|
|
40
41
|
enum_1.tablesEnumConfig.productionDelay,
|
|
41
|
-
enum_1.tablesEnumConfig.childrenCalculateNeedsTime,
|
|
42
42
|
enum_1.tablesEnumConfig.operationsLength,
|
|
43
43
|
enum_1.tablesEnumConfig.operationList,
|
|
44
44
|
enum_1.tablesEnumConfig.totalTimePerItem,
|
|
@@ -56,6 +56,7 @@ exports.onlineBoardProductionTableConfig = [
|
|
|
56
56
|
enum_1.tablesEnumConfig.entityType,
|
|
57
57
|
enum_1.tablesEnumConfig.dateByUrgency,
|
|
58
58
|
enum_1.tablesEnumConfig.startTime,
|
|
59
|
+
enum_1.tablesEnumConfig.childrenCalculateNeedsTime,
|
|
59
60
|
enum_1.tablesEnumConfig.calculatedCreateTime,
|
|
60
61
|
enum_1.tablesEnumConfig.warehouseReadinessDate,
|
|
61
62
|
enum_1.tablesEnumConfig.calculateNeedsTime,
|
|
@@ -64,7 +65,6 @@ exports.onlineBoardProductionTableConfig = [
|
|
|
64
65
|
enum_1.tablesEnumConfig.ordered,
|
|
65
66
|
enum_1.tablesEnumConfig.startTimeDelay,
|
|
66
67
|
enum_1.tablesEnumConfig.productionDelay,
|
|
67
|
-
enum_1.tablesEnumConfig.childrenCalculateNeedsTime,
|
|
68
68
|
enum_1.tablesEnumConfig.readyToComplect,
|
|
69
69
|
enum_1.tablesEnumConfig.operationsLength,
|
|
70
70
|
enum_1.tablesEnumConfig.operationList,
|
|
@@ -82,13 +82,13 @@ exports.onlineBoardTableConfig = [
|
|
|
82
82
|
enum_1.tablesEnumConfig.entityType,
|
|
83
83
|
enum_1.tablesEnumConfig.dateByUrgency,
|
|
84
84
|
enum_1.tablesEnumConfig.startTime,
|
|
85
|
+
enum_1.tablesEnumConfig.childrenCalculateNeedsTime,
|
|
85
86
|
enum_1.tablesEnumConfig.calculatedCreateTime,
|
|
86
87
|
enum_1.tablesEnumConfig.calculateNeedsTime,
|
|
87
88
|
enum_1.tablesEnumConfig.deficitByProductionTask,
|
|
88
89
|
enum_1.tablesEnumConfig.ordered,
|
|
89
90
|
enum_1.tablesEnumConfig.startTimeDelay,
|
|
90
91
|
enum_1.tablesEnumConfig.productionDelay,
|
|
91
|
-
enum_1.tablesEnumConfig.childrenCalculateNeedsTime,
|
|
92
92
|
enum_1.tablesEnumConfig.readyToComplect,
|
|
93
93
|
enum_1.tablesEnumConfig.operationsLength,
|
|
94
94
|
enum_1.tablesEnumConfig.operationList,
|
|
@@ -128,6 +128,7 @@ exports.productionTaskByUserTableConfig = [
|
|
|
128
128
|
enum_1.tablesEnumConfig.designation,
|
|
129
129
|
enum_1.tablesEnumConfig.name,
|
|
130
130
|
enum_1.tablesEnumConfig.deficitChildCreateTime,
|
|
131
|
+
enum_1.tablesEnumConfig.entityCalculatedCreateTimeColumn,
|
|
131
132
|
enum_1.tablesEnumConfig.startTime,
|
|
132
133
|
enum_1.tablesEnumConfig.calculatedCreateTime,
|
|
133
134
|
enum_1.tablesEnumConfig.calculateNeedsTime,
|
|
@@ -157,6 +158,7 @@ exports.productionTaskByOperationTableConfig = [
|
|
|
157
158
|
enum_1.tablesEnumConfig.name,
|
|
158
159
|
enum_1.tablesEnumConfig.workpieceParameters,
|
|
159
160
|
enum_1.tablesEnumConfig.material,
|
|
161
|
+
enum_1.tablesEnumConfig.entityCalculatedCreateTimeColumn,
|
|
160
162
|
enum_1.tablesEnumConfig.startTime,
|
|
161
163
|
enum_1.tablesEnumConfig.calculatedCreateTime,
|
|
162
164
|
enum_1.tablesEnumConfig.calculateNeedsTime,
|
|
@@ -187,6 +189,7 @@ exports.productionTaskByEquipmentTableConfig = [
|
|
|
187
189
|
enum_1.tablesEnumConfig.name,
|
|
188
190
|
enum_1.tablesEnumConfig.workpieceParameters,
|
|
189
191
|
enum_1.tablesEnumConfig.material,
|
|
192
|
+
enum_1.tablesEnumConfig.entityCalculatedCreateTimeColumn,
|
|
190
193
|
enum_1.tablesEnumConfig.startTime,
|
|
191
194
|
enum_1.tablesEnumConfig.calculatedCreateTime,
|
|
192
195
|
enum_1.tablesEnumConfig.calculateNeedsTime,
|