@clxmedia/types 1.0.70 → 1.0.71
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/core/tasks/index.d.ts +13 -11
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ export type PagedResult<T> = {
|
|
|
15
15
|
take: number;
|
|
16
16
|
skip: number;
|
|
17
17
|
};
|
|
18
|
-
export type
|
|
18
|
+
export type CLXTaskActionType = 'create' | 'assign' | 'comment' | 'start' | 'complete' | 'close' | 'verify';
|
|
19
19
|
export type CLXTaskTargetType = 'none' | 'snapshot' | 'access_request';
|
|
20
20
|
export type CLXTaskTargetNone = {
|
|
21
21
|
type: 'none';
|
|
@@ -45,15 +45,17 @@ export type CLXTask = {
|
|
|
45
45
|
};
|
|
46
46
|
target: CLXTaskTarget | CLXTaskTargetNone;
|
|
47
47
|
};
|
|
48
|
-
export type
|
|
49
|
-
|
|
48
|
+
export type CLXTaskHistoryEntry = {
|
|
49
|
+
id: number;
|
|
50
|
+
description: string;
|
|
51
|
+
created_at: Date;
|
|
52
|
+
deleted_at: Date | null;
|
|
53
|
+
action_type: CLXTaskActionType;
|
|
54
|
+
action_by_user: {
|
|
50
55
|
id: number;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
email: string;
|
|
57
|
-
};
|
|
58
|
-
}[];
|
|
56
|
+
email: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type CLXTaskWithHistory = CLXTask & {
|
|
60
|
+
history: CLXTaskHistoryEntry[];
|
|
59
61
|
};
|