@demind-inc/core 1.0.9 → 1.0.11
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 +2 -0
- package/dist/constants.js +6 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/Metrics.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +2 -0
- package/lib/constants.ts +8 -0
- package/lib/index.ts +1 -0
- package/lib/models/Calendar.ts +0 -2
- package/lib/models/Metrics.ts +2 -0
- package/lib/types.ts +1 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SupportedTerraProvidersType } from "./types";
|
|
1
2
|
export declare const DB_COLLECTION: {
|
|
2
3
|
USERS: string;
|
|
3
4
|
CALENDARS: string;
|
|
@@ -5,3 +6,4 @@ export declare const DB_COLLECTION: {
|
|
|
5
6
|
METRICS: string;
|
|
6
7
|
RECOMMENDED_TASKS: string;
|
|
7
8
|
};
|
|
9
|
+
export declare const 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.DB_COLLECTION = void 0;
|
|
3
|
+
exports.SUPPORTED_TERRA_PROVIDERS = exports.DB_COLLECTION = void 0;
|
|
4
4
|
exports.DB_COLLECTION = {
|
|
5
5
|
USERS: "users",
|
|
6
6
|
CALENDARS: "calendars",
|
|
@@ -8,3 +8,8 @@ exports.DB_COLLECTION = {
|
|
|
8
8
|
METRICS: "metrics",
|
|
9
9
|
RECOMMENDED_TASKS: "recommendedTasks",
|
|
10
10
|
};
|
|
11
|
+
exports.SUPPORTED_TERRA_PROVIDERS = [
|
|
12
|
+
"FITBIT",
|
|
13
|
+
"OURA",
|
|
14
|
+
"GARMIN",
|
|
15
|
+
];
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./models"), exports);
|
|
18
18
|
__exportStar(require("./constants"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
package/dist/models/Metrics.d.ts
CHANGED
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN";
|
package/dist/types.js
ADDED
package/lib/constants.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SupportedTerraProvidersType } from "./types";
|
|
2
|
+
|
|
1
3
|
export const DB_COLLECTION = {
|
|
2
4
|
USERS: "users",
|
|
3
5
|
CALENDARS: "calendars",
|
|
@@ -5,3 +7,9 @@ export const DB_COLLECTION = {
|
|
|
5
7
|
METRICS: "metrics",
|
|
6
8
|
RECOMMENDED_TASKS: "recommendedTasks",
|
|
7
9
|
};
|
|
10
|
+
|
|
11
|
+
export const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
|
12
|
+
"FITBIT",
|
|
13
|
+
"OURA",
|
|
14
|
+
"GARMIN",
|
|
15
|
+
];
|
package/lib/index.ts
CHANGED
package/lib/models/Calendar.ts
CHANGED
package/lib/models/Metrics.ts
CHANGED
package/lib/types.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN";
|