@demind-inc/core 1.1.38 → 1.1.40

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,3 +1,4 @@
1
+ import { TodoIntegrationType } from "./TodoIntegrations";
1
2
  export type CalendarType = "google" | "outlook";
2
3
  export type CalendarScope = "owner" | "writer" | "reader" | "freeBusyReader";
3
4
  export type CalendarEventStatus = "confirmed" | "tentative" | "cancelled";
@@ -36,6 +37,12 @@ export interface CalendarEvent {
36
37
  color?: string;
37
38
  recommendedTaskId?: string;
38
39
  isAllDay?: boolean;
40
+ taskFrom?: CalendarTaskFrom;
41
+ }
42
+ export interface CalendarTaskFrom {
43
+ boardId: string;
44
+ taskId: string;
45
+ from: TodoIntegrationType;
39
46
  }
40
47
  export interface CalendarEventMetrics {
41
48
  energy?: EnergyFeedbackType;
@@ -35,6 +35,7 @@ export interface TaskItem {
35
35
  isMeAssigned?: boolean;
36
36
  updatedAt: string;
37
37
  duration?: TaskItemDuration;
38
+ addedToCalendar?: boolean;
38
39
  }
39
40
  export interface TaskItemDuration {
40
41
  amount: number;
@@ -1,3 +1,5 @@
1
+ import { TodoIntegrationType } from "./TodoIntegrations";
2
+
1
3
  export type CalendarType = "google" | "outlook";
2
4
  export type CalendarScope = "owner" | "writer" | "reader" | "freeBusyReader";
3
5
  export type CalendarEventStatus = "confirmed" | "tentative" | "cancelled";
@@ -38,6 +40,13 @@ export interface CalendarEvent {
38
40
  color?: string;
39
41
  recommendedTaskId?: string;
40
42
  isAllDay?: boolean;
43
+ taskFrom?: CalendarTaskFrom;
44
+ }
45
+
46
+ export interface CalendarTaskFrom {
47
+ boardId: string;
48
+ taskId: string;
49
+ from: TodoIntegrationType;
41
50
  }
42
51
 
43
52
  export interface CalendarEventMetrics {
@@ -39,6 +39,7 @@ export interface TaskItem {
39
39
  isMeAssigned?: boolean;
40
40
  updatedAt: string;
41
41
  duration?: TaskItemDuration;
42
+ addedToCalendar?: boolean;
42
43
  }
43
44
 
44
45
  export interface TaskItemDuration {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.1.38",
3
+ "version": "1.1.40",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {