@demind-inc/core 1.3.52 → 1.4.1

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.
@@ -17,6 +17,8 @@ export declare const DB_COLLECTION: {
17
17
  TODO_INTEGRATIONS: string;
18
18
  TODO_TASKS: string;
19
19
  TASK_ITEMS: string;
20
+ TASK_LABELS_GROUP: string;
21
+ TASK_LABELS: string;
20
22
  PREFERENCES: string;
21
23
  CALENDLY_INTEGRATIONS: string;
22
24
  DATA_TREND: string;
package/dist/constants.js CHANGED
@@ -18,6 +18,8 @@ exports.DB_COLLECTION = {
18
18
  TODO_INTEGRATIONS: "todoIntegrations",
19
19
  TODO_TASKS: "todoTasks",
20
20
  TASK_ITEMS: "taskItems",
21
+ TASK_LABELS_GROUP: "taskLabelsGroup",
22
+ TASK_LABELS: "taskLabels",
21
23
  PREFERENCES: "preferences",
22
24
  CALENDLY_INTEGRATIONS: "calendlyIntegrations",
23
25
  DATA_TREND: "dataTrend",
@@ -0,0 +1,10 @@
1
+ export interface TaskLabelGroup {
2
+ taskLabelGroupId: string;
3
+ taskLabels: TaskLabel[];
4
+ userId: string;
5
+ }
6
+ export interface TaskLabel {
7
+ name: string;
8
+ color?: string;
9
+ id?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  import { DocumentReference } from "@google-cloud/firestore";
2
2
  import { TodoIntegrationType } from "./TodoIntegrations";
3
+ import { TaskLabel } from "./TaskLabels";
3
4
  export interface TodoTasksBoard {
4
5
  todoTaskId: string;
5
6
  originalBoardId: string;
@@ -12,6 +13,7 @@ export interface TodoTasksBoard {
12
13
  closed?: boolean;
13
14
  rawJson?: any;
14
15
  lists?: TodoTasksBoardList[];
16
+ taskLabelsGroupId?: string;
15
17
  }
16
18
  export interface TodoTasksBoardList {
17
19
  todoTasksBoardListId: string;
@@ -20,10 +22,6 @@ export interface TodoTasksBoardList {
20
22
  rawJson?: any;
21
23
  }
22
24
  export type TodoAppFrom = TodoIntegrationType | "lifestack";
23
- export interface TaskLabel {
24
- name: string;
25
- color?: string;
26
- }
27
25
  export interface DateTimeSet {
28
26
  datetime?: string;
29
27
  date?: 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
  }
@@ -11,3 +11,4 @@ export * from "./CalendlyIntegrations";
11
11
  export * from "./DataTrend";
12
12
  export * from "./DeviceGroup";
13
13
  export * from "./Discount";
14
+ export * from "./TaskLabels";
@@ -27,3 +27,4 @@ __exportStar(require("./CalendlyIntegrations"), exports);
27
27
  __exportStar(require("./DataTrend"), exports);
28
28
  __exportStar(require("./DeviceGroup"), exports);
29
29
  __exportStar(require("./Discount"), exports);
30
+ __exportStar(require("./TaskLabels"), exports);
package/lib/constants.ts CHANGED
@@ -18,6 +18,8 @@ export const DB_COLLECTION = {
18
18
  TODO_INTEGRATIONS: "todoIntegrations",
19
19
  TODO_TASKS: "todoTasks",
20
20
  TASK_ITEMS: "taskItems",
21
+ TASK_LABELS_GROUP: "taskLabelsGroup",
22
+ TASK_LABELS: "taskLabels",
21
23
  PREFERENCES: "preferences",
22
24
  CALENDLY_INTEGRATIONS: "calendlyIntegrations",
23
25
  DATA_TREND: "dataTrend",
@@ -0,0 +1,11 @@
1
+ export interface TaskLabelGroup {
2
+ taskLabelGroupId: string;
3
+ taskLabels: TaskLabel[];
4
+ userId: string;
5
+ }
6
+
7
+ export interface TaskLabel {
8
+ name: string;
9
+ color?: string;
10
+ id?: string;
11
+ }
@@ -1,5 +1,6 @@
1
1
  import { DocumentReference } from "@google-cloud/firestore";
2
2
  import { TodoIntegrationType } from "./TodoIntegrations";
3
+ import { TaskLabel } from "./TaskLabels";
3
4
 
4
5
  export interface TodoTasksBoard {
5
6
  todoTaskId: string;
@@ -13,6 +14,7 @@ export interface TodoTasksBoard {
13
14
  closed?: boolean;
14
15
  rawJson?: any;
15
16
  lists?: TodoTasksBoardList[];
17
+ taskLabelsGroupId?: string;
16
18
  }
17
19
 
18
20
  export interface TodoTasksBoardList {
@@ -24,11 +26,6 @@ export interface TodoTasksBoardList {
24
26
 
25
27
  export type TodoAppFrom = TodoIntegrationType | "lifestack";
26
28
 
27
- export interface TaskLabel {
28
- name: string;
29
- color?: string;
30
- }
31
-
32
29
  export interface DateTimeSet {
33
30
  datetime?: string;
34
31
  date?: string;
@@ -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
  }
@@ -11,3 +11,4 @@ export * from "./CalendlyIntegrations";
11
11
  export * from "./DataTrend";
12
12
  export * from "./DeviceGroup";
13
13
  export * from "./Discount";
14
+ export * from "./TaskLabels";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.3.52",
3
+ "version": "1.4.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {