Background
This is a follow-up refactoring task for the asset widget support added in PR #8598.
Task
After PR #8594 is merged, review and refactor the PrimitiveNode asset widget code (specifically in src/extensions/core/widgetInputs.ts and related files) to simplify it if possible.
Dependencies
Context
Requested by @christian-byrne in #8598
┆Issue is synchronized with this Notion page by Unito