shared-ritm 1.1.67 → 1.1.69
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/shared-ritm.es.js +73778 -54438
- package/dist/shared-ritm.umd.js +178 -168
- package/dist/types/api/services/TasksService.d.ts +1 -1
- package/dist/types/api/types/Api_Projects.d.ts +12 -8
- package/package.json +1 -1
- package/src/api/services/TasksService.ts +2 -2
- package/src/api/types/Api_Projects.ts +55 -51
|
@@ -20,7 +20,7 @@ declare class TasksService extends ApiService {
|
|
|
20
20
|
fetchEquipment(params: any): Promise<ResponseApi<Api_Equipment_Full_Dto[]>>;
|
|
21
21
|
fetchTaskVideoSources(params: any): Promise<ResponseApi<Api_Task_Video_Source[]>>;
|
|
22
22
|
fetchTaskVideoSourcesStream(params: any): Promise<ResponseApi<Api_Task_Video_Source_Stream[]>>;
|
|
23
|
-
createWorkZone(
|
|
23
|
+
createWorkZone(payload: any): Promise<unknown>;
|
|
24
24
|
createTask(payload: any): Promise<ResponseApi<any>>;
|
|
25
25
|
editTask(payload: any): Promise<ResponseApi<any>>;
|
|
26
26
|
mergeTask(payload: {
|
|
@@ -26,22 +26,26 @@ export type Api_Project_Status = {
|
|
|
26
26
|
name: string;
|
|
27
27
|
title: string;
|
|
28
28
|
description: string;
|
|
29
|
-
created_at: string;
|
|
30
|
-
updated_at: string;
|
|
31
|
-
deleted_at: string;
|
|
29
|
+
created_at: string | null;
|
|
30
|
+
updated_at: string | null;
|
|
31
|
+
deleted_at: string | null;
|
|
32
32
|
};
|
|
33
33
|
export type Api_Project_Dto = {
|
|
34
34
|
id: string;
|
|
35
35
|
name: string;
|
|
36
36
|
description: null;
|
|
37
37
|
image: null;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
plan_date: string | null;
|
|
39
|
+
deadline: string | null;
|
|
40
|
+
fact_start_date: string | null;
|
|
41
|
+
fact_end_date: string | null;
|
|
42
|
+
planned_start: string | null;
|
|
43
|
+
planned_end: string | null;
|
|
44
|
+
deleted_at: string | null;
|
|
45
|
+
total_tasks: number;
|
|
40
46
|
is_archive: boolean;
|
|
41
47
|
teams: Api_Project_Team[];
|
|
48
|
+
status: Api_Project_Status;
|
|
42
49
|
category: Api_Project_Category;
|
|
43
|
-
deleted_at: null;
|
|
44
50
|
repair: Api_Project_Repair | null;
|
|
45
|
-
total_tasks: number;
|
|
46
|
-
status: Api_Project_Status;
|
|
47
51
|
};
|
package/package.json
CHANGED
|
@@ -65,8 +65,8 @@ class TasksService extends ApiService {
|
|
|
65
65
|
return this.get('horizon/video-source', { params })
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
public createWorkZone(
|
|
69
|
-
return this.post('admin/work-zones',
|
|
68
|
+
public createWorkZone(payload: any): Promise<unknown> {
|
|
69
|
+
return this.post('admin/work-zones', payload)
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
public async createTask(payload: any): Promise<ResponseApi<any>> {
|
|
@@ -1,51 +1,55 @@
|
|
|
1
|
-
export type Api_Project_Repair = {
|
|
2
|
-
id: string
|
|
3
|
-
name: string
|
|
4
|
-
start_date: null | string
|
|
5
|
-
end_date: null | string
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export type Api_Project_Team = {
|
|
9
|
-
id: string
|
|
10
|
-
name: string
|
|
11
|
-
display_name: string
|
|
12
|
-
description: string
|
|
13
|
-
created_at: string
|
|
14
|
-
updated_at: string
|
|
15
|
-
pivot: {
|
|
16
|
-
project_id: string
|
|
17
|
-
team_id: string
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type Api_Project_Category = {
|
|
22
|
-
code: number
|
|
23
|
-
display_name: string
|
|
24
|
-
name: string
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type Api_Project_Status = {
|
|
28
|
-
id: string
|
|
29
|
-
name: string
|
|
30
|
-
title: string
|
|
31
|
-
description: string
|
|
32
|
-
created_at: string
|
|
33
|
-
updated_at: string
|
|
34
|
-
deleted_at: string
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type Api_Project_Dto = {
|
|
38
|
-
id: string
|
|
39
|
-
name: string
|
|
40
|
-
description: null
|
|
41
|
-
image: null
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
total_tasks: number
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
export type Api_Project_Repair = {
|
|
2
|
+
id: string
|
|
3
|
+
name: string
|
|
4
|
+
start_date: null | string
|
|
5
|
+
end_date: null | string
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export type Api_Project_Team = {
|
|
9
|
+
id: string
|
|
10
|
+
name: string
|
|
11
|
+
display_name: string
|
|
12
|
+
description: string
|
|
13
|
+
created_at: string
|
|
14
|
+
updated_at: string
|
|
15
|
+
pivot: {
|
|
16
|
+
project_id: string
|
|
17
|
+
team_id: string
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type Api_Project_Category = {
|
|
22
|
+
code: number
|
|
23
|
+
display_name: string
|
|
24
|
+
name: string
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type Api_Project_Status = {
|
|
28
|
+
id: string
|
|
29
|
+
name: string
|
|
30
|
+
title: string
|
|
31
|
+
description: string
|
|
32
|
+
created_at: string | null
|
|
33
|
+
updated_at: string | null
|
|
34
|
+
deleted_at: string | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type Api_Project_Dto = {
|
|
38
|
+
id: string
|
|
39
|
+
name: string
|
|
40
|
+
description: null
|
|
41
|
+
image: null
|
|
42
|
+
plan_date: string | null
|
|
43
|
+
deadline: string | null
|
|
44
|
+
fact_start_date: string | null
|
|
45
|
+
fact_end_date: string | null
|
|
46
|
+
planned_start: string | null
|
|
47
|
+
planned_end: string | null
|
|
48
|
+
deleted_at: string | null
|
|
49
|
+
total_tasks: number
|
|
50
|
+
is_archive: boolean
|
|
51
|
+
teams: Api_Project_Team[]
|
|
52
|
+
status: Api_Project_Status
|
|
53
|
+
category: Api_Project_Category
|
|
54
|
+
repair: Api_Project_Repair | null
|
|
55
|
+
}
|