@libxai/board 0.17.164 → 0.17.166

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/index.d.cts CHANGED
@@ -2283,6 +2283,7 @@ interface TaskFormData {
2283
2283
  }>;
2284
2284
  dependencies?: string[];
2285
2285
  tags?: TaskTag[];
2286
+ pendingFiles?: File[];
2286
2287
  }
2287
2288
  interface TaskFormModalProps {
2288
2289
  isOpen: boolean;
@@ -2301,8 +2302,11 @@ interface TaskFormModalProps {
2301
2302
  customStatuses?: CustomStatus[];
2302
2303
  availableTags?: TaskTag[];
2303
2304
  onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
2305
+ attachments?: Attachment[];
2306
+ onUploadAttachments?: (taskId: string, files: File[]) => Promise<void> | void;
2307
+ onDeleteAttachment?: (attachmentId: string) => void;
2304
2308
  }
2305
- declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
2309
+ declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
2306
2310
 
2307
2311
  interface GanttAIAssistantProps {
2308
2312
  /** All current tasks in the Gantt */
package/dist/index.d.ts CHANGED
@@ -2283,6 +2283,7 @@ interface TaskFormData {
2283
2283
  }>;
2284
2284
  dependencies?: string[];
2285
2285
  tags?: TaskTag[];
2286
+ pendingFiles?: File[];
2286
2287
  }
2287
2288
  interface TaskFormModalProps {
2288
2289
  isOpen: boolean;
@@ -2301,8 +2302,11 @@ interface TaskFormModalProps {
2301
2302
  customStatuses?: CustomStatus[];
2302
2303
  availableTags?: TaskTag[];
2303
2304
  onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
2305
+ attachments?: Attachment[];
2306
+ onUploadAttachments?: (taskId: string, files: File[]) => Promise<void> | void;
2307
+ onDeleteAttachment?: (attachmentId: string) => void;
2304
2308
  }
2305
- declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
2309
+ declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
2306
2310
 
2307
2311
  interface GanttAIAssistantProps {
2308
2312
  /** All current tasks in the Gantt */