@automateinc/fleet-types 1.0.88-dev.34c58fb → 1.0.88-dev.adfb99d

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.
@@ -214,6 +214,7 @@ export * from "./todo-list";
214
214
  export * from "./todo-space";
215
215
  export * from "./todo-status";
216
216
  export * from "./todo-tag";
217
+ export * from "./todo-view";
217
218
  export * from "./vendor";
218
219
  export * from "./vendor-contact";
219
220
  export * from "./zone";
@@ -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
+ }
package/package.json CHANGED
@@ -52,5 +52,5 @@
52
52
  "test": "echo \"Error: no test specified\" && exit 1"
53
53
  },
54
54
  "types": "dist/types/index.d.ts",
55
- "version": "1.0.88-dev.34c58fb"
55
+ "version": "1.0.88-dev.adfb99d"
56
56
  }