feat: #3587374 Add HostEntityPropSource class and PropSource enum case

  • Adds HostEntityPropSource (sourceType host-entity) — resolves a content-entity-reference prop to the host entity itself.
  • Adds HostEntityPropSourceMatcher, wired into PropSourceSuggester; suggested only when host entity type and bundle strictly equal the prop's x-allowed-entity-type-id / x-allowed-bundle.
  • Widens LinkedPropSource recognition and surrounding call sites so the new source flows through evaluation, dependency calculation, and JS component storage.
  • Tests: HostEntityPropSourceTest, HostEntityPropSourceMatcherTest, HostEntity bucket case in PropSourceSuggesterTest, render-path case in JavaScriptComponentStorageTest.
  • Docs: new Sources subsection in docs/shape-matching.md §3.2.3; stale @todo in §3.1.2.c replaced with documented prose.

AI Disclosure: did you use AI to create a significant portion of this? AI-Generated: Yes (Used Claude to generate the starting point).

Testing instructions

  • Nothing exposes this yet.

Closes #3587374

Edited by Christian López Espínola

Merge request reports

Loading