@ehfuse/taskbox 0.5.63 → 0.5.65

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.
@@ -25,6 +25,7 @@ export interface TaskBoxForm {
25
25
  target_account_seqs: number[];
26
26
  start_date: string;
27
27
  due_date: string;
28
+ estimated_time: string;
28
29
  reminder: TaskBoxReminder;
29
30
  priority: TaskBoxPriority;
30
31
  label_keys: string[];
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 캘린더에서 쓰는 업무 시각 유틸이다 — 무엇을 "시간"으로 보고 어떤 순서로 놓을지 한 곳에서 정한다.
3
+ * 월간 격자·주간 보드·아젠다가 같은 규칙을 써야 화면마다 순서가 갈리지 않는다.
4
+ */
5
+ import type { TaskBoxItem } from "../types";
6
+ /** 업무의 시각("HH:mm")이다 — 일정은 시각(event_time), 그 밖의 업무는 예상시간을 쓴다. 없으면 빈 문자열. */
7
+ export declare function getCalendarTaskTime(task: TaskBoxItem): string;
8
+ /**
9
+ * 캘린더 한 칸(하루) 안의 업무 순서를 정한다.
10
+ * ① 완료는 맨 뒤 ② 시각이 있는 업무가 먼저(시각 오름차순) ③ 드래그로 지정한 수동 순번 ④ 등록순.
11
+ * 시각을 수동 순번보다 앞세우는 이유는 "몇 시에 하는 일"이 하루 안에서 가장 강한 순서이기 때문이다
12
+ * (시각이 같거나 둘 다 없을 때만 드래그로 잡은 순서가 살아난다).
13
+ */
14
+ export declare function compareCalendarTasks(a: TaskBoxItem, b: TaskBoxItem): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/taskbox",
3
- "version": "0.5.63",
3
+ "version": "0.5.65",
4
4
  "description": "A React/MUI task inbox component with notices, per-user assignments, read tracking, and mobile card UI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",