@demind-inc/core 1.5.2 → 1.5.4

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.
@@ -21,6 +21,10 @@ export interface FeatureFlags {
21
21
  referral_codes?: {
22
22
  campaigns: ReferralCampaign[];
23
23
  };
24
+ alpha_users?: {
25
+ user_emails: string[];
26
+ updated_at: string;
27
+ };
24
28
  [key: string]: any;
25
29
  }
26
30
  export interface ReleaseLog {
package/dist/types.d.ts CHANGED
@@ -107,10 +107,12 @@ export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration"
107
107
  export type ScheduleLogicElement = "timebox" | "routine" | "task";
108
108
  export type WearableSourceType = "ALL" | "SLEEP" | "ACTIVITY" | "MEAL" | "STRESS";
109
109
  export type RecommendationActionType = "core_action" | "energy_boost" | "task" | "routine";
110
+ export type CoreActionType = "aiScheduler" | "syncSleep" | "dailyPreview" | "dailyReflection";
110
111
  export interface RecommendationAction {
111
112
  id: string;
112
113
  name: string;
113
114
  type: RecommendationActionType;
115
+ coreActionType?: CoreActionType;
114
116
  description?: string;
115
117
  phase?: CircadianPhase;
116
118
  durationMinutes?: number;
@@ -21,6 +21,10 @@ export interface FeatureFlags {
21
21
  referral_codes?: {
22
22
  campaigns: ReferralCampaign[];
23
23
  };
24
+ alpha_users?: {
25
+ user_emails: string[];
26
+ updated_at: string;
27
+ };
24
28
  [key: string]: any;
25
29
  }
26
30
 
package/lib/types.ts CHANGED
@@ -188,10 +188,17 @@ export type RecommendationActionType =
188
188
  | "task"
189
189
  | "routine";
190
190
 
191
+ export type CoreActionType =
192
+ | "aiScheduler"
193
+ | "syncSleep"
194
+ | "dailyPreview"
195
+ | "dailyReflection";
196
+
191
197
  export interface RecommendationAction {
192
198
  id: string;
193
199
  name: string;
194
200
  type: RecommendationActionType;
201
+ coreActionType?: CoreActionType;
195
202
  description?: string;
196
203
  phase?: CircadianPhase;
197
204
  durationMinutes?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {