API reference: @salmonui/scheduler
SchedulerPasteTargetinterface
import type { SchedulerPasteTarget } from '@salmonui/scheduler';interface SchedulerPasteTarget {
readonly start: Date;
readonly allDay?: boolean | undefined;
readonly resources?: Readonly<Record<string, readonly unknown[]>> | undefined;
}
Where paste puts the clipboard (default: the selected cells, else the focused cell).
| Name | Signature | Description |
|---|---|---|
start | readonly start: Date; | |
allDayoptional | readonly allDay?: boolean | undefined; | Shift by whole days and keep each event's time of day (month cells and the all-day row). |
resourcesoptional | readonly resources?: Readonly<Record<string, readonly unknown[]>> | undefined; | Resource ids by resource field; pasted (and cut) events move to them. |