Typed event contract for AppointmentUpdatingEvent; fields below describe the payload.
interface AppointmentUpdatingEvent {
oldData: Appointment
newData: Appointment
cancel: boolean
}| Field | Meaning |
|---|---|
| oldData | Previous record. |
| newData | Proposed new record. |
| cancel | Set synchronously to true to cancel the action. |
import type { AppointmentUpdatingEvent } from '@tekocloud.de/tecexpress'
const example: AppointmentUpdatingEvent = { oldData: { id: 1, text: 'Meeting', startDate: '2026-10-28T09:00', endDate: '2026-10-28T10:00' }, newData: { id: 1, text: 'Meeting', startDate: '2026-10-28T09:00', endDate: '2026-10-28T10:00' }, cancel: false }
console.log(example)