0
Fork 0
mirror of https://github.com/TanStack/time.git synced 2026-11-16 19:09:47 +00:00
time/docs/reference/interfaces/ConstraintApi.md
2026-08-22 23:22:16 +00:00

902 B

id title
ConstraintApi ConstraintApi

Interface: ConstraintApi<TResource, TEvent>

Defined in: calendar/features/constraint.ts:9

Type Parameters

TResource

TResource extends Resource

TEvent

TEvent extends Event<TResource>

Properties

checkEventConstraint()

checkEventConstraint: (event, newStart?, newEnd?, newConstraint?) => ConstraintConflict | null;

Defined in: calendar/features/constraint.ts:10

Parameters

event

TEvent

newStart?

string

newEnd?

string

newConstraint?

SchedulingConstraint

Returns

ConstraintConflict | null