@demind-inc/core 1.5.35 → 1.5.37
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 +1 -0
- package/dist/models/Chat.d.ts +1 -1
- package/lib/constants.ts +1 -0
- package/lib/models/Chat.ts +6 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare const DB_COLLECTION: {
|
|
|
40
40
|
CHAT_SLEEP_SESSION: string;
|
|
41
41
|
CHAT_MEAL_SESSION: string;
|
|
42
42
|
CHAT_MESSAGES: string;
|
|
43
|
+
CHAT_TASK_SESSION: string;
|
|
43
44
|
};
|
|
44
45
|
export declare const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
45
46
|
export declare const STRESS_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
package/dist/constants.js
CHANGED
package/dist/models/Chat.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface ChatSummary {
|
|
|
11
11
|
scheduler?: string;
|
|
12
12
|
recommendations?: string;
|
|
13
13
|
}
|
|
14
|
-
export type ChatSessionType = "scheduler" | "recommendation" | "sleep" | "meal";
|
|
14
|
+
export type ChatSessionType = "scheduler" | "recommendation" | "sleep" | "meal" | "task";
|
|
15
15
|
export interface SchedulerSession {
|
|
16
16
|
schedulerSessionId: string;
|
|
17
17
|
messages: SessionMessage[];
|
package/lib/constants.ts
CHANGED
|
@@ -41,6 +41,7 @@ export const DB_COLLECTION = {
|
|
|
41
41
|
CHAT_SLEEP_SESSION: "sleepSession",
|
|
42
42
|
CHAT_MEAL_SESSION: "mealSession",
|
|
43
43
|
CHAT_MESSAGES: "messages",
|
|
44
|
+
CHAT_TASK_SESSION: "taskSession",
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
export const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
package/lib/models/Chat.ts
CHANGED
|
@@ -13,7 +13,12 @@ export interface ChatSummary {
|
|
|
13
13
|
recommendations?: string;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export type ChatSessionType =
|
|
16
|
+
export type ChatSessionType =
|
|
17
|
+
| "scheduler"
|
|
18
|
+
| "recommendation"
|
|
19
|
+
| "sleep"
|
|
20
|
+
| "meal"
|
|
21
|
+
| "task";
|
|
17
22
|
|
|
18
23
|
export interface SchedulerSession {
|
|
19
24
|
schedulerSessionId: string;
|