@demind-inc/core 1.6.83 → 1.7.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.
@@ -3,6 +3,7 @@ import { TodoIntegrationType } from "./TodoIntegrations";
3
3
  import { TaskLabel } from "./TaskLabels";
4
4
  import { CircadianPhase } from "../types";
5
5
  import { AppleRecurrenceRuleFrequency } from "./Calendar";
6
+ export type WebhookStatus = "pending" | "synced" | "skipped" | "failed";
6
7
  export interface TodoTasksBoardAdditionalParamsGithub {
7
8
  projectId: string;
8
9
  owner: string;
@@ -106,6 +107,8 @@ export interface TaskItem {
106
107
  sortIndex?: number;
107
108
  subTasks?: TaskItem[];
108
109
  priority?: TaskPriority;
110
+ linkedCalendarWebhookStatus?: WebhookStatus;
111
+ taskWebhookStatus?: WebhookStatus;
109
112
  additionalParams?: {
110
113
  github?: TaskItemAdditionalParamsGithub;
111
114
  todoist?: TaskItemAdditionalParamsTodoist;
@@ -127,7 +130,7 @@ export type SuggestedTaskItem = Pick<TaskItem, "taskId" | "name" | "duration" |
127
130
  suggestedEndTime: string;
128
131
  priority?: string;
129
132
  };
130
- export type NativeAppleRemindersSource = 'Local' | 'iCloud';
133
+ export type NativeAppleRemindersSource = "Local" | "iCloud";
131
134
  export type NativeAppleRemindersList = {
132
135
  id: string;
133
136
  color: string;
@@ -4,6 +4,8 @@ import { TaskLabel } from "./TaskLabels";
4
4
  import { CircadianPhase } from "../types";
5
5
  import { AppleRecurrenceRuleFrequency } from "./Calendar";
6
6
 
7
+ export type WebhookStatus = "pending" | "synced" | "skipped" | "failed";
8
+
7
9
  export interface TodoTasksBoardAdditionalParamsGithub {
8
10
  projectId: string;
9
11
  owner: string;
@@ -116,6 +118,8 @@ export interface TaskItem {
116
118
  sortIndex?: number;
117
119
  subTasks?: TaskItem[];
118
120
  priority?: TaskPriority;
121
+ linkedCalendarWebhookStatus?: WebhookStatus;
122
+ taskWebhookStatus?: WebhookStatus;
119
123
  additionalParams?: {
120
124
  github?: TaskItemAdditionalParamsGithub;
121
125
  todoist?: TaskItemAdditionalParamsTodoist;
@@ -146,7 +150,7 @@ export type SuggestedTaskItem = Pick<
146
150
 
147
151
  /////////////// Apple Reminders ///////////////
148
152
 
149
- export type NativeAppleRemindersSource = 'Local' | 'iCloud';
153
+ export type NativeAppleRemindersSource = "Local" | "iCloud";
150
154
 
151
155
  export type NativeAppleRemindersList = {
152
156
  id: string;
@@ -159,8 +163,6 @@ export type NativeAppleRemindersList = {
159
163
 
160
164
  export type NativeAppleRemindersListArray = NativeAppleRemindersList[];
161
165
 
162
-
163
-
164
166
  /**
165
167
  * Core reminder type definitions
166
168
  * Covers non-recurring, recurring (daily, weekly, monthly, yearly), and note-style reminders.
@@ -224,9 +226,9 @@ export interface DueDateComponents {
224
226
  /** Repetition rule for recurring reminders. */
225
227
  export interface RecurrenceRule {
226
228
  frequency: AppleRecurrenceRuleFrequency;
227
- interval?: number; // default 1
228
- endDate?: ISODateString; // mutually exclusive with occurrenceCount
229
- occurrenceCount?: number; // mutually exclusive with endDate
229
+ interval?: number; // default 1
230
+ endDate?: ISODateString; // mutually exclusive with occurrenceCount
231
+ occurrenceCount?: number; // mutually exclusive with endDate
230
232
  /** Used when frequency = "weekly" */
231
233
  daysOfWeek?: Weekday[];
232
234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.6.83",
3
+ "version": "1.7.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {