@demind-inc/core 1.6.82 → 1.7.0
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/models/Chat.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface ChatSummary {
|
|
|
15
15
|
recommendations?: string;
|
|
16
16
|
}
|
|
17
17
|
export type ChatSessionType = "scheduler" | "recommendation" | "sleep" | "meal" | "task" | "general";
|
|
18
|
-
export type StreamChatSessionType = "sleep" | "meal" | "task" | "general" | "recommendation" | "
|
|
18
|
+
export type StreamChatSessionType = "sleep" | "meal" | "task" | "general" | "recommendation" | "scheduler_chat";
|
|
19
19
|
export interface SchedulerSession {
|
|
20
20
|
schedulerSessionId: string;
|
|
21
21
|
messages: SessionMessage[];
|
|
@@ -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
|
+
calendarWebhookStatus?: 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 =
|
|
133
|
+
export type NativeAppleRemindersSource = "Local" | "iCloud";
|
|
131
134
|
export type NativeAppleRemindersList = {
|
|
132
135
|
id: string;
|
|
133
136
|
color: string;
|
package/lib/models/Chat.ts
CHANGED
package/lib/models/TodoTasks.ts
CHANGED
|
@@ -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
|
+
calendarWebhookStatus?: 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 =
|
|
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;
|
|
228
|
-
endDate?: ISODateString;
|
|
229
|
-
occurrenceCount?: number;
|
|
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
|
}
|