@demind-inc/core 1.1.48 → 1.1.50
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/models/Calendar.d.ts +2 -2
- package/dist/models/Calendar.js +3 -2
- package/dist/types.d.ts +2 -1
- package/lib/models/Calendar.ts +4 -2
- package/lib/types.ts +2 -0
- package/package.json +1 -1
|
@@ -54,5 +54,5 @@ export interface EventCategorySet {
|
|
|
54
54
|
id: string;
|
|
55
55
|
name: string;
|
|
56
56
|
}
|
|
57
|
-
export declare const
|
|
58
|
-
export type DefaultEventCategoryId = "default_mtg" | "default_lightTask" | "default_deepWork" | "default_exercise" | "default_meal" | "default_break" | "default_other";
|
|
57
|
+
export declare const defaultEventCategorySet: EventCategorySet[];
|
|
58
|
+
export type DefaultEventCategoryId = "default_mtg" | "default_lightTask" | "default_deepWork" | "default_exercise" | "default_meal" | "default_break" | "default_other" | "default_social";
|
package/dist/models/Calendar.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.defaultEventCategorySet = void 0;
|
|
4
|
+
exports.defaultEventCategorySet = [
|
|
5
5
|
{ id: "default_mtg", name: "Meeting" },
|
|
6
6
|
{ id: "default_lightTask", name: "Light Task" },
|
|
7
7
|
{ id: "default_deepWork", name: "Deep Work" },
|
|
8
8
|
{ id: "default_exercise", name: "Exercise" },
|
|
9
9
|
{ id: "default_meal", name: "Meal" },
|
|
10
10
|
{ id: "default_break", name: "Break" },
|
|
11
|
+
{ id: "default_social", name: "Social" },
|
|
11
12
|
{ id: "default_other", name: "Other" },
|
|
12
13
|
];
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalendarEvent, EnergyFeedbackType, PhaseStartEndSet, SleepDetail } from "./models";
|
|
1
|
+
import { CalendarEvent, EnergyFeedbackType, EventCategorySet, PhaseStartEndSet, SleepDetail } from "./models";
|
|
2
2
|
export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN" | "APPLE_HEALTH";
|
|
3
3
|
export type CircadianPhase = "default" | "wakeup_low" | "wakeup_normal" | "morning_high" | "morning_normal" | "morning_low" | "evening_high" | "evening_low" | "evening_normal";
|
|
4
4
|
export type TimePhase = "morning" | "midday" | "evening";
|
|
@@ -68,4 +68,5 @@ export interface EnergyFluctuationItem {
|
|
|
68
68
|
startTime: string;
|
|
69
69
|
endTime: string;
|
|
70
70
|
};
|
|
71
|
+
eventCategory?: EventCategorySet;
|
|
71
72
|
}
|
package/lib/models/Calendar.ts
CHANGED
|
@@ -62,13 +62,14 @@ export interface EventCategorySet {
|
|
|
62
62
|
name: string;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export const
|
|
65
|
+
export const defaultEventCategorySet: EventCategorySet[] = [
|
|
66
66
|
{ id: "default_mtg", name: "Meeting" },
|
|
67
67
|
{ id: "default_lightTask", name: "Light Task" },
|
|
68
68
|
{ id: "default_deepWork", name: "Deep Work" },
|
|
69
69
|
{ id: "default_exercise", name: "Exercise" },
|
|
70
70
|
{ id: "default_meal", name: "Meal" },
|
|
71
71
|
{ id: "default_break", name: "Break" },
|
|
72
|
+
{ id: "default_social", name: "Social" },
|
|
72
73
|
{ id: "default_other", name: "Other" },
|
|
73
74
|
];
|
|
74
75
|
|
|
@@ -79,4 +80,5 @@ export type DefaultEventCategoryId =
|
|
|
79
80
|
| "default_exercise"
|
|
80
81
|
| "default_meal"
|
|
81
82
|
| "default_break"
|
|
82
|
-
| "default_other"
|
|
83
|
+
| "default_other"
|
|
84
|
+
| "default_social";
|
package/lib/types.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarEvent,
|
|
3
3
|
EnergyFeedbackType,
|
|
4
|
+
EventCategorySet,
|
|
4
5
|
PhaseStartEndSet,
|
|
5
6
|
SleepDetail,
|
|
6
7
|
} from "./models";
|
|
@@ -101,4 +102,5 @@ export interface EnergyFluctuationItem {
|
|
|
101
102
|
startTime: string;
|
|
102
103
|
endTime: string;
|
|
103
104
|
};
|
|
105
|
+
eventCategory?: EventCategorySet;
|
|
104
106
|
}
|