@demind-inc/core 1.4.47 → 1.4.48

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.js CHANGED
@@ -55,12 +55,10 @@ exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = [
55
55
  "trello",
56
56
  "todoist",
57
57
  "ticktick",
58
- "apple_reminder",
59
58
  ];
60
59
  exports.ALL_TODO_INTEGRATIONS_TYPE = [
61
60
  "trello",
62
61
  "todoist",
63
62
  "ticktick",
64
- "apple_reminder",
65
63
  "notion",
66
64
  ];
@@ -5,10 +5,12 @@ export interface EMAs {
5
5
  timezone?: string;
6
6
  emaDates: EMADateSet[];
7
7
  }
8
+ export type EMASatisfactionType = "not_at_all" | "slightly" | "neutral" | "very" | "extremely";
8
9
  export interface EMADateSet {
9
10
  emaDateId: string;
10
11
  date: string;
11
12
  scores: EMADatePhaseScoreSet;
13
+ satisfaction?: EMASatisfaction;
12
14
  }
13
15
  export type EMADatePhaseScoreSet = Omit<Record<CircadianPhase, EMADateScore>, "default">;
14
16
  export interface EMADateScore {
@@ -16,3 +18,7 @@ export interface EMADateScore {
16
18
  timezone?: string;
17
19
  energy?: EnergyFeedbackType;
18
20
  }
21
+ export interface EMASatisfaction {
22
+ timestamp: string;
23
+ value: EMASatisfactionType;
24
+ }
@@ -1,5 +1,5 @@
1
1
  import { DocumentReference } from "@google-cloud/firestore";
2
- export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "notion" | "apple_reminder";
2
+ export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "notion";
3
3
  export interface TodoIntegration {
4
4
  todoIntegrationId: string;
5
5
  source: TodoIntegrationType;
package/lib/constants.ts CHANGED
@@ -61,12 +61,10 @@ export const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
61
61
  "trello",
62
62
  "todoist",
63
63
  "ticktick",
64
- "apple_reminder",
65
64
  ];
66
65
  export const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
67
66
  "trello",
68
67
  "todoist",
69
68
  "ticktick",
70
- "apple_reminder",
71
69
  "notion",
72
70
  ];
@@ -7,10 +7,18 @@ export interface EMAs {
7
7
  emaDates: EMADateSet[];
8
8
  }
9
9
 
10
+ export type EMASatisfactionType =
11
+ | "not_at_all"
12
+ | "slightly"
13
+ | "neutral"
14
+ | "very"
15
+ | "extremely";
16
+
10
17
  export interface EMADateSet {
11
18
  emaDateId: string;
12
19
  date: string;
13
20
  scores: EMADatePhaseScoreSet;
21
+ satisfaction?: EMASatisfaction;
14
22
  }
15
23
 
16
24
  export type EMADatePhaseScoreSet = Omit<
@@ -23,3 +31,8 @@ export interface EMADateScore {
23
31
  timezone?: string;
24
32
  energy?: EnergyFeedbackType;
25
33
  }
34
+
35
+ export interface EMASatisfaction {
36
+ timestamp: string;
37
+ value: EMASatisfactionType;
38
+ }
@@ -1,11 +1,6 @@
1
1
  import { DocumentReference } from "@google-cloud/firestore";
2
2
 
3
- export type TodoIntegrationType =
4
- | "trello"
5
- | "todoist"
6
- | "ticktick"
7
- | "notion"
8
- | "apple_reminder";
3
+ export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "notion";
9
4
 
10
5
  export interface TodoIntegration {
11
6
  todoIntegrationId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.4.47",
3
+ "version": "1.4.48",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {