ComfyUI/app/assets/database/queries
Luke Mino-Altherr 2b450b7a92 Change preview_id to reference asset by reference ID, not content ID
Clients receive preview_id in API responses but could not dereference it
through public routes (which use reference IDs). Now preview_id is a
self-referential FK to asset_references.id so the value is directly
usable in the public API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 22:57:01 -04:00
..
__init__.py Change preview_id to reference asset by reference ID, not content ID 2026-03-14 22:57:01 -04:00
asset_reference.py Change preview_id to reference asset by reference ID, not content ID 2026-03-14 22:57:01 -04:00
asset.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
common.py feat(assets): align local API with cloud spec 2026-03-14 22:57:01 -04:00
tags.py feat(assets): align local API with cloud spec 2026-03-14 22:57:01 -04:00