feat(foundry): add composable subject detail profiles

This commit is contained in:
Codex
2026-07-22 19:06:33 +03:00
parent dd2febe7cf
commit dc82ae4c07
21 changed files with 1007 additions and 140 deletions
+4 -4
View File
@@ -1,11 +1,11 @@
const MAP_LIVE_DATA_SLOT_KINDS = new Set(["entity-stream", "zone-stream"]);
const MAP_LIVE_DATA_SLOT_KINDS = new Set(["entity-stream", "zone-stream", "subject-aspect-stream"]);
/**
* Map runtime bindings may only target slots that deliver canonical live
* entity facts. Point entities and zones have distinct template slots, but
* share the same provider-neutral snapshot/patch transport contract.
* entity facts. Point entities, zones and non-spatial selected-subject aspects
* have distinct template slots, but share the same provider-neutral
* snapshot/patch transport contract.
*/
export function isMapLiveDataSlot(slot) {
return Boolean(slot && MAP_LIVE_DATA_SLOT_KINDS.has(slot.kind));
}