@demind-inc/core 1.6.77 → 1.6.79

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.
@@ -95,7 +95,7 @@ export interface CalendarEventRecurrence {
95
95
  endDate?: string;
96
96
  };
97
97
  }
98
- export type CalendarScheduleFrom = "todo" | "activity" | "calendar" | "energyBoost" | "aiScheduler" | "sleep" | "meal";
98
+ export type CalendarScheduleFrom = "todo" | "activity" | "calendar" | "energyBoost" | "aiScheduler" | "sleep" | "meal" | "routine";
99
99
  export type CalendarEventType = "default" | "outOfOffice" | "focusTime" | "workingLocation" | "other";
100
100
  export interface CalendarEventUser {
101
101
  email: string;
package/dist/types.d.ts CHANGED
@@ -23,6 +23,7 @@ export interface HeatmapDataType {
23
23
  phase?: CircadianPhase;
24
24
  diff?: number;
25
25
  }
26
+ export type ScheduledActionEventFrom = "existing_calendar" | "todo" | "activity";
26
27
  export interface ScheduledAction {
27
28
  name: string;
28
29
  id?: string;
@@ -34,6 +35,7 @@ export interface ScheduledAction {
34
35
  phase?: CircadianPhase;
35
36
  todoFrom?: CalendarTaskFrom;
36
37
  logicElement?: ScheduleLogicElement;
38
+ eventFrom?: ScheduledActionEventFrom;
37
39
  }
38
40
  export interface ScheduledActionOptions {
39
41
  startDate: string;
@@ -110,7 +110,8 @@ export type CalendarScheduleFrom =
110
110
  | "energyBoost"
111
111
  | "aiScheduler"
112
112
  | "sleep"
113
- | "meal";
113
+ | "meal"
114
+ | "routine";
114
115
 
115
116
  export type CalendarEventType =
116
117
  | "default"
package/lib/types.ts CHANGED
@@ -66,6 +66,10 @@ export interface HeatmapDataType {
66
66
  phase?: CircadianPhase;
67
67
  diff?: number;
68
68
  }
69
+ export type ScheduledActionEventFrom =
70
+ | "existing_calendar"
71
+ | "todo"
72
+ | "activity";
69
73
 
70
74
  export interface ScheduledAction {
71
75
  name: string;
@@ -78,6 +82,7 @@ export interface ScheduledAction {
78
82
  phase?: CircadianPhase;
79
83
  todoFrom?: CalendarTaskFrom;
80
84
  logicElement?: ScheduleLogicElement;
85
+ eventFrom?: ScheduledActionEventFrom;
81
86
  }
82
87
 
83
88
  export interface ScheduledActionOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.6.77",
3
+ "version": "1.6.79",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {