@ehfuse/taskbox 0.5.432 → 0.5.434

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.
@@ -1,12 +1,32 @@
1
1
  /** 캘린더 연동 타입이다 — 구글 캘린더 API(OAuth) 연동 상태와 겹쳐 그릴 외부 일정. (iCal 피드/가져오기는 2026-08-28 폐지) */
2
- /** 업무함 캘린더에 겹쳐 그릴 외부 일정 한 건이다(읽기 전용 — 구글·네이버 공통). */
2
+ /**
3
+ * 업무함 캘린더에 겹쳐 그릴 구글 일정 한 건이다(구글 기본 캘린더 → 업무함 가져오기).
4
+ * event_id 가 있으면 업무함에서 수정·삭제할 수 있다(GoogleEventDialog — 구글 기본 캘린더에 반영).
5
+ */
3
6
  export interface TaskBoxGoogleEvent {
4
7
  uid: string;
8
+ event_id?: string;
5
9
  title: string;
6
10
  calendar: string;
7
11
  start_date: string;
8
12
  end_date: string;
9
13
  time: string;
14
+ end_time?: string;
15
+ location?: string;
16
+ description?: string;
17
+ recurring?: boolean;
18
+ editable?: boolean;
19
+ event_type?: string;
20
+ }
21
+ /** 구글 일정 편집 다이얼로그가 저장 때 넘기는 값이다(서버 PATCH /gcal/events/:id 본문과 같은 모양). */
22
+ export interface TaskBoxGoogleEventPatch {
23
+ title: string;
24
+ start_date: string;
25
+ end_date: string;
26
+ time: string;
27
+ end_time: string;
28
+ location: string;
29
+ description: string;
10
30
  }
11
31
  /** 구글 캘린더 API 연동 상태다(계정별 OAuth — iCal 연동과 별개, 서버 /v1/taskbox/gcal 응답 모양). */
12
32
  export interface TaskBoxGcalLink {
@@ -7,6 +7,7 @@ import type { TaskBoxGoogleEvent, TaskBoxItem, TaskBoxLabel } from "../types";
7
7
  export interface TaskBoxMonthAgendaProps {
8
8
  tasks: TaskBoxItem[];
9
9
  googleEvents?: TaskBoxGoogleEvent[];
10
+ onGoogleEventClick?: (event: TaskBoxGoogleEvent) => void;
10
11
  statusOptions: TaskBoxLabel[];
11
12
  todayStr: string;
12
13
  onOpenDetail: (task: TaskBoxItem) => void;
@@ -16,4 +17,4 @@ export interface TaskBoxMonthAgendaProps {
16
17
  fallbackToStartDate?: boolean;
17
18
  }
18
19
  /** 월간 아젠다 뷰 컴포넌트다. */
19
- export declare function TaskBoxMonthAgenda({ tasks, googleEvents, statusOptions, todayStr, onOpenDetail, onAddSchedule, myAccountSeq, avatarSrcByName, fallbackToStartDate, }: TaskBoxMonthAgendaProps): import("react").JSX.Element;
20
+ export declare function TaskBoxMonthAgenda({ tasks, googleEvents, onGoogleEventClick, statusOptions, todayStr, onOpenDetail, onAddSchedule, myAccountSeq, avatarSrcByName, fallbackToStartDate, }: TaskBoxMonthAgendaProps): import("react").JSX.Element;
@@ -8,6 +8,7 @@ import type { TaskBoxGoogleEvent, TaskBoxItem, TaskBoxLabel } from "../types";
8
8
  export interface TaskBoxMonthCalendarProps {
9
9
  tasks: TaskBoxItem[];
10
10
  googleEvents?: TaskBoxGoogleEvent[];
11
+ onGoogleEventClick?: (event: TaskBoxGoogleEvent) => void;
11
12
  statusOptions: TaskBoxLabel[];
12
13
  fallbackToStartDate?: boolean;
13
14
  myAccountSeq?: number;
@@ -22,4 +23,4 @@ export interface TaskBoxMonthCalendarProps {
22
23
  onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
23
24
  }
24
25
  /** 월간 캘린더 컴포넌트다. */
25
- export declare function TaskBoxMonthCalendar({ tasks, googleEvents, statusOptions, fallbackToStartDate, myAccountSeq, avatarSrcByName, onToggleCompleted, todayStr, onMoveTask, onAddSchedule, canAdd, disableDrag, onOpenDetail, onTaskContextMenu, }: TaskBoxMonthCalendarProps): import("react").JSX.Element;
26
+ export declare function TaskBoxMonthCalendar({ tasks, googleEvents, onGoogleEventClick, statusOptions, fallbackToStartDate, myAccountSeq, avatarSrcByName, onToggleCompleted, todayStr, onMoveTask, onAddSchedule, canAdd, disableDrag, onOpenDetail, onTaskContextMenu, }: TaskBoxMonthCalendarProps): import("react").JSX.Element;
@@ -10,6 +10,7 @@ import type { TaskBoxGoogleEvent, TaskBoxItem, TaskBoxLabel } from "../types";
10
10
  export interface TaskBoxWeekCalendarProps {
11
11
  tasks: TaskBoxItem[];
12
12
  googleEvents?: TaskBoxGoogleEvent[];
13
+ onGoogleEventClick?: (event: TaskBoxGoogleEvent) => void;
13
14
  statusOptions: TaskBoxLabel[];
14
15
  fallbackToStartDate?: boolean;
15
16
  todayStr: string;
@@ -27,4 +28,4 @@ export interface TaskBoxWeekCalendarProps {
27
28
  renderColumnSummary?: (dayKey: string, columnTasks: TaskBoxItem[]) => React.ReactNode;
28
29
  }
29
30
  /** 오늘의 할일 주간 캘린더 컴포넌트다. */
30
- export declare function TaskBoxWeekCalendar({ tasks, googleEvents, statusOptions, fallbackToStartDate, myAccountSeq, avatarSrcByName, todayStr, onToggleCompleted, onMoveTask, onRequestReply, onAddSchedule, canAdd, disableDrag, onOpenDetail, onTaskContextMenu, hideCompleted, renderColumnSummary, }: TaskBoxWeekCalendarProps): import("react").JSX.Element;
31
+ export declare function TaskBoxWeekCalendar({ tasks, googleEvents, onGoogleEventClick, statusOptions, fallbackToStartDate, myAccountSeq, avatarSrcByName, todayStr, onToggleCompleted, onMoveTask, onRequestReply, onAddSchedule, canAdd, disableDrag, onOpenDetail, onTaskContextMenu, hideCompleted, renderColumnSummary, }: TaskBoxWeekCalendarProps): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/taskbox",
3
- "version": "0.5.432",
3
+ "version": "0.5.434",
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",