@demind-inc/core 1.0.13 → 1.0.15

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
@@ -12,4 +12,5 @@ exports.SUPPORTED_TERRA_PROVIDERS = [
12
12
  "FITBIT",
13
13
  "OURA",
14
14
  "GARMIN",
15
+ "APPLE_HEALTH",
15
16
  ];
@@ -2,3 +2,9 @@ export interface RecommendedTask {
2
2
  recommendedTaskId: string;
3
3
  name: string;
4
4
  }
5
+ export interface RecommendedTaskWithScore extends RecommendedTask {
6
+ score?: {
7
+ stress?: number;
8
+ heartRate?: number;
9
+ };
10
+ }
package/dist/types.d.ts CHANGED
@@ -1 +1 @@
1
- export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN";
1
+ export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN" | "APPLE_HEALTH";
package/lib/constants.ts CHANGED
@@ -12,4 +12,5 @@ export const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
12
12
  "FITBIT",
13
13
  "OURA",
14
14
  "GARMIN",
15
+ "APPLE_HEALTH",
15
16
  ];
@@ -2,3 +2,10 @@ export interface RecommendedTask {
2
2
  recommendedTaskId: string;
3
3
  name: string;
4
4
  }
5
+
6
+ export interface RecommendedTaskWithScore extends RecommendedTask {
7
+ score?: {
8
+ stress?: number;
9
+ heartRate?: number;
10
+ };
11
+ }
package/lib/types.ts CHANGED
@@ -1 +1,5 @@
1
- export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN";
1
+ export type SupportedTerraProvidersType =
2
+ | "FITBIT"
3
+ | "OURA"
4
+ | "GARMIN"
5
+ | "APPLE_HEALTH";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {