@pastelarai/pastelarai-shared-types 1.0.121 → 1.0.127

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.
@@ -10,6 +10,10 @@ export interface ProductionDayByTM {
10
10
  shifts_list: ShiftList[];
11
11
  tasks_list: TaskProduction[];
12
12
  }
13
+ export interface ProductionDayByGroup {
14
+ assignees_list: IdNameAvatar[];
15
+ tasks_list: TaskProduction[];
16
+ }
13
17
  export interface DaySummary {
14
18
  ingredients_alerts: {
15
19
  warning: number;
@@ -21,6 +25,10 @@ export interface DaySummary {
21
25
  last_month: number;
22
26
  };
23
27
  team_schedule_day: TeamScheduleDay | null;
28
+ distributed_tasks_list: {
29
+ by_TM: WorkingProductionDayByTM | null;
30
+ by_group: WorkingProductionDayByGroup | null;
31
+ };
24
32
  production_day_content: ContentDayProd | null;
25
33
  sales_plan_day: SalesPlanDay | null;
26
34
  tasks_list_day: TaskProduction[] | null;
@@ -95,3 +103,12 @@ export interface ComputeCloseTheDayIn {
95
103
  tasks_list_day: TaskProduction[];
96
104
  team_schedule_day: TeamScheduleDay;
97
105
  }
106
+ export interface WorkingTaskProduction extends TaskProduction {
107
+ indexInTask?: number;
108
+ }
109
+ export interface WorkingProductionDayByTM extends Omit<ProductionDayByTM, 'tasks_list'> {
110
+ tasks_list: WorkingTaskProduction[];
111
+ }
112
+ export interface WorkingProductionDayByGroup extends Omit<ProductionDayByGroup, 'tasks_list'> {
113
+ tasks_list: WorkingTaskProduction[];
114
+ }
@@ -68,5 +68,5 @@ export interface EmployeesShift {
68
68
  shifts_list: ShiftList[];
69
69
  duration: number;
70
70
  labor_cost: number;
71
- exception?: TeamExceptions;
71
+ exception?: TeamExceptions[];
72
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pastelarai/pastelarai-shared-types",
3
- "version": "1.0.121",
3
+ "version": "1.0.127",
4
4
  "description": "Shared types for PastelarAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",