@demind-inc/core 1.4.27 → 1.4.29

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/constants.js CHANGED
@@ -43,7 +43,6 @@ exports.SUPPORTED_TERRA_PROVIDERS = [
43
43
  ]; // APPLE is not supported in terra-api
44
44
  exports.STRESS_SUPPORTED_TERRA_PROVIDERS = [
45
45
  "GARMIN",
46
- "FITBIT",
47
46
  ];
48
47
  exports.ACTIVITY_SUPPORTED_TERRA_PROVIDERS = ["FITBIT", "OURA", "GARMIN", "WHOOP", "STRAVA"]; // APPLE is not supported in terra-api
49
48
  exports.MEAL_SUPPORTED_TERRA_PROVIDERS = [
@@ -11,6 +11,7 @@ export interface FeatureFlags {
11
11
  FF_basic_price_down?: boolean;
12
12
  FF_ai_task_scheduler_v2?: boolean;
13
13
  FF_stress_combine_to_energy?: boolean;
14
+ FF_ai_scheduler_routine_v3?: boolean;
14
15
  release_logs?: {
15
16
  releases: ReleaseLog[];
16
17
  };
package/dist/types.d.ts CHANGED
@@ -96,3 +96,4 @@ export * from "./featureFlags.types";
96
96
  export type TimeboxSessionType = "deepWork" | "lightWork";
97
97
  export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration" | "sortIndex" | "labels" | "addedToCalendar" | "boardId" | "appFrom">;
98
98
  export type ScheduleLogicElement = "timebox" | "routine" | "task";
99
+ export type WearableSourceType = "ALL" | "SLEEP" | "ACTIVITY" | "MEAL" | "STRESS";
package/lib/constants.ts CHANGED
@@ -45,7 +45,6 @@ export const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
45
45
 
46
46
  export const STRESS_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
47
47
  "GARMIN",
48
- "FITBIT",
49
48
  ];
50
49
 
51
50
  export const ACTIVITY_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] =
package/lib/types.ts CHANGED
@@ -160,3 +160,10 @@ export type TaskItemForSchedule = Pick<
160
160
  >;
161
161
 
162
162
  export type ScheduleLogicElement = "timebox" | "routine" | "task";
163
+
164
+ export type WearableSourceType =
165
+ | "ALL"
166
+ | "SLEEP"
167
+ | "ACTIVITY"
168
+ | "MEAL"
169
+ | "STRESS";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.4.27",
3
+ "version": "1.4.29",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {