@rowengine/common 1.0.89 → 1.0.91
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.
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { Center } from "./center";
|
|
2
2
|
import { Company } from "./company";
|
|
3
3
|
import { User } from "./user";
|
|
4
|
+
/**
|
|
5
|
+
* If the activity has no status, it means that it was approved.
|
|
6
|
+
* (Older versions of the project did not have this field).
|
|
7
|
+
*/
|
|
8
|
+
export interface ActivityFinalStatus {
|
|
9
|
+
/** Project still on process */
|
|
10
|
+
PROCESSING: "PROCESSING";
|
|
11
|
+
/** The provider rejected the entire project */
|
|
12
|
+
REJECTED: "REJECTED";
|
|
13
|
+
/** Provider full edited the project (charged 2x, accepted by prj owner) */
|
|
14
|
+
FULL_EDITED: "FULL_EDITED";
|
|
15
|
+
/** Provider fast edited the project. */
|
|
16
|
+
FAST_EDITED: "FAST_EDITED";
|
|
17
|
+
/** Provider aproved project without edit */
|
|
18
|
+
APPROVED: "APPROVED";
|
|
19
|
+
/** User project owner refused full edit and parcial result. */
|
|
20
|
+
EDIT_REFUSED: "EDIT_REFUSED";
|
|
21
|
+
/** User project owner accepted parcial result. */
|
|
22
|
+
PARTIAL_RESULT_ACCEPTED: "PARTIAL_RESULT_ACCEPTED";
|
|
23
|
+
}
|
|
4
24
|
export interface Activity {
|
|
5
25
|
id: string;
|
|
6
26
|
user: User;
|
|
@@ -10,6 +30,10 @@ export interface Activity {
|
|
|
10
30
|
name: string;
|
|
11
31
|
area: number;
|
|
12
32
|
center: Center;
|
|
33
|
+
/**
|
|
34
|
+
* The activity final status.
|
|
35
|
+
*/
|
|
36
|
+
finalStatus?: ActivityFinalStatus;
|
|
13
37
|
/**
|
|
14
38
|
* The percentage of good points on the points cloud.
|
|
15
39
|
*/
|