Skip to main content

resolveInstanceWithInheritance

API Docs


Function: resolveInstanceWithInheritance()

resolveInstanceWithInheritance(input): ResolvedRecurringEventInstance

Defined in: src/services/eventGeneration/instanceResolver.ts:20

Resolves a single generated instance by combining the properties of the base event template with any applicable exceptions. This function forms the core of the inheritance logic, ensuring that each instance accurately reflects its intended state.

Parameters

input

ResolveInstanceInput

An object containing the generated instance, base template, and optional exception.

Returns

ResolvedRecurringEventInstance

  • A fully resolved generated event instance with all properties correctly inherited and overridden.