feat: #3587374 Add HostEntityPropSource class and PropSource enum case
- Adds
HostEntityPropSource(sourceTypehost-entity) — resolves acontent-entity-referenceprop to the host entity itself. - Adds
HostEntityPropSourceMatcher, wired intoPropSourceSuggester; suggested only when host entity type and bundle strictly equal the prop'sx-allowed-entity-type-id/x-allowed-bundle. - Widens
LinkedPropSourcerecognition and surrounding call sites so the new source flows through evaluation, dependency calculation, and JS component storage. - Tests:
HostEntityPropSourceTest,HostEntityPropSourceMatcherTest, HostEntity bucket case inPropSourceSuggesterTest, render-path case inJavaScriptComponentStorageTest. - Docs: new
Sourcessubsection indocs/shape-matching.md§3.2.3; stale@todoin §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