@demind-inc/core 1.4.81 → 1.4.83

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.
@@ -28,6 +28,7 @@ export declare const DB_COLLECTION: {
28
28
  DATA_TREND_ENERGY: string;
29
29
  DATA_TREND_TASK: string;
30
30
  DATA_TREND_EVENT: string;
31
+ DATA_TREND_SCHEDULE: string;
31
32
  DEVICE_GROUP: string;
32
33
  DEVICES: string;
33
34
  DISCOUNT: string;
package/dist/constants.js CHANGED
@@ -29,6 +29,7 @@ exports.DB_COLLECTION = {
29
29
  DATA_TREND_ENERGY: "energy",
30
30
  DATA_TREND_TASK: "task",
31
31
  DATA_TREND_EVENT: "event",
32
+ DATA_TREND_SCHEDULE: "schedule",
32
33
  DEVICE_GROUP: "deviceGroup",
33
34
  DEVICES: "devices",
34
35
  DISCOUNT: "discount",
package/dist/types.d.ts CHANGED
@@ -103,6 +103,6 @@ export interface EnergyFluctuationItem {
103
103
  }
104
104
  export * from "./featureFlags.types";
105
105
  export type TimeboxSessionType = "deepWork" | "lightWork";
106
- export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration" | "sortIndex" | "labels" | "addedToCalendar" | "boardId" | "appFrom">;
106
+ export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration" | "sortIndex" | "labels" | "addedToCalendar" | "boardId" | "appFrom" | "dueDateTime">;
107
107
  export type ScheduleLogicElement = "timebox" | "routine" | "task";
108
108
  export type WearableSourceType = "ALL" | "SLEEP" | "ACTIVITY" | "MEAL" | "STRESS";
package/lib/constants.ts CHANGED
@@ -29,6 +29,7 @@ export const DB_COLLECTION = {
29
29
  DATA_TREND_ENERGY: "energy",
30
30
  DATA_TREND_TASK: "task",
31
31
  DATA_TREND_EVENT: "event",
32
+ DATA_TREND_SCHEDULE: "schedule",
32
33
  DEVICE_GROUP: "deviceGroup",
33
34
  DEVICES: "devices",
34
35
  DISCOUNT: "discount",
package/lib/types.ts CHANGED
@@ -170,6 +170,7 @@ export type TaskItemForSchedule = Pick<
170
170
  | "addedToCalendar"
171
171
  | "boardId"
172
172
  | "appFrom"
173
+ | "dueDateTime"
173
174
  >;
174
175
 
175
176
  export type ScheduleLogicElement = "timebox" | "routine" | "task";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.4.81",
3
+ "version": "1.4.83",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {