@demind-inc/core 1.4.28 → 1.4.30

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.
@@ -32,7 +32,7 @@ export declare const DB_COLLECTION: {
32
32
  ROUTINE: string;
33
33
  ROUTINE_ACTIVITIES: string;
34
34
  };
35
- export declare const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
35
+ export declare const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
36
36
  export declare const STRESS_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
37
37
  export declare const ACTIVITY_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
38
38
  export declare const MEAL_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ALL_TODO_INTEGRATIONS_TYPE = exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = exports.MEAL_SUPPORTED_TERRA_PROVIDERS = exports.ACTIVITY_SUPPORTED_TERRA_PROVIDERS = exports.STRESS_SUPPORTED_TERRA_PROVIDERS = exports.SUPPORTED_TERRA_PROVIDERS = exports.DB_COLLECTION = void 0;
3
+ exports.ALL_TODO_INTEGRATIONS_TYPE = exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = exports.MEAL_SUPPORTED_TERRA_PROVIDERS = exports.ACTIVITY_SUPPORTED_TERRA_PROVIDERS = exports.STRESS_SUPPORTED_TERRA_PROVIDERS = exports.SLEEP_SUPPORTED_TERRA_PROVIDERS = exports.DB_COLLECTION = void 0;
4
4
  exports.DB_COLLECTION = {
5
5
  USERS: "users",
6
6
  CALENDARS: "calendars",
@@ -33,7 +33,7 @@ exports.DB_COLLECTION = {
33
33
  ROUTINE: "routine",
34
34
  ROUTINE_ACTIVITIES: "routineActivities",
35
35
  };
36
- exports.SUPPORTED_TERRA_PROVIDERS = [
36
+ exports.SLEEP_SUPPORTED_TERRA_PROVIDERS = [
37
37
  "FITBIT",
38
38
  "OURA",
39
39
  "GARMIN",
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
@@ -34,7 +34,7 @@ export const DB_COLLECTION = {
34
34
  ROUTINE_ACTIVITIES: "routineActivities",
35
35
  };
36
36
 
37
- export const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
37
+ export const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
38
38
  "FITBIT",
39
39
  "OURA",
40
40
  "GARMIN",
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.28",
3
+ "version": "1.4.30",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {