@demind-inc/core 1.6.25 → 1.6.27
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/models/TodoTasks.d.ts +2 -1
- package/dist/types.d.ts +1 -1
- package/lib/models/TodoTasks.ts +3 -1
- package/lib/types.ts +1 -0
- package/package.json +1 -1
|
@@ -35,6 +35,7 @@ export interface TaskRecurring {
|
|
|
35
35
|
lang: string;
|
|
36
36
|
timezone?: string;
|
|
37
37
|
}
|
|
38
|
+
export type TskPriority = "low" | "medium" | "high";
|
|
38
39
|
export interface TaskItem {
|
|
39
40
|
taskId: string;
|
|
40
41
|
originalTaskId: string;
|
|
@@ -61,7 +62,7 @@ export interface TaskItem {
|
|
|
61
62
|
rawJson?: any;
|
|
62
63
|
sortIndex?: number;
|
|
63
64
|
subTasks?: TaskItem[];
|
|
64
|
-
priority?:
|
|
65
|
+
priority?: TskPriority;
|
|
65
66
|
}
|
|
66
67
|
export interface TaskCategorySet {
|
|
67
68
|
id: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export interface EnergyFluctuationItem {
|
|
|
103
103
|
}
|
|
104
104
|
export * from "./featureFlags.types";
|
|
105
105
|
export type TimeboxSessionType = "deepWork" | "lightWork";
|
|
106
|
-
export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration" | "sortIndex" | "labels" | "addedToCalendar" | "boardId" | "appFrom" | "dueDateTime"> & {
|
|
106
|
+
export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration" | "sortIndex" | "labels" | "addedToCalendar" | "boardId" | "appFrom" | "dueDateTime" | "priority"> & {
|
|
107
107
|
selected?: boolean;
|
|
108
108
|
};
|
|
109
109
|
export type ScheduleLogicElement = "timebox" | "routine" | "task";
|
package/lib/models/TodoTasks.ts
CHANGED
|
@@ -41,6 +41,8 @@ export interface TaskRecurring {
|
|
|
41
41
|
timezone?: string;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
export type TskPriority = "low" | "medium" | "high";
|
|
45
|
+
|
|
44
46
|
export interface TaskItem {
|
|
45
47
|
taskId: string;
|
|
46
48
|
originalTaskId: string;
|
|
@@ -67,7 +69,7 @@ export interface TaskItem {
|
|
|
67
69
|
rawJson?: any;
|
|
68
70
|
sortIndex?: number;
|
|
69
71
|
subTasks?: TaskItem[];
|
|
70
|
-
priority?:
|
|
72
|
+
priority?: TskPriority;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
export interface TaskCategorySet {
|
package/lib/types.ts
CHANGED