@demind-inc/core 1.4.57 → 1.4.59
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 -0
- package/dist/constants.js +2 -1
- package/dist/models/User.d.ts +1 -0
- package/lib/constants.ts +3 -0
- package/lib/models/User.ts +1 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare const DB_COLLECTION: {
|
|
|
37
37
|
export declare const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
38
38
|
export declare const STRESS_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
39
39
|
export declare const ACTIVITY_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
40
|
+
export declare const HEART_RATE_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
40
41
|
export declare const MEAL_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
41
42
|
export declare const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[];
|
|
42
43
|
export declare const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[];
|
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.SLEEP_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.HEART_RATE_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",
|
|
@@ -47,6 +47,7 @@ exports.STRESS_SUPPORTED_TERRA_PROVIDERS = [
|
|
|
47
47
|
"GARMIN",
|
|
48
48
|
];
|
|
49
49
|
exports.ACTIVITY_SUPPORTED_TERRA_PROVIDERS = ["FITBIT", "OURA", "GARMIN", "WHOOP", "STRAVA"]; // APPLE is not supported in terra-api
|
|
50
|
+
exports.HEART_RATE_SUPPORTED_TERRA_PROVIDERS = ["FITBIT", "OURA", "GARMIN", "ULTRAHUMAN"]; // APPLE is not supported in terra-api
|
|
50
51
|
exports.MEAL_SUPPORTED_TERRA_PROVIDERS = [
|
|
51
52
|
"FITBIT",
|
|
52
53
|
"MYFITNESSPAL",
|
package/dist/models/User.d.ts
CHANGED
package/lib/constants.ts
CHANGED
|
@@ -52,6 +52,9 @@ export const STRESS_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
|
|
52
52
|
export const ACTIVITY_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] =
|
|
53
53
|
["FITBIT", "OURA", "GARMIN", "WHOOP", "STRAVA"]; // APPLE is not supported in terra-api
|
|
54
54
|
|
|
55
|
+
export const HEART_RATE_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] =
|
|
56
|
+
["FITBIT", "OURA", "GARMIN", "ULTRAHUMAN"]; // APPLE is not supported in terra-api
|
|
57
|
+
|
|
55
58
|
export const MEAL_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
|
56
59
|
"FITBIT",
|
|
57
60
|
"MYFITNESSPAL",
|
package/lib/models/User.ts
CHANGED