@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.
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +2 -2
- package/dist/types.d.ts +1 -0
- package/lib/constants.ts +1 -1
- package/lib/types.ts +7 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const DB_COLLECTION: {
|
|
|
32
32
|
ROUTINE: string;
|
|
33
33
|
ROUTINE_ACTIVITIES: string;
|
|
34
34
|
};
|
|
35
|
-
export declare const
|
|
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.
|
|
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.
|
|
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
|
|
37
|
+
export const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
|
38
38
|
"FITBIT",
|
|
39
39
|
"OURA",
|
|
40
40
|
"GARMIN",
|
package/lib/types.ts
CHANGED