@automateinc/fleet-types 1.0.88-dev.6a3a539 → 1.0.88-dev.c7298c7
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/types/index.d.ts +11 -0
- package/dist/types/request-category.d.ts +0 -1
- package/dist/types/structured-content.d.ts +1 -1
- package/dist/types/todo-activity.d.ts +33 -0
- package/dist/types/todo-comment.d.ts +25 -0
- package/dist/types/todo-custom-field.d.ts +39 -0
- package/dist/types/todo-document.d.ts +11 -0
- package/dist/types/todo-folder.d.ts +66 -0
- package/dist/types/todo-list.d.ts +16 -0
- package/dist/types/todo-space.d.ts +31 -0
- package/dist/types/todo-status.d.ts +19 -0
- package/dist/types/todo-tag.d.ts +13 -0
- package/dist/types/todo-view.d.ts +87 -0
- package/dist/types/todo.d.ts +97 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -205,6 +205,17 @@ export * from "./vehicle-make";
|
|
|
205
205
|
export * from "./vehicle-model";
|
|
206
206
|
export * from "./vehicle-registration";
|
|
207
207
|
export * from "./vehicle-status";
|
|
208
|
+
export * from "./todo";
|
|
209
|
+
export * from "./todo-activity";
|
|
210
|
+
export * from "./todo-comment";
|
|
211
|
+
export * from "./todo-custom-field";
|
|
212
|
+
export * from "./todo-document";
|
|
213
|
+
export * from "./todo-folder";
|
|
214
|
+
export * from "./todo-list";
|
|
215
|
+
export * from "./todo-space";
|
|
216
|
+
export * from "./todo-status";
|
|
217
|
+
export * from "./todo-tag";
|
|
218
|
+
export * from "./todo-view";
|
|
208
219
|
export * from "./vendor";
|
|
209
220
|
export * from "./vendor-contact";
|
|
210
221
|
export * from "./zone";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface ITodoActivity {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
|
|
5
|
+
todoId: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
|
|
8
|
+
action: TodoActivityAction;
|
|
9
|
+
|
|
10
|
+
changes?: any;
|
|
11
|
+
|
|
12
|
+
metadata?: any;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type TodoActivityAction =
|
|
16
|
+
| "CREATED"
|
|
17
|
+
| "UPDATED"
|
|
18
|
+
| "STATUS_CHANGED"
|
|
19
|
+
| "PRIORITY_CHANGED"
|
|
20
|
+
| "ASSIGNED"
|
|
21
|
+
| "UNASSIGNED"
|
|
22
|
+
| "COMMENTED"
|
|
23
|
+
| "DOCUMENT_ADDED"
|
|
24
|
+
| "DOCUMENT_REMOVED"
|
|
25
|
+
| "DEPENDENCY_ADDED"
|
|
26
|
+
| "DEPENDENCY_REMOVED"
|
|
27
|
+
| "TAG_ADDED"
|
|
28
|
+
| "TAG_REMOVED"
|
|
29
|
+
| "WATCHING"
|
|
30
|
+
| "UNWATCHING"
|
|
31
|
+
| "MOVED"
|
|
32
|
+
| "ARCHIVED"
|
|
33
|
+
| "RESTORED";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface ITodoComment {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
body: string;
|
|
8
|
+
|
|
9
|
+
todoId: string;
|
|
10
|
+
userId: string;
|
|
11
|
+
|
|
12
|
+
parentId?: string;
|
|
13
|
+
|
|
14
|
+
metadata?: any;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ITodoCommentReaction {
|
|
18
|
+
id: string;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
|
|
21
|
+
commentId: string;
|
|
22
|
+
userId: string;
|
|
23
|
+
|
|
24
|
+
emoji: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface ITodoCustomField {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
name: string;
|
|
8
|
+
type: TodoCustomFieldType;
|
|
9
|
+
|
|
10
|
+
spaceId: string;
|
|
11
|
+
|
|
12
|
+
options?: ITodoCustomFieldOption[];
|
|
13
|
+
defaultValue?: any;
|
|
14
|
+
|
|
15
|
+
sortOrder: number;
|
|
16
|
+
required: boolean;
|
|
17
|
+
|
|
18
|
+
metadata?: any;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface ITodoCustomFieldOption {
|
|
22
|
+
label: string;
|
|
23
|
+
color?: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type TodoCustomFieldType =
|
|
28
|
+
| "TEXT"
|
|
29
|
+
| "NUMBER"
|
|
30
|
+
| "DATE"
|
|
31
|
+
| "DROPDOWN"
|
|
32
|
+
| "MULTI_DROPDOWN"
|
|
33
|
+
| "CHECKBOX"
|
|
34
|
+
| "EMAIL"
|
|
35
|
+
| "PHONE"
|
|
36
|
+
| "URL"
|
|
37
|
+
| "CURRENCY"
|
|
38
|
+
| "RATING"
|
|
39
|
+
| "PROGRESS";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export interface ITodoFolder {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
name: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
|
|
11
|
+
spaceId: string;
|
|
12
|
+
|
|
13
|
+
sortOrder: number;
|
|
14
|
+
|
|
15
|
+
metadata?: any;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ITodoDoc {
|
|
19
|
+
id: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt?: string;
|
|
22
|
+
deletedAt?: string;
|
|
23
|
+
|
|
24
|
+
title: string;
|
|
25
|
+
content?: any;
|
|
26
|
+
|
|
27
|
+
spaceId: string;
|
|
28
|
+
folderId?: string;
|
|
29
|
+
|
|
30
|
+
createdById: string;
|
|
31
|
+
|
|
32
|
+
sortOrder: number;
|
|
33
|
+
|
|
34
|
+
metadata?: any;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ITodoChecklist {
|
|
38
|
+
id: string;
|
|
39
|
+
createdAt: string;
|
|
40
|
+
updatedAt?: string;
|
|
41
|
+
|
|
42
|
+
name: string;
|
|
43
|
+
|
|
44
|
+
todoId: string;
|
|
45
|
+
|
|
46
|
+
sortOrder: number;
|
|
47
|
+
|
|
48
|
+
items?: ITodoChecklistItem[];
|
|
49
|
+
|
|
50
|
+
metadata?: any;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface ITodoChecklistItem {
|
|
54
|
+
id: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt?: string;
|
|
57
|
+
|
|
58
|
+
text: string;
|
|
59
|
+
isChecked: boolean;
|
|
60
|
+
|
|
61
|
+
checklistId: string;
|
|
62
|
+
|
|
63
|
+
sortOrder: number;
|
|
64
|
+
|
|
65
|
+
metadata?: any;
|
|
66
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface ITodoSpace {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
name: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
|
|
11
|
+
regionId: string;
|
|
12
|
+
|
|
13
|
+
sortOrder: number;
|
|
14
|
+
|
|
15
|
+
metadata?: any;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ITodoSpaceMember {
|
|
19
|
+
id: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt?: string;
|
|
22
|
+
|
|
23
|
+
spaceId: string;
|
|
24
|
+
userId: string;
|
|
25
|
+
|
|
26
|
+
role: TodoSpaceMemberRole;
|
|
27
|
+
|
|
28
|
+
metadata?: any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type TodoSpaceMemberRole = "OWNER" | "ADMIN" | "MEMBER" | "VIEWER";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ITodoStatus {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
name: string;
|
|
8
|
+
color: string;
|
|
9
|
+
type: TodoStatusType;
|
|
10
|
+
|
|
11
|
+
spaceId: string;
|
|
12
|
+
|
|
13
|
+
sortOrder: number;
|
|
14
|
+
isDefault: boolean;
|
|
15
|
+
|
|
16
|
+
metadata?: any;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type TodoStatusType = "OPEN" | "IN_PROGRESS" | "DONE" | "CLOSED" | "CUSTOM";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export interface ITodoView {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
name: string;
|
|
8
|
+
type: TodoViewType;
|
|
9
|
+
|
|
10
|
+
spaceId: string;
|
|
11
|
+
listId?: string;
|
|
12
|
+
|
|
13
|
+
createdById: string;
|
|
14
|
+
|
|
15
|
+
isShared: boolean;
|
|
16
|
+
isDefault: boolean;
|
|
17
|
+
|
|
18
|
+
filters?: any;
|
|
19
|
+
sortConfig?: any;
|
|
20
|
+
groupBy?: string;
|
|
21
|
+
columnConfig?: any;
|
|
22
|
+
viewConfig?: any;
|
|
23
|
+
|
|
24
|
+
sortOrder: number;
|
|
25
|
+
|
|
26
|
+
metadata?: any;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type TodoViewType = "LIST" | "BOARD" | "GANTT" | "TIMELINE" | "TABLE" | "CALENDAR";
|
|
30
|
+
|
|
31
|
+
export interface ITodoDashboard {
|
|
32
|
+
id: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
updatedAt?: string;
|
|
35
|
+
|
|
36
|
+
spaceId: string;
|
|
37
|
+
listId?: string;
|
|
38
|
+
|
|
39
|
+
config: any;
|
|
40
|
+
|
|
41
|
+
widgets?: ITodoDashboardWidget[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface ITodoDashboardWidget {
|
|
45
|
+
id: string;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt?: string;
|
|
48
|
+
|
|
49
|
+
dashboardId: string;
|
|
50
|
+
type: TodoDashboardWidgetType;
|
|
51
|
+
config: any;
|
|
52
|
+
|
|
53
|
+
x: number;
|
|
54
|
+
y: number;
|
|
55
|
+
w: number;
|
|
56
|
+
h: number;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type TodoDashboardWidgetType =
|
|
60
|
+
| "STATUS_BREAKDOWN"
|
|
61
|
+
| "PRIORITY_BREAKDOWN"
|
|
62
|
+
| "ASSIGNEE_WORKLOAD"
|
|
63
|
+
| "DUE_DATE_CALENDAR"
|
|
64
|
+
| "RECENT_ACTIVITY"
|
|
65
|
+
| "COMPLETION_TREND"
|
|
66
|
+
| "OVERDUE_TODOS"
|
|
67
|
+
| "BURNDOWN_CHART"
|
|
68
|
+
| "TAG_DISTRIBUTION"
|
|
69
|
+
| "VELOCITY"
|
|
70
|
+
| "STATS_CARD";
|
|
71
|
+
|
|
72
|
+
export interface ITodoTimeEntry {
|
|
73
|
+
id: string;
|
|
74
|
+
createdAt: string;
|
|
75
|
+
updatedAt?: string;
|
|
76
|
+
|
|
77
|
+
todoId: string;
|
|
78
|
+
userId: string;
|
|
79
|
+
|
|
80
|
+
startedAt: string;
|
|
81
|
+
stoppedAt?: string;
|
|
82
|
+
duration?: number;
|
|
83
|
+
|
|
84
|
+
description?: string;
|
|
85
|
+
|
|
86
|
+
metadata?: any;
|
|
87
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export interface ITodo {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
title: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
|
|
10
|
+
statusId: string;
|
|
11
|
+
priority: TodoPriority;
|
|
12
|
+
|
|
13
|
+
listId: string;
|
|
14
|
+
spaceId: string;
|
|
15
|
+
|
|
16
|
+
createdById: string;
|
|
17
|
+
|
|
18
|
+
startDate?: string;
|
|
19
|
+
dueDate?: string;
|
|
20
|
+
completedAt?: string;
|
|
21
|
+
|
|
22
|
+
sortOrder: number;
|
|
23
|
+
|
|
24
|
+
parentId?: string;
|
|
25
|
+
|
|
26
|
+
estimatedHours?: number;
|
|
27
|
+
|
|
28
|
+
metadata?: any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface ITodoAssignee {
|
|
32
|
+
id: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
|
|
35
|
+
todoId: string;
|
|
36
|
+
userId?: string;
|
|
37
|
+
employeeId?: string;
|
|
38
|
+
|
|
39
|
+
metadata?: any;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface ITodoWatcher {
|
|
43
|
+
id: string;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
|
|
46
|
+
todoId: string;
|
|
47
|
+
userId: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface ITodoDependency {
|
|
51
|
+
id: string;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
|
|
54
|
+
todoId: string;
|
|
55
|
+
dependsOnId: string;
|
|
56
|
+
|
|
57
|
+
type: TodoDependencyType;
|
|
58
|
+
|
|
59
|
+
createdById: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface ITodoCustomFieldValue {
|
|
63
|
+
id: string;
|
|
64
|
+
createdAt: string;
|
|
65
|
+
updatedAt?: string;
|
|
66
|
+
|
|
67
|
+
todoId: string;
|
|
68
|
+
fieldId: string;
|
|
69
|
+
|
|
70
|
+
value: any;
|
|
71
|
+
|
|
72
|
+
metadata?: any;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface ITodoListItem {
|
|
76
|
+
id: string;
|
|
77
|
+
createdAt: string;
|
|
78
|
+
|
|
79
|
+
todoId: string;
|
|
80
|
+
listId: string;
|
|
81
|
+
|
|
82
|
+
addedById: string;
|
|
83
|
+
|
|
84
|
+
sortOrder: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface ITodoTagAssignment {
|
|
88
|
+
id: string;
|
|
89
|
+
createdAt: string;
|
|
90
|
+
|
|
91
|
+
todoId: string;
|
|
92
|
+
tagId: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type TodoPriority = "URGENT" | "HIGH" | "NORMAL" | "LOW";
|
|
96
|
+
|
|
97
|
+
export type TodoDependencyType = "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
|
package/package.json
CHANGED