Immutable appointment with a validated key, title and end after start. All-day bounds must be local midnight.
interface Appointment {
id: RowKey
text: string
startDate: SchedulerDate
endDate: SchedulerDate
allDay?: boolean
description?: string
}| Field | Meaning |
|---|---|
| id | Unique stable ID. |
| text | Text to display. |
| startDate | Appointment/cell start. |
| endDate | Appointment/cell end; exclusive for all-day entries. |
| allDay | All-day appointment with local day boundaries. |
| description | Optional appointment description. |
import type { Appointment } from '@tekocloud.de/tecexpress'
const example: Appointment = { id: 1, text: 'Meeting', startDate: '2026-10-28T09:00', endDate: '2026-10-28T10:00' }
console.log(example)