@demind-inc/core 1.1.87 → 1.1.89
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/Calendar.d.ts +8 -0
- package/lib/constants.ts +1 -0
- package/lib/models/Calendar.ts +9 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -11,12 +11,19 @@ export interface Calendar {
|
|
|
11
11
|
scope?: CalendarScope;
|
|
12
12
|
color?: string;
|
|
13
13
|
events?: CalendarEvent[];
|
|
14
|
+
categoryLabels?: CategoryLabels[];
|
|
14
15
|
visible?: boolean;
|
|
15
16
|
nextSyncToken?: string;
|
|
16
17
|
default?: boolean;
|
|
17
18
|
rootEmail?: string;
|
|
18
19
|
rawJson?: any;
|
|
19
20
|
}
|
|
21
|
+
export interface CategoryLabels {
|
|
22
|
+
categoryLabelsId: string;
|
|
23
|
+
category: EventCategorySet;
|
|
24
|
+
eventNames: string[];
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
}
|
|
20
27
|
export interface CalendarEvent {
|
|
21
28
|
eventId: string;
|
|
22
29
|
summary: string;
|
|
@@ -75,6 +82,7 @@ export type EnergyFeedbackType = "low" | "mild" | "medium" | "strong" | "high";
|
|
|
75
82
|
export interface EventCategorySet {
|
|
76
83
|
id: string;
|
|
77
84
|
name: string;
|
|
85
|
+
predicted?: boolean;
|
|
78
86
|
}
|
|
79
87
|
export declare const defaultEventCategorySet: EventCategorySet[];
|
|
80
88
|
export type DefaultEventCategoryId = "default_mtg" | "default_lightTask" | "default_deepWork" | "default_exercise" | "default_meal" | "default_break" | "default_other" | "default_social";
|
package/lib/constants.ts
CHANGED
package/lib/models/Calendar.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface Calendar {
|
|
|
14
14
|
scope?: CalendarScope;
|
|
15
15
|
color?: string;
|
|
16
16
|
events?: CalendarEvent[];
|
|
17
|
+
categoryLabels?: CategoryLabels[];
|
|
17
18
|
visible?: boolean;
|
|
18
19
|
nextSyncToken?: string;
|
|
19
20
|
default?: boolean;
|
|
@@ -21,6 +22,13 @@ export interface Calendar {
|
|
|
21
22
|
rawJson?: any;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
export interface CategoryLabels {
|
|
26
|
+
categoryLabelsId: string;
|
|
27
|
+
category: EventCategorySet;
|
|
28
|
+
eventNames: string[];
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
export interface CalendarEvent {
|
|
25
33
|
eventId: string;
|
|
26
34
|
summary: string;
|
|
@@ -102,6 +110,7 @@ export type EnergyFeedbackType = "low" | "mild" | "medium" | "strong" | "high";
|
|
|
102
110
|
export interface EventCategorySet {
|
|
103
111
|
id: string;
|
|
104
112
|
name: string;
|
|
113
|
+
predicted?: boolean;
|
|
105
114
|
}
|
|
106
115
|
|
|
107
116
|
export const defaultEventCategorySet: EventCategorySet[] = [
|