@demind-inc/core 1.4.0 → 1.4.2

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.
@@ -99,3 +99,4 @@ export interface EventCategorySet {
99
99
  export declare const defaultEventCategorySet: EventCategorySet[];
100
100
  export type DefaultEventCategoryId = "default_mtg" | "default_lightTask" | "default_deepWork" | "default_exercise" | "default_meal" | "default_break" | "default_other" | "default_social";
101
101
  export declare const eventCategoryColorMap: Record<DefaultEventCategoryId, string>;
102
+ export declare const labelColors: Record<string, string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.eventCategoryColorMap = exports.defaultEventCategorySet = void 0;
3
+ exports.labelColors = exports.eventCategoryColorMap = exports.defaultEventCategorySet = void 0;
4
4
  exports.defaultEventCategorySet = [
5
5
  { id: "default_mtg", name: "Meeting" },
6
6
  { id: "default_lightTask", name: "Light Task" },
@@ -21,3 +21,19 @@ exports.eventCategoryColorMap = {
21
21
  default_meal: "#9370DB",
22
22
  default_other: "#20B2AA", // light sea green
23
23
  };
24
+ exports.labelColors = {
25
+ Red: "#8B0000",
26
+ Blue: "#4169E1",
27
+ Green: "#228B22",
28
+ Yellow: "#FFD700",
29
+ Orange: "#FF8C00",
30
+ Pink: "#FF69B4",
31
+ Purple: "#9370DB",
32
+ Teal: "#20B2AA",
33
+ Brown: "#8B4513",
34
+ Navy: "#000080",
35
+ Olive: "#808000",
36
+ Indigo: "#4B0082",
37
+ Coral: "#FF7F50",
38
+ Slate: "#708090",
39
+ };
@@ -13,6 +13,7 @@ export interface TodoTasksBoard {
13
13
  closed?: boolean;
14
14
  rawJson?: any;
15
15
  lists?: TodoTasksBoardList[];
16
+ taskLabelsGroupId?: string;
16
17
  }
17
18
  export interface TodoTasksBoardList {
18
19
  todoTasksBoardListId: string;
@@ -27,6 +27,7 @@ export interface User {
27
27
  preferenceId?: string;
28
28
  onboarding?: OnboardingStatus;
29
29
  calendlyIntegrationId?: string;
30
+ taskLabelsGroupId?: string;
30
31
  dataTrendId?: string;
31
32
  tokens?: UserTokens;
32
33
  }
@@ -164,3 +164,20 @@ export const eventCategoryColorMap: Record<DefaultEventCategoryId, string> = {
164
164
  default_meal: "#9370DB", // medium purple
165
165
  default_other: "#20B2AA", // light sea green
166
166
  };
167
+
168
+ export const labelColors: Record<string, string> = {
169
+ Red: "#8B0000",
170
+ Blue: "#4169E1",
171
+ Green: "#228B22",
172
+ Yellow: "#FFD700",
173
+ Orange: "#FF8C00",
174
+ Pink: "#FF69B4",
175
+ Purple: "#9370DB",
176
+ Teal: "#20B2AA",
177
+ Brown: "#8B4513",
178
+ Navy: "#000080",
179
+ Olive: "#808000",
180
+ Indigo: "#4B0082",
181
+ Coral: "#FF7F50",
182
+ Slate: "#708090",
183
+ };
@@ -14,6 +14,7 @@ export interface TodoTasksBoard {
14
14
  closed?: boolean;
15
15
  rawJson?: any;
16
16
  lists?: TodoTasksBoardList[];
17
+ taskLabelsGroupId?: string;
17
18
  }
18
19
 
19
20
  export interface TodoTasksBoardList {
@@ -28,6 +28,7 @@ export interface User {
28
28
  preferenceId?: string;
29
29
  onboarding?: OnboardingStatus;
30
30
  calendlyIntegrationId?: string;
31
+ taskLabelsGroupId?: string;
31
32
  dataTrendId?: string;
32
33
  tokens?: UserTokens; // Deprecated
33
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {