ReadonlyresolveResolves an entry and returns only the resolved entry. Use resolveEntryData when the result controls rendering so empty variants can be omitted.
ReadonlyresolveResolves an entry and returns the full result needed to omit empty variants before rendering.
Resolve a Contentful entry to the appropriate optimized variant (or return the baseline entry if no matching variant is selected).
Possible baseline and variant entry skeleton types.
Locale code.
The baseline entry to resolve.
OptionalselectedOptimizations: {Optional selected optimization array for the current profile.
Identifier of the personalization or experiment experience.
Optionalsticky?: booleanIndicates whether this optimization selection is sticky for the user.
Index of the selected variant within the experience configuration.
Mapping of baseline entry IDs to their selected variant entry IDs.
ResolvedData containing the resolved entry and selected optimization metadata (if any).
OptionalselectedOptimizations: {Identifier of the personalization or experiment experience.
Optionalsticky?: booleanIndicates whether this optimization selection is sticky for the user.
Index of the selected variant within the experience configuration.
Mapping of baseline entry IDs to their selected variant entry IDs.
ReadonlyresolveResolves an entry and returns the full SDK resolver payload.
Resolve a Contentful entry to the appropriate optimized variant (or return the baseline entry if no matching variant is selected).
Possible baseline and variant entry skeleton types.
Locale code.
The baseline entry to resolve.
OptionalselectedOptimizations: {Optional selected optimization array for the current profile.
Identifier of the personalization or experiment experience.
Optionalsticky?: booleanIndicates whether this optimization selection is sticky for the user.
Index of the selected variant within the experience configuration.
Mapping of baseline entry IDs to their selected variant entry IDs.
ResolvedData containing the resolved entry and selected optimization metadata (if any).
OptionalselectedOptimizations: {Identifier of the personalization or experiment experience.
Optionalsticky?: booleanIndicates whether this optimization selection is sticky for the user.
Index of the selected variant within the experience configuration.
Mapping of baseline entry IDs to their selected variant entry IDs.
Helper methods for resolving Contentful entries against selected optimizations.